#include <CourseMap.hh>
Contains course metadata, notably the starting position.
Definition at line 26 of file CourseMap.hh.
Public Member Functions | |
void | init () |
template<MapdataDerived T> | |
T * | parseMapdata (u32 sectionName) const |
s16 | findSector (const EGG::Vector3f &pos, u16 checkpointIdx, f32 &distanceRatio) |
s16 | findRecursiveSector (const EGG::Vector3f &pos, s16 depth, bool searchBackwardsFirst, MapdataCheckPoint *checkpoint, f32 &completion, bool playerIsForwards) const |
Static Public Member Functions | |
static CourseMap * | CreateInstance () |
static void | DestroyInstance () |
static CourseMap * | Instance () |
Private Member Functions | |
s16 | findSectorBetweenSides (const EGG::Vector3f &pos, MapdataCheckPoint *checkpoint, f32 &distanceRatio) |
s16 | findSectorOutsideSector (const EGG::Vector3f &pos, MapdataCheckPoint *checkpoint, f32 &distanceRatio) |
s16 | findSectorRegional (const EGG::Vector3f &pos, MapdataCheckPoint *checkpoint, f32 &distanceRatio) |
s16 | searchNextCheckpoint (const EGG::Vector3f &pos, s16 depth, const MapdataCheckPoint *checkpoint, f32 &completion, bool playerIsForwards, bool useCache) const |
s16 | searchPrevCheckpoint (const EGG::Vector3f &pos, s16 depth, const MapdataCheckPoint *checkpoint, f32 &completion, bool playerIsForwards, bool useCache) const |
void | clearSectorChecked () |
![]() |
Static Private Member Functions | |
static void * | LoadFile (const char *filename) |
![]() | |
static constexpr u16 | getLinkOffset () |
Static Private Attributes | |
static CourseMap * | s_instance = nullptr |
|
private0x8051276C |
Definition at line 199 of file CourseMap.cc.
|
overrideprivate0x805127AC |
Definition at line 204 of file CourseMap.cc.
|
inlinenodiscard |
Definition at line 123 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 127 of file CourseMap.hh.
|
private0x80511E00 |
Definition at line 459 of file CourseMap.cc.
|
static0x80512694 |
Definition at line 184 of file CourseMap.cc.
|
static0x8051271C |
Definition at line 191 of file CourseMap.cc.
|
nodiscard0x80511110 |
Definition at line 84 of file CourseMap.cc.
|
nodiscard0x80511500 |
Definition at line 48 of file CourseMap.cc.
|
nodiscardprivate |
Definition at line 221 of file CourseMap.cc.
|
nodiscardprivate |
Definition at line 325 of file CourseMap.cc.
|
nodiscardprivate |
Definition at line 389 of file CourseMap.cc.
|
inlinenodiscard0x80518AE0 |
Definition at line 48 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 87 of file CourseMap.hh.
|
inlinenodiscard0x80515C70 |
Definition at line 53 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 91 of file CourseMap.hh.
|
inlinenodiscard0x80515C24 |
Definition at line 58 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 95 of file CourseMap.hh.
|
nodiscard |
Definition at line 173 of file CourseMap.cc.
|
nodiscard0x80511E7C |
Definition at line 163 of file CourseMap.cc.
|
inlinenodiscard0x80514148 |
Definition at line 63 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 99 of file CourseMap.hh.
|
inlinenodiscard0x80518920 |
Definition at line 73 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 107 of file CourseMap.hh.
|
inlinenodiscard0x80515E04 |
Definition at line 68 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 103 of file CourseMap.hh.
|
inlinenodiscard0x80518B78 |
Definition at line 78 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 111 of file CourseMap.hh.
|
inlinenodiscard0x80514B30 |
Definition at line 83 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 115 of file CourseMap.hh.
|
0x805127EC |
Definition at line 8 of file CourseMap.cc.
|
inlinestaticnodiscard |
Definition at line 155 of file CourseMap.hh.
|
staticprivate0x809BD6E80x80512C10 |
Definition at line 466 of file CourseMap.cc.
|
inlinenodiscard |
Definition at line 31 of file CourseMap.hh.
|
nodiscardprivate0x80510F58 |
Definition at line 415 of file CourseMap.cc.
|
nodiscardprivate0x80511034 |
Definition at line 437 of file CourseMap.cc.
|
inlinenodiscard |
Definition at line 135 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 139 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 143 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 147 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 131 of file CourseMap.hh.
|
inlinenodiscard |
Definition at line 119 of file CourseMap.hh.
|
private |
Definition at line 184 of file CourseMap.hh.
|
private |
Definition at line 179 of file CourseMap.hh.
|
private |
Definition at line 180 of file CourseMap.hh.
|
private |
Definition at line 177 of file CourseMap.hh.
|
private |
Definition at line 182 of file CourseMap.hh.
|
private |
Definition at line 183 of file CourseMap.hh.
|
private |
Definition at line 181 of file CourseMap.hh.
|
private |
Definition at line 185 of file CourseMap.hh.
|
private |
Definition at line 178 of file CourseMap.hh.
|
private |
Definition at line 189 of file CourseMap.hh.
|
private |
Definition at line 190 of file CourseMap.hh.
|
private |
Definition at line 191 of file CourseMap.hh.
|
private |
Definition at line 192 of file CourseMap.hh.
|
private |
Definition at line 188 of file CourseMap.hh.
|
staticprivate0x809BD6E8 |
Definition at line 196 of file CourseMap.hh.