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
+4 -4
View File
@@ -387,8 +387,8 @@ void ScreenSelectStyle5th::AfterChange()
break;
}
this->SendScreenMessage( SM_TweenExplanation2, 1 );
this->SendScreenMessage( SM_UpdateAnimations, TWEEN_TIME );
this->PostScreenMessage( SM_TweenExplanation2, 1 );
this->PostScreenMessage( SM_UpdateAnimations, TWEEN_TIME );
}
void ScreenSelectStyle5th::TweenOffScreen()
@@ -451,7 +451,7 @@ void ScreenSelectStyle5th::TweenOnScreen()
m_textExplanation1.SetText( TEXT_EXPLANATION1[m_iSelection] );
m_textExplanation2.SetText( TEXT_EXPLANATION2[m_iSelection] );
this->SendScreenMessage( SM_TweenExplanation2, 1 );
this->SendScreenMessage( SM_UpdateAnimations, TWEEN_TIME );
this->PostScreenMessage( SM_TweenExplanation2, 1 );
this->PostScreenMessage( SM_UpdateAnimations, TWEEN_TIME );
}