diff options
author | megazig <megazig@megazig-laptop.lightning.home> | 2012-01-12 19:39:28 -0600 |
---|---|---|
committer | megazig <megazig@megazig-laptop.lightning.home> | 2012-01-12 19:39:28 -0600 |
commit | 1cac64b9ff7384af650fed2bef25fa27069fd589 (patch) | |
tree | fdbb65c847aa5183ceb2cf6ae1118b03f2a96a36 /src/fakeStarCoin.cpp | |
parent | 81edb47b7f677ba37e81f896645ecdc023f4adb9 (diff) | |
download | kamek-1cac64b9ff7384af650fed2bef25fa27069fd589.tar.gz kamek-1cac64b9ff7384af650fed2bef25fa27069fd589.zip |
fixes for using class functions instead of extern'd calls
updated full daEnDosun_c definition
half working daEnMegaDosun_c
Diffstat (limited to '')
-rw-r--r-- | src/fakeStarCoin.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/fakeStarCoin.cpp b/src/fakeStarCoin.cpp index 8248b1c..5160545 100644 --- a/src/fakeStarCoin.cpp +++ b/src/fakeStarCoin.cpp @@ -44,7 +44,8 @@ void daFakeStarCoin::playerCollision(ActivePhysics *apThis, ActivePhysics *apOth PlaySound(this, SE_EMY_CS_TERESA_BEAT_YOU); CreateEffect(377, &this->pos); - this->Delete(); + //FIXME changed to dStageActor_c::Delete(u8) from fBase_c::Delete(void) + this->Delete(this->_390); } void daFakeStarCoin::collisionCat1_Fireball_E_Explosion(ActivePhysics *apThis, ActivePhysics *apOther) { @@ -53,7 +54,8 @@ void daFakeStarCoin::collisionCat1_Fireball_E_Explosion(ActivePhysics *apThis, A PlaySound(this, SE_OBJ_EMY_FIRE_DISAPP); - this->Delete(); + //FIXME changed to dStageActor_c::Delete(u8) from fBase_c::Delete(void) + this->Delete(this->_390); } bool daFakeStarCoin::collisionCat2_IceBall_15_YoshiIce(ActivePhysics *apThis, ActivePhysics *apOther) { CreateEffect(&this->pos, &(S16Vec){0,0,0}, &(Vec){1.5, 1.5, 1.5}, 44); @@ -62,7 +64,8 @@ bool daFakeStarCoin::collisionCat2_IceBall_15_YoshiIce(ActivePhysics *apThis, Ac PlaySound(this, SE_OBJ_PNGN_ICE_BREAK); - this->Delete(); + //FIXME changed to dStageActor_c::Delete(u8) from fBase_c::Delete(void) + this->Delete(this->_390); return false; } void daFakeStarCoin::collisionCat9_RollingObject(ActivePhysics *apThis, ActivePhysics *apOther) { @@ -71,7 +74,8 @@ void daFakeStarCoin::collisionCat9_RollingObject(ActivePhysics *apThis, ActivePh PlaySound(this, SE_BOSS_JR_FLOOR_BREAK); - this->Delete(); + //FIXME changed to dStageActor_c::Delete(u8) from fBase_c::Delete(void) + this->Delete(this->_390); } void daFakeStarCoin::collisionCat13_Hammer(ActivePhysics *apThis, ActivePhysics *apOther) { CreateEffect(&this->pos, &(S16Vec){0,0,0}, &(Vec){1.0, 1.0, 1.0}, 48); @@ -79,7 +83,8 @@ void daFakeStarCoin::collisionCat13_Hammer(ActivePhysics *apThis, ActivePhysics PlaySound(this, SE_BOSS_JR_FLOOR_BREAK); - this->Delete(); + //FIXME changed to dStageActor_c::Delete(u8) from fBase_c::Delete(void) + this->Delete(this->_390); } void daFakeStarCoin::collisionCat14_YoshiFire(ActivePhysics *apThis, ActivePhysics *apOther) { CreateEffect(&this->pos, &(S16Vec){0,0,0}, &(Vec){1.0, 1.0, 1.0}, 336); @@ -87,7 +92,8 @@ void daFakeStarCoin::collisionCat14_YoshiFire(ActivePhysics *apThis, ActivePhysi PlaySound(this, SE_OBJ_EMY_FIRE_DISAPP); - this->Delete(); + //FIXME changed to dStageActor_c::Delete(u8) from fBase_c::Delete(void) + this->Delete(this->_390); } |