diff options
-rw-r--r-- | src/bonepiece.cpp | 4 | ||||
-rw-r--r-- | src/music.cpp | 30 | ||||
-rw-r--r-- | src/shyguy.cpp | 48 |
3 files changed, 39 insertions, 43 deletions
diff --git a/src/bonepiece.cpp b/src/bonepiece.cpp index 57e862e..eb1839d 100644 --- a/src/bonepiece.cpp +++ b/src/bonepiece.cpp @@ -62,6 +62,10 @@ int daBonePiece_c::onCreate() { rot.z = rotation; } + if ((settings >> 20) & 1) { + rot.y = 0x8000; + } + collider.init(this, /*xOffset=*/0.0f, /*yOffset=*/0.0f, /*topYOffset=*/0, diff --git a/src/music.cpp b/src/music.cpp index a47b1bf..b00b90d 100644 --- a/src/music.cpp +++ b/src/music.cpp @@ -18,7 +18,7 @@ struct Hijacker { const char* SongNameList [] = { "AIRSHIP", - "BOSS", + "BOSS_TOWER", "MENU", "UNDERWATER", "ATHLETIC", @@ -40,8 +40,8 @@ const char* SongNameList [] = { "AMBUSH", "", "", - "", - "", + "MINIMEGA", + "CLIFFS", "AUTUMN", "CRYSTALCAVES", "GHOST_HOUSE", @@ -72,18 +72,18 @@ const char* SongNameList [] = { "", "", "", - "MAP_YOSHIISLAND", - "MAP_GOLDWOOD", - "MAP_SEWER", - "FULLMAP_FRONT", - "FULLMAP_REAR", - "MAP_MINIMEGA", - "MAP_FF_VOLCANO", - "MAP_CRYSTAL_CAVE", - "MAP_SPACE", - "MAP_SKYCITY", - "MAP_KOOPA_PLANET", - "MAP_KOOPA_CORE", + "", + "BOSS_CASTLE", + "BOSS_AIRSHIP", + "", + "", + "", + "", + "", + "", + "", + "", + "", NULL }; 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; |