MENU_BUTTON_ -> GAME_BUTTON_

This commit is contained in:
Chris Danford
2008-05-21 05:36:09 +00:00
parent f179a6d34b
commit d377c2b1a4
18 changed files with 111 additions and 111 deletions
+5 -5
View File
@@ -44,7 +44,7 @@ void ScreenContinue::Input( const InputEventPlus &input )
if( input.MenuI == GAME_BUTTON_COIN && input.type == IET_FIRST_PRESS )
ResetTimer();
if( input.MenuI == MENU_BUTTON_START && input.type == IET_FIRST_PRESS && GAMESTATE->JoinInput(input.pn) )
if( input.MenuI == GAME_BUTTON_START && input.type == IET_FIRST_PRESS && GAMESTATE->JoinInput(input.pn) )
{
bool bAllPlayersAreEnabled = true;
FOREACH_ENUM( PlayerNumber, p )
@@ -73,10 +73,10 @@ void ScreenContinue::Input( const InputEventPlus &input )
switch( input.MenuI )
{
case GAME_BUTTON_START:
case MENU_BUTTON_UP:
case MENU_BUTTON_DOWN:
case MENU_BUTTON_LEFT:
case MENU_BUTTON_RIGHT:
case GAME_BUTTON_UP:
case GAME_BUTTON_DOWN:
case GAME_BUTTON_LEFT:
case GAME_BUTTON_RIGHT:
float fSeconds = floorf(m_MenuTimer->GetSeconds()) - 0.0001f;
fSeconds = max( fSeconds, 0.0001f ); // don't set to 0
m_MenuTimer->SetSeconds( fSeconds );