remove GenericTweenOn/Off - always play 'On'/'Off' on the Screen

This commit is contained in:
Chris Danford
2008-11-24 04:44:12 +00:00
parent 1d61d0fb9e
commit b741bb4189
17 changed files with 15 additions and 137 deletions
+1 -8
View File
@@ -26,6 +26,7 @@ public:
void StopTimer();
void ResetTimer();
// Sub-classes can hook these and do special actions that won't be triggered automatically by an "On"/"Off" command
virtual void TweenOnScreen();
virtual void TweenOffScreen();
@@ -38,12 +39,6 @@ protected:
virtual void StartPlayingMusic();
void SetHelpText( RString s );
/* If true, BeginScreen() will run OnCommand on the whole screen, and
* TweenOnScreen will not be called. (Eventually, all screens should
* use this, and this will be removed.) */
virtual bool GenericTweenOn() const { return false; }
virtual bool GenericTweenOff() const { return false; }
AutoActor m_sprUnderlay;
MemoryCardDisplay *m_MemoryCardDisplay[NUM_PLAYERS];
MenuTimer *m_MenuTimer;
@@ -76,8 +71,6 @@ public:
virtual void PushSelf( lua_State *L );
protected:
virtual bool GenericTweenOn() const { return true; }
virtual bool GenericTweenOff() const { return true; }
};
#endif