167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
// == exec ==
#define VOIDLINK ((Uint32)(-1))
// The following "internal object flags" are part of the "dir" variable:
#define IOF_DEAD 0x10 // object doesn't exist, except to continue an animation
#define IOF_ANIM 0x20 // an animation is being displayed
// If the IOF_DEAD flag is set, then generation should also be set to zero.
typedef struct {
Sint32 height,weight,climb,density,volume,strength,arrivals,departures,temperature;
Uint32 arrived,departed,arrived2,departed2,generation;
Uint32 up,down,prev,next; // links to other objects
Uint16 class,oflags,distance;
Uint16 sharp[4];
|
|
|
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
// == exec ==
#define VOIDLINK ((Uint32)(-1))
// The following "internal object flags" are part of the "dir" variable:
#define IOF_DEAD 0x10 // object doesn't exist, except to continue an animation
#define IOF_ANIM 0x20 // an animation is being displayed
// If the IOF_DEAD flag is set, then generation should also be set to zero, and OF_DESTROYED must be set, too.
typedef struct {
Sint32 height,weight,climb,density,volume,strength,arrivals,departures,temperature;
Uint32 arrived,departed,arrived2,departed2,generation;
Uint32 up,down,prev,next; // links to other objects
Uint16 class,oflags,distance;
Uint16 sharp[4];
|