Definition at line 11 of file MapdataCheckPath.hh.
Classes | |
| struct | SData |
Public Member Functions | |
| STATIC_ASSERT (sizeof(SData)==0x10) | |
| MapdataCheckPath (const SData *data) | |
| void | read (EGG::Stream &stream) |
| void | findDepth (s8 depth, const MapdataCheckPathAccessor &accessor) |
| Performs DFS to calculate m_depth for all subsequent checkpaths. | |
| bool | isPointInPath (u16 checkpointId) const |
Getters | |
| u8 | start () const |
| u8 | end () const |
| const std::array< u8, MAX_NEIGHBORS > & | next () const |
| const std::array< u8, MAX_NEIGHBORS > & | prev () const |
| s8 | depth () const |
| f32 | oneOverCount () const |
Static Public Attributes | |
| static constexpr size_t | MAX_NEIGHBORS = 6 |
Private Attributes | |
| const SData * | m_rawData |
| u8 | m_start |
| Index of the first checkpoint in this checkpath. | |
| u8 | m_size |
| Number of checkpoints in this checkpath. | |
| std::array< u8, MAX_NEIGHBORS > | m_prev |
| Indices of previous connected checkpaths. | |
| std::array< u8, MAX_NEIGHBORS > | m_next |
| Indices of next connected checkpaths. | |
| s8 | m_depth |
| f32 | m_oneOverCount |
|
0x80515098 |
Definition at line 6 of file MapdataCheckPath.cc.
|
inlinenodiscard |
Definition at line 51 of file MapdataCheckPath.hh.
|
inlinenodiscard |
Definition at line 39 of file MapdataCheckPath.hh.
|
0x805150E0 |
Performs DFS to calculate m_depth for all subsequent checkpaths.
| depth | Number of checkpaths from first checkpath. |
Definition at line 27 of file MapdataCheckPath.cc.
|
inlinenodiscard |
Definition at line 28 of file MapdataCheckPath.hh.
|
inlinenodiscard |
Definition at line 43 of file MapdataCheckPath.hh.
|
inlinenodiscard |
Definition at line 55 of file MapdataCheckPath.hh.
|
inlinenodiscard |
Definition at line 47 of file MapdataCheckPath.hh.
| void Kinoko::System::MapdataCheckPath::read | ( | EGG::Stream & | stream | ) |
Definition at line 12 of file MapdataCheckPath.cc.
|
inlinenodiscard |
Definition at line 35 of file MapdataCheckPath.hh.
|
private |
Number of checkpaths away from first checkpath (i.e. distance from start)
Definition at line 66 of file MapdataCheckPath.hh.
|
private |
Indices of next connected checkpaths.
Definition at line 65 of file MapdataCheckPath.hh.
|
private |
Definition at line 68 of file MapdataCheckPath.hh.
|
private |
Indices of previous connected checkpaths.
Definition at line 64 of file MapdataCheckPath.hh.
|
private |
Definition at line 61 of file MapdataCheckPath.hh.
|
private |
Number of checkpoints in this checkpath.
Definition at line 63 of file MapdataCheckPath.hh.
|
private |
Index of the first checkpoint in this checkpath.
Definition at line 62 of file MapdataCheckPath.hh.
|
staticconstexpr |
Definition at line 32 of file MapdataCheckPath.hh.