mirror of
https://github.com/zeldaret/st
synced 2026-10-13 07:23:27 -04:00
6c8f5c72bc
* feat: begin decompiling * feat: decompiling enhanced * fix: symbols sheningans * fix: make jp build * merge: update NSSW * feat: improve overall matching * feat: update * feat: improve matching of ActorItemTornado's vfunc_2C * fix: first attempt to make usa build * style: move external functions * fix: building NSSW * fix: build for jp * feat: improve matching * feat: comply to suggestions
114 lines
3.1 KiB
C++
114 lines
3.1 KiB
C++
#pragma once
|
|
|
|
#include "Actor/Actor.hpp"
|
|
#include "Actor/ActorProfile.hpp"
|
|
#include "MapObject/MapObjectUnkSWSW.hpp"
|
|
#include "global.h"
|
|
#include "types.h"
|
|
|
|
class ActorUnkNSSW;
|
|
|
|
class ActorUnkNSSW_0E0 : public Actor_C4 {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 24 */
|
|
|
|
ActorUnkNSSW_0E0(ActorUnkNSSW *param1);
|
|
|
|
/* 00 */ virtual bool vfunc_00(RefStruct ref, unk32 param2) override;
|
|
/* 04 */ virtual bool vfunc_04() override;
|
|
/* 0C */ virtual void vfunc_0C(VecFx32 *param1) override;
|
|
};
|
|
|
|
class ActorUnkNSSW_104 : public UnkStruct_ov031_Items_01 {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 2C */ ActorUnkNSSW *mUnk_2C;
|
|
/* 30 */
|
|
|
|
ActorUnkNSSW_104(ActorUnkNSSW *actor);
|
|
|
|
/* 10 */ virtual void vfunc_10(Actor *actor) override;
|
|
};
|
|
|
|
#if IS_JP
|
|
class ActorUnkNSSW_138 : public UnkStruct_ov031_Items_00 {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 04 */ unk32 mUnk_04;
|
|
/* 08 */ ActorUnkNSSW *mUnk_08;
|
|
|
|
ActorUnkNSSW_138(ActorUnkNSSW *actor) :
|
|
UnkStruct_ov031_Items_00(),
|
|
mUnk_08(actor) {}
|
|
|
|
/* 0C */ virtual bool vfunc_0C(RefStruct ref, UnkStruct_ov031_020e54d4 *param2, const VecFx32 *param3,
|
|
const VecFx32 *param4) override;
|
|
};
|
|
#endif
|
|
|
|
class ActorUnkNSSW : public Actor_Derived2 {
|
|
public:
|
|
/* EUR - JPN */
|
|
/* 000 - 000 (base) */
|
|
/* 0AE - 0AE */ PAD(0x0AE, 0x0B0);
|
|
/* 0B0 - 0B0 */ UnkSystem6_Derived2 mUnk_0B0;
|
|
/* 0BC - 0BC */ unk32 mUnk_0BC;
|
|
/* 0C0 - 0C0 */ Actor_9C mUnk_0C0;
|
|
/* 0E0 - 0E0 */ ActorUnkNSSW_0E0 mUnk_0E0;
|
|
/* 104 - 104 */ ActorUnkNSSW_104 mUnk_104;
|
|
/* 134 - 134 */ RefStruct mUnk_134;
|
|
#if IS_JP
|
|
/* 138 - 138 */ ActorUnkNSSW_138 mUnk_138_jp;
|
|
#endif
|
|
/* 138 - 144 */ VecFx32Cpp mUnk_138;
|
|
/* 144 - 150 */ VecFx32Cpp mUnk_144;
|
|
/* 150 - 15C */ MtxFx33 mUnk_150;
|
|
/* 174 - 180 */ unk32 mUnk_174;
|
|
/* 178 - 184 */ unk32 mUnk_178;
|
|
/* 17C - 188 */ unk32 mUnk_17C;
|
|
/* 180 - 18C */ unk32 mUnk_180;
|
|
/* 184 - 190 */ MapObjectUnkSWSW *mUnk_184;
|
|
/* 188 - 194 */ MapObjectUnkSWSW *mUnk_188;
|
|
/* 18C - 198 */ unk16 mUnk_18C;
|
|
/* 190 - 19C */ VecFx32Cpp mUnk_190;
|
|
/* 19C - 1A8 */ bool mUnk_19C;
|
|
/* 19D - 1A9 */ bool mUnk_19D;
|
|
/* 1A0 - 1AC */ unk32 mUnk_1A0;
|
|
/* 1A4 - 1B0 */
|
|
|
|
ActorUnkNSSW();
|
|
|
|
/* 1C */ virtual bool Init(unk32 param1) override;
|
|
/* 20 */ virtual void Update() override;
|
|
/* 2C */ virtual void vfunc_2C(Actor_vfunc_30 *param1) override;
|
|
|
|
void func_ov032_02120118();
|
|
void func_ov032_02120190();
|
|
void func_ov032_0212025c();
|
|
void func_ov032_021202d8();
|
|
void func_ov032_021203fc();
|
|
void func_ov032_02120880();
|
|
void func_ov032_02120894(unk32 param1);
|
|
void func_ov032_02120b34(RefStruct ref);
|
|
void func_ov032_02120b6c();
|
|
void func_ov032_02120b7c(VecFx32 *param1);
|
|
void func_ov032_02120bc0();
|
|
void func_ov032_02120bfc(Actor *actor);
|
|
#if IS_JP
|
|
void func_ov032_02122b0c(MapObject *mapObject);
|
|
#endif
|
|
void func_ov032_02120c64(MapObjectUnkSWSW *param1);
|
|
};
|
|
|
|
class ActorProfileUnkNSSW : public ActorProfile {
|
|
public:
|
|
/* 00 (base) */
|
|
|
|
ActorProfileUnkNSSW();
|
|
|
|
/* 0C */ virtual Actor *Create();
|
|
|
|
static ActorProfileUnkNSSW *GetProfile();
|
|
};
|