do this with ActorSound

This commit is contained in:
Glenn Maynard
2006-03-13 09:52:12 +00:00
parent b3cfedeb68
commit 7b1ea8af22
2 changed files with 0 additions and 10 deletions
-7
View File
@@ -56,10 +56,6 @@ void ScreenPlayerOptions::Init()
m_bAcceptedChoices = false;
m_bGoToOptions = ( PREFSMAN->m_ShowSongOptions == PrefsManager::YES );
RString sPath = THEME->GetPathS( m_sName,"cancel all", true );
if( sPath != "" )
m_CancelAll.Load( sPath, true );
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("player options intro") );
this->SortByDrawOrder();
@@ -102,9 +98,6 @@ void ScreenPlayerOptions::Input( const InputEventPlus &input )
PlayerNumber pn = GAMESTATE->GetCurrentStyle()->ControllerToPlayerNumber( input.GameI.controller );
if( GAMESTATE->IsHumanPlayer(pn) && CodeDetector::EnteredCode(input.GameI.controller,CODE_CANCEL_ALL_PLAYER_OPTIONS) )
{
if( m_CancelAll.IsLoaded() )
m_CancelAll.Play();
// apply the game default mods, but not the Profile saved mods
GAMESTATE->GetDefaultPlayerOptions( GAMESTATE->m_pPlayerState[pn]->m_PlayerOptions );
-3
View File
@@ -2,7 +2,6 @@
#define SCREENPLAYEROPTIONS_H
#include "ScreenOptionsMaster.h"
#include "RageSound.h"
struct lua_State;
@@ -32,8 +31,6 @@ private:
// show if the current selections will disqualify a high score
AutoActor m_sprDisqualify[NUM_PLAYERS];
RageSound m_CancelAll;
};
#endif