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:
@@ -765,7 +765,7 @@ void ScreenEvaluation::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
{
|
{
|
||||||
if( SM == SM_MenuTimer )
|
if( SM == SM_MenuTimer )
|
||||||
{
|
{
|
||||||
EndScreen();
|
HandleMenuStart();
|
||||||
}
|
}
|
||||||
else if( SM == SM_PlayCheer )
|
else if( SM == SM_PlayCheer )
|
||||||
{
|
{
|
||||||
@@ -805,10 +805,10 @@ void ScreenEvaluation::MenuStart( const InputEventPlus &input )
|
|||||||
{
|
{
|
||||||
m_soundStart.Play();
|
m_soundStart.Play();
|
||||||
|
|
||||||
EndScreen();
|
HandleMenuStart();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenEvaluation::EndScreen()
|
void ScreenEvaluation::HandleMenuStart()
|
||||||
{
|
{
|
||||||
FOREACH_PlayerNumber( p )
|
FOREACH_PlayerNumber( p )
|
||||||
m_Grades[p].SettleImmediately();
|
m_Grades[p].SettleImmediately();
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ protected:
|
|||||||
virtual bool GenericTweenOn() const { return true; }
|
virtual bool GenericTweenOn() const { return true; }
|
||||||
virtual bool GenericTweenOff() const { return true; }
|
virtual bool GenericTweenOff() const { return true; }
|
||||||
|
|
||||||
void EndScreen();
|
void HandleMenuStart();
|
||||||
|
|
||||||
bool m_bSummary;
|
bool m_bSummary;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user