ScreenMapControllers::TweenOffScreen
This commit is contained in:
@@ -288,8 +288,6 @@ void ScreenMapControllers::Input( const InputEventPlus &input )
|
|||||||
INPUTMAPPER->SaveMappingsToDisk(); // save changes
|
INPUTMAPPER->SaveMappingsToDisk(); // save changes
|
||||||
|
|
||||||
StartTransitioningScreen( SM_GoToNextScreen );
|
StartTransitioningScreen( SM_GoToNextScreen );
|
||||||
for( int b=0; b<GAMESTATE->GetCurrentGame()->m_iButtonsPerController; b++ )
|
|
||||||
m_Line[b].RunCommands( (b%2)? ODD_LINE_OUT:EVEN_LINE_OUT );
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case KEY_ENTER: /* Change the selection. */
|
case KEY_ENTER: /* Change the selection. */
|
||||||
@@ -307,6 +305,12 @@ void ScreenMapControllers::Input( const InputEventPlus &input )
|
|||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ScreenMapControllers::TweenOffScreen()
|
||||||
|
{
|
||||||
|
for( int b=0; b<GAMESTATE->GetCurrentGame()->m_iButtonsPerController; b++ )
|
||||||
|
m_Line[b].RunCommands( (b%2)? ODD_LINE_OUT:EVEN_LINE_OUT );
|
||||||
|
}
|
||||||
|
|
||||||
void ScreenMapControllers::Refresh()
|
void ScreenMapControllers::Refresh()
|
||||||
{
|
{
|
||||||
for( int p=0; p<MAX_GAME_CONTROLLERS; p++ )
|
for( int p=0; p<MAX_GAME_CONTROLLERS; p++ )
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ public:
|
|||||||
virtual void Update( float fDeltaTime );
|
virtual void Update( float fDeltaTime );
|
||||||
virtual void Input( const InputEventPlus &input );
|
virtual void Input( const InputEventPlus &input );
|
||||||
|
|
||||||
|
virtual void TweenOffScreen();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void KeyLeft();
|
void KeyLeft();
|
||||||
void KeyRight();
|
void KeyRight();
|
||||||
|
|||||||
Reference in New Issue
Block a user