Defines |
| #define | SET_MULTI_FLAG(xyz, p) |
| #define | CLEAR_MULTI_FLAG(xyz, p) |
Detailed Description
This is rarely used but needed for some flags, which are used for intern handling like INVISIBLE or WALK_OFF. Because some core functions like remove_ob() use this, it will be better we set this ONE time outside instead of every time in remove_ob(): we skip the call for the head in this way.
Define Documentation
| #define CLEAR_MULTI_FLAG |
( |
xyz, |
|
|
p |
|
) |
|
Value:{ \
object *_tos_; \
\
for (_tos_ = xyz; _tos_; _tos_ = _tos_->more) \
{ \
((_tos_)->flags[p / 32] &= ~(1U << (p % 32))); \
} \
}
Definition at line 856 of file define.h.
| #define SET_MULTI_FLAG |
( |
xyz, |
|
|
p |
|
) |
|
Value:{ \
object *_tos_; \
\
for (_tos_ = xyz; _tos_; _tos_ = _tos_->more) \
{ \
((_tos_)->flags[p / 32] |= (1U << (p % 32))); \
} \
}
Definition at line 846 of file define.h.