fix ScreenEvaluationCourse glitches

Change ScreenManager message sending methods for more precise control:
 - SendMessageToTopScreen: handle the message immediately
 - PostMessageToTopScreen: post message to queue for processing next update
This commit is contained in:
Chris Danford
2003-03-25 21:17:29 +00:00
parent 56d728cd88
commit 1627422e09
34 changed files with 169 additions and 153 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ ScreenAttract::ScreenAttract( CString sClassName )
float fTimeUntilBeginFadingOut = m_Background.GetLengthSeconds() - m_Out.GetLengthSeconds();
this->SendScreenMessage( SM_BeginFadingOut, fTimeUntilBeginFadingOut );
this->PostScreenMessage( SM_BeginFadingOut, fTimeUntilBeginFadingOut );
}
@@ -121,7 +121,7 @@ void ScreenAttract::AttractInput( const DeviceInput& DeviceI, const InputEventTy
{
case MENU_BUTTON_LEFT:
case MENU_BUTTON_RIGHT:
SCREENMAN->SendMessageToTopScreen( SM_BeginFadingOut, 0 );
SCREENMAN->PostMessageToTopScreen( SM_BeginFadingOut, 0 );
break;
}
}