mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
work on daalink, fop actor, mDo machine, msg_scrn, + various (#201)
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "f_pc/f_pc_create_iter.h"
|
||||
#include "f_pc/f_pc_node_req.h"
|
||||
#include "f_pc/f_pc_stdcreate_req.h"
|
||||
#include "f_pc/f_pc_executor.h"
|
||||
|
||||
typedef int (*FastCreateReqFunc)(void*);
|
||||
typedef void (*fpcM_ManagementFunc)(void);
|
||||
@@ -27,7 +28,7 @@ inline void fpcM_SetParam(void* p_actor, u32 param) {
|
||||
((base_process_class*)p_actor)->mParameters = param;
|
||||
}
|
||||
|
||||
inline s16 fpcM_GetProfName(void* pActor) {
|
||||
inline s16 fpcM_GetProfName(const void* pActor) {
|
||||
return ((base_process_class*)pActor)->mBsTypeId;
|
||||
}
|
||||
|
||||
@@ -40,6 +41,26 @@ inline s32 fpcM_ChangeLayerID(void* proc, int layerID) {
|
||||
return fpcPi_Change(&((base_process_class*)proc)->mPi, layerID, 0xFFFD, 0xFFFD);
|
||||
}
|
||||
|
||||
inline s32 fpcM_IsJustType(int type1, int type2) {
|
||||
return fpcBs_Is_JustOfType(type1, type2);
|
||||
}
|
||||
|
||||
inline bool fpcM_IsFirstCreating(void* proc) {
|
||||
return ((base_process_class*)proc)->mInitState == 0;
|
||||
}
|
||||
|
||||
inline leaf_process_profile_definition* fpcM_GetProfile(void* proc) {
|
||||
return (leaf_process_profile_definition*)((base_process_class*)proc)->mpProf;
|
||||
}
|
||||
|
||||
inline void* fpcM_GetAppend(const void* proc) {
|
||||
return ((base_process_class*)proc)->mpUserData;
|
||||
}
|
||||
|
||||
inline BOOL fpcM_IsExecuting(unsigned int id) {
|
||||
return fpcEx_IsExist(id);
|
||||
}
|
||||
|
||||
void fpcM_Draw(void* pProc);
|
||||
s32 fpcM_DrawIterater(fpcM_DrawIteraterFunc pFunc);
|
||||
s32 fpcM_Execute(void* pProc);
|
||||
|
||||
Reference in New Issue
Block a user