diff options
Diffstat (limited to '')
-rw-r--r-- | src/bossPlayerClown.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/bossPlayerClown.cpp b/src/bossPlayerClown.cpp index 09c610d..bfd6671 100644 --- a/src/bossPlayerClown.cpp +++ b/src/bossPlayerClown.cpp @@ -9,9 +9,9 @@ #define CLOWN_MODEL(clown) ((m3d::mdl_c*)( ((u32)(clown)) + 0xFD0 )) extern "C" int PClownCarExecute(dEn_c *clown); -extern "C" int PClownCarAfterCreate(dEn_c *clown, u32); +extern "C" void PClownCarAfterCreate(dEn_c *clown, u32); extern "C" int PClownCarDraw(dEn_c *clown); -extern "C" int PClownCarMove(dEn_c *clown); +extern "C" void PClownCarMove(dEn_c *clown); int CConDraw(dEn_c *clown) { // setup matrices @@ -29,7 +29,7 @@ int CConExecute(dEn_c *clown) { // run normal execute } -int CCafterCreate(dEn_c *clown) { +void CCafterCreate(dEn_c *clown, u32 param) { OSReport("Creating"); clown->scale.x *= 1.25; @@ -38,20 +38,18 @@ int CCafterCreate(dEn_c *clown) { // setup the model - return PClownCarAfterCreate(clown, 1); + PClownCarAfterCreate(clown, param); } -int CConExecuteMove(dEn_c *clown) { +void CConExecuteMove(dEn_c *clown) { OSReport("Moving"); // run normal move - int ret = PClownCarMove(clown); + PClownCarMove(clown); // check for wiimote button presses // spawn effect and attack if there are any - - return ret; } |