mirror of
https://github.com/zeldaret/tmc
synced 2026-06-18 23:37:10 -04:00
relocate SplitWord, SplitHWord to global.h
This commit is contained in:
@@ -25,20 +25,6 @@ typedef struct {
|
||||
u8 unknown2[4];
|
||||
} BoundingBox;
|
||||
|
||||
union SplitWord {
|
||||
s32 WORD;
|
||||
struct {
|
||||
s16 LO, HI;
|
||||
} HALF;
|
||||
};
|
||||
|
||||
union SplitHWord {
|
||||
u16 HWORD;
|
||||
struct {
|
||||
u8 LO, HI;
|
||||
} PACKED HALF;
|
||||
} PACKED;
|
||||
|
||||
typedef struct Entity {
|
||||
/*0x00*/ u32* field_0x0;
|
||||
/*0x04*/ u32* field_0x4;
|
||||
|
||||
@@ -59,4 +59,18 @@ struct UCoords16
|
||||
u16 y;
|
||||
};
|
||||
|
||||
union SplitWord {
|
||||
s32 WORD;
|
||||
struct {
|
||||
s16 LO, HI;
|
||||
} HALF;
|
||||
};
|
||||
|
||||
union SplitHWord {
|
||||
u16 HWORD;
|
||||
struct {
|
||||
u8 LO, HI;
|
||||
} PACKED HALF;
|
||||
} PACKED;
|
||||
|
||||
#endif // GUARD_GLOBAL_H
|
||||
|
||||
Reference in New Issue
Block a user