rename EndScreen; that's a virtual from Screen. Why is there no way

to get a warning when virtual methods are overloaded without specifying
"virtual"?
This commit is contained in:
Glenn Maynard
2007-03-07 22:04:28 +00:00
parent 8b9a7b1ca7
commit a584f1b5be
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -765,7 +765,7 @@ void ScreenEvaluation::HandleScreenMessage( const ScreenMessage SM )
{
if( SM == SM_MenuTimer )
{
EndScreen();
HandleMenuStart();
}
else if( SM == SM_PlayCheer )
{
@@ -805,10 +805,10 @@ void ScreenEvaluation::MenuStart( const InputEventPlus &input )
{
m_soundStart.Play();
EndScreen();
HandleMenuStart();
}
void ScreenEvaluation::EndScreen()
void ScreenEvaluation::HandleMenuStart()
{
FOREACH_PlayerNumber( p )
m_Grades[p].SettleImmediately();
+1 -1
View File
@@ -51,7 +51,7 @@ protected:
virtual bool GenericTweenOn() const { return true; }
virtual bool GenericTweenOff() const { return true; }
void EndScreen();
void HandleMenuStart();
bool m_bSummary;