ScreenMapControllers::TweenOffScreen

This commit is contained in:
Glenn Maynard
2005-12-05 17:03:46 +00:00
parent 2fe74fea4c
commit 5f83ff601b
2 changed files with 8 additions and 2 deletions
+6 -2
View File
@@ -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++ )