mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-07 21:30:47 -04:00
Add STATIC_ASSERT checks for struct size validation in d_menu_cloth.
This commit is contained in:
@@ -79,6 +79,8 @@ public:
|
||||
/* 0x9162 */ GXColor mShadowColor;
|
||||
};
|
||||
|
||||
STATIC_ASSERT(sizeof(dMCloth_c) == 0x9168);
|
||||
|
||||
class daCLOTH_ChildHIO_c {
|
||||
public:
|
||||
daCLOTH_ChildHIO_c();
|
||||
@@ -105,6 +107,8 @@ public:
|
||||
/* 0x0054 */ f32 maxStep;
|
||||
};
|
||||
|
||||
STATIC_ASSERT(sizeof(daCLOTH_ChildHIO_c) == 0x58);
|
||||
|
||||
class daCLOTH_HIO_c : public JORReflexible {
|
||||
public:
|
||||
daCLOTH_HIO_c();
|
||||
@@ -115,4 +119,6 @@ public:
|
||||
/* 0x0008 */ daCLOTH_ChildHIO_c mChildren[3];
|
||||
};
|
||||
|
||||
STATIC_ASSERT(sizeof(daCLOTH_HIO_c) == 0x110);
|
||||
|
||||
#endif /* D_MENU_CLOTH_H */
|
||||
|
||||
Reference in New Issue
Block a user