mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-10 03:01:56 -04:00
Match f_op_scene, fix profile structs
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
#include "dolphin/mtx/mtx.h"
|
||||
#include "f_pc/f_pc_leaf.h"
|
||||
|
||||
struct actor_process_profile_definition {
|
||||
/* 0x00 */ leaf_process_profile_definition mBase;
|
||||
/* 0x24 */ leafdraw_method_class* mSubMtd;
|
||||
/* 0x28 */ int field_0x28; // mStatus
|
||||
/* 0x2C */ u8 field_0x2c; // mActorType
|
||||
/* 0x2D */ u8 field_0x2d; // mCullType
|
||||
/* 0x2E */ u8 field_0x2e[2]; // Likely padding
|
||||
};
|
||||
|
||||
struct JKRSolidHeap;
|
||||
|
||||
class dEvt_info_c {
|
||||
|
||||
@@ -3,8 +3,13 @@
|
||||
|
||||
#include "f_op/f_op_camera_mng.h"
|
||||
|
||||
struct camera_process_profile_definition {
|
||||
/* 0x00 */ view_process_profile_definition mBase;
|
||||
/* 0x3C */ leafdraw_method_class* mSubMtd; // Subclass methods
|
||||
};
|
||||
|
||||
static s32 fopCam_Draw(camera_class* param_1);
|
||||
static int fopCam_Execute(camera_class* pCamera);
|
||||
int fopCam_IsDelete(camera_class* pCamera);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -5,6 +5,11 @@
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor.h"
|
||||
|
||||
struct msg_process_profile_definition {
|
||||
/* 0x00 */ leaf_process_profile_definition mBase;
|
||||
/* 0x24 */ leafdraw_method_class* mSubMtd; // Subclass methods
|
||||
};
|
||||
|
||||
struct fopMsg_prm_class {
|
||||
/* 0x00 */ fopAc_ac_c* mpActor;
|
||||
/* 0x04 */ cXyz mPos;
|
||||
|
||||
@@ -11,15 +11,16 @@
|
||||
struct request_of_phase_process_class;
|
||||
class mDoDvdThd_command_c;
|
||||
|
||||
typedef struct scene_process_profile_definition {
|
||||
/* 0x00 */ node_process_profile_definition mBase;
|
||||
/* 0x20 */ process_method_class* mpMtd; // Subclass methods
|
||||
} scene_process_profile_definition;
|
||||
|
||||
class scene_class {
|
||||
public:
|
||||
/* 0x000 */ base_process_class field_0x0;
|
||||
/* 0x0B8 */ u8 field_0xb8[0x10];
|
||||
/* 0x0C8 */ u32 field_0xc8;
|
||||
/* 0x0CC */ u8 field_0xcc[0xE0];
|
||||
/* 0x1AC */ process_method_class* mpProcessMtd;
|
||||
/* 0x1B0 */ scene_tag_class field_0x1b0;
|
||||
/* 0x1C4 */ request_of_phase_process_class field_0x1c4;
|
||||
/* 0x000 */ process_node_class mBase;
|
||||
/* 0x1AC */ process_method_class * mpMtd;
|
||||
/* 0x1B0 */ scene_tag_class mScnTg;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -14,7 +14,7 @@ void fopScnM_Init(void);
|
||||
|
||||
inline u32 fpcM_LayerID(const void* pProc) {
|
||||
return fpcBs_Is_JustOfType(g_fpcNd_type, ((base_process_class*)pProc)->mSubType) != FALSE ?
|
||||
((scene_class*)pProc)->field_0xc8 :
|
||||
((scene_class*)pProc)->mBase.mLayer.mLayerID :
|
||||
0xFFFFFFFF;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,16 @@
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_leaf.h"
|
||||
|
||||
struct view_process_profile_definition {
|
||||
/* 0x00 */ leaf_process_profile_definition mBase;
|
||||
/* 0x24 */ leafdraw_method_class* mSubMtd; // Subclass methods
|
||||
/* 0x28 */ u32 unk28;
|
||||
/* 0x2C */ u32 unk2C;
|
||||
/* 0x30 */ u32 unk30;
|
||||
/* 0x34 */ u32 unk34;
|
||||
/* 0x38 */ u32 unk38;
|
||||
};
|
||||
|
||||
class lookat_class {
|
||||
public:
|
||||
/* 0x00 */ cXyz mEye;
|
||||
|
||||
Reference in New Issue
Block a user