diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-09-01 22:06:48 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-09-01 22:06:48 -0500 |
commit | 349ad50d3daefca5dfed6a79d03c6058aae7c581 (patch) | |
tree | c91b7a725dc3077826ae45df30d7d25c9a70d939 /src/shyguy.cpp | |
parent | f1d937694dc9d9f9637af8c72293dab9edeaf7a2 (diff) | |
download | kamek-349ad50d3daefca5dfed6a79d03c6058aae7c581.tar.gz kamek-349ad50d3daefca5dfed6a79d03c6058aae7c581.zip |
Fixes to shy guy, more music added, bone platform flip added
Diffstat (limited to '')
-rw-r--r-- | src/shyguy.cpp | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp index d93d77a..2c71252 100644 --- a/src/shyguy.cpp +++ b/src/shyguy.cpp @@ -105,6 +105,13 @@ class daShyGuy : public dEn_c { void collisionCat13_Hammer(ActivePhysics *apThis, ActivePhysics *apOther); void collisionCatA_PenguinMario(ActivePhysics *apThis, ActivePhysics *apOther); + void collisionCat5_Mario(ActivePhysics *apThis, ActivePhysics *apOther); + void _vf108(ActivePhysics *apThis, ActivePhysics *apOther); + void _vf110(ActivePhysics *apThis, ActivePhysics *apOther); + void collisionCat8_FencePunch(ActivePhysics *apThis, ActivePhysics *apOther); + void _vf120(ActivePhysics *apThis, ActivePhysics *apOther); + void collisionCat11_PipeCannon(ActivePhysics *apThis, ActivePhysics *apOther); + void _vf148(); void _vf14C(); @@ -207,7 +214,6 @@ daShyGuy *daShyGuy::build() { } void daShyGuy::playerCollision(ActivePhysics *apThis, ActivePhysics *apOther) { - dStateBase_c *stateVar; dStateBase_c *deathState; @@ -280,43 +286,29 @@ daShyGuy *daShyGuy::build() { this->_vf220(apOther->owner); } // else if(hitType == 2) { \\ Minimario? } - - - } - - void daShyGuy::yoshiCollision(ActivePhysics *apThis, ActivePhysics *apOther) { - this->playerCollision(apThis, apOther); } - void daShyGuy::collisionCatD_GroundPound(ActivePhysics *apThis, ActivePhysics *apOther) { - doStateChange(&StateID_Die); - } - - void daShyGuy::collisionCat7_WMWaggleWater(ActivePhysics *apThis, ActivePhysics *apOther) { - doStateChange(&StateID_Die); - } + void daShyGuy::yoshiCollision(ActivePhysics *apThis, ActivePhysics *apOther) { this->playerCollision(apThis, apOther); } + void daShyGuy::collisionCatD_GroundPound(ActivePhysics *apThis, ActivePhysics *apOther) { doStateChange(&StateID_Die); } + void daShyGuy::collisionCat7_WMWaggleWater(ActivePhysics *apThis, ActivePhysics *apOther) { doStateChange(&StateID_Die); } + void daShyGuy::collisionCat7_WMWaggleWaterYoshi(ActivePhysics *apThis, ActivePhysics *apOther) { doStateChange(&StateID_Die); } + void daShyGuy::collisionCat9_RollingObject(ActivePhysics *apThis, ActivePhysics *apOther) { doStateChange(&StateID_Die); } - void daShyGuy::collisionCat7_WMWaggleWaterYoshi(ActivePhysics *apThis, ActivePhysics *apOther) { - doStateChange(&StateID_Die); - } + void daShyGuy::collisionCatA_PenguinMario(ActivePhysics *apThis, ActivePhysics *apOther){ doStateChange(&StateID_Die); } + void daShyGuy::collisionCat5_Mario(ActivePhysics *apThis, ActivePhysics *apOther){ doStateChange(&StateID_Die); } + void daShyGuy::_vf108(ActivePhysics *apThis, ActivePhysics *apOther){ doStateChange(&StateID_Die); } + void daShyGuy::_vf110(ActivePhysics *apThis, ActivePhysics *apOther){ doStateChange(&StateID_Die); } + void daShyGuy::collisionCat8_FencePunch(ActivePhysics *apThis, ActivePhysics *apOther){ doStateChange(&StateID_Die); } + void daShyGuy::_vf120(ActivePhysics *apThis, ActivePhysics *apOther){ doStateChange(&StateID_Die); } + void daShyGuy::collisionCat11_PipeCannon(ActivePhysics *apThis, ActivePhysics *apOther){ doStateChange(&StateID_Die); } - void daShyGuy::collisionCat9_RollingObject(ActivePhysics *apThis, ActivePhysics *apOther) { - doStateChange(&StateID_Die); - } + void daShyGuy::collisionCat14_YoshiFire(ActivePhysics *apThis, ActivePhysics *apOther){ doStateChange(&StateID_DieSmoke); } void daShyGuy::collisionCat3_StarPower(ActivePhysics *apThis, ActivePhysics *apOther){ dEn_c::collisionCat3_StarPower(apThis, apOther); doStateChange(&StateID_Die); } - void daShyGuy::collisionCatA_PenguinMario(ActivePhysics *apThis, ActivePhysics *apOther){ - doStateChange(&StateID_Die); - } - - void daShyGuy::collisionCat14_YoshiFire(ActivePhysics *apThis, ActivePhysics *apOther){ - doStateChange(&StateID_DieSmoke); - } - void daShyGuy::collisionCat1_Fireball_E_Explosion(ActivePhysics *apThis, ActivePhysics *apOther) { this->damage += 1; |