This commit is contained in:
parent
0d4d68d560
commit
abd4133a86
24 changed files with 429 additions and 164 deletions
|
@ -175,8 +175,8 @@ void CFrontEndMainTitles::select()
|
|||
SetScreenImage(s_image);
|
||||
|
||||
CSoundMediator::setSong(CSoundMediator::SONG_TITLE);
|
||||
CSoundMediator::playSong();
|
||||
|
||||
m_musicStarted=false;
|
||||
|
||||
CFader::setFadingIn();
|
||||
}
|
||||
|
||||
|
@ -306,6 +306,13 @@ void CFrontEndMainTitles::think(int _frames)
|
|||
{
|
||||
sval=(sval+(seaspeed*_frames))&4095;
|
||||
|
||||
// Wait until fade in has finished before starting music
|
||||
if(!m_musicStarted&&!CFader::isFading())
|
||||
{
|
||||
CSoundMediator::playSong();
|
||||
m_musicStarted=true;
|
||||
}
|
||||
|
||||
switch(m_mode)
|
||||
{
|
||||
case MODE__PRESS_START:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue