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 -3
View File
@@ -42,7 +42,7 @@ void ScreenSelectLanguage::BeginScreen()
ScreenSelectMaster::BeginScreen();
}
void ScreenSelectLanguage::MenuStart( const InputEventPlus &input )
bool ScreenSelectLanguage::MenuStart( const InputEventPlus &input )
{
int iIndex = this->GetSelectionIndex( input.pn );
RString sLangCode = m_aGameCommands[iIndex].m_sName;
@@ -52,11 +52,12 @@ void ScreenSelectLanguage::MenuStart( const InputEventPlus &input )
m_soundStart.Play();
this->PostScreenMessage( SM_BeginFadingOut, 0 );
return true;
}
void ScreenSelectLanguage::MenuBack( const InputEventPlus &input )
bool ScreenSelectLanguage::MenuBack( const InputEventPlus &input )
{
return; // ignore the press
return false; // ignore the press
}
/*