diff options
author | Treeki <treeki@gmail.com> | 2012-03-21 04:37:22 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-03-21 04:37:22 +0100 |
commit | 800f3920d31c2562cc2f0af112c9efa5d5343d6e (patch) | |
tree | a6a9bbcda0ee3c7448b64539ede84fab4d92a7b0 /src/bossPlayerClown.cpp | |
parent | b5ce02da4d7cc5960a868fa37981b4aa5706433e (diff) | |
download | kamek-800f3920d31c2562cc2f0af112c9efa5d5343d6e.tar.gz kamek-800f3920d31c2562cc2f0af112c9efa5d5343d6e.zip |
more fixes
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; } |