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