Files
st/include/Unknown/UnkStruct_027e09a0.hpp
T
Yanis 96874ba24e Decompile overlay 1 (Part 8) (#108)
* UnkStruct_027e09b4_001 OK

* UnkStruct_027e09ac_001 OK

* UnkStruct_027e0cec_001 OK

* SysNew OK

* UnkStruct_027e0cec_18_001 OK

* UnkStruct_027e0ce0_34_001 OK

* UnkStruct_027e0d00_001 OK

* PassengerManager_001 OK

* UnkStruct_027e0cf8_08_00_001 OK

* UnkStruct_ov020_020e8544_001 OK

* code_020bfdd0 OK and code_020bfeec OK

* code_020c099c OK
2026-07-15 20:19:35 +02:00

57 lines
1.4 KiB
C++

#pragma once
#include "Course/Course.hpp"
#include "Unknown/UnkFileSystem.hpp"
#include "files.h"
#include "global.h"
#include "math.hpp"
#include "types.h"
struct UnkStruct_func_ov000_020702a8 {
/* 00 */ STRUCT_PAD(0x00, 0x10);
/* 10 */ Vec2s mUnk_10;
/* 14 */ u8 mUnk_14;
/* 15 */ STRUCT_PAD(0x15, 0x18);
/* 18 */ u16 mUnk_18;
/* 1A */ u16 mUnk_1A;
/* 1C */ u16 mUnk_1C;
/* 1E */ u16 mUnk_1E;
/* 20 */ unk16 mUnk_20;
/* 22 */ unk16 mUnk_22;
};
class CourseInitBinary {
public:
/* 0000 */ CourseInitEntry mEntries[SceneIndex_Max];
/* 1104 */
CourseInitBinary();
};
class UnkStruct_027e09a0 : public AutoInstance<UnkStruct_027e09a0> {
public:
/* 00 */ CourseListEntry **mpCourseTable; // elements from courselist.clb
/* 04 */ UnkFileSystem5 *mpCourseFile;
/* 08 */ unk8 mUnk_08[0x10];
/* 18 */
UnkStruct_027e09a0();
~UnkStruct_027e09a0();
CourseListEntry *GetCourseEntry(u32 sceneIndex);
UnkStruct_func_ov000_020702a8 *func_ov000_020702a8(u32 sceneIndex);
unk32 GetRoomEntryIndex();
CourseListRoomEntry *GetRoomEntry(u32 sceneIndex, unk32 param2);
u32 GetSceneIndexFromName(const char *sceneName);
bool func_ov000_02070378(u32 param1);
void func_ov000_02070310(u32 sceneIndex, u8 roomIndex, void *param3);
// overlay 1
void InitCourseTable();
static UnkStruct_027e09a0 *Create();
static void Destroy();
};
extern UnkStruct_027e09a0 *data_027e09a0;