mirror of
https://github.com/zeldaret/st
synced 2026-06-22 08:35:42 -04:00
6062d1f43c
* start overlay 1 * match courselist and delink a lot of files (+ remove SysObject) * fix build issues * fix regressions
113 lines
2.5 KiB
C++
113 lines
2.5 KiB
C++
#pragma once
|
|
|
|
#include "Cutscene/Cutscene.hpp"
|
|
#include "MapObject/MapObject.hpp"
|
|
#include "Save/AdventureFlags.hpp"
|
|
#include "types.h"
|
|
#include "versions.h"
|
|
|
|
struct stack_ov000_02073578 {
|
|
unk8 unk_00;
|
|
unk32 unk_04;
|
|
unk32 unk_08;
|
|
|
|
stack_ov000_02073578();
|
|
};
|
|
|
|
class UnkStruct_027e09b8_00 {
|
|
public:
|
|
/* 000 */ STRUCT_PAD(0x000, 0xFD0);
|
|
/* FD0 */ unk16 mUnk_FD0; // set to 1 when link has a blocking interaction?
|
|
/* FD2 */ unk16 mUnk_FD2;
|
|
/* FD4 */
|
|
|
|
UnkStruct_027e09b8_00();
|
|
~UnkStruct_027e09b8_00();
|
|
|
|
void func_ov000_02073bc0();
|
|
};
|
|
|
|
class UnkStruct_027e09b8_04 {
|
|
public:
|
|
/* 00 */ STRUCT_PAD(0x00, 0x64);
|
|
/* 64 */
|
|
|
|
UnkStruct_027e09b8_04();
|
|
~UnkStruct_027e09b8_04();
|
|
};
|
|
|
|
class UnkStruct_027e09b8_08 {
|
|
public:
|
|
/* 00 */ STRUCT_PAD(0x00, 0x00);
|
|
/* 00 */
|
|
|
|
UnkStruct_027e09b8_08();
|
|
~UnkStruct_027e09b8_08();
|
|
};
|
|
|
|
class UnkStruct_027e09b8_0C {
|
|
public:
|
|
/* 00 */ STRUCT_PAD(0x00, 0xC4);
|
|
/* C4 */ MapObjectId mMapObjId;
|
|
/* C8 */
|
|
|
|
UnkStruct_027e09b8_0C();
|
|
~UnkStruct_027e09b8_0C();
|
|
};
|
|
|
|
class UnkStruct_027e09b8_10 {
|
|
public:
|
|
/* 00 */ STRUCT_PAD(0x00, 0x18);
|
|
/* 18 */
|
|
|
|
UnkStruct_027e09b8_10();
|
|
~UnkStruct_027e09b8_10();
|
|
};
|
|
|
|
class UnkStruct_027e09b8 : public AutoInstance<UnkStruct_027e09b8> {
|
|
public:
|
|
/* 00 */ UnkStruct_027e09b8_00 *mUnk_00;
|
|
/* 04 */ UnkStruct_027e09b8_04 *mUnk_04;
|
|
/* 08 */ UnkStruct_027e09b8_08 *mUnk_08;
|
|
/* 0C */ UnkStruct_027e09b8_0C *mUnk_0C;
|
|
/* 10 */ UnkStruct_027e09b8_10 *mUnk_10;
|
|
/* 14 */ u32 mAdventureFlags[32]; //! TODO
|
|
#if IS_JP
|
|
//! TODO: figure out if the other versions got these too
|
|
/* 94 */ u16 mUnk_94;
|
|
#endif
|
|
|
|
bool HasAdventureFlag(AdventureFlag flag) {
|
|
return GET_FLAG(this->mAdventureFlags, flag);
|
|
}
|
|
|
|
UnkStruct_027e09b8();
|
|
~UnkStruct_027e09b8();
|
|
|
|
// itcm
|
|
unk32 func_01ffd420();
|
|
|
|
// overlay 0
|
|
unk32 func_ov000_020732ec(unk32 param1);
|
|
unk32 func_ov000_020732fc(unk32 param1);
|
|
bool func_ov000_020732dc(unk32 param1);
|
|
unk32 func_ov000_0207330c();
|
|
unk32 func_ov000_02073470(void *param1, unk32 param2);
|
|
unk32 func_ov000_02073388(void *param1, unk32 param2);
|
|
void func_ov000_02073578(void *param1, unk32 param2);
|
|
void func_ov000_0207332c();
|
|
|
|
#if IS_JP
|
|
void func_ov000_02074d78(unk32 param1);
|
|
#endif
|
|
|
|
// overlay 1
|
|
void func_ov001_020b76c0(CutsceneIndex csIndex);
|
|
void func_ov001_020b7700();
|
|
|
|
static UnkStruct_027e09b8 *Create();
|
|
static void Destroy();
|
|
};
|
|
|
|
extern UnkStruct_027e09b8 *data_027e09b8;
|