- sadly this crap is really needed... :(

This commit is contained in:
Christoph Oelckers 2019-09-20 11:26:37 +02:00
parent bd80cec462
commit f8b17e98f3

View file

@ -179,14 +179,21 @@ typedef struct
StructTracker(Sprite, int8_t) xoffset, yoffset;
StructTracker(Sprite, int16_t) sectnum, statnum;
StructTracker(Sprite, int16_t) ang, owner;
// What a gross hack! This needs to be done differently. :(
union {
struct
{
StructTracker(Sprite, int16_t) xvel /*index*/, yvel, zvel;
};
vec3_16_t vel;
StructTracker(Sprite, int16_t) index;
vec3_16_t vel;
};
StructTracker(Sprite, int16_t) lotag /*type*/, hitag;
union {
struct {
StructTracker(Sprite, int16_t) lotag /*type*/, hitag;
};
StructTracker(Sprite, int16_t) type;
};
StructTracker(Sprite, int16_t) extra;
} StructName(spritetypev7);