add 3D scrolling to ActorScroller

generalize BGAnimation, BGAnimationLayer to eliminate shared code with ActorFrame
This commit is contained in:
Chris Danford
2004-02-01 03:14:37 +00:00
parent 66a121877c
commit 69fd514b68
20 changed files with 324 additions and 262 deletions
+3 -3
View File
@@ -32,8 +32,8 @@ public:
virtual void MenuUp( PlayerNumber pn );
virtual void MenuDown( PlayerNumber pn );
virtual void MenuStart( PlayerNumber pn );
float TweenOffScreen(); // return time in seconds to execute the command
float TweenOnScreen(); // return time in seconds to execute the command
void TweenOffScreen(); // return time in seconds to execute the command
void TweenOnScreen(); // return time in seconds to execute the command
virtual void HandleScreenMessage( const ScreenMessage SM );
@@ -60,7 +60,7 @@ protected:
bool Move( PlayerNumber pn, Dirs dir );
bool ChangePage( int iNewChoice );
bool ChangeSelection( PlayerNumber pn, int iNewChoice );
float DoMenuStart( PlayerNumber pn );
void DoMenuStart( PlayerNumber pn );
float GetCursorX( PlayerNumber pn, int iPartIndex );
float GetCursorY( PlayerNumber pn, int iPartIndex );