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
+3 -3
View File
@@ -34,8 +34,8 @@ ScreenGameOver::ScreenGameOver()
SOUNDMAN->PlayMusic( THEME->GetPathTo("Sounds","ScreenGameOver music") );
this->SendScreenMessage( SM_PlayAnnouncer, 0.5 );
this->SendScreenMessage( SM_StartFadingOut, 5 );
this->PostScreenMessage( SM_PlayAnnouncer, 0.5 );
this->PostScreenMessage( SM_StartFadingOut, 5 );
}
@@ -61,5 +61,5 @@ void ScreenGameOver::MenuStart( PlayerNumber pn )
return;
this->ClearMessageQueue();
this->SendScreenMessage( SM_StartFadingOut, 0 );
this->PostScreenMessage( SM_StartFadingOut, 0 );
}