mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 15:28:38 -04:00
f_op debug work (#2991)
* f_op debug 1 * f_op debug 2 * f_op debug 3 * f_op debug 4 * f_op debug 5 * f_op_debug fix build * f_op linking * remove goto in fopac_create * fix regressions * fix regressions * pr comments
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef F_PC_MANAGER_H_
|
||||
#define F_PC_MANAGER_H_
|
||||
|
||||
#include "f_op/f_op_scene.h"
|
||||
#include "f_pc/f_pc_create_iter.h"
|
||||
#include "f_pc/f_pc_executor.h"
|
||||
#include "f_pc/f_pc_leaf.h"
|
||||
@@ -41,7 +42,7 @@ inline fpc_ProcID fpcM_Create(s16 i_procName, FastCreateReqFunc i_createFunc, vo
|
||||
i_append);
|
||||
}
|
||||
|
||||
inline s16 fpcM_DrawPriority(const void* i_process) {
|
||||
inline s32 fpcM_DrawPriority(const void* i_process) {
|
||||
return (s16)fpcLf_GetPriority((const leafdraw_class*)i_process);
|
||||
}
|
||||
|
||||
@@ -49,6 +50,10 @@ inline s32 fpcM_ChangeLayerID(void* i_process, int i_layerID) {
|
||||
return fpcPi_Change(&((base_process_class*)i_process)->priority, i_layerID, 0xFFFD, 0xFFFD);
|
||||
}
|
||||
|
||||
inline s32 fpcM_MakeOfType(int* i_type) {
|
||||
return fpcBs_MakeOfType(i_type);
|
||||
}
|
||||
|
||||
inline BOOL fpcM_IsJustType(int i_typeA, int i_typeB) {
|
||||
return fpcBs_Is_JustOfType(i_typeA, i_typeB);
|
||||
}
|
||||
@@ -85,6 +90,10 @@ inline base_process_class* fpcM_SearchByID(fpc_ProcID i_id) {
|
||||
return fpcEx_SearchByID(i_id);
|
||||
}
|
||||
|
||||
inline process_node_class* fpcM_Layer(void* i_process) {
|
||||
return ((base_process_class*)i_process)->layer_tag.layer->process_node;
|
||||
}
|
||||
|
||||
void fpcM_Draw(void* i_process);
|
||||
s32 fpcM_DrawIterater(fpcM_DrawIteraterFunc i_drawIterFunc);
|
||||
s32 fpcM_Execute(void* i_process);
|
||||
|
||||
Reference in New Issue
Block a user