This commit is contained in:
parent
283121436f
commit
68a827397c
7 changed files with 39 additions and 5 deletions
|
@ -487,7 +487,7 @@ void CFrontEndOptions::select()
|
|||
m_closingDown=false;
|
||||
|
||||
CSoundMediator::setSong(CSoundMediator::SONG_OPTIONS);
|
||||
CSoundMediator::playSong();
|
||||
m_musicStarted=false;
|
||||
|
||||
CFader::setFadingIn();
|
||||
}
|
||||
|
@ -578,6 +578,12 @@ void CFrontEndOptions::think(int _frames)
|
|||
|
||||
if(!CFader::isFading())
|
||||
{
|
||||
if(!m_musicStarted)
|
||||
{
|
||||
CSoundMediator::playSong();
|
||||
m_musicStarted=true;
|
||||
}
|
||||
|
||||
if(m_nextMode!=m_mode)
|
||||
{
|
||||
if(m_nextMode==MODE__LOAD)
|
||||
|
|
|
@ -154,6 +154,8 @@ private:
|
|||
int m_screenXOff;
|
||||
int m_screenYOff;
|
||||
|
||||
int m_musicStarted;
|
||||
|
||||
static int s_controlStyleValues[];
|
||||
static CGUITextReadout::TextReadoutData s_controlStyleReadoutText[];
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ void CFrontEndStart::select()
|
|||
m_slotDrawOffset=0;
|
||||
|
||||
CSoundMediator::setSong(CSoundMediator::SONG_MEMCARD2);
|
||||
CSoundMediator::playSong();
|
||||
m_musicStarted=false;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
|
@ -409,6 +409,12 @@ void CFrontEndStart::think(int _frames)
|
|||
{
|
||||
if(!CFader::isFading())
|
||||
{
|
||||
if(!m_musicStarted)
|
||||
{
|
||||
CSoundMediator::playSong();
|
||||
m_musicStarted=true;
|
||||
}
|
||||
|
||||
if(m_slotDrawOffset==0)
|
||||
{
|
||||
if(m_state==STATE_SELECT)
|
||||
|
|
|
@ -114,6 +114,8 @@ private:
|
|||
|
||||
static const int s_itemFrames[];
|
||||
|
||||
int m_musicStarted;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue