diff options
author | Treeki <treeki@gmail.com> | 2012-10-25 04:59:11 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-10-25 04:59:11 +0200 |
commit | 0bee9e3ae3bd5a9f4a9f0ea8a4d04955a90798fa (patch) | |
tree | 999ea89b9eb357fbd4a0b7d8acd6c71f2a82c8f6 /include | |
parent | 47795a5f0eee896df557e4e3481068e510fe51fb (diff) | |
download | kamek-0bee9e3ae3bd5a9f4a9f0ea8a4d04955a90798fa.tar.gz kamek-0bee9e3ae3bd5a9f4a9f0ea8a4d04955a90798fa.zip |
refactoring, API fixes and shop mostly finished
Diffstat (limited to '')
-rw-r--r-- | include/g3dhax.h | 4 | ||||
-rwxr-xr-x | include/game.h | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/g3dhax.h b/include/g3dhax.h index 8a2063a..85dc922 100644 --- a/include/g3dhax.h +++ b/include/g3dhax.h @@ -322,7 +322,7 @@ namespace m3d { bool setup(nw4r::g3d::ResMdl modelRes, nw4r::g3d::ResAnmChr anmRes, mAllocator_c *allocator, u32 *sizeOutPtr); - void bind(/*b*/mdl_c *model, nw4r::g3d::ResAnmChr anmRes, int unk); + void bind(/*b*/mdl_c *model, nw4r::g3d::ResAnmChr anmRes, bool playsOnce); }; class anmVis_c : public fanm_c { @@ -333,7 +333,7 @@ namespace m3d { bool setup(nw4r::g3d::ResMdl modelRes, nw4r::g3d::ResAnmVis anmRes, mAllocator_c *allocator, u32 *sizeOutPtr); - void bind(/*b*/mdl_c *model, nw4r::g3d::ResAnmVis anmRes, int unk); + void bind(/*b*/mdl_c *model, nw4r::g3d::ResAnmVis anmRes, bool playsOnce); }; class anmClr_c : public fanm_c { diff --git a/include/game.h b/include/game.h index 48c7f65..c4a9238 100755 --- a/include/game.h +++ b/include/game.h @@ -132,6 +132,11 @@ class GameMgr { u8 _AFC, _AFD, _AFE[88];
u8 _B56[4];
u8 _B5A, _B5B;
+
+ void giveOneStockPowerup(int type); // 800BB330
+ void takeOneStockPowerup(int type); // 800BB380
+ int getStockPowerupCount(int type); // 800BB3D0
+ void resetStockPowerupCount(int type); // 800BB410
};
extern GameMgr *GameMgrP;
|