This commit is contained in:
Paul 2001-07-02 16:34:37 +00:00
parent ec407d5e44
commit 0235bb84f5
2 changed files with 14 additions and 0 deletions

View File

@ -66,6 +66,10 @@
#include "utils\mathtab.h"
#endif
#ifndef __SOUND_SOUND_H__
#include "sound\sound.h"
#endif
/* Std Lib
------- */
@ -138,6 +142,9 @@ void CPartyScene::init()
CActorPool::CleanUpCache();
s_leftBobSin=s_leftBob=s_rightBobSin=s_rightBob=0;
CSoundMediator::setSong(CSoundMediator::SONG_PARTY);
CSoundMediator::playSong();
}
@ -149,6 +156,8 @@ void CPartyScene::init()
---------------------------------------------------------------------- */
void CPartyScene::shutdown()
{
CSoundMediator::dumpSong();
delete m_actorPatrick;
delete m_actorSpongebob;
CActorPool::Reset();

View File

@ -208,6 +208,9 @@ void CShopScene::init()
m_pointerIcon=new ("MapPointer") CPointerIcon();
m_pointerIcon->snapToTarget(getPointerTarget());
CSoundMediator::setSong(CSoundMediator::SONG_SHOPSCREEN);
CSoundMediator::playSong();
}
@ -219,6 +222,8 @@ void CShopScene::init()
---------------------------------------------------------------------- */
void CShopScene::shutdown()
{
CSoundMediator::dumpSong();
delete m_pointerIcon;
m_guiCannotAffordFrame->shutdown();