From 800f3920d31c2562cc2f0af112c9efa5d5343d6e Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 21 Mar 2012 04:37:22 +0100 Subject: more fixes --- src/bossPlayerClown.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3