parent
08d686f156
commit
4df28023b5
@ -886,13 +886,9 @@ void RaceResultGUI::displayCTFResults()
|
||||
} // filterActions
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
/** Called once a frame, this now triggers the rendering of the actual
|
||||
* race result gui.
|
||||
*/
|
||||
/** Called once a frame */
|
||||
void RaceResultGUI::onUpdate(float dt)
|
||||
{
|
||||
renderGlobal(dt);
|
||||
|
||||
// When the finish sound has been played, start the race over music.
|
||||
if (m_finish_sound && m_finish_sound->getStatus() != SFXBase::SFX_PLAYING)
|
||||
{
|
||||
@ -909,6 +905,16 @@ void RaceResultGUI::displayCTFResults()
|
||||
}
|
||||
}
|
||||
} // onUpdate
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
/** Called once a frame, this now triggers the rendering of the actual
|
||||
* race result gui.
|
||||
*/
|
||||
void RaceResultGUI::onDraw(float dt)
|
||||
{
|
||||
renderGlobal(dt);
|
||||
} // onDraw
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
/** Render all global parts of the race gui, i.e. things that are only
|
||||
|
@ -230,6 +230,7 @@ public:
|
||||
virtual void renderPlayerView(const Camera *camera, float dt) OVERRIDE {}
|
||||
|
||||
virtual void onUpdate(float dt) OVERRIDE;
|
||||
virtual void onDraw(float dt) OVERRIDE;
|
||||
|
||||
/** No more messages need to be displayed, but the function might still be
|
||||
* called (e.g. 'new lap' message if the end controller is used for more
|
||||
|
Loading…
Reference in New Issue
Block a user