Definition at line 31 of file RaceManager.hh.
Public Member Functions | |
| void | init () |
| void | calc () |
| Timer | getLapSplit (size_t idx) const |
| Gets the lap split, which is the difference between the given lap and the previous one. | |
Getters | |
| u16 | checkpointId () const |
| f32 | raceCompletion () const |
| s8 | jugemId () const |
| bool | drivingWrongWay () const |
| const std::array< Timer, 3 > & | lapTimers () const |
| const Timer & | lapTimer (size_t idx) const |
| const Timer & | raceTimer () const |
| const KPad * | inputs () const |
Private Member Functions | |
| MapdataCheckPoint * | calcCheckpoint (u16 checkpointId, f32 distanceRatio) |
| bool | areCheckpointsSubsequent (const MapdataCheckPoint *checkpoint, u16 nextCheckpointId) const |
| void | decrementLap () |
| void | incrementLap () |
| void | endRace (const Timer &finishTime) |
Private Attributes | |
| u16 | m_checkpointId |
| f32 | m_raceCompletion |
| f32 | m_checkpointFactor |
| The proportion of a lap for the current checkpoint. | |
| f32 | m_checkpointStartLapCompletion |
| f32 | m_lapCompletion |
| s8 | m_jugemId |
| s16 | m_currentLap |
| s8 | m_maxLap |
| s8 | m_maxKcp |
| bool | m_drivingWrongWay |
| std::array< Timer, 3 > | m_lapTimers |
| Timer | m_raceTimer |
| const KPad * | m_inputs |
|
0x80533ED8 |
Definition at line 104 of file RaceManager.cc.
|
inlinevirtual |
Definition at line 34 of file RaceManager.hh.
|
nodiscardprivateInlined in 0x80534DF8 |
Definition at line 247 of file RaceManager.cc.
|
0x80535304 |
Definition at line 142 of file RaceManager.cc.
|
private0x80534DF8 |
Definition at line 199 of file RaceManager.cc.
|
inlinenodiscard |
Definition at line 42 of file RaceManager.hh.
|
private0x80534D6C |
Definition at line 259 of file RaceManager.cc.
|
inlinenodiscard |
Definition at line 54 of file RaceManager.hh.
|
private0x805347F4 |
Definition at line 297 of file RaceManager.cc.
|
nodiscard0x8053572C |
Gets the lap split, which is the difference between the given lap and the previous one.
| lap | One-indexed lap. |
Definition at line 182 of file RaceManager.cc.
|
private0x805349B8 |
Definition at line 272 of file RaceManager.cc.
|
0x80534194 |
Definition at line 126 of file RaceManager.cc.
|
inlinenodiscard |
Definition at line 71 of file RaceManager.hh.
|
inlinenodiscard |
Definition at line 50 of file RaceManager.hh.
|
inlinenodiscard |
Definition at line 62 of file RaceManager.hh.
|
inlinenodiscard |
Definition at line 58 of file RaceManager.hh.
|
inlinenodiscard |
Definition at line 46 of file RaceManager.hh.
|
inlinenodiscard |
Definition at line 67 of file RaceManager.hh.
|
private |
The proportion of a lap for the current checkpoint.
Definition at line 87 of file RaceManager.hh.
|
private |
Definition at line 85 of file RaceManager.hh.
|
private |
Definition at line 88 of file RaceManager.hh.
|
private |
Definition at line 91 of file RaceManager.hh.
|
private |
Definition at line 94 of file RaceManager.hh.
|
private |
Definition at line 97 of file RaceManager.hh.
|
private |
Definition at line 90 of file RaceManager.hh.
|
private |
Definition at line 89 of file RaceManager.hh.
|
private |
Definition at line 95 of file RaceManager.hh.
|
private |
Definition at line 93 of file RaceManager.hh.
|
private |
Definition at line 92 of file RaceManager.hh.
|
private |
Definition at line 86 of file RaceManager.hh.
|
private |
Definition at line 96 of file RaceManager.hh.