From f688fca2deadd3430357aa71825f60a330e72cbe Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 10 Aug 2006 06:51:55 +0000 Subject: [PATCH] Simplify. --- stepmania/src/ScreenUnlockCelebrate.cpp | 27 ------------------------- stepmania/src/ScreenUnlockCelebrate.h | 11 +++++----- 2 files changed, 5 insertions(+), 33 deletions(-) diff --git a/stepmania/src/ScreenUnlockCelebrate.cpp b/stepmania/src/ScreenUnlockCelebrate.cpp index 79e5675063..3c36db0467 100644 --- a/stepmania/src/ScreenUnlockCelebrate.cpp +++ b/stepmania/src/ScreenUnlockCelebrate.cpp @@ -25,33 +25,6 @@ void ScreenUnlockCelebrate::Init() ScreenUnlockBrowse::Init(); } -void ScreenUnlockCelebrate::MenuLeft( const InputEventPlus &input ) -{ -} - -void ScreenUnlockCelebrate::MenuRight( const InputEventPlus &input ) -{ -} - -void ScreenUnlockCelebrate::MenuUp( const InputEventPlus &input ) -{ -} - -void ScreenUnlockCelebrate::MenuDown( const InputEventPlus &input ) -{ -} - -void ScreenUnlockCelebrate::MenuStart( PlayerNumber pn ) -{ - ScreenUnlockBrowse::MenuStart( pn ); -} - -void ScreenUnlockCelebrate::MenuBack( PlayerNumber pn ) -{ - this->MenuStart(pn); -} - - /* * (c) 2006 Chris Danford * All rights reserved. diff --git a/stepmania/src/ScreenUnlockCelebrate.h b/stepmania/src/ScreenUnlockCelebrate.h index 63e2634e37..31e9f0fabf 100644 --- a/stepmania/src/ScreenUnlockCelebrate.h +++ b/stepmania/src/ScreenUnlockCelebrate.h @@ -7,12 +7,11 @@ class ScreenUnlockCelebrate : public ScreenUnlockBrowse { public: virtual void Init(); - virtual void MenuLeft( const InputEventPlus &input ); - virtual void MenuRight( const InputEventPlus &input ); - virtual void MenuUp( const InputEventPlus &input ); - virtual void MenuDown( const InputEventPlus &input ); - virtual void MenuStart( PlayerNumber pn ); - virtual void MenuBack( PlayerNumber pn ); + virtual void MenuLeft( const InputEventPlus &input ) { } + virtual void MenuRight( const InputEventPlus &input ) { } + virtual void MenuUp( const InputEventPlus &input ) { } + virtual void MenuDown( const InputEventPlus &input ) { } + virtual void MenuBack( PlayerNumber pn ) { MenuStart( pn ); } protected: };