#include <CourseData.h>
Public Types | |
| enum | Block { cBlock_Environment = 1 - 1 , cBlock_Options = 2 - 1 , cBlock_ScrollData = 3 - 1 , cBlock_DistantViewData = 5 - 1 , cBlock_NextGoto = 7 - 1 , cBlock_MapActor = 8 - 1 , cBlock_MapActorLoadRes = 9 - 1 , cBlock_AreaData = 10 - 1 , cBlock_Location = 11 - 1 , cBlock_RailInfo = 14 - 1 , cBlock_RailPoint = 15 - 1 , cBlock_Num } |
Public Member Functions | |
| CourseDataFile () | |
| const void * | getBlock (Block block) const |
| template<typename T> | |
| const T * | getBlock (Block block) const |
| const DistantViewData * | getBg2Data (u16 id) const |
| const NextGoto * | getNextGoto (u8 id) const |
| const MapActorData * | getMapActor (u16 type, const MapActorData *start=nullptr) const |
| const AreaData * | getAreaData (u8 id, sead::BoundBox2f *box=nullptr) const |
| const Location * | getLocation (sead::BoundBox2f *box, u8 id) const |
| const RailInfo * | getRailInfo (u8 id) const |
| const RailPoint * | getRailPoint (u8 rail_id) const |
Private Member Functions | |
| void | getAreaBox_ (sead::BoundBox2f *box, const AreaData &area_data, f32 delta=0.0f) const |
Private Attributes | |
| u32 | mIndex |
| sead::SafeArray< const void *, cBlock_Num > | mBlock |
| sead::SafeArray< u32, cBlock_Num > | mBlockSize |
| sead::SafeArray< u32, cBlock_Num > | mBlockEntryNum |
| sead::SafeArray< MapActorData *, 64 > | _b8 |
| sead::SafeArray< u32, 64 > | _1b8 |
| sead::SafeArray< u32, 64 > | _2b8 |
| CourseDataFile::CourseDataFile | ( | ) |
|
inline |
|
inline |
| const DistantViewData * CourseDataFile::getBg2Data | ( | u16 | id | ) | const |
| const NextGoto * CourseDataFile::getNextGoto | ( | u8 | id | ) | const |
| const MapActorData * CourseDataFile::getMapActor | ( | u16 | type, |
| const MapActorData * | start = nullptr ) const |
| const AreaData * CourseDataFile::getAreaData | ( | u8 | id, |
| sead::BoundBox2f * | box = nullptr ) const |
| const Location * CourseDataFile::getLocation | ( | sead::BoundBox2f * | box, |
| u8 | id ) const |
| const RailInfo * CourseDataFile::getRailInfo | ( | u8 | id | ) | const |
| const RailPoint * CourseDataFile::getRailPoint | ( | u8 | rail_id | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |