From 0bee9e3ae3bd5a9f4a9f0ea8a4d04955a90798fa Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 25 Oct 2012 04:59:11 +0200 Subject: refactoring, API fixes and shop mostly finished --- include/g3dhax.h | 4 ++-- include/game.h | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'include') 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; -- cgit v1.2.3