Allow screen aliasing.
This commit is contained in:
@@ -302,7 +302,22 @@ void Screen::ClearMessageQueue( const ScreenMessage SM )
|
||||
|
||||
Screen* Screen::Create( CString sClassName )
|
||||
{
|
||||
#define IF_RETURN(X) if(sClassName.CompareNoCase(#X)==0) return new X;
|
||||
/* "ScreenCompany@ScreenOtherCompany" loads ScreenCompany with the
|
||||
* asset "ScreenOtherCompany", so (if it supports it) it'll use
|
||||
* metric, graphic, etc. names starting with "ScreenOtherCompany". */
|
||||
CStringArray parts;
|
||||
split( sClassName, "@", parts );
|
||||
if( parts.size() != 1 && parts.size() != 2 )
|
||||
RageException::Throw("Bad Screen name \"%s\"", sClassName.c_str() );
|
||||
|
||||
CString sName = sClassName;
|
||||
if( parts.size() == 2 )
|
||||
{
|
||||
sClassName = parts[0];
|
||||
sName = parts[1];
|
||||
}
|
||||
|
||||
#define IF_RETURN(X) if(sClassName.CompareNoCase(#X)==0) return new X(sName);
|
||||
|
||||
IF_RETURN( ScreenAppearanceOptions );
|
||||
IF_RETURN( ScreenCaution );
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
class ScreenAlbums : public ScreenAttract
|
||||
{
|
||||
public:
|
||||
ScreenAlbums() : ScreenAttract("ScreenAlbums") { };
|
||||
ScreenAlbums( CString sName ) : ScreenAttract(sName) { };
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -63,8 +63,8 @@ OptionRow g_AppearanceOptionsLines[NUM_APPEARANCE_OPTIONS_LINES] = {
|
||||
OptionRow( "Lyrics", true, "HIDE","SHOW"),
|
||||
};
|
||||
|
||||
ScreenAppearanceOptions::ScreenAppearanceOptions() :
|
||||
ScreenOptions("ScreenAppearanceOptions")
|
||||
ScreenAppearanceOptions::ScreenAppearanceOptions( CString sName ) :
|
||||
ScreenOptions(sName)
|
||||
{
|
||||
LOG->Trace( "ScreenAppearanceOptions::ScreenAppearanceOptions()" );
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
class ScreenAppearanceOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenAppearanceOptions();
|
||||
ScreenAppearanceOptions( CString sName );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
|
||||
@@ -33,8 +33,8 @@ OptionRow g_AutogenOptionsLines[NUM_AUTOGEN_OPTIONS_LINES] = {
|
||||
OptionRow( "Autogen\nGroup Courses", true, "OFF","ON" ),
|
||||
};
|
||||
|
||||
ScreenAutogenOptions::ScreenAutogenOptions() :
|
||||
ScreenOptions("ScreenAutogenOptions")
|
||||
ScreenAutogenOptions::ScreenAutogenOptions( CString sName ) :
|
||||
ScreenOptions( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenAutogenOptions::ScreenAutogenOptions()" );
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
class ScreenAutogenOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenAutogenOptions();
|
||||
ScreenAutogenOptions( CString sName );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
|
||||
@@ -42,8 +42,8 @@ OptionRow g_BackgroundOptionsLines[NUM_BACKGROUND_OPTIONS_LINES] = {
|
||||
OptionRow( "Random\nBackgrounds", true, "5","10","15","20" ),
|
||||
};
|
||||
|
||||
ScreenBackgroundOptions::ScreenBackgroundOptions() :
|
||||
ScreenOptions("ScreenBackgroundOptions")
|
||||
ScreenBackgroundOptions::ScreenBackgroundOptions( CString sName ) :
|
||||
ScreenOptions( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenBackgroundOptions::ScreenBackgroundOptions()" );
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
class ScreenBackgroundOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenBackgroundOptions();
|
||||
ScreenBackgroundOptions( CString sName );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
|
||||
@@ -27,7 +27,7 @@ const ScreenMessage SM_DoneOpening = ScreenMessage(SM_User-7);
|
||||
const ScreenMessage SM_StartClosing = ScreenMessage(SM_User-8);
|
||||
|
||||
|
||||
ScreenCaution::ScreenCaution() : Screen( "ScreenCaution" )
|
||||
ScreenCaution::ScreenCaution( CString sName ) : Screen( sName )
|
||||
{
|
||||
GAMESTATE->m_bPlayersCanJoin = true;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
class ScreenCaution : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenCaution();
|
||||
ScreenCaution( CString sName );
|
||||
|
||||
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
class ScreenCompany : public ScreenAttract
|
||||
{
|
||||
public:
|
||||
ScreenCompany() : ScreenAttract("ScreenCompany") { };
|
||||
ScreenCompany( CString sName ) : ScreenAttract( sName ) { }
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ const CreditLine CREDIT_LINES[] =
|
||||
const unsigned NUM_CREDIT_LINES = sizeof(CREDIT_LINES) / sizeof(CreditLine);
|
||||
|
||||
|
||||
ScreenCredits::ScreenCredits() : Screen("ScreenCredits")
|
||||
ScreenCredits::ScreenCredits( CString sName ) : Screen( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenCredits::ScreenCredits()" );
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
class ScreenCredits : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenCredits();
|
||||
ScreenCredits( CString sName );
|
||||
~ScreenCredits();
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -47,7 +47,7 @@ bool PrepareForDemonstration() // always return true.
|
||||
return true;
|
||||
}
|
||||
|
||||
ScreenDemonstration::ScreenDemonstration() : ScreenJukebox( PrepareForDemonstration() ) // this is a hack to get some code to execute before the ScreenGameplay constructor
|
||||
ScreenDemonstration::ScreenDemonstration( CString sName ) : ScreenJukebox( sName, PrepareForDemonstration() ) // this is a hack to get some code to execute before the ScreenGameplay constructor
|
||||
{
|
||||
LOG->Trace( "ScreenDemonstration::ScreenDemonstration()" );
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
class ScreenDemonstration : public ScreenJukebox
|
||||
{
|
||||
public:
|
||||
ScreenDemonstration();
|
||||
ScreenDemonstration( CString sName );
|
||||
~ScreenDemonstration();
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -212,7 +212,7 @@ Menu g_BGChange
|
||||
);
|
||||
|
||||
|
||||
ScreenEdit::ScreenEdit() : Screen("ScreenEdit")
|
||||
ScreenEdit::ScreenEdit( CString sName ) : Screen( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenEdit::ScreenEdit()" );
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ const int NUM_NAMING_MENU_ITEMS = 6;
|
||||
class ScreenEdit : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenEdit();
|
||||
ScreenEdit( CString sName );
|
||||
virtual ~ScreenEdit();
|
||||
virtual void Update( float fDeltaTime );
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
const ScreenMessage SM_RefreshSelector = (ScreenMessage)(SM_User+1);
|
||||
|
||||
ScreenEditCoursesMenu::ScreenEditCoursesMenu() : Screen("ScreenEditCoursesMenu")
|
||||
ScreenEditCoursesMenu::ScreenEditCoursesMenu( CString sName ) : Screen( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenEditCoursesMenu::ScreenEditCoursesMenu()" );
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
class ScreenEditCoursesMenu : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenEditCoursesMenu();
|
||||
ScreenEditCoursesMenu( CString sName );
|
||||
virtual ~ScreenEditCoursesMenu();
|
||||
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
const ScreenMessage SM_RefreshSelector = (ScreenMessage)(SM_User+1);
|
||||
|
||||
ScreenEditMenu::ScreenEditMenu() : Screen("ScreenEditMenu")
|
||||
ScreenEditMenu::ScreenEditMenu( CString sName ) : Screen( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenEditMenu::ScreenEditMenu()" );
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
class ScreenEditMenu : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenEditMenu();
|
||||
ScreenEditMenu( CString sName );
|
||||
virtual ~ScreenEditMenu();
|
||||
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -106,43 +106,43 @@ protected:
|
||||
class ScreenEvaluationStage : public ScreenEvaluation
|
||||
{
|
||||
public:
|
||||
ScreenEvaluationStage() : ScreenEvaluation("ScreenEvaluationStage",ScreenEvaluation::stage) {};
|
||||
ScreenEvaluationStage( CString sClassName ) : ScreenEvaluation(sClassName,ScreenEvaluation::stage) {};
|
||||
};
|
||||
|
||||
class ScreenEvaluationSummary : public ScreenEvaluation
|
||||
{
|
||||
public:
|
||||
ScreenEvaluationSummary() : ScreenEvaluation("ScreenEvaluationSummary",ScreenEvaluation::summary) {};
|
||||
ScreenEvaluationSummary( CString sClassName ) : ScreenEvaluation(sClassName,ScreenEvaluation::summary) {};
|
||||
};
|
||||
|
||||
class ScreenEvaluationNonstop : public ScreenEvaluation
|
||||
{
|
||||
public:
|
||||
ScreenEvaluationNonstop() : ScreenEvaluation("ScreenEvaluationNonstop",ScreenEvaluation::course) {};
|
||||
ScreenEvaluationNonstop( CString sClassName ) : ScreenEvaluation(sClassName,ScreenEvaluation::course) {};
|
||||
};
|
||||
|
||||
class ScreenEvaluationOni : public ScreenEvaluation
|
||||
{
|
||||
public:
|
||||
ScreenEvaluationOni() : ScreenEvaluation("ScreenEvaluationOni",ScreenEvaluation::course) {};
|
||||
ScreenEvaluationOni( CString sClassName ) : ScreenEvaluation(sClassName, ScreenEvaluation::course) {};
|
||||
};
|
||||
|
||||
class ScreenEvaluationEndless : public ScreenEvaluation
|
||||
{
|
||||
public:
|
||||
ScreenEvaluationEndless() : ScreenEvaluation("ScreenEvaluationEndless",ScreenEvaluation::course) {};
|
||||
ScreenEvaluationEndless( CString sClassName ) : ScreenEvaluation(sClassName, ScreenEvaluation::course) {};
|
||||
};
|
||||
|
||||
class ScreenEvaluationBattle : public ScreenEvaluation
|
||||
{
|
||||
public:
|
||||
ScreenEvaluationBattle() : ScreenEvaluation("ScreenEvaluationBattle",ScreenEvaluation::stage) {};
|
||||
ScreenEvaluationBattle( CString sClassName ) : ScreenEvaluation(sClassName, ScreenEvaluation::stage) {};
|
||||
};
|
||||
|
||||
class ScreenEvaluationRave : public ScreenEvaluation
|
||||
{
|
||||
public:
|
||||
ScreenEvaluationRave() : ScreenEvaluation("ScreenEvaluationRave",ScreenEvaluation::stage) {};
|
||||
ScreenEvaluationRave( CString sClassName ) : ScreenEvaluation(sClassName,ScreenEvaluation::stage) {};
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "RageLog.h"
|
||||
#include "StepMania.h"
|
||||
|
||||
ScreenExit::ScreenExit(): Screen("ScreenExit")
|
||||
ScreenExit::ScreenExit( CString sName ): Screen( sName )
|
||||
{
|
||||
m_Exited = false;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ class ScreenExit: public Screen
|
||||
RageTimer m_ShutdownTimer;
|
||||
|
||||
public:
|
||||
ScreenExit();
|
||||
ScreenExit( CString sName );
|
||||
void Update( float fDelta );
|
||||
};
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ const float TWEEN_TIME = 0.5f;
|
||||
|
||||
const ScreenMessage SM_NoSongs = ScreenMessage(SM_User+3);
|
||||
|
||||
ScreenEz2SelectMusic::ScreenEz2SelectMusic() : Screen("ScreenEz2SelectMusic")
|
||||
ScreenEz2SelectMusic::ScreenEz2SelectMusic( CString sName ) : Screen( sName )
|
||||
{
|
||||
i_SkipAheadOffset = 0;
|
||||
LastInputTime = 0;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
class ScreenEz2SelectMusic : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenEz2SelectMusic();
|
||||
ScreenEz2SelectMusic( CString sName );
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -45,7 +45,7 @@ ScreenEz2SelectPlayer (Constructor)
|
||||
Desc: Sets up the screen display
|
||||
************************************/
|
||||
|
||||
ScreenEz2SelectPlayer::ScreenEz2SelectPlayer() : Screen("ScreenEz2SelectPlayer")
|
||||
ScreenEz2SelectPlayer::ScreenEz2SelectPlayer( CString sName ) : Screen( sName )
|
||||
{
|
||||
// Unjoin the players, then let them join back in on this screen
|
||||
GAMESTATE->m_bPlayersCanJoin = true;
|
||||
|
||||
@@ -16,7 +16,7 @@ Andrew Livy
|
||||
class ScreenEz2SelectPlayer : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenEz2SelectPlayer(); // Constructor
|
||||
ScreenEz2SelectPlayer( CString sName );
|
||||
virtual ~ScreenEz2SelectPlayer(); // Destructor
|
||||
|
||||
/* Public Function Prototypes */
|
||||
|
||||
@@ -25,7 +25,7 @@ const ScreenMessage SM_PlayAnnouncer = ScreenMessage(SM_User + 3);
|
||||
#define NEXT_SCREEN THEME->GetMetric("ScreenGameOver","NextScreen")
|
||||
|
||||
|
||||
ScreenGameOver::ScreenGameOver() : Screen("ScreenGameOver")
|
||||
ScreenGameOver::ScreenGameOver( CString sName ) : Screen( sName )
|
||||
{
|
||||
GAMESTATE->Reset();
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
class ScreenGameOver : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenGameOver();
|
||||
ScreenGameOver( CString sName );
|
||||
|
||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||
|
||||
|
||||
@@ -79,7 +79,8 @@ const ScreenMessage SM_GoToScreenAfterFail = ScreenMessage(SM_User+31);
|
||||
const ScreenMessage SM_StartHereWeGo = ScreenMessage(SM_User+40);
|
||||
const ScreenMessage SM_StopHereWeGo = ScreenMessage(SM_User+41);
|
||||
|
||||
ScreenGameplay::ScreenGameplay( bool bDemonstration ) : Screen("ScreenGameplay")
|
||||
/* XXX: Not using sName yet here until I work out jukebox/demo. */
|
||||
ScreenGameplay::ScreenGameplay( CString sName, bool bDemonstration ) : Screen("ScreenGameplay")
|
||||
{
|
||||
LOG->Trace( "ScreenGameplay::ScreenGameplay()" );
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ class LyricsLoader;
|
||||
class ScreenGameplay : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenGameplay( bool bDemonstration = false );
|
||||
ScreenGameplay( CString sName, bool bDemonstration = false );
|
||||
virtual ~ScreenGameplay();
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -42,8 +42,8 @@ OptionRow g_GameplayOptionsLines[NUM_GAMEPLAY_OPTIONS_LINES] = {
|
||||
OptionRow( "Unlock\nSystem", true, "OFF","ON" )
|
||||
};
|
||||
|
||||
ScreenGameplayOptions::ScreenGameplayOptions() :
|
||||
ScreenOptions("ScreenGameplayOptions")
|
||||
ScreenGameplayOptions::ScreenGameplayOptions( CString sName ) :
|
||||
ScreenOptions( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenGameplayOptions::ScreenGameplayOptions()" );
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
class ScreenGameplayOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenGameplayOptions();
|
||||
ScreenGameplayOptions( CString sName );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
|
||||
@@ -58,8 +58,8 @@ static const int TextureRes[] = {
|
||||
256, 512, 1024, 2048
|
||||
};
|
||||
|
||||
ScreenGraphicOptions::ScreenGraphicOptions() :
|
||||
ScreenOptions("ScreenGraphicOptions")
|
||||
ScreenGraphicOptions::ScreenGraphicOptions( CString sName ) :
|
||||
ScreenOptions( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenGraphicOptions::ScreenGraphicOptions()" );
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
class ScreenGraphicOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenGraphicOptions();
|
||||
ScreenGraphicOptions( CString sClassName );
|
||||
|
||||
private:
|
||||
void UpdateRefreshRates();
|
||||
|
||||
@@ -76,7 +76,7 @@ static bool HaveAllCharAnimations()
|
||||
return true;
|
||||
}
|
||||
|
||||
ScreenHowToPlay::ScreenHowToPlay() : ScreenAttract("ScreenHowToPlay")
|
||||
ScreenHowToPlay::ScreenHowToPlay( CString sName ) : ScreenAttract( sName )
|
||||
{
|
||||
m_iPerfects = 0;
|
||||
m_iNumPerfects = NUM_PERFECTS;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
class ScreenHowToPlay : public ScreenAttract
|
||||
{
|
||||
public:
|
||||
ScreenHowToPlay();
|
||||
ScreenHowToPlay( CString sName );
|
||||
~ScreenHowToPlay();
|
||||
|
||||
virtual void Update( float fDelta );
|
||||
|
||||
@@ -43,8 +43,8 @@ OptionRow g_InputOptionsLines[NUM_INPUT_OPTIONS_LINES] = {
|
||||
OptionRow( "Wheel\nSpeed", true, "SLOW","NORMAL","FAST","REALLY FAST" ),
|
||||
};
|
||||
|
||||
ScreenInputOptions::ScreenInputOptions() :
|
||||
ScreenOptions("ScreenInputOptions")
|
||||
ScreenInputOptions::ScreenInputOptions( CString sName ) :
|
||||
ScreenOptions( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenInputOptions::ScreenInputOptions()" );
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
class ScreenInputOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenInputOptions();
|
||||
ScreenInputOptions( CString sName );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#define NEXT_SCREEN( pm ) THEME->GetMetric("ScreenInstructions","NextScreen"+Capitalize(PlayModeToString(pm)) )
|
||||
|
||||
|
||||
ScreenInstructions::ScreenInstructions() : Screen("ScreenInstructions")
|
||||
ScreenInstructions::ScreenInstructions( CString sName ) : Screen( sName )
|
||||
{
|
||||
LOG->Trace( "ScreenInstructions::ScreenInstructions()" );
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
class ScreenInstructions : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenInstructions();
|
||||
ScreenInstructions( CString sName );
|
||||
virtual ~ScreenInstructions();
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
class ScreenIntroMovie : public ScreenAttract
|
||||
{
|
||||
public:
|
||||
ScreenIntroMovie() : ScreenAttract("ScreenIntroMovie") { };
|
||||
ScreenIntroMovie( CString sName ) : ScreenAttract( sName ) { };
|
||||
void Update( float fDelta );
|
||||
|
||||
};
|
||||
|
||||
@@ -132,7 +132,7 @@ bool ScreenJukebox::PrepareForJukebox() // always return true.
|
||||
return true;
|
||||
}
|
||||
|
||||
ScreenJukebox::ScreenJukebox( bool bDemonstration ) : ScreenGameplay( PrepareForJukebox() ) // this is a hack to get some code to execute before the ScreenGameplay constructor
|
||||
ScreenJukebox::ScreenJukebox( CString sName, bool bDemonstration ) : ScreenGameplay( "ScreenGameplay", PrepareForJukebox() ) // this is a hack to get some code to execute before the ScreenGameplay constructor
|
||||
{
|
||||
LOG->Trace( "ScreenJukebox::ScreenJukebox()" );
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
class ScreenJukebox : public ScreenGameplay
|
||||
{
|
||||
public:
|
||||
ScreenJukebox( bool bDemonstration = false );
|
||||
ScreenJukebox( CString sName, bool bDemonstration = false );
|
||||
~ScreenJukebox();
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#define HELP_TEXT THEME->GetMetric("ScreenJukeboxMenu","HelpText")
|
||||
|
||||
|
||||
ScreenJukeboxMenu::ScreenJukeboxMenu() : Screen("ScreenJukeboxMenu")
|
||||
ScreenJukeboxMenu::ScreenJukeboxMenu( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenJukeboxMenu::ScreenJukeboxMenu()" );
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
class ScreenJukeboxMenu : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenJukeboxMenu();
|
||||
ScreenJukeboxMenu( CString sName );
|
||||
virtual ~ScreenJukeboxMenu();
|
||||
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#define LOGO_ON_COMMAND THEME->GetMetric("ScreenLogo","LogoOnCommand")
|
||||
|
||||
|
||||
ScreenLogo::ScreenLogo() : ScreenAttract("ScreenLogo")
|
||||
ScreenLogo::ScreenLogo( CString sName ) : ScreenAttract( sName )
|
||||
{
|
||||
m_sprLogo.Load( THEME->GetPathToG(ssprintf("ScreenLogo %s",GAMESTATE->GetCurrentGameDef()->m_szName)) );
|
||||
m_sprLogo.Command( LOGO_ON_COMMAND );
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
class ScreenLogo : public ScreenAttract
|
||||
{
|
||||
public:
|
||||
ScreenLogo();
|
||||
ScreenLogo( CString sName );
|
||||
|
||||
protected:
|
||||
Sprite m_sprLogo;
|
||||
|
||||
@@ -57,8 +57,8 @@ OptionRow g_MachineOptionsLines[NUM_MACHINE_OPTIONS_LINES] = {
|
||||
OptionRow( "Song\nOptions", true, "HIDE","SHOW","ASK" ),
|
||||
};
|
||||
|
||||
ScreenMachineOptions::ScreenMachineOptions() :
|
||||
ScreenOptions("ScreenMachineOptions")
|
||||
ScreenMachineOptions::ScreenMachineOptions( CString sClassName ) :
|
||||
ScreenOptions( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenMachineOptions::ScreenMachineOptions()" );
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
class ScreenMachineOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenMachineOptions();
|
||||
ScreenMachineOptions( CString sName );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
|
||||
@@ -557,7 +557,7 @@ void ScreenManager::Prompt( ScreenMessage SM_SendWhenDone, CString sText, bool b
|
||||
void ScreenManager::TextEntry( ScreenMessage SM_SendWhenDone, CString sQuestion, CString sInitialAnswer, void(*OnOK)(CString sAnswer), void(*OnCanel)() )
|
||||
{
|
||||
// add the new state onto the back of the array
|
||||
m_ScreenStack.push_back( new ScreenTextEntry(SM_SendWhenDone, sQuestion, sInitialAnswer, OnOK, OnCanel) );
|
||||
m_ScreenStack.push_back( new ScreenTextEntry("ScreenTextEntry", SM_SendWhenDone, sQuestion, sInitialAnswer, OnOK, OnCanel) );
|
||||
}
|
||||
|
||||
void ScreenManager::MiniMenu( Menu* pDef, ScreenMessage SM_SendOnOK, ScreenMessage SM_SendOnCancel )
|
||||
|
||||
@@ -46,7 +46,7 @@ const float BUTTON_COLUMN_X[NUM_GAME_TO_DEVICE_SLOTS*MAX_GAME_CONTROLLERS] =
|
||||
};
|
||||
|
||||
|
||||
ScreenMapControllers::ScreenMapControllers() : Screen("ScreenMapControllers")
|
||||
ScreenMapControllers::ScreenMapControllers( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenMapControllers::ScreenMapControllers()" );
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
class ScreenMapControllers : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenMapControllers();
|
||||
ScreenMapControllers( CString sName );
|
||||
virtual ~ScreenMapControllers();
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
class ScreenMemoryCard : public ScreenAttract
|
||||
{
|
||||
public:
|
||||
ScreenMemoryCard() : ScreenAttract("ScreenMemoryCard") { };
|
||||
ScreenMemoryCard( CString sName ) : ScreenAttract( sName ) { };
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ struct Menu
|
||||
class ScreenMiniMenu : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenMiniMenu();
|
||||
ScreenMiniMenu( CString sName );
|
||||
ScreenMiniMenu( Menu* pDef, ScreenMessage SM_SendOnOK, ScreenMessage SM_SendOnCancel );
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -37,7 +37,7 @@ const CString CREDIT_LINES[] =
|
||||
const unsigned NUM_CREDIT_LINES = sizeof(CREDIT_LINES) / sizeof(CString);
|
||||
|
||||
|
||||
ScreenMusicScroll::ScreenMusicScroll() : Screen("ScreenMusicScroll")
|
||||
ScreenMusicScroll::ScreenMusicScroll( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenMusicScroll::ScreenMusicScroll()" );
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
class ScreenMusicScroll : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenMusicScroll();
|
||||
ScreenMusicScroll( CString sName );
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -88,7 +88,7 @@ float GetClosestCharYPos( float fFakeBeat )
|
||||
}
|
||||
|
||||
|
||||
ScreenNameEntry::ScreenNameEntry() : Screen("ScreenNameEntry")
|
||||
ScreenNameEntry::ScreenNameEntry( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenNameEntry::ScreenNameEntry()" );
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
class ScreenNameEntry : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenNameEntry();
|
||||
ScreenNameEntry( CString sName );
|
||||
virtual ~ScreenNameEntry();
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -56,8 +56,8 @@ OptionRow g_OptionsMenuLines[NUM_OPTIONS_MENU_LINES] = {
|
||||
OptionRow( "", true, "Reload Songs/Courses" ),
|
||||
};
|
||||
|
||||
ScreenOptionsMenu::ScreenOptionsMenu() :
|
||||
ScreenOptions("ScreenOptionsMenu")
|
||||
ScreenOptionsMenu::ScreenOptionsMenu( CString sClassName ) :
|
||||
ScreenOptions( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenOptionsMenu::ScreenOptionsMenu()" );
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
class ScreenOptionsMenu : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenOptionsMenu();
|
||||
ScreenOptionsMenu( CString sName );
|
||||
|
||||
protected:
|
||||
void MenuStart( PlayerNumber pn );
|
||||
|
||||
@@ -78,8 +78,8 @@ static const PlayerOptions::Effect ChoosableEffects[] =
|
||||
PlayerOptions::NUM_EFFECTS
|
||||
};
|
||||
|
||||
ScreenPlayerOptions::ScreenPlayerOptions() :
|
||||
ScreenOptions("ScreenPlayerOptions")
|
||||
ScreenPlayerOptions::ScreenPlayerOptions( CString sClassName ) :
|
||||
ScreenOptions( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenPlayerOptions::ScreenPlayerOptions()" );
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
class ScreenPlayerOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenPlayerOptions();
|
||||
ScreenPlayerOptions( CString sName );
|
||||
|
||||
virtual void Update( float fDelta );
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -37,8 +37,7 @@ OptionRow g_ProfileOptionsLines[NUM_GAMEPLAY_OPTIONS_LINES] = {
|
||||
OptionRow( "Rename", true ),
|
||||
};
|
||||
|
||||
ScreenProfileOptions::ScreenProfileOptions() :
|
||||
ScreenOptions("ScreenProfileOptions")
|
||||
ScreenProfileOptions::ScreenProfileOptions( CString sClassName ) : ScreenOptions( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenProfileOptions::ScreenProfileOptions()" );
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
class ScreenProfileOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenProfileOptions();
|
||||
ScreenProfileOptions( CString sName );
|
||||
|
||||
virtual void MenuStart( PlayerNumber pn );
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
class ScreenPrompt : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenPrompt();
|
||||
ScreenPrompt( CString sName );
|
||||
ScreenPrompt( ScreenMessage SM_SendWhenDone, CString sText, bool bYesNoPrompt=false, bool bDefaultAnswer = false, void(*OnYes)(void*) = NULL, void(*OnNo)(void*) = NULL, void* pCallbackData = NULL );
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
|
||||
@@ -47,7 +47,7 @@ const ScreenMessage SM_ShowNextPage = (ScreenMessage)(SM_User+67);
|
||||
const ScreenMessage SM_HidePage = (ScreenMessage)(SM_User+68);
|
||||
|
||||
|
||||
ScreenRanking::ScreenRanking() : ScreenAttract("ScreenRanking")
|
||||
ScreenRanking::ScreenRanking( CString sClassName ) : ScreenAttract( sClassName )
|
||||
{
|
||||
m_sprCategory.SetXY( CATEGORY_X, CATEGORY_Y );
|
||||
this->AddChild( &m_sprCategory );
|
||||
|
||||
@@ -20,7 +20,7 @@ class Course;
|
||||
class ScreenRanking : public ScreenAttract
|
||||
{
|
||||
public:
|
||||
ScreenRanking();
|
||||
ScreenRanking( CString sName );
|
||||
|
||||
void HandleScreenMessage( const ScreenMessage SM );
|
||||
|
||||
|
||||
@@ -40,8 +40,7 @@ OptionRow g_RaveOptionsLines[NUM_RAVE_OPTIONS_LINES] = {
|
||||
|
||||
PlayerNumber OPPOSITE_PLAYER[NUM_PLAYERS] = { PLAYER_2, PLAYER_1 };
|
||||
|
||||
ScreenRaveOptions::ScreenRaveOptions() :
|
||||
ScreenOptions("ScreenRaveOptions")
|
||||
ScreenRaveOptions::ScreenRaveOptions( CString sClassName ): ScreenOptions( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenRaveOptions::ScreenRaveOptions()" );
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
class ScreenRaveOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenRaveOptions();
|
||||
ScreenRaveOptions( CString sName );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "RageLog.h"
|
||||
|
||||
|
||||
ScreenSandbox::ScreenSandbox() : Screen("ScreenSandbox")
|
||||
ScreenSandbox::ScreenSandbox( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
// m_quad1.StretchTo( RectI(SCREEN_LEFT, SCREEN_TOP, SCREEN_RIGHT, SCREEN_BOTTOM) );
|
||||
// m_quad1.SetDiffuse( RageColor(0,0,1,1) );
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
class ScreenSandbox : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenSandbox();
|
||||
ScreenSandbox( CString sName );
|
||||
|
||||
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||
|
||||
@@ -59,7 +59,7 @@ const PlayerNumber CPU_PLAYER[NUM_PLAYERS] = { PLAYER_2, PLAYER_1 };
|
||||
|
||||
|
||||
|
||||
ScreenSelectCharacter::ScreenSelectCharacter() : Screen("ScreenSelectCharacter")
|
||||
ScreenSelectCharacter::ScreenSelectCharacter( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenSelectCharacter::ScreenSelectCharacter()" );
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
class ScreenSelectCharacter : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenSelectCharacter();
|
||||
ScreenSelectCharacter( CString sName );
|
||||
virtual ~ScreenSelectCharacter();
|
||||
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -57,7 +57,7 @@ static const ScreenMessage SM_AllowOptionsMenuRepeat = ScreenMessage(SM_User+1);
|
||||
|
||||
|
||||
|
||||
ScreenSelectCourse::ScreenSelectCourse() : Screen("ScreenSelectCourse")
|
||||
ScreenSelectCourse::ScreenSelectCourse( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenSelectCourse::ScreenSelectCourse()" );
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
class ScreenSelectCourse : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenSelectCourse();
|
||||
ScreenSelectCourse( CString sName );
|
||||
virtual ~ScreenSelectCourse();
|
||||
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#define DISABLED_COLOR THEME->GetMetricC("ScreenSelectDifficulty","DisabledColor")
|
||||
|
||||
|
||||
ScreenSelectDifficulty::ScreenSelectDifficulty() : ScreenSelect( "ScreenSelectDifficulty" )
|
||||
ScreenSelectDifficulty::ScreenSelectDifficulty( CString sClassName ) : ScreenSelect( sClassName )
|
||||
{
|
||||
m_CurrentPage = PAGE_1;
|
||||
int p;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
class ScreenSelectDifficulty : public ScreenSelect
|
||||
{
|
||||
public:
|
||||
ScreenSelectDifficulty();
|
||||
ScreenSelectDifficulty( CString sName );
|
||||
|
||||
virtual void Update( float fDelta );
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#define SLEEP_AFTER_TWEEN_OFF_SECONDS THEME->GetMetricF("ScreenSelectDifficultyEX","SleepAfterTweenOffSeconds")
|
||||
|
||||
|
||||
ScreenSelectDifficultyEX::ScreenSelectDifficultyEX() : ScreenSelect( "ScreenSelectDifficultyEX" )
|
||||
ScreenSelectDifficultyEX::ScreenSelectDifficultyEX( CString sClassName ) : ScreenSelect( sClassName )
|
||||
{
|
||||
m_CurrentPage = PAGE_1;
|
||||
int p;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
class ScreenSelectDifficultyEX : public ScreenSelect
|
||||
{
|
||||
public:
|
||||
ScreenSelectDifficultyEX();
|
||||
ScreenSelectDifficultyEX( CString sName );
|
||||
|
||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||
virtual void MenuLeft( PlayerNumber pn );
|
||||
|
||||
@@ -33,8 +33,8 @@ OptionRow g_SelectGameLines[NUM_SELECT_GAME_LINES] =
|
||||
};
|
||||
|
||||
|
||||
ScreenSelectGame::ScreenSelectGame() :
|
||||
ScreenOptions("ScreenSelectGame")
|
||||
ScreenSelectGame::ScreenSelectGame( CString sClassName ) :
|
||||
ScreenOptions( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenSelectGame::ScreenSelectGame()" );
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
class ScreenSelectGame : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenSelectGame();
|
||||
ScreenSelectGame( CString sName );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#define NEXT_SCREEN THEME->GetMetric ("ScreenSelectGroup","NextScreen")
|
||||
|
||||
|
||||
ScreenSelectGroup::ScreenSelectGroup() : Screen("ScreenSelectGroup")
|
||||
ScreenSelectGroup::ScreenSelectGroup( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenSelectGroup::ScreenSelectGroup()" );
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
class ScreenSelectGroup : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenSelectGroup();
|
||||
ScreenSelectGroup( CString sName );
|
||||
virtual ~ScreenSelectGroup();
|
||||
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
const ScreenMessage SM_PlayPostSwitchPage = (ScreenMessage)(SM_User+1);
|
||||
|
||||
ScreenSelectMaster::ScreenSelectMaster() : ScreenSelect( "ScreenSelectMaster" )
|
||||
ScreenSelectMaster::ScreenSelectMaster( CString sClassName ) : ScreenSelect( sClassName )
|
||||
{
|
||||
int p, i;
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
class ScreenSelectMaster : public ScreenSelect
|
||||
{
|
||||
public:
|
||||
ScreenSelectMaster();
|
||||
ScreenSelectMaster( CString sName );
|
||||
|
||||
virtual void Update( float fDelta );
|
||||
|
||||
@@ -74,6 +74,8 @@ protected:
|
||||
//
|
||||
class ScreenSelectStyle5th : public ScreenSelectMaster
|
||||
{
|
||||
public:
|
||||
ScreenSelectStyle5th( CString sName ): ScreenSelectMaster( sName ) { }
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ ScreenSelectMode (Constructor)
|
||||
Desc: Sets up the screen display
|
||||
************************************/
|
||||
|
||||
ScreenSelectMode::ScreenSelectMode() : ScreenSelect( "ScreenSelectMode" )
|
||||
ScreenSelectMode::ScreenSelectMode( CString sClassName ) : ScreenSelect( sClassName )
|
||||
{
|
||||
m_bSelected = false;
|
||||
m_ChoiceListFrame.Load( THEME->GetPathToG("ScreenSelectMode list frame"));
|
||||
|
||||
@@ -26,7 +26,7 @@ Andrew Livy
|
||||
class ScreenSelectMode : public ScreenSelect
|
||||
{
|
||||
public:
|
||||
ScreenSelectMode(); // Constructor
|
||||
ScreenSelectMode( CString sName ); // Constructor
|
||||
virtual ~ScreenSelectMode(); // Destructor
|
||||
virtual void MenuLeft( PlayerNumber pn );
|
||||
virtual void MenuRight( PlayerNumber pn );
|
||||
|
||||
@@ -73,7 +73,7 @@ static void FlipSpriteHorizontally(Sprite &s)
|
||||
s.SetCustomTextureCoords(Coords);
|
||||
}
|
||||
|
||||
ScreenSelectMusic::ScreenSelectMusic() : Screen("ScreenSelectMusic")
|
||||
ScreenSelectMusic::ScreenSelectMusic( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenSelectMusic::ScreenSelectMusic()" );
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
class ScreenSelectMusic : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenSelectMusic();
|
||||
ScreenSelectMusic( CString sName );
|
||||
virtual ~ScreenSelectMusic();
|
||||
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#define DISABLED_COLOR THEME->GetMetricC("ScreenSelectStyle","DisabledColor")
|
||||
|
||||
|
||||
ScreenSelectStyle::ScreenSelectStyle() : ScreenSelect( "ScreenSelectStyle" )
|
||||
ScreenSelectStyle::ScreenSelectStyle( CString sClassName ) : ScreenSelect( sClassName )
|
||||
{
|
||||
m_iSelection = 0;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
class ScreenSelectStyle : public ScreenSelect
|
||||
{
|
||||
public:
|
||||
ScreenSelectStyle();
|
||||
ScreenSelectStyle( CString sName );
|
||||
|
||||
virtual void MenuLeft( PlayerNumber pn );
|
||||
virtual void MenuRight( PlayerNumber pn );
|
||||
|
||||
@@ -52,8 +52,8 @@ CString ScreenSongOptions::GetNextScreen()
|
||||
}
|
||||
|
||||
|
||||
ScreenSongOptions::ScreenSongOptions() :
|
||||
ScreenOptions("ScreenSongOptions")
|
||||
ScreenSongOptions::ScreenSongOptions( CString sClassName ) :
|
||||
ScreenOptions( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenSongOptions::ScreenSongOptions()" );
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
class ScreenSongOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenSongOptions();
|
||||
ScreenSongOptions( CString sName );
|
||||
static CString GetNextScreen();
|
||||
|
||||
private:
|
||||
|
||||
@@ -41,8 +41,8 @@ OptionRow g_SoundOptionsLines[NUM_SOUND_OPTIONS_LINES] = {
|
||||
OptionRow( "Resampling\nQuality", true, "FAST","NORMAL","HIGH QUALITY" ),
|
||||
};
|
||||
|
||||
ScreenSoundOptions::ScreenSoundOptions() :
|
||||
ScreenOptions("ScreenSoundOptions")
|
||||
ScreenSoundOptions::ScreenSoundOptions( CString sClassName ) :
|
||||
ScreenOptions( sClassName )
|
||||
{
|
||||
LOG->Trace( "ScreenSoundOptions::ScreenSoundOptions()" );
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
class ScreenSoundOptions : public ScreenOptions
|
||||
{
|
||||
public:
|
||||
ScreenSoundOptions();
|
||||
ScreenSoundOptions( CString sName );
|
||||
|
||||
private:
|
||||
void ImportOptions();
|
||||
|
||||
@@ -52,7 +52,7 @@ enum StageMode
|
||||
};
|
||||
*/
|
||||
|
||||
ScreenStage::ScreenStage() : Screen("ScreenStage")
|
||||
ScreenStage::ScreenStage( CString sClassName ) : Screen( sClassName )
|
||||
{
|
||||
SOUND->StopMusic();
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
class ScreenStage : public Screen
|
||||
{
|
||||
public:
|
||||
ScreenStage();
|
||||
ScreenStage( CString sName );
|
||||
|
||||
virtual void Update( float fDeltaTime );
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
@@ -28,7 +28,7 @@ const ScreenMessage SM_DoneOpening = ScreenMessage(SM_User-7);
|
||||
const ScreenMessage SM_StartClosing = ScreenMessage(SM_User-8);
|
||||
|
||||
|
||||
ScreenStyleSplash::ScreenStyleSplash() : Screen("ScreenStyleSplash")
|
||||
ScreenStyleSplash::ScreenStyleSplash( CString sName ) : Screen( sName )
|
||||
{
|
||||
SOUND->StopMusic();
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user