| HoverRace
    2.0
    | 
#include <GameSession.h>
| Public Member Functions | |
| GameSession (bool pAllowRendering=true) | |
| ~GameSession () | |
| Level * | GetCurrentLevel () const | 
| MR_SimulationTime | GetSimulationTime () const | 
| const char * | GetTitle () const | 
| bool | LoadNew (const char *pTitle, std::shared_ptr< Track > track, const Model::GameOptions &gameOpts) | 
| void | SetSimulationTime (MR_SimulationTime) | 
| void | Simulate () | 
| void | SimulateLateElement (MR_FreeElementHandle pElement, MR_SimulationTime pDuration, int pRoom) | 
| Private Member Functions | |
| void | Clean () | 
| void | ComputeShapeContactEffects (int pCurrentRoom, FreeElement *pActor, const RoomContactSpec &pLastSpec, MR_FastArrayBase< int > *pVisitedRooms, int pMaxDepth, MR_SimulationTime pDuration) | 
| bool | LoadLevel (const Model::GameOptions &gameOpts) | 
| void | SimulateFreeElems (MR_SimulationTime pDuration) | 
| int | SimulateOneFreeElem (MR_SimulationTime pTimeToSimulate, MR_FreeElementHandle pElementHandle, int pRoom) | 
| void | SimulateSurfaceElems (MR_SimulationTime pDuration) | 
| Private Attributes | |
| bool | mAllowRendering | 
| int | mCurrentLevelNumber | 
| Util::OS::timestamp_t | mLastSimulateCallTime | 
| Time in ms obtained by timeGetTime.  More... | |
| MR_SimulationTime | mSimulationTime | 
| Time simulated since the session start.  More... | |
| std::string | mTitle | 
| std::shared_ptr< Track > | track | 
| HoverRace::Model::GameSession::GameSession | ( | bool | pAllowRendering = true | ) | 
| HoverRace::Model::GameSession::~GameSession | ( | ) | 
| 
 | private | 
| 
 | private | 
| Level * HoverRace::Model::GameSession::GetCurrentLevel | ( | ) | const | 
| MR_SimulationTime HoverRace::Model::GameSession::GetSimulationTime | ( | ) | const | 
| const char * HoverRace::Model::GameSession::GetTitle | ( | ) | const | 
| 
 | private | 
| bool HoverRace::Model::GameSession::LoadNew | ( | const char * | pTitle, | 
| std::shared_ptr< Track > | track, | ||
| const Model::GameOptions & | gameOpts | ||
| ) | 
| void HoverRace::Model::GameSession::SetSimulationTime | ( | MR_SimulationTime | pTime | ) | 
| void HoverRace::Model::GameSession::Simulate | ( | ) | 
| 
 | private | 
| void HoverRace::Model::GameSession::SimulateLateElement | ( | MR_FreeElementHandle | pElement, | 
| MR_SimulationTime | pDuration, | ||
| int | pRoom | ||
| ) | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
Time in ms obtained by timeGetTime.
| 
 | private | 
Time simulated since the session start.
| 
 | private | 
| 
 | private | 
 1.8.11
 1.8.11