add screen-specific start sound
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
common start
|
||||||
@@ -146,6 +146,7 @@ void ScreenSelectMusic::Init()
|
|||||||
this->AddChild( &m_textHighScore[p] );
|
this->AddChild( &m_textHighScore[p] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_soundStart.Load( THEME->GetPathS(m_sName,"start") );
|
||||||
m_soundDifficultyEasier.Load( THEME->GetPathS(m_sName,"difficulty easier") );
|
m_soundDifficultyEasier.Load( THEME->GetPathS(m_sName,"difficulty easier") );
|
||||||
m_soundDifficultyHarder.Load( THEME->GetPathS(m_sName,"difficulty harder") );
|
m_soundDifficultyHarder.Load( THEME->GetPathS(m_sName,"difficulty harder") );
|
||||||
m_soundOptionsChange.Load( THEME->GetPathS(m_sName,"options") );
|
m_soundOptionsChange.Load( THEME->GetPathS(m_sName,"options") );
|
||||||
@@ -306,7 +307,7 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_bGoToOptions = true;
|
m_bGoToOptions = true;
|
||||||
SCREENMAN->PlayStartSound();
|
m_soundStart.Play();
|
||||||
this->PlayCommand( "ShowEnteringOptions" );
|
this->PlayCommand( "ShowEnteringOptions" );
|
||||||
|
|
||||||
// Re-queue SM_BeginFadingOut, since ShowEnteringOptions may have
|
// Re-queue SM_BeginFadingOut, since ShowEnteringOptions may have
|
||||||
@@ -698,7 +699,7 @@ void ScreenSelectMusic::MenuStart( const InputEventPlus &input )
|
|||||||
|
|
||||||
m_bMadeChoice = true;
|
m_bMadeChoice = true;
|
||||||
|
|
||||||
SCREENMAN->PlayStartSound();
|
m_soundStart.Play();
|
||||||
|
|
||||||
/* If we're currently waiting on song assets, abort all except the music and
|
/* If we're currently waiting on song assets, abort all except the music and
|
||||||
* start the music, so if we make a choice quickly before background requests
|
* start the music, so if we make a choice quickly before background requests
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ protected:
|
|||||||
bool m_bAllowOptionsMenu, m_bAllowOptionsMenuRepeat;
|
bool m_bAllowOptionsMenu, m_bAllowOptionsMenuRepeat;
|
||||||
bool m_bSelectIsDown;
|
bool m_bSelectIsDown;
|
||||||
|
|
||||||
|
RageSound m_soundStart;
|
||||||
RageSound m_soundDifficultyEasier;
|
RageSound m_soundDifficultyEasier;
|
||||||
RageSound m_soundDifficultyHarder;
|
RageSound m_soundDifficultyHarder;
|
||||||
RageSound m_soundOptionsChange;
|
RageSound m_soundOptionsChange;
|
||||||
|
|||||||
Reference in New Issue
Block a user