diff options
Diffstat (limited to 'src/bossPlayerClown.cpp')
-rw-r--r-- | src/bossPlayerClown.cpp | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/bossPlayerClown.cpp b/src/bossPlayerClown.cpp new file mode 100644 index 0000000..afa8c3e --- /dev/null +++ b/src/bossPlayerClown.cpp @@ -0,0 +1,60 @@ +#include <common.h> +#include <game.h> +#include <g3dhax.h> +#include <sfx.h> +#include <stage.h> +#include "boss.h" + + +#define CLOWN_MODEL(clown) ((m3d::mdl_c*)( ((u32)(clown)) + 0xFD0 )) + +dEn_c *newClownCtor(dEn_c *clown); +void newClownDtor(dEn_c *clown, u32 willDelete); + +void CConDraw(dEn_c *clown) { + // setup matrices + CLOWN_MODEL(clown)->scheduleForDrawing(); + + // run normal clown function +} + +void CConExecute(dEn_c *clown) { + // run normal execute +} + +void CCafterCreate(dEn_c *clown) { + clown->scale.x = clown->scale.x * 1.25; + clown->scale.y = clown->scale.y * 1.25; + clown->scale.z = clown->scale.z * 1.25; + + // setup the model + + // dEn_c::afterCreate(1); +} + +void CConExecuteMove(dEn_c *clown) { + // run normal move + + // check for wiimote button presses + + // spawn effect and attack if there are any +} + + +extern "C" m3d::mdl_c *__ct__Q23m3d5mdl_cFv(m3d::mdl_c *mdl); +extern "C" dEn_c *__ct__20daJrClownForPlayer_cFv(dEn_c *clown); + +dEn_c *newClownCtor(dEn_c *clown) { + __ct__20daJrClownForPlayer_cFv(clown); + __ct__Q23m3d5mdl_cFv(CLOWN_MODEL(clown)); + return clown; +} + + +extern "C" void __dt__Q23m3d5mdl_cFv(m3d::mdl_c *mdl, u32 willDelete); +extern "C" void __dt__20daJrClownForPlayer_cFv(dEn_c *mdl, u32 willDelete); + +void newClownDtor(dEn_c *clown, u32 willDelete) { + __dt__Q23m3d5mdl_cFv(CLOWN_MODEL(clown), 0xFFFFFFFF); + __dt__20daJrClownForPlayer_cFv(clown, willDelete); +} |