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
+4 -4
View File
@@ -239,24 +239,24 @@ void ScreenJukebox::Init()
m_DancingState = STATE_DANCING;
}
void ScreenJukebox::Input( const InputEventPlus &input )
bool ScreenJukebox::Input( const InputEventPlus &input )
{
//LOG->Trace( "ScreenJukebox::Input()" );
if( input.type != IET_FIRST_PRESS )
return; // ignore
return false; // ignore
switch( input.MenuI )
{
case GAME_BUTTON_LEFT:
case GAME_BUTTON_RIGHT:
SCREENMAN->PostMessageToTopScreen( SM_NotesEnded, 0 );
return;
return true;
default:
break;
}
ScreenAttract::AttractInput( input, this );
return ScreenAttract::AttractInput( input, this );
}
void ScreenJukebox::HandleScreenMessage( const ScreenMessage SM )