#include <gamestate.h>
Collaboration diagram for GAMESTATE:

Public Member Functions | |
| GAMESTATE () | |
| void | UpdateSettings () |
| STATES | GetGameState () |
| void | SetGameState (STATES newstate) |
| void | SetGameMode (MODES newmode) |
| MODES | GetGameMode () |
| void | SetCarName (int p, string cn) |
| void | SetCarPaint (int p, int cp) |
| void | SetTrackName (string tn) |
| string | GetTrackName () |
| string | GetCarName (int p) |
| int | GetCarPaint (int p) |
Private Attributes | |
| STATES | state |
| MODES | mode |
| PLAYERINFO | players [MAX_PLAYERS] |
| string | trackname |
Definition at line 52 of file gamestate.h.
|
|
Definition at line 19 of file gamestate.cpp. References state, and STATE_INIT. |
|
|
Definition at line 76 of file gamestate.h. References PLAYERINFO::carname, and players. Referenced by MULTIPLAY::ExchangeWorldInfo(), InitGameData(), LoadWorld(), ResetWorld(), SelectCar(), and REPLAY::WriteHeader(). |
|
|
Definition at line 77 of file gamestate.h. References PLAYERINFO::carpaint, and players. Referenced by MULTIPLAY::ExchangeWorldInfo(), SelectCar(), and REPLAY::WriteHeader(). |
|
|
Definition at line 69 of file gamestate.h. References mode. Referenced by REPLAY::PlayStart(), and REPLAY::Start(). |
|
|
Definition at line 31 of file gamestate.cpp. References state. Referenced by TIMER::Draw(), drawGLScene(), REPLAY::PlayStart(), REPLAY::Start(), TIMER::TickTimer(), and Update(). |
|
|
Definition at line 75 of file gamestate.h. References trackname. Referenced by MULTIPLAY::ExchangeWorldInfo(), InitGameData(), LoadWorld(), and REPLAY::WriteHeader(). |
|
||||||||||||
|
Definition at line 41 of file gamestate.cpp. References PLAYERINFO::carname, players, SETTINGS::Set(), and settings. Referenced by InitGameData(), LoadWorld(), REPLAY::PlayStart(), and SelectCar(). |
|
||||||||||||
|
Definition at line 49 of file gamestate.cpp. References PLAYERINFO::carpaint, players, SETTINGS::Set(), and settings. Referenced by InitGameData(), LoadWorld(), and REPLAY::PlayStart(). |
|
|
Definition at line 68 of file gamestate.h. References mode, SETTINGS::Set(), and settings. |
|
|
Definition at line 36 of file gamestate.cpp. References state. Referenced by InitGameData(), REPLAY::PlayStart(), VGUI::Gui::ProcessAction(), Quit(), REPLAY::Start(), and TIMER::TickTimer(). |
|
|
Definition at line 73 of file gamestate.h. References SETTINGS::Set(), settings, and trackname. Referenced by InitGameData(), LoadWorld(), and REPLAY::PlayStart(). |
|
|
Definition at line 24 of file gamestate.cpp. References SETTINGS::Get(), mode, and settings. |
|
|
Definition at line 56 of file gamestate.h. Referenced by GetGameMode(), SetGameMode(), and UpdateSettings(). |
|
|
Definition at line 57 of file gamestate.h. Referenced by GetCarName(), GetCarPaint(), SetCarName(), and SetCarPaint(). |
|
|
Definition at line 55 of file gamestate.h. Referenced by GAMESTATE(), GetGameState(), and SetGameState(). |
|
|
Definition at line 58 of file gamestate.h. Referenced by GetTrackName(), and SetTrackName(). |
1.4.6