mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- sadly this crap is really needed... :(
This commit is contained in:
parent
bd80cec462
commit
f8b17e98f3
1 changed files with 9 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue