From 29a77351c2e1a08f8ee561c7a3aea7d4cc87a96c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 8 Jul 2005 01:22:41 +0000 Subject: [PATCH] cleanup --- stepmania/src/ScreenAttract.cpp | 20 -------------------- stepmania/src/ScreenAttract.h | 3 --- 2 files changed, 23 deletions(-) diff --git a/stepmania/src/ScreenAttract.cpp b/stepmania/src/ScreenAttract.cpp index 9a7b23e4e0..71fb5e6e3f 100644 --- a/stepmania/src/ScreenAttract.cpp +++ b/stepmania/src/ScreenAttract.cpp @@ -30,21 +30,6 @@ ScreenAttract::ScreenAttract( CString sName, bool bResetGameState ) : ScreenWith 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 ) { @@ -126,11 +111,6 @@ void ScreenAttract::StartPlayingMusic() ScreenWithMenuElements::StartPlayingMusic(); } -void ScreenAttract::Update( float fDelta ) -{ - ScreenWithMenuElements::Update(fDelta); -} - void ScreenAttract::HandleScreenMessage( const ScreenMessage SM ) { if( SM == SM_MenuTimer || diff --git a/stepmania/src/ScreenAttract.h b/stepmania/src/ScreenAttract.h index 8fa8be5115..c6a0b6191f 100644 --- a/stepmania/src/ScreenAttract.h +++ b/stepmania/src/ScreenAttract.h @@ -11,14 +11,11 @@ class ScreenAttract : public ScreenWithMenuElements { public: 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 GoToStartScreen( CString sScreenName ); 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 ScreenType GetScreenType() const { return attract; }