mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-02 16:47:59 -04:00
move remaining old progress (#186)
* move remaining old progress * remove asm
This commit is contained in:
@@ -3,13 +3,21 @@
|
||||
|
||||
#include "SSystem/SComponent/c_xyz.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
|
||||
typedef int (*fopKyMCreateFunc)(void*);
|
||||
struct fopKyM_prm_class {
|
||||
/* 0x00 */ cXyz field_0x0;
|
||||
/* 0x0C */ cXyz field_0xc;
|
||||
/* 0x18 */ int field_0x18;
|
||||
}; // Size: 0x1C
|
||||
|
||||
void* fopKyM_CreateAppend(void);
|
||||
f32* createAppend(int param_1, cXyz* param_2, cXyz* param_3);
|
||||
typedef int (*fopKyM_CreateFunc)(void*);
|
||||
|
||||
static fopKyM_prm_class* fopKyM_CreateAppend(void);
|
||||
static fopKyM_prm_class* createAppend(int param_1, cXyz* param_2, cXyz* param_3);
|
||||
void fopKyM_Delete(void* param_1);
|
||||
void fopKyM_Create(s16 param_1, fopKyMCreateFunc param_2, void* param_3);
|
||||
void fopKyM_fastCreate(s16 param_0, int param_1, cXyz* param_2, cXyz* param_3, fopKyMCreateFunc);
|
||||
static int fopKyM_Create(s16 param_1, fopKyM_CreateFunc param_2, void* param_3);
|
||||
base_process_class* fopKyM_fastCreate(s16 param_0, int param_1, cXyz* param_2, cXyz* param_3,
|
||||
fopKyM_CreateFunc);
|
||||
|
||||
#endif
|
||||
@@ -5,13 +5,37 @@
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor.h"
|
||||
|
||||
struct fopMsg_prm_class {
|
||||
/* 0x00 */ fopAc_ac_c* field_0x0;
|
||||
/* 0x04 */ cXyz field_0x4;
|
||||
/* 0x10 */ u32 field_0x10;
|
||||
/* 0x14 */ u32 field_0x14;
|
||||
/* 0x18 */ int field_0x18;
|
||||
}; // Size: 0x1C
|
||||
|
||||
struct fopMsg_prm_timer {
|
||||
/* 0x00 */ int field_0x0;
|
||||
/* 0x04 */ cXyz field_0x4;
|
||||
/* 0x10 */ int field_0x10;
|
||||
/* 0x14 */ int field_0x14;
|
||||
/* 0x18 */ u32 field_0x18;
|
||||
/* 0x1C */ int field_0x1c;
|
||||
/* 0x20 */ u32 field_0x20;
|
||||
/* 0x24 */ u8 field_0x24;
|
||||
/* 0x25 */ u8 field_0x25;
|
||||
/* 0x28 */ f32 field_0x28;
|
||||
/* 0x2C */ f32 field_0x2c;
|
||||
/* 0x30 */ f32 field_0x30;
|
||||
/* 0x34 */ f32 field_0x34;
|
||||
}; // Size: 0x38
|
||||
|
||||
typedef int (*fopMsgCreateFunc)(void*);
|
||||
|
||||
JKRExpHeap* fopMsgM_createExpHeap(u32, JKRHeap*);
|
||||
u32 fopMsgM_Create(s16, fopMsgCreateFunc, void*);
|
||||
void fopMsgM_setMessageID(unsigned int);
|
||||
void fopMsgM_destroyExpHeap(JKRExpHeap*);
|
||||
void fopMsgM_setStageLayer(void*);
|
||||
s32 fopMsgM_setStageLayer(void*);
|
||||
void fopMsgM_messageSetDemo(u32 param_0);
|
||||
msg_class* fopMsgM_SearchByID(unsigned int param_0);
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
static void fopOvlp_Draw(void* param_1);
|
||||
static s32 fopOvlp_Draw(void* param_1);
|
||||
|
||||
#endif
|
||||
@@ -3,10 +3,12 @@
|
||||
|
||||
#include "SSystem/SComponent/c_request.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_leaf.h"
|
||||
|
||||
class overlap_task_class {
|
||||
public:
|
||||
/* 0x00 */ u8 field_0x00[0xC4];
|
||||
/* 0x00 */ u8 field_0x00[0xC0];
|
||||
/* 0xC0 */ leafdraw_method_class* field_0xc0;
|
||||
/* 0xC4 */ u8 field_0xc4;
|
||||
};
|
||||
|
||||
|
||||
@@ -14,7 +14,9 @@ class mDoDvdThd_command_c;
|
||||
class scene_class {
|
||||
public:
|
||||
/* 0x000 */ base_process_class field_0x0;
|
||||
/* 0x0B8 */ u8 field_0xb8[0xF4];
|
||||
/* 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;
|
||||
/* 0x1B4 */ u8 field_0x1b4[0x10];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "f_op/f_op_scene_pause.h"
|
||||
|
||||
void* fopScnM_SearchByID(unsigned int id);
|
||||
scene_class* fopScnM_SearchByID(unsigned int id);
|
||||
int fopScnM_ChangeReq(scene_class*, s16, s16, u16);
|
||||
unsigned int fopScnM_DeleteReq(scene_class*);
|
||||
int fopScnM_CreateReq(s16, s16, u16, u32);
|
||||
@@ -12,8 +12,18 @@ u32 fopScnM_ReRequest(s16, u32);
|
||||
void fopScnM_Management(void);
|
||||
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 :
|
||||
0xFFFFFFFF;
|
||||
}
|
||||
|
||||
inline u32 fopScnM_GetID(void* proc) {
|
||||
return fpcM_GetID(proc);
|
||||
}
|
||||
|
||||
inline int fopScnM_LayerID(void* proc) {
|
||||
return fpcM_LayerID(proc);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user