mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 08:30:58 +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, int8_t) xoffset, yoffset;
|
||||||
StructTracker(Sprite, int16_t) sectnum, statnum;
|
StructTracker(Sprite, int16_t) sectnum, statnum;
|
||||||
StructTracker(Sprite, int16_t) ang, owner;
|
StructTracker(Sprite, int16_t) ang, owner;
|
||||||
|
// What a gross hack! This needs to be done differently. :(
|
||||||
union {
|
union {
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
StructTracker(Sprite, int16_t) xvel /*index*/, yvel, zvel;
|
StructTracker(Sprite, int16_t) xvel /*index*/, yvel, zvel;
|
||||||
};
|
};
|
||||||
|
StructTracker(Sprite, int16_t) index;
|
||||||
vec3_16_t vel;
|
vec3_16_t vel;
|
||||||
};
|
};
|
||||||
|
union {
|
||||||
|
struct {
|
||||||
StructTracker(Sprite, int16_t) lotag /*type*/, hitag;
|
StructTracker(Sprite, int16_t) lotag /*type*/, hitag;
|
||||||
|
};
|
||||||
|
StructTracker(Sprite, int16_t) type;
|
||||||
|
};
|
||||||
StructTracker(Sprite, int16_t) extra;
|
StructTracker(Sprite, int16_t) extra;
|
||||||
} StructName(spritetypev7);
|
} StructName(spritetypev7);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue