mirror of
https://github.com/zeldaret/st
synced 2026-06-30 19:41:45 -04:00
26683f83c2
* feat: Unify code structure to fit other RMSX files fix: Change type of ActorUnkRMSD.mUnk_158 that was too big to unk32 as placeholder * feat: Apply patch from Yanis Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com> * fix: Update code to get rid of GetResource and use new function * Update src/063_Shrine/Actor/ActorUnkRMSD.cpp Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com> * Merge branch 'main' into ActorUnkRMSD * fix: Format file * feat: Rename RMSX base class --------- Co-authored-by: Yanis <35189056+Yanis002@users.noreply.github.com>
65 lines
1.6 KiB
C++
65 lines
1.6 KiB
C++
//! TODO: This file was generated automatically and might contain errors
|
|
|
|
#pragma once
|
|
|
|
#include "Actor/Actor.hpp"
|
|
#include "Actor/ActorProfile.hpp"
|
|
#include "MainGame/AdventureMode.hpp"
|
|
#include "Render/ModelRender.hpp"
|
|
#include "Unknown/Common.hpp"
|
|
#include "global.h"
|
|
#include "nns/g3d/g3d.h"
|
|
#include "types.h"
|
|
|
|
class ActorUnkRMSD_C4 : public Actor_C4 {
|
|
public:
|
|
ActorUnkRMSD_C4(Actor *param1);
|
|
|
|
/* 00 */ virtual bool vfunc_00(ActorRef ref, unk32 param2) override;
|
|
/* 04 */ virtual void vfunc_04() override;
|
|
/* 08 */ virtual void vfunc_08() override;
|
|
/* 0C */ virtual void vfunc_0C(unk32 param1) override;
|
|
};
|
|
|
|
class ActorUnkRMSBase : public Actor {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 94 */ ModelRender mUnk_94;
|
|
/* F4 */ ModelRender mUnk_F4;
|
|
/* 154 */ unk32 mUnk_154;
|
|
/* 158 */
|
|
|
|
ActorUnkRMSBase();
|
|
};
|
|
|
|
class ActorUnkRMSD : public ActorUnkRMSBase {
|
|
public:
|
|
/* 00 (base) */
|
|
/* 158 */ unk32 mUnk_158; //! INFO: Some class with a vfunc_34
|
|
/* 15C */ STRUCT_PAD(0x15C, 0x1D4); //! INFO: Force alignment to match ::Create
|
|
/* 1D4 */
|
|
|
|
ActorUnkRMSD();
|
|
|
|
/* 4C */ virtual ~ActorUnkRMSD() override;
|
|
|
|
void func_ov063_0215c408(void);
|
|
void func_ov063_0215c45c(void);
|
|
void func_ov063_0215c474(void);
|
|
G3d_Model *func_ov063_0215c488(void); //! INFO: G3d_Model deduced from RMSF
|
|
G3d_Model *func_ov063_0215c4c8(void); //! INFO: same as above
|
|
};
|
|
|
|
class ActorProfileUnkRMSD : public ActorProfile_Derived1 {
|
|
public:
|
|
/* 00 (base) */
|
|
/* D8 */
|
|
|
|
ActorProfileUnkRMSD();
|
|
~ActorProfileUnkRMSD();
|
|
|
|
/* 0C */ virtual Actor *Create();
|
|
|
|
static ActorProfileUnkRMSD *GetProfile();
|
|
};
|