mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-10 18:46:45 -04:00
f_op_actor_mng split & started decomp (#112)
* fop-actor-mng * rodata * more actor mng progress * actor mng progress * format * cleanup * fix Mtx function signatures * PR suggestion Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
+19
-19
@@ -15,25 +15,25 @@ struct create_request;
|
||||
struct profile_method_class;
|
||||
|
||||
typedef struct base_process_class {
|
||||
u32 mBsType;
|
||||
u32 mBsPcId;
|
||||
s16 mProcName;
|
||||
s8 mUnk0;
|
||||
u8 mPauseFlag;
|
||||
s8 mInitState;
|
||||
u8 mUnk2;
|
||||
s16 mBsTypeId;
|
||||
process_profile_definition* mpProf;
|
||||
struct create_request* mpCtRq;
|
||||
layer_management_tag_class mLyTg;
|
||||
line_tag mLnTg;
|
||||
delete_tag_class mDtTg;
|
||||
process_priority_class mPi;
|
||||
process_method_class* mpPcMtd;
|
||||
void* mpUserData;
|
||||
u32 mParameters;
|
||||
u32 mSubType;
|
||||
} base_process_class;
|
||||
/* 0x00 */ u32 mBsType;
|
||||
/* 0x04 */ u32 mBsPcId;
|
||||
/* 0x08 */ s16 mProcName;
|
||||
/* 0x0A */ s8 mUnk0;
|
||||
/* 0x0B */ u8 mPauseFlag;
|
||||
/* 0x0C */ s8 mInitState;
|
||||
/* 0x0D */ u8 mUnk2;
|
||||
/* 0x0E */ s16 mBsTypeId;
|
||||
/* 0x10 */ process_profile_definition* mpProf;
|
||||
/* 0x14 */ struct create_request* mpCtRq;
|
||||
/* 0x18 */ layer_management_tag_class mLyTg;
|
||||
/* 0x34 */ line_tag mLnTg;
|
||||
/* 0x4C */ delete_tag_class mDtTg;
|
||||
/* 0x68 */ process_priority_class mPi;
|
||||
/* 0xA8 */ process_method_class* mpPcMtd;
|
||||
/* 0xAC */ void* mpUserData;
|
||||
/* 0xB0 */ u32 mParameters;
|
||||
/* 0xB4 */ u32 mSubType;
|
||||
} base_process_class; // Size: 0xB8
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -10,12 +10,15 @@
|
||||
|
||||
extern "C" {
|
||||
|
||||
typedef s32 (*FastCreateReqFunc)(void*);
|
||||
typedef int (*FastCreateReqFunc)(void*);
|
||||
|
||||
inline u32 fpcM_GetID(const void* pProc) {
|
||||
return pProc != NULL ? ((base_process_class*)pProc)->mBsPcId : 0xFFFFFFFF;
|
||||
}
|
||||
void fpcM_Draw(void* pProc);
|
||||
s32 fpcM_DrawIterater(cNdIt_MethodFunc pFunc);
|
||||
void fpcM_Execute(void* pProc);
|
||||
void fpcM_Delete(void* pProc);
|
||||
s32 fpcM_Delete(void* pProc);
|
||||
BOOL fpcM_IsCreating(u32 pID);
|
||||
// void fpcM_Management(unk_func pFunc1, unk_func pFunc2);
|
||||
void fpcM_Init(void);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "f/f_pc/f_pc_layer.h"
|
||||
#include "global.h"
|
||||
|
||||
typedef s32 (*stdCreateFunc)(void*, void*);
|
||||
typedef int (*stdCreateFunc)(void*, void*);
|
||||
|
||||
typedef struct standard_create_request_class {
|
||||
/* 0x00 */ create_request mBase;
|
||||
|
||||
Reference in New Issue
Block a user