19#ifndef HEADER_GRAND_PRIX_WIN_HPP
20#define HEADER_GRAND_PRIX_WIN_HPP
22#include "audio/sfx_base.hpp"
23#include "guiengine/screen.hpp"
24#include "karts/kart_model.hpp"
25#include "states_screens/grand_prix_cutscene.hpp"
28namespace irr {
namespace scene {
class ISceneNode;
class ICameraSceneNode;
class ILightSceneNode;
class IMeshSceneNode; } }
61 float m_kart_x[3], m_kart_y[3], m_kart_z[3];
62 float m_kart_rotation[3];
64 float m_podium_x[3], m_podium_y[3], m_podium_z[3];
73 void onCutsceneEnd() OVERRIDE;
78 void setKarts(const std::pair<std::
string,
float> karts[3]);
79 void setPlayerWon(
bool some_player_won) {
m_player_won = some_player_won; }
Declares a class to be a singleton.
Definition: screen.hpp:59
Definition: grand_prix_cutscene.hpp:28
Screen shown at the end of a Grand Prix.
Definition: grand_prix_win.hpp:40
double m_global_time
Global evolution of time.
Definition: grand_prix_win.hpp:48
void setKarts(const std::pair< std::string, float > karts[3])
Definition: grand_prix_win.cpp:334
void onUpdate(float dt) OVERRIDE
optional callback you can override to be notified at every frame.
Definition: grand_prix_win.cpp:224
void loadedFromFile() OVERRIDE
Callback invoked when loading this menu.
Definition: grand_prix_win.hpp:72
MusicInformation * getInGameMenuMusic() const OVERRIDE
Definition: grand_prix_win.cpp:428
bool m_player_won
Used to display a different message if a player is 1st.
Definition: grand_prix_win.hpp:67
std::vector< KartModel * > m_all_kart_models
A copy of the kart model for each kart used.
Definition: grand_prix_win.hpp:55
void init() OVERRIDE
Callback invoked when entering this menu (after the widgets have been added).
Definition: grand_prix_win.cpp:150
This class stores the properties of a kart.
Definition: kart_properties.hpp:60
This is a base object for any separate object on the track, which might also have a skeletal animatio...
Definition: track_object.hpp:56
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33