modify Input() on screens to return boolean

This commit is contained in:
Devin J. Pohly
2013-01-12 22:48:38 -05:00
parent 79583090ac
commit d13ac7e7a2
98 changed files with 861 additions and 697 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ void ScreenGameplaySyncMachine::Update( float fDelta )
RefreshText();
}
void ScreenGameplaySyncMachine::Input( const InputEventPlus &input )
bool ScreenGameplaySyncMachine::Input( const InputEventPlus &input )
{
// Hack to make this work from Player2's controls
InputEventPlus _input = input;
@@ -77,7 +77,7 @@ void ScreenGameplaySyncMachine::Input( const InputEventPlus &input )
if( _input.pn != PLAYER_INVALID )
_input.pn = PLAYER_1;
ScreenGameplay::Input( _input );
return ScreenGameplay::Input( _input );
}
void ScreenGameplaySyncMachine::HandleScreenMessage( const ScreenMessage SM )