diff options
-rw-r--r-- | NewerCodehandler.yaml | 2 | ||||
-rw-r--r-- | src/bossMegaGoomba.cpp | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/NewerCodehandler.yaml b/NewerCodehandler.yaml index facbc81..38060fe 100644 --- a/NewerCodehandler.yaml +++ b/NewerCodehandler.yaml @@ -6,10 +6,12 @@ modules: - processed/worldmap.yaml - processed/levelnames.yaml - processed/animtiles.yaml + - processed/soundPlayer.yaml - processed/levelspecial.yaml - processed/mrsun.yaml - processed/firelaser.yaml - processed/bossFuzzyBear.yaml + - processed/bossThwompaDomp.yaml - processed/spritetex.yaml # - processed/gakenoko.yaml - processed/poweruphax.yaml diff --git a/src/bossMegaGoomba.cpp b/src/bossMegaGoomba.cpp index 02a7426..a9069ca 100644 --- a/src/bossMegaGoomba.cpp +++ b/src/bossMegaGoomba.cpp @@ -358,7 +358,7 @@ void daMegaGoomba_c::executeState_Grow() { } //TODO grow sound //if(this->timer == 60.0) - // playSound(SE_GROW); + // PlaySound(this, SE_GROW); if (this->timer > 170.0) { doStateChange(&StateID_Walk); } @@ -384,7 +384,7 @@ void daMegaGoomba_c::executeState_Shrink() { //TODO shrink sound //if(this->timer == 2.0) - // playSound(SE_SHRINK); + // PlaySound(this, SE_SHRINK); if (this->timer > 60.0) { doStateChange(&StateID_Walk); } } @@ -517,7 +517,7 @@ void daMegaGoomba_c::executeState_Walk() { //FIXME test case for sound effects case 3: if(this->playIt = 1) { - PlaySound(this->toPlay); + PlaySound(this, this->toPlay); this->playIt = 0; } break; |