don't load multiple copies of "common start" or "common invalid" sound
This commit is contained in:
@@ -147,8 +147,6 @@ EditCoursesMenu::EditCoursesMenu()
|
|||||||
|
|
||||||
m_soundChangeRow.Load( THEME->GetPathToS("EditCoursesMenu row") );
|
m_soundChangeRow.Load( THEME->GetPathToS("EditCoursesMenu row") );
|
||||||
m_soundChangeValue.Load( THEME->GetPathToS("EditCoursesMenu value") );
|
m_soundChangeValue.Load( THEME->GetPathToS("EditCoursesMenu value") );
|
||||||
m_soundStart.Load( THEME->GetPathToS("Common start") );
|
|
||||||
m_soundInvalid.Load( THEME->GetPathToS("Common invalid") );
|
|
||||||
m_soundSave.Load( THEME->GetPathToS("EditCoursesMenu save") );
|
m_soundSave.Load( THEME->GetPathToS("EditCoursesMenu save") );
|
||||||
|
|
||||||
|
|
||||||
@@ -279,19 +277,19 @@ void EditCoursesMenu::Start()
|
|||||||
SCREENMAN->SystemMessage( "Course saved." );
|
SCREENMAN->SystemMessage( "Course saved." );
|
||||||
break;
|
break;
|
||||||
case add_entry:
|
case add_entry:
|
||||||
m_soundStart.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
pCourse->m_entries.insert( pCourse->m_entries.begin()+m_iSelection[ROW_ENTRY], pCourse->m_entries[m_iSelection[ROW_ENTRY]] );
|
pCourse->m_entries.insert( pCourse->m_entries.begin()+m_iSelection[ROW_ENTRY], pCourse->m_entries[m_iSelection[ROW_ENTRY]] );
|
||||||
OnRowValueChanged( ROW_ENTRY );
|
OnRowValueChanged( ROW_ENTRY );
|
||||||
break;
|
break;
|
||||||
case delete_selected_entry:
|
case delete_selected_entry:
|
||||||
if( pCourse->m_entries.size() == 1 )
|
if( pCourse->m_entries.size() == 1 )
|
||||||
{
|
{
|
||||||
m_soundInvalid.Play();
|
SCREENMAN->PlayInvalidSound();
|
||||||
SCREENMAN->SystemMessage( "Cannot delete the last entry from a course" );
|
SCREENMAN->SystemMessage( "Cannot delete the last entry from a course" );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_soundStart.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
pCourse->m_entries.erase( pCourse->m_entries.begin()+m_iSelection[ROW_ENTRY] );
|
pCourse->m_entries.erase( pCourse->m_entries.begin()+m_iSelection[ROW_ENTRY] );
|
||||||
CLAMP( m_iSelection[ROW_ENTRY], 0, (int) pCourse->m_entries.size()-1 );
|
CLAMP( m_iSelection[ROW_ENTRY], 0, (int) pCourse->m_entries.size()-1 );
|
||||||
OnRowValueChanged( ROW_ENTRY );
|
OnRowValueChanged( ROW_ENTRY );
|
||||||
@@ -391,7 +389,7 @@ void EditCoursesMenu::Start()
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ROW_ENTRY_PLAYER_OPTIONS:
|
case ROW_ENTRY_PLAYER_OPTIONS:
|
||||||
m_soundStart.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
GAMESTATE->m_PlayerOptions[PLAYER_1] = PlayerOptions();
|
GAMESTATE->m_PlayerOptions[PLAYER_1] = PlayerOptions();
|
||||||
GAMESTATE->m_PlayerOptions[PLAYER_1].FromString( pEntry->modifiers );
|
GAMESTATE->m_PlayerOptions[PLAYER_1].FromString( pEntry->modifiers );
|
||||||
@@ -399,7 +397,7 @@ void EditCoursesMenu::Start()
|
|||||||
SCREENMAN->AddNewScreenToTop( "ScreenPlayerOptions", SM_BackFromPlayerOptions );
|
SCREENMAN->AddNewScreenToTop( "ScreenPlayerOptions", SM_BackFromPlayerOptions );
|
||||||
break;
|
break;
|
||||||
case ROW_ENTRY_SONG_OPTIONS:
|
case ROW_ENTRY_SONG_OPTIONS:
|
||||||
m_soundStart.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
GAMESTATE->m_SongOptions = SongOptions();
|
GAMESTATE->m_SongOptions = SongOptions();
|
||||||
GAMESTATE->m_SongOptions.FromString( pEntry->modifiers );
|
GAMESTATE->m_SongOptions.FromString( pEntry->modifiers );
|
||||||
@@ -407,7 +405,7 @@ void EditCoursesMenu::Start()
|
|||||||
SCREENMAN->AddNewScreenToTop( "ScreenSongOptions", SM_BackFromSongOptions );
|
SCREENMAN->AddNewScreenToTop( "ScreenSongOptions", SM_BackFromSongOptions );
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
m_soundInvalid.Play();
|
SCREENMAN->PlayInvalidSound();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -109,8 +109,6 @@ private:
|
|||||||
|
|
||||||
RageSound m_soundChangeRow;
|
RageSound m_soundChangeRow;
|
||||||
RageSound m_soundChangeValue;
|
RageSound m_soundChangeValue;
|
||||||
RageSound m_soundStart;
|
|
||||||
RageSound m_soundInvalid;
|
|
||||||
RageSound m_soundSave;
|
RageSound m_soundSave;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -127,7 +127,6 @@ void MusicWheel::Load()
|
|||||||
m_soundChangeMusic.Load( THEME->GetPathToS("MusicWheel change"), true );
|
m_soundChangeMusic.Load( THEME->GetPathToS("MusicWheel change"), true );
|
||||||
m_soundChangeSort.Load( THEME->GetPathToS("MusicWheel sort") );
|
m_soundChangeSort.Load( THEME->GetPathToS("MusicWheel sort") );
|
||||||
m_soundExpand.Load( THEME->GetPathToS("MusicWheel expand") );
|
m_soundExpand.Load( THEME->GetPathToS("MusicWheel expand") );
|
||||||
m_soundStart.Load( THEME->GetPathToS("Common start") );
|
|
||||||
m_soundLocked.Load( THEME->GetPathToS("MusicWheel locked"), true );
|
m_soundLocked.Load( THEME->GetPathToS("MusicWheel locked"), true );
|
||||||
|
|
||||||
|
|
||||||
@@ -1002,7 +1001,7 @@ void MusicWheel::Update( float fDeltaTime )
|
|||||||
if( (GAMESTATE->IsExtraStage() && !PREFSMAN->m_bPickExtraStage) || GAMESTATE->IsExtraStage2() )
|
if( (GAMESTATE->IsExtraStage() && !PREFSMAN->m_bPickExtraStage) || GAMESTATE->IsExtraStage2() )
|
||||||
{
|
{
|
||||||
m_WheelState = STATE_LOCKED;
|
m_WheelState = STATE_LOCKED;
|
||||||
m_soundStart.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
m_fLockedWheelVelocity = 0;
|
m_fLockedWheelVelocity = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -1029,7 +1028,7 @@ void MusicWheel::Update( float fDeltaTime )
|
|||||||
{
|
{
|
||||||
m_WheelState = STATE_LOCKED;
|
m_WheelState = STATE_LOCKED;
|
||||||
m_fTimeLeftInState = 0;
|
m_fTimeLeftInState = 0;
|
||||||
m_soundStart.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
m_fLockedWheelVelocity = 0;
|
m_fLockedWheelVelocity = 0;
|
||||||
|
|
||||||
/* Send this again so the screen starts sample music. */
|
/* Send this again so the screen starts sample music. */
|
||||||
@@ -1236,7 +1235,7 @@ bool MusicWheel::Select() // return true if this selection ends the screen
|
|||||||
{
|
{
|
||||||
m_fPositionOffsetFromSelection = max(m_fPositionOffsetFromSelection, 0.3f);
|
m_fPositionOffsetFromSelection = max(m_fPositionOffsetFromSelection, 0.3f);
|
||||||
m_WheelState = STATE_LOCKED;
|
m_WheelState = STATE_LOCKED;
|
||||||
m_soundStart.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
m_fLockedWheelVelocity = 0;
|
m_fLockedWheelVelocity = 0;
|
||||||
SCREENMAN->PostMessageToTopScreen( SM_SongChanged, 0 );
|
SCREENMAN->PostMessageToTopScreen( SM_SongChanged, 0 );
|
||||||
return false;
|
return false;
|
||||||
@@ -1324,7 +1323,7 @@ void MusicWheel::StartLeap()
|
|||||||
m_iSelection = rand() % m_CurWheelItemData.size();
|
m_iSelection = rand() % m_CurWheelItemData.size();
|
||||||
m_fPositionOffsetFromSelection = 0;
|
m_fPositionOffsetFromSelection = 0;
|
||||||
m_WheelState = STATE_SELECTING_MUSIC;
|
m_WheelState = STATE_SELECTING_MUSIC;
|
||||||
m_soundStart.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
SCREENMAN->PostMessageToTopScreen( SM_SongChanged, 0 );
|
SCREENMAN->PostMessageToTopScreen( SM_SongChanged, 0 );
|
||||||
RebuildMusicWheelItems();
|
RebuildMusicWheelItems();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -125,7 +125,6 @@ protected:
|
|||||||
RageSound m_soundChangeMusic;
|
RageSound m_soundChangeMusic;
|
||||||
RageSound m_soundChangeSort;
|
RageSound m_soundChangeSort;
|
||||||
RageSound m_soundExpand;
|
RageSound m_soundExpand;
|
||||||
RageSound m_soundStart;
|
|
||||||
RageSound m_soundLocked;
|
RageSound m_soundLocked;
|
||||||
|
|
||||||
bool WheelItemIsVisible(int n);
|
bool WheelItemIsVisible(int n);
|
||||||
|
|||||||
@@ -56,8 +56,6 @@ ScreenAttract::ScreenAttract( CString sName, bool bResetGameState ) : Screen( sN
|
|||||||
|
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo(m_sName) );
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo(m_sName) );
|
||||||
|
|
||||||
m_soundStart.Load( THEME->GetPathToS("Common start") );
|
|
||||||
|
|
||||||
if( GAMESTATE->IsTimeToPlayAttractSounds() )
|
if( GAMESTATE->IsTimeToPlayAttractSounds() )
|
||||||
SOUND->PlayMusic( THEME->GetPathToS(m_sName + " music") );
|
SOUND->PlayMusic( THEME->GetPathToS(m_sName + " music") );
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ protected:
|
|||||||
BGAnimation m_Background;
|
BGAnimation m_Background;
|
||||||
Transition m_In;
|
Transition m_In;
|
||||||
Transition m_Out;
|
Transition m_Out;
|
||||||
RandomSample m_soundStart;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ void ScreenCenterImage::Input( const DeviceInput& DeviceI, const InputEventType
|
|||||||
case SDLK_KP_ENTER:
|
case SDLK_KP_ENTER:
|
||||||
if(!IsTransitioning())
|
if(!IsTransitioning())
|
||||||
{
|
{
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common start") );
|
SCREENMAN->PlayStartSound();
|
||||||
StartTransitioning( SM_GoToNextScreen );
|
StartTransitioning( SM_GoToNextScreen );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -960,7 +960,7 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ
|
|||||||
case SDLK_F5:
|
case SDLK_F5:
|
||||||
if( it==vSteps.begin() )
|
if( it==vSteps.begin() )
|
||||||
{
|
{
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common invalid") );
|
SCREENMAN->PlayInvalidSound();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
it--;
|
it--;
|
||||||
@@ -969,7 +969,7 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ
|
|||||||
it++;
|
it++;
|
||||||
if( it==vSteps.end() )
|
if( it==vSteps.end() )
|
||||||
{
|
{
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common invalid") );
|
SCREENMAN->PlayInvalidSound();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -2144,7 +2144,7 @@ void ScreenEdit::HandleBGChangeChoice( BGChangeChoice c, int* iAnswers )
|
|||||||
change.m_sBGName = "";
|
change.m_sBGName = "";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common invalid") );
|
SCREENMAN->PlayInvalidSound();
|
||||||
};
|
};
|
||||||
|
|
||||||
change.m_fRate = (float)atof( g_BGChange.rows[rate].choices[iAnswers[rate]] )/100.f;
|
change.m_fRate = (float)atof( g_BGChange.rows[rate].choices[iAnswers[rate]] )/100.f;
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ ScreenEz2SelectMusic::ScreenEz2SelectMusic( CString sName ) : ScreenWithMenuElem
|
|||||||
m_soundButtonPress.Load( THEME->GetPathToS("ScreenEz2SelectMusic buttonpress"));
|
m_soundButtonPress.Load( THEME->GetPathToS("ScreenEz2SelectMusic buttonpress"));
|
||||||
m_soundMusicChange.Load( THEME->GetPathToS("ScreenEz2SelectMusic change"));
|
m_soundMusicChange.Load( THEME->GetPathToS("ScreenEz2SelectMusic change"));
|
||||||
m_soundMusicCycle.Load( THEME->GetPathToS("ScreenEz2SelectMusic cycle"));
|
m_soundMusicCycle.Load( THEME->GetPathToS("ScreenEz2SelectMusic cycle"));
|
||||||
m_soundSelect.Load( THEME->GetPathToS("Common start") );
|
|
||||||
|
|
||||||
m_ChoiceListFrame.Load( THEME->GetPathToG("ScreenEz2SelectMusic list frame"));
|
m_ChoiceListFrame.Load( THEME->GetPathToG("ScreenEz2SelectMusic list frame"));
|
||||||
m_ChoiceListFrame.SetXY( SCROLLING_LIST_X, SCROLLING_LIST_Y);
|
m_ChoiceListFrame.SetXY( SCROLLING_LIST_X, SCROLLING_LIST_Y);
|
||||||
@@ -252,7 +251,7 @@ void ScreenEz2SelectMusic::Input( const DeviceInput& DeviceI, const InputEventTy
|
|||||||
|
|
||||||
if( m_bMadeChoice && !m_bGoToOptions && MenuI.IsValid() && MenuI.button == MENU_BUTTON_START )
|
if( m_bMadeChoice && !m_bGoToOptions && MenuI.IsValid() && MenuI.button == MENU_BUTTON_START )
|
||||||
{
|
{
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common start") );
|
SCREENMAN->PlayStartSound();
|
||||||
m_bGoToOptions = true;
|
m_bGoToOptions = true;
|
||||||
m_sprOptionsMessage.SetState( 1 );
|
m_sprOptionsMessage.SetState( 1 );
|
||||||
}
|
}
|
||||||
@@ -459,7 +458,7 @@ void ScreenEz2SelectMusic::MenuStart( PlayerNumber pn )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_soundSelect.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
if((PREVIEWMUSICMODE == 1 || PREVIEWMUSICMODE == 3) && iConfirmSelection == 0)
|
if((PREVIEWMUSICMODE == 1 || PREVIEWMUSICMODE == 3) && iConfirmSelection == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -94,9 +94,6 @@ protected:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
int iConfirmSelection;
|
int iConfirmSelection;
|
||||||
|
|
||||||
|
|
||||||
RageSound m_soundSelect;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -90,8 +90,6 @@ ScreenEz2SelectPlayer::ScreenEz2SelectPlayer( CString sName ) : ScreenWithMenuEl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_soundSelect.Load( THEME->GetPathToS("Common start") );
|
|
||||||
|
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("select player intro") );
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("select player intro") );
|
||||||
|
|
||||||
SOUND->PlayMusic( THEME->GetPathToS("ScreenSelectPlayer music") );
|
SOUND->PlayMusic( THEME->GetPathToS("ScreenSelectPlayer music") );
|
||||||
@@ -209,7 +207,7 @@ void ScreenEz2SelectPlayer::MenuStart( PlayerNumber pn )
|
|||||||
|
|
||||||
GAMESTATE->m_bSideIsJoined[pn] = true;
|
GAMESTATE->m_bSideIsJoined[pn] = true;
|
||||||
SCREENMAN->RefreshCreditsMessages();
|
SCREENMAN->RefreshCreditsMessages();
|
||||||
m_soundSelect.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
m_sprJoinMessage[pn].SetState( pn+NUM_PLAYERS );
|
m_sprJoinMessage[pn].SetState( pn+NUM_PLAYERS );
|
||||||
|
|
||||||
if( FOLD_ON_JOIN )
|
if( FOLD_ON_JOIN )
|
||||||
|
|||||||
@@ -33,6 +33,5 @@ private:
|
|||||||
Sprite m_sprJoinMessage[NUM_PLAYERS];
|
Sprite m_sprJoinMessage[NUM_PLAYERS];
|
||||||
Sprite m_sprJoinFrame[NUM_PLAYERS];
|
Sprite m_sprJoinFrame[NUM_PLAYERS];
|
||||||
|
|
||||||
RageSound m_soundSelect;
|
|
||||||
BGAnimation m_Background;
|
BGAnimation m_Background;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,8 +53,6 @@ ScreenJukeboxMenu::ScreenJukeboxMenu( CString sClassName ) : ScreenWithMenuEleme
|
|||||||
m_textExplanation.SetZoom( 0.7f );
|
m_textExplanation.SetZoom( 0.7f );
|
||||||
this->AddChild( &m_textExplanation );
|
this->AddChild( &m_textExplanation );
|
||||||
|
|
||||||
m_soundInvalid.Load( THEME->GetPathToS("Common invalid") );
|
|
||||||
|
|
||||||
SOUND->PlayMusic( THEME->GetPathToS("ScreenJukeboxMenu music") );
|
SOUND->PlayMusic( THEME->GetPathToS("ScreenJukeboxMenu music") );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -132,14 +130,14 @@ void ScreenJukeboxMenu::MenuStart( PlayerNumber pn )
|
|||||||
{
|
{
|
||||||
/* No songs are available for the selected style, group, and difficulty. */
|
/* No songs are available for the selected style, group, and difficulty. */
|
||||||
|
|
||||||
m_soundInvalid.Play();
|
SCREENMAN->PlayInvalidSound();
|
||||||
SCREENMAN->SystemMessage( "No songs available with these settings" );
|
SCREENMAN->SystemMessage( "No songs available with these settings" );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SOUND->StopMusic();
|
SOUND->StopMusic();
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common start") );
|
SCREENMAN->PlayStartSound();
|
||||||
StartTransitioning( SM_GoToNextScreen );
|
StartTransitioning( SM_GoToNextScreen );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,8 +36,6 @@ private:
|
|||||||
JukeboxMenu m_Selector;
|
JukeboxMenu m_Selector;
|
||||||
|
|
||||||
BitmapText m_textExplanation;
|
BitmapText m_textExplanation;
|
||||||
|
|
||||||
RageSound m_soundInvalid;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ void ScreenMapControllers::Input( const DeviceInput& DeviceI, const InputEventTy
|
|||||||
if ( DeviceI.device == DEVICE_KEYBOARD && (DeviceI.button >= SDLK_F1 && DeviceI.button <= SDLK_F12) )
|
if ( DeviceI.device == DEVICE_KEYBOARD && (DeviceI.button >= SDLK_F1 && DeviceI.button <= SDLK_F12) )
|
||||||
{
|
{
|
||||||
m_textError.SetText( "That key can not be mapped." );
|
m_textError.SetText( "That key can not be mapped." );
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common invalid" ) );
|
SCREENMAN->PlayInvalidSound();
|
||||||
m_textError.StopTweening();
|
m_textError.StopTweening();
|
||||||
m_textError.SetDiffuse( RageColor(0,1,0,1) );
|
m_textError.SetDiffuse( RageColor(0,1,0,1) );
|
||||||
m_textError.BeginTweening( 3 );
|
m_textError.BeginTweening( 3 );
|
||||||
@@ -263,7 +263,7 @@ void ScreenMapControllers::Input( const DeviceInput& DeviceI, const InputEventTy
|
|||||||
case SDLK_ESCAPE: /* Quit the screen. */
|
case SDLK_ESCAPE: /* Quit the screen. */
|
||||||
if(!IsTransitioning())
|
if(!IsTransitioning())
|
||||||
{
|
{
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common start") );
|
SCREENMAN->PlayStartSound();
|
||||||
StartTransitioning( SM_GoToNextScreen );
|
StartTransitioning( SM_GoToNextScreen );
|
||||||
for( int b=0; b<GAMESTATE->GetCurrentGameDef()->m_iButtonsPerController; b++ )
|
for( int b=0; b<GAMESTATE->GetCurrentGameDef()->m_iButtonsPerController; b++ )
|
||||||
m_Line[b].Command( (b%2)? ODD_LINE_OUT:EVEN_LINE_OUT );
|
m_Line[b].Command( (b%2)? ODD_LINE_OUT:EVEN_LINE_OUT );
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ void ScreenMiniMenu::MenuStart( PlayerNumber pn, const InputEventType type )
|
|||||||
|
|
||||||
m_Out.StartTransitioning( SM_GoToOK );
|
m_Out.StartTransitioning( SM_GoToOK );
|
||||||
|
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common start") );
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
s_iLastLine = m_iCurLine;
|
s_iLastLine = m_iCurLine;
|
||||||
COPY( s_iLastAnswers, m_iCurAnswers );
|
COPY( s_iLastAnswers, m_iCurAnswers );
|
||||||
|
|||||||
@@ -102,7 +102,6 @@ ScreenOptions::ScreenOptions( CString sClassName ) : ScreenWithMenuElements(sCla
|
|||||||
m_SoundChangeCol.Load( THEME->GetPathToS("ScreenOptions change"), true );
|
m_SoundChangeCol.Load( THEME->GetPathToS("ScreenOptions change"), true );
|
||||||
m_SoundNextRow.Load( THEME->GetPathToS("ScreenOptions next"), true );
|
m_SoundNextRow.Load( THEME->GetPathToS("ScreenOptions next"), true );
|
||||||
m_SoundPrevRow.Load( THEME->GetPathToS("ScreenOptions prev"), true );
|
m_SoundPrevRow.Load( THEME->GetPathToS("ScreenOptions prev"), true );
|
||||||
m_SoundStart.Load( THEME->GetPathToS("Common start") );
|
|
||||||
m_SoundToggleOn.Load( THEME->GetPathToS("ScreenOptions toggle on") );
|
m_SoundToggleOn.Load( THEME->GetPathToS("ScreenOptions toggle on") );
|
||||||
m_SoundToggleOff.Load( THEME->GetPathToS("ScreenOptions toggle off") );
|
m_SoundToggleOff.Load( THEME->GetPathToS("ScreenOptions toggle off") );
|
||||||
|
|
||||||
@@ -957,7 +956,7 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
return; /* already transitioning */
|
return; /* already transitioning */
|
||||||
StartTransitioning( SM_GoToNextScreen );
|
StartTransitioning( SM_GoToNextScreen );
|
||||||
|
|
||||||
m_SoundStart.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
m_framePage.Command( FRAME_OFF_COMMAND );
|
m_framePage.Command( FRAME_OFF_COMMAND );
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -180,7 +180,6 @@ protected:
|
|||||||
RageSound m_SoundChangeCol;
|
RageSound m_SoundChangeCol;
|
||||||
RageSound m_SoundNextRow;
|
RageSound m_SoundNextRow;
|
||||||
RageSound m_SoundPrevRow;
|
RageSound m_SoundPrevRow;
|
||||||
RageSound m_SoundStart;
|
|
||||||
RageSound m_SoundToggleOn;
|
RageSound m_SoundToggleOn;
|
||||||
RageSound m_SoundToggleOff;
|
RageSound m_SoundToggleOff;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ void ScreenProfileOptions::MenuStart( PlayerNumber pn, const InputEventType type
|
|||||||
const CString sName = GetSelectedProfileName();
|
const CString sName = GetSelectedProfileName();
|
||||||
|
|
||||||
if( sProfileID=="" )
|
if( sProfileID=="" )
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("common invalid") );
|
SCREENMAN->PlayInvalidSound();
|
||||||
else
|
else
|
||||||
SCREENMAN->Prompt( SM_DoneDeleting, ssprintf("Delete profile %s '%s'?",sProfileID.c_str(),sName.c_str()), true );
|
SCREENMAN->Prompt( SM_DoneDeleting, ssprintf("Delete profile %s '%s'?",sProfileID.c_str(),sName.c_str()), true );
|
||||||
break;
|
break;
|
||||||
@@ -204,7 +204,7 @@ void ScreenProfileOptions::MenuStart( PlayerNumber pn, const InputEventType type
|
|||||||
const CString sName = GetSelectedProfileName();
|
const CString sName = GetSelectedProfileName();
|
||||||
|
|
||||||
if( sProfileID=="" )
|
if( sProfileID=="" )
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("common invalid") );
|
SCREENMAN->PlayInvalidSound();
|
||||||
else
|
else
|
||||||
SCREENMAN->TextEntry( SM_DoneRenaming, ssprintf("Rename profile %s '%s'",sProfileID.c_str(),sName.c_str()), sName, NULL );
|
SCREENMAN->TextEntry( SM_DoneRenaming, ssprintf("Rename profile %s '%s'",sProfileID.c_str(),sName.c_str()), sName, NULL );
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ void ScreenPrompt::MenuStart( PlayerNumber pn )
|
|||||||
m_textAnswer[1].BeginTweening( 0.2f );
|
m_textAnswer[1].BeginTweening( 0.2f );
|
||||||
m_textAnswer[1].SetDiffuse( RageColor(1,1,1,0) );
|
m_textAnswer[1].SetDiffuse( RageColor(1,1,1,0) );
|
||||||
|
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common start") );
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
if( m_bAnswer )
|
if( m_bAnswer )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -150,7 +150,6 @@ ScreenSelectCharacter::ScreenSelectCharacter( CString sClassName ) : ScreenWithM
|
|||||||
|
|
||||||
|
|
||||||
m_soundChange.Load( THEME->GetPathToS("ScreenSelectCharacter change") );
|
m_soundChange.Load( THEME->GetPathToS("ScreenSelectCharacter change") );
|
||||||
m_soundSelect.Load( THEME->GetPathToS("Common start") );
|
|
||||||
|
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("select group intro") );
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("select group intro") );
|
||||||
|
|
||||||
@@ -356,7 +355,7 @@ void ScreenSelectCharacter::MenuStart( PlayerNumber pn )
|
|||||||
}
|
}
|
||||||
AfterRowChange(pn);
|
AfterRowChange(pn);
|
||||||
AfterValueChange(pn);
|
AfterValueChange(pn);
|
||||||
m_soundSelect.PlayRandom();
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
bool bAllAreFinished = true;
|
bool bAllAreFinished = true;
|
||||||
for( int p=0; p<NUM_PLAYERS; p++ )
|
for( int p=0; p<NUM_PLAYERS; p++ )
|
||||||
|
|||||||
@@ -70,7 +70,6 @@ private:
|
|||||||
Sprite m_sprExplanation;
|
Sprite m_sprExplanation;
|
||||||
|
|
||||||
RandomSample m_soundChange;
|
RandomSample m_soundChange;
|
||||||
RandomSample m_soundSelect;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,6 @@ ScreenSelectCourse::ScreenSelectCourse( CString sClassName ) : ScreenWithMenuEle
|
|||||||
// this->AddChild( &m_sprOptionsMessage ); // draw and update manually
|
// this->AddChild( &m_sprOptionsMessage ); // draw and update manually
|
||||||
|
|
||||||
|
|
||||||
m_soundSelect.Load( THEME->GetPathToS("Common start") );
|
|
||||||
m_soundOptionsChange.Load( THEME->GetPathToS("ScreenSelectCourse options") );
|
m_soundOptionsChange.Load( THEME->GetPathToS("ScreenSelectCourse options") );
|
||||||
m_soundChangeNotes.Load( THEME->GetPathToS("ScreenSelectCourse difficulty") );
|
m_soundChangeNotes.Load( THEME->GetPathToS("ScreenSelectCourse difficulty") );
|
||||||
|
|
||||||
@@ -248,7 +247,7 @@ void ScreenSelectCourse::Input( const DeviceInput& DeviceI, InputEventType type,
|
|||||||
|
|
||||||
m_bGoToOptions = true;
|
m_bGoToOptions = true;
|
||||||
m_sprOptionsMessage.SetState( 1 );
|
m_sprOptionsMessage.SetState( 1 );
|
||||||
m_soundSelect.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,7 +337,7 @@ void ScreenSelectCourse::MenuStart( PlayerNumber pn )
|
|||||||
|
|
||||||
TweenOffScreen();
|
TweenOffScreen();
|
||||||
|
|
||||||
m_soundSelect.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
m_bMadeChoice = true;
|
m_bMadeChoice = true;
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ protected:
|
|||||||
bool m_bGoToOptions, m_bAllowOptionsMenuRepeat;
|
bool m_bGoToOptions, m_bAllowOptionsMenuRepeat;
|
||||||
Sprite m_sprOptionsMessage;
|
Sprite m_sprOptionsMessage;
|
||||||
|
|
||||||
RageSound m_soundSelect;
|
|
||||||
RageSound m_soundOptionsChange;
|
RageSound m_soundOptionsChange;
|
||||||
RageSound m_soundChangeNotes;
|
RageSound m_soundChangeNotes;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ ScreenSelectDifficulty::ScreenSelectDifficulty( CString sClassName ) : ScreenSel
|
|||||||
this->AddChild( &m_framePages );
|
this->AddChild( &m_framePages );
|
||||||
|
|
||||||
m_soundChange.Load( THEME->GetPathToS( m_sName + " change") );
|
m_soundChange.Load( THEME->GetPathToS( m_sName + " change") );
|
||||||
m_soundSelect.Load( THEME->GetPathToS( "Common start") );
|
|
||||||
m_soundDifficult.Load( ANNOUNCER->GetPathTo("select difficulty challenge") );
|
m_soundDifficult.Load( ANNOUNCER->GetPathTo("select difficulty challenge") );
|
||||||
|
|
||||||
m_fLockInputTime = LOCK_INPUT_SECONDS;
|
m_fLockInputTime = LOCK_INPUT_SECONDS;
|
||||||
@@ -384,7 +383,7 @@ void ScreenSelectDifficulty::MenuStart( PlayerNumber pn )
|
|||||||
if( bPlaySelect )
|
if( bPlaySelect )
|
||||||
{
|
{
|
||||||
SOUND->PlayOnceFromAnnouncer( ssprintf("ScreenSelectDifficulty comment %s",mc.m_sName.c_str()) );
|
SOUND->PlayOnceFromAnnouncer( ssprintf("ScreenSelectDifficulty comment %s",mc.m_sName.c_str()) );
|
||||||
m_soundSelect.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
}
|
}
|
||||||
|
|
||||||
int p;
|
int p;
|
||||||
|
|||||||
@@ -61,7 +61,6 @@ protected:
|
|||||||
Sprite m_sprOK[NUM_PLAYERS];
|
Sprite m_sprOK[NUM_PLAYERS];
|
||||||
|
|
||||||
RageSound m_soundChange;
|
RageSound m_soundChange;
|
||||||
RageSound m_soundSelect;
|
|
||||||
RandomSample m_soundDifficult;
|
RandomSample m_soundDifficult;
|
||||||
|
|
||||||
vector<ModeChoice> m_ModeChoices[NUM_PAGES];
|
vector<ModeChoice> m_ModeChoices[NUM_PAGES];
|
||||||
|
|||||||
@@ -149,7 +149,6 @@ ScreenSelectDifficultyEX::ScreenSelectDifficultyEX( CString sClassName ) : Scree
|
|||||||
|
|
||||||
this->AddChild( &m_framePages );
|
this->AddChild( &m_framePages );
|
||||||
m_soundChange.Load( THEME->GetPathToS( "ScreenSelectDifficulty change") );
|
m_soundChange.Load( THEME->GetPathToS( "ScreenSelectDifficulty change") );
|
||||||
m_soundSelect.Load( THEME->GetPathToS( "Common start") );
|
|
||||||
m_soundDifficult.Load( ANNOUNCER->GetPathTo("select difficulty challenge") );
|
m_soundDifficult.Load( ANNOUNCER->GetPathTo("select difficulty challenge") );
|
||||||
m_fLockInputTime = LOCK_INPUT_SECONDS;
|
m_fLockInputTime = LOCK_INPUT_SECONDS;
|
||||||
TweenOnScreen();
|
TweenOnScreen();
|
||||||
@@ -393,7 +392,7 @@ void ScreenSelectDifficultyEX::MenuStart( PlayerNumber pn )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo(ssprintf("ScreenSelectDifficulty comment %s",mc.m_sName.c_str())) );
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo(ssprintf("ScreenSelectDifficulty comment %s",mc.m_sName.c_str())) );
|
||||||
m_soundSelect.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
}
|
}
|
||||||
|
|
||||||
if( IsACourse( m_iChoice[pn] ) )
|
if( IsACourse( m_iChoice[pn] ) )
|
||||||
|
|||||||
@@ -68,7 +68,6 @@ protected:
|
|||||||
Sprite m_sprPicture[NUM_PLAYERS];
|
Sprite m_sprPicture[NUM_PLAYERS];
|
||||||
|
|
||||||
RageSound m_soundChange;
|
RageSound m_soundChange;
|
||||||
RageSound m_soundSelect;
|
|
||||||
RandomSample m_soundDifficult;
|
RandomSample m_soundDifficult;
|
||||||
|
|
||||||
vector<ModeChoice> m_ModeChoices;
|
vector<ModeChoice> m_ModeChoices;
|
||||||
|
|||||||
@@ -135,7 +135,6 @@ ScreenSelectGroup::ScreenSelectGroup( CString sClassName ) : ScreenWithMenuEleme
|
|||||||
|
|
||||||
|
|
||||||
m_soundChange.Load( THEME->GetPathToS("ScreenSelectGroup change") );
|
m_soundChange.Load( THEME->GetPathToS("ScreenSelectGroup change") );
|
||||||
m_soundSelect.Load( THEME->GetPathToS("Common start") );
|
|
||||||
|
|
||||||
SOUND->PlayOnceFromAnnouncer( "select group intro" );
|
SOUND->PlayOnceFromAnnouncer( "select group intro" );
|
||||||
|
|
||||||
@@ -246,7 +245,7 @@ void ScreenSelectGroup::MenuStart( PlayerNumber pn )
|
|||||||
if( m_bChosen )
|
if( m_bChosen )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_soundSelect.PlayRandom();
|
SCREENMAN->PlayStartSound();
|
||||||
m_MenuTimer->Stop();
|
m_MenuTimer->Stop();
|
||||||
m_bChosen = true;
|
m_bChosen = true;
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ private:
|
|||||||
GroupList m_GroupList;
|
GroupList m_GroupList;
|
||||||
|
|
||||||
RandomSample m_soundChange;
|
RandomSample m_soundChange;
|
||||||
RandomSample m_soundSelect;
|
|
||||||
|
|
||||||
bool m_bChosen;
|
bool m_bChosen;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -201,7 +201,6 @@ ScreenSelectMaster::ScreenSelectMaster( CString sClassName ) : ScreenSelect( sCl
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_soundChange.Load( THEME->GetPathToS( ssprintf("%s change", m_sName.c_str())), true );
|
m_soundChange.Load( THEME->GetPathToS( ssprintf("%s change", m_sName.c_str())), true );
|
||||||
m_soundSelect.Load( THEME->GetPathToS( "Common start") );
|
|
||||||
m_soundDifficult.Load( ANNOUNCER->GetPathTo("select difficulty challenge") );
|
m_soundDifficult.Load( ANNOUNCER->GetPathTo("select difficulty challenge") );
|
||||||
|
|
||||||
// init m_Next order info
|
// init m_Next order info
|
||||||
@@ -600,7 +599,7 @@ void ScreenSelectMaster::MenuStart( PlayerNumber pn )
|
|||||||
|
|
||||||
ModeChoice &mc = m_aModeChoices[m_iChoice[pn]];
|
ModeChoice &mc = m_aModeChoices[m_iChoice[pn]];
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo(ssprintf("%s comment %s",m_sName.c_str(), mc.m_sName.c_str())) );
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo(ssprintf("%s comment %s",m_sName.c_str(), mc.m_sName.c_str())) );
|
||||||
m_soundSelect.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
float fSecs = 0;
|
float fSecs = 0;
|
||||||
bool bAllDone = true;
|
bool bAllDone = true;
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ protected:
|
|||||||
ActorScroller m_Scroller[NUM_PLAYERS];
|
ActorScroller m_Scroller[NUM_PLAYERS];
|
||||||
|
|
||||||
RageSound m_soundChange;
|
RageSound m_soundChange;
|
||||||
RageSound m_soundSelect;
|
|
||||||
RandomSample m_soundDifficult;
|
RandomSample m_soundDifficult;
|
||||||
|
|
||||||
int m_iChoice[NUM_PLAYERS];
|
int m_iChoice[NUM_PLAYERS];
|
||||||
|
|||||||
@@ -321,7 +321,6 @@ ScreenSelectMusic::ScreenSelectMusic( CString sClassName ) : ScreenWithMenuEleme
|
|||||||
m_bgNoOptionsOut.Load( THEME->GetPathToB(m_sName+" no options out") );
|
m_bgNoOptionsOut.Load( THEME->GetPathToB(m_sName+" no options out") );
|
||||||
// this->AddChild( &m_bgNoOptionsOut ); // drawn on top
|
// this->AddChild( &m_bgNoOptionsOut ); // drawn on top
|
||||||
|
|
||||||
m_soundSelect.Load( THEME->GetPathToS("Common start") );
|
|
||||||
m_soundDifficultyEasier.Load( THEME->GetPathToS("ScreenSelectMusic difficulty easier") );
|
m_soundDifficultyEasier.Load( THEME->GetPathToS("ScreenSelectMusic difficulty easier") );
|
||||||
m_soundDifficultyHarder.Load( THEME->GetPathToS("ScreenSelectMusic difficulty harder") );
|
m_soundDifficultyHarder.Load( THEME->GetPathToS("ScreenSelectMusic difficulty harder") );
|
||||||
m_soundOptionsChange.Load( THEME->GetPathToS("ScreenSelectMusic options") );
|
m_soundOptionsChange.Load( THEME->GetPathToS("ScreenSelectMusic options") );
|
||||||
@@ -1104,7 +1103,7 @@ void ScreenSelectMusic::MenuStart( PlayerNumber pn )
|
|||||||
if( m_bMadeChoice )
|
if( m_bMadeChoice )
|
||||||
{
|
{
|
||||||
TweenOffScreen();
|
TweenOffScreen();
|
||||||
m_soundSelect.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
if( !GAMESTATE->IsExtraStage() && !GAMESTATE->IsExtraStage2() )
|
if( !GAMESTATE->IsExtraStage() && !GAMESTATE->IsExtraStage2() )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -115,7 +115,6 @@ protected:
|
|||||||
Transition m_bgOptionsOut;
|
Transition m_bgOptionsOut;
|
||||||
Transition m_bgNoOptionsOut;
|
Transition m_bgNoOptionsOut;
|
||||||
|
|
||||||
RageSound m_soundSelect;
|
|
||||||
RageSound m_soundDifficultyEasier;
|
RageSound m_soundDifficultyEasier;
|
||||||
RageSound m_soundDifficultyHarder;
|
RageSound m_soundDifficultyHarder;
|
||||||
RageSound m_soundOptionsChange;
|
RageSound m_soundOptionsChange;
|
||||||
|
|||||||
@@ -125,7 +125,6 @@ ScreenSelectStyle::ScreenSelectStyle( CString sClassName ) : ScreenSelect( sClas
|
|||||||
|
|
||||||
|
|
||||||
m_soundChange.Load( THEME->GetPathToS(m_sName + " change") );
|
m_soundChange.Load( THEME->GetPathToS(m_sName + " change") );
|
||||||
m_soundSelect.Load( THEME->GetPathToS("Common start") );
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -188,7 +187,7 @@ void ScreenSelectStyle::MenuRight( PlayerNumber pn )
|
|||||||
|
|
||||||
void ScreenSelectStyle::MenuStart( PlayerNumber pn )
|
void ScreenSelectStyle::MenuStart( PlayerNumber pn )
|
||||||
{
|
{
|
||||||
m_soundSelect.Play();
|
SCREENMAN->PlayStartSound();
|
||||||
SCREENMAN->SendMessageToTopScreen( SM_AllDoneChoosing );
|
SCREENMAN->SendMessageToTopScreen( SM_AllDoneChoosing );
|
||||||
|
|
||||||
const ModeChoice& mc = m_aModeChoices[GetSelectionIndex(pn)];
|
const ModeChoice& mc = m_aModeChoices[GetSelectionIndex(pn)];
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ protected:
|
|||||||
Sprite m_sprPremium;
|
Sprite m_sprPremium;
|
||||||
|
|
||||||
RageSound m_soundChange;
|
RageSound m_soundChange;
|
||||||
RageSound m_soundSelect;
|
|
||||||
|
|
||||||
int m_iSelection;
|
int m_iSelection;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ void ScreenTextEntry::MenuStart( PlayerNumber pn )
|
|||||||
m_textAnswer.BeginTweening( 0.2f );
|
m_textAnswer.BeginTweening( 0.2f );
|
||||||
m_textAnswer.SetDiffuse( RageColor(1,1,1,0) );
|
m_textAnswer.SetDiffuse( RageColor(1,1,1,0) );
|
||||||
|
|
||||||
SOUND->PlayOnce( THEME->GetPathToS("Common start") );
|
SCREENMAN->PlayStartSound();
|
||||||
|
|
||||||
if( m_bCancelled )
|
if( m_bCancelled )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -173,8 +173,6 @@ ScreenTitleMenu::ScreenTitleMenu( CString sClassName ) : ScreenSelect( sClassNam
|
|||||||
|
|
||||||
|
|
||||||
m_soundChange.Load( THEME->GetPathToS("ScreenTitleMenu change"),true );
|
m_soundChange.Load( THEME->GetPathToS("ScreenTitleMenu change"),true );
|
||||||
m_soundSelect.Load( THEME->GetPathToS("Common start") );
|
|
||||||
m_soundInvalid.Load( THEME->GetPathToS("Common invalid") );
|
|
||||||
|
|
||||||
m_Choice = 0;
|
m_Choice = 0;
|
||||||
|
|
||||||
@@ -261,7 +259,7 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty
|
|||||||
CString why;
|
CString why;
|
||||||
if( !mc.IsPlayable( &why ) )
|
if( !mc.IsPlayable( &why ) )
|
||||||
{
|
{
|
||||||
m_soundInvalid.Play();
|
SCREENMAN->PlayInvalidSound();
|
||||||
if( why != "" )
|
if( why != "" )
|
||||||
SCREENMAN->SystemMessage( why );
|
SCREENMAN->SystemMessage( why );
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -47,8 +47,6 @@ private:
|
|||||||
BitmapText m_textChoice[MAX_MODE_CHOICES];
|
BitmapText m_textChoice[MAX_MODE_CHOICES];
|
||||||
|
|
||||||
RageSound m_soundChange;
|
RageSound m_soundChange;
|
||||||
RageSound m_soundSelect;
|
|
||||||
RageSound m_soundInvalid;
|
|
||||||
|
|
||||||
RageTimer TimeToDemonstration;
|
RageTimer TimeToDemonstration;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user