Definition at line 11 of file MapdataCheckPath.hh.
|
| 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 |
| |
◆ MapdataCheckPath()
| System::MapdataCheckPath::MapdataCheckPath |
( |
const SData * | data | ) |
|
|
0x80515098 |
◆ depth()
| s8 System::MapdataCheckPath::depth |
( |
| ) |
const |
|
inlinenodiscard |
◆ end()
| u8 System::MapdataCheckPath::end |
( |
| ) |
const |
|
inlinenodiscard |
◆ findDepth()
Performs DFS to calculate m_depth for all subsequent checkpaths.
- Parameters
-
| depth | Number of checkpaths from first checkpath. |
Definition at line 27 of file MapdataCheckPath.cc.
◆ isPointInPath()
| bool System::MapdataCheckPath::isPointInPath |
( |
u16 | checkpointId | ) |
const |
|
inlinenodiscard |
◆ next()
| const std::array< u8, MAX_NEIGHBORS > & System::MapdataCheckPath::next |
( |
| ) |
const |
|
inlinenodiscard |
◆ oneOverCount()
| f32 System::MapdataCheckPath::oneOverCount |
( |
| ) |
const |
|
inlinenodiscard |
◆ prev()
| const std::array< u8, MAX_NEIGHBORS > & System::MapdataCheckPath::prev |
( |
| ) |
const |
|
inlinenodiscard |
◆ read()
| void System::MapdataCheckPath::read |
( |
EGG::Stream & | stream | ) |
|
◆ start()
| u8 System::MapdataCheckPath::start |
( |
| ) |
const |
|
inlinenodiscard |
◆ m_depth
| s8 System::MapdataCheckPath::m_depth |
|
private |
Number of checkpaths away from first checkpath (i.e. distance from start)
Definition at line 66 of file MapdataCheckPath.hh.
◆ m_next
| std::array<u8, MAX_NEIGHBORS> System::MapdataCheckPath::m_next |
|
private |
◆ m_oneOverCount
| f32 System::MapdataCheckPath::m_oneOverCount |
|
private |
◆ m_prev
| std::array<u8, MAX_NEIGHBORS> System::MapdataCheckPath::m_prev |
|
private |
◆ m_rawData
| const SData* System::MapdataCheckPath::m_rawData |
|
private |
◆ m_size
| u8 System::MapdataCheckPath::m_size |
|
private |
◆ m_start
| u8 System::MapdataCheckPath::m_start |
|
private |
◆ MAX_NEIGHBORS
| size_t System::MapdataCheckPath::MAX_NEIGHBORS = 6 |
|
staticconstexpr |