ScreenMapControllers::TweenOffScreen
This commit is contained in:
@@ -288,8 +288,6 @@ void ScreenMapControllers::Input( const InputEventPlus &input )
|
||||
INPUTMAPPER->SaveMappingsToDisk(); // save changes
|
||||
|
||||
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;
|
||||
case KEY_ENTER: /* Change the selection. */
|
||||
@@ -307,6 +305,12 @@ void ScreenMapControllers::Input( const InputEventPlus &input )
|
||||
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()
|
||||
{
|
||||
for( int p=0; p<MAX_GAME_CONTROLLERS; p++ )
|
||||
|
||||
Reference in New Issue
Block a user