mirror of
https://github.com/zeldaret/st
synced 2026-06-18 07:25:26 -04:00
453db24d41
* gcc fixes * document random things in UnkStruct_027e09b8_00 * match func_ov001_020ba670 and rabbit docs * match func_ov026_0211f394 * fix build issues * match func_ov026_0211e3e0 * match func_ov026_02102924 * move structs to header * document train rope thing * MapObject OK and ActorRef stuff * match more actor funcs * fix regressions * fix build issues * more regressions fixes * name keyt grab func * UnkSubStruct19 -> CellAnimObject (based on the only assert string) * fix build issues due to merge * Actor::mUnk_4C -> Actor::mState + related changes * create GetActorPtr template inline for Actor_c4 * ActorUnk_ov000_020a8bb0 -> Actor_Derived1 * actor: add comments about mUnk_50/52 and change type of mAngle
100 lines
2.2 KiB
C++
100 lines
2.2 KiB
C++
#pragma once
|
|
|
|
#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:
|
|
/* 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);
|
|
}
|
|
|
|
unk32 func_01ffd420();
|
|
|
|
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
|
|
};
|
|
|
|
extern UnkStruct_027e09b8 *data_027e09b8;
|