cleanup
This commit is contained in:
@@ -30,21 +30,6 @@ ScreenAttract::ScreenAttract( CString sName, bool bResetGameState ) : ScreenWith
|
|||||||
GAMESTATE->VisitAttractScreen( sName );
|
GAMESTATE->VisitAttractScreen( sName );
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenAttract::Init()
|
|
||||||
{
|
|
||||||
LOG->Trace( "ScreenAttract::ScreenAttract(%s)", m_sName.c_str() );
|
|
||||||
|
|
||||||
ScreenWithMenuElements::Init();
|
|
||||||
|
|
||||||
this->SortByDrawOrder();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
ScreenAttract::~ScreenAttract()
|
|
||||||
{
|
|
||||||
LOG->Trace( "ScreenAttract::~ScreenAttract()" );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void ScreenAttract::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI )
|
void ScreenAttract::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI )
|
||||||
{
|
{
|
||||||
@@ -126,11 +111,6 @@ void ScreenAttract::StartPlayingMusic()
|
|||||||
ScreenWithMenuElements::StartPlayingMusic();
|
ScreenWithMenuElements::StartPlayingMusic();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenAttract::Update( float fDelta )
|
|
||||||
{
|
|
||||||
ScreenWithMenuElements::Update(fDelta);
|
|
||||||
}
|
|
||||||
|
|
||||||
void ScreenAttract::HandleScreenMessage( const ScreenMessage SM )
|
void ScreenAttract::HandleScreenMessage( const ScreenMessage SM )
|
||||||
{
|
{
|
||||||
if( SM == SM_MenuTimer ||
|
if( SM == SM_MenuTimer ||
|
||||||
|
|||||||
@@ -11,14 +11,11 @@ class ScreenAttract : public ScreenWithMenuElements
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ScreenAttract( CString sName, bool bResetGameState=true );
|
ScreenAttract( CString sName, bool bResetGameState=true );
|
||||||
virtual void Init();
|
|
||||||
virtual ~ScreenAttract();
|
|
||||||
|
|
||||||
static void AttractInput( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI, ScreenWithMenuElements *pScreen );
|
static void AttractInput( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI, ScreenWithMenuElements *pScreen );
|
||||||
static void GoToStartScreen( CString sScreenName );
|
static void GoToStartScreen( CString sScreenName );
|
||||||
|
|
||||||
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
||||||
virtual void Update( float fDelta );
|
|
||||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||||
|
|
||||||
virtual ScreenType GetScreenType() const { return attract; }
|
virtual ScreenType GetScreenType() const { return attract; }
|
||||||
|
|||||||
Reference in New Issue
Block a user