added macro for declaring state manager (used for annoying dummy funcs)

This commit is contained in:
elijah-thomas774
2024-06-09 22:47:44 -04:00
parent 5d9ca41e21
commit 70dbbb1cb1
3 changed files with 12 additions and 16 deletions
+1 -6
View File
@@ -23,14 +23,9 @@ public:
STATE_FUNC_DECLARE(dTgRockBoat_c, Wait);
private:
sFStateMgr_c<dTgRockBoat_c, sStateMethodUsr_FI_c> mStateMgr;
STATE_MGR_DECLARE(dTgRockBoat_c);
int cooldown;
int boatNum;
void dummy() {
mStateMgr.getStateID();
}
};
#endif
+1 -4
View File
@@ -30,11 +30,8 @@ private:
bool shouldDoWind();
void doSpawnTumbleweed();
void getWind(mVec3_c *);
void unused() {
mStateMgr.getStateID();
}
sFStateMgr_c<dTgTumbleWeed_c, sStateMethodUsr_FI_c> mStateMgr;
STATE_MGR_DECLARE(dTgTumbleWeed_c);
u16 tumbleweedTimer;
u16 padding;
u16 windTimer;