Definition at line 71 of file MapdataCheckPath.hh.
Public Member Functions | |
| MapdataCheckPathAccessor (const MapSectionHeader *header) | |
| MapdataCheckPath * | findCheckpathForCheckpoint (u16 checkpointId) const |
| f32 | lapProportion () const |
| Public Member Functions inherited from Kinoko::System::MapdataAccessorBase< MapdataCheckPath, MapdataCheckPath::SData > | |
| MapdataAccessorBase (const MapSectionHeader *header) | |
| MapdataCheckPath * | get (u16 i) const |
| MapdataCheckPath::SData * | getData (u16 i) const |
| u16 | size () const |
| void | init (const MapdataCheckPath::SData *start, u16 count) |
Private Attributes | |
| f32 | m_lapProportion |
| Minimum proportion of a lap a checkpath can be. Calculated as 1/(maxDepth+1). | |
Additional Inherited Members | |
| Protected Attributes inherited from Kinoko::System::MapdataAccessorBase< MapdataCheckPath, MapdataCheckPath::SData > | |
| MapdataCheckPath ** | m_entries |
| u16 | m_entryCount |
| const MapSectionHeader * | m_sectionHeader |
|
Inlined in 0x8051377C |
Definition at line 44 of file MapdataCheckPath.cc.
|
nodiscard0x80515014 |
Definition at line 67 of file MapdataCheckPath.cc.
|
nodiscard |
Definition at line 78 of file MapdataCheckPath.cc.
|
private |
Minimum proportion of a lap a checkpath can be. Calculated as 1/(maxDepth+1).
Another way to think of it: maxDepth+1 is the number of checkpaths in the longest route through the course, where longest means most checkpaths traversed, not most distance traversed. So if one plans their route to hit the most checkpaths possible (no backtracking), they hit maxDepth+1 checkpaths, and each checkpath is lapProportion% of the total checkpaths on the route.
Definition at line 90 of file MapdataCheckPath.hh.