summaryrefslogtreecommitdiff
path: root/src/f_pc/f_pc_executor.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2023-05-05 16:17:19 -0700
committerGitHub <noreply@github.com>2023-05-05 16:17:19 -0700
commit85827b28ff27c09702930738e8c188472428f959 (patch)
tree5302ee41862dc4adbfb02e1195ef8f8d77bfe4ee /src/f_pc/f_pc_executor.cpp
parent8d01442f7ceb128a79c4bedfea0aa3143526d641 (diff)
d_a_vrbox / d_a_kytag02 / d_a_obj_eff OK (#327)
* d_a_vrbox / d_a_kytag02 / d_a_obj_eff OK * some std header setups * f_pc / profile cleanup * setup cull data * remove asm * d_a_suspend OK
Diffstat (limited to 'src/f_pc/f_pc_executor.cpp')
-rw-r--r--src/f_pc/f_pc_executor.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/f_pc/f_pc_executor.cpp b/src/f_pc/f_pc_executor.cpp
index 2a2c1bdd4c..7790ba476d 100644
--- a/src/f_pc/f_pc_executor.cpp
+++ b/src/f_pc/f_pc_executor.cpp
@@ -9,45 +9,45 @@
#include "f_pc/f_pc_searcher.h"
/* 80021338-80021358 0020+00 s=1 e=9 z=291 None .text fpcEx_Search__FPFPvPv_PvPv */
-base_process_class* fpcEx_Search(fpcLyIt_JudgeFunc pFunc, void* pUserData) {
- return (base_process_class*)fpcLyIt_AllJudge(pFunc, pUserData);
+base_process_class* fpcEx_Search(fpcLyIt_JudgeFunc i_judgeFunc, void* i_data) {
+ return (base_process_class*)fpcLyIt_AllJudge(i_judgeFunc, i_data);
}
/* 80021358-8002139C 0044+00 s=1 e=5 z=30 None .text fpcEx_SearchByID__FUi */
-base_process_class* fpcEx_SearchByID(unsigned int id) {
- if (id + 2 <= 1)
+base_process_class* fpcEx_SearchByID(unsigned int i_id) {
+ if (i_id + 2 <= 1)
return NULL;
- return fpcEx_Search(fpcSch_JudgeByID, &id);
+ return fpcEx_Search(fpcSch_JudgeByID, &i_id);
}
/* 8002139C-800213C4 0028+00 s=0 e=7 z=42 None .text fpcEx_IsExist__FUi */
-BOOL fpcEx_IsExist(unsigned int id) {
- return fpcEx_SearchByID(id) != NULL ? 1 : 0;
+BOOL fpcEx_IsExist(unsigned int i_id) {
+ return fpcEx_SearchByID(i_id) != NULL ? TRUE : FALSE;
}
/* 800213C4-80021418 0054+00 s=0 e=1 z=0 None .text fpcEx_Execute__FP18base_process_class */
-s32 fpcEx_Execute(base_process_class* pProc) {
- if (pProc->mInitState != 2 || fpcPause_IsEnable(pProc, 1) == 1)
+s32 fpcEx_Execute(base_process_class* i_proc) {
+ if (i_proc->mInitState != 2 || fpcPause_IsEnable(i_proc, 1) == 1)
return 0;
- return fpcBs_Execute(pProc);
+ return fpcBs_Execute(i_proc);
}
/* 80021418-800214C4 00AC+00 s=1 e=0 z=0 None .text fpcEx_ToLineQ__FP18base_process_class */
-s32 fpcEx_ToLineQ(base_process_class* pProc) {
- layer_class* pLayer = pProc->mLyTg.mpLayer;
+s32 fpcEx_ToLineQ(base_process_class* i_proc) {
+ layer_class* pLayer = i_proc->mLyTg.mpLayer;
base_process_class* pLayerPcNode = &pLayer->mpPcNode->mBase;
if (pLayer->mLayerID == 0 || cTg_IsUse(&pLayerPcNode->mLnTg.mBase) == TRUE) {
- s32 ret = fpcLnTg_ToQueue(&pProc->mLnTg, pProc->mPi.mInfoCurr.mListID);
+ s32 ret = fpcLnTg_ToQueue(&i_proc->mLnTg, i_proc->mPi.mInfoCurr.mListID);
if (ret == 0) {
- fpcLyTg_QueueTo(&pProc->mLyTg);
+ fpcLyTg_QueueTo(&i_proc->mLyTg);
return 0;
}
- pProc->mInitState = 2;
- if (fpcBs_Is_JustOfType(g_fpcNd_type, pProc->mSubType)) {
- process_node_class* pNode = (process_node_class*)pProc;
+ i_proc->mInitState = 2;
+ if (fpcBs_Is_JustOfType(g_fpcNd_type, i_proc->mSubType)) {
+ process_node_class* pNode = (process_node_class*)i_proc;
fpcLyIt_OnlyHere(&pNode->mLayer, (fpcLyIt_OnlyHereFunc)fpcEx_ToLineQ, pNode);
}
@@ -59,10 +59,10 @@ s32 fpcEx_ToLineQ(base_process_class* pProc) {
/* 800214C4-80021510 004C+00 s=0 e=1 z=0 None .text fpcEx_ExecuteQTo__FP18base_process_class
*/
-s32 fpcEx_ExecuteQTo(base_process_class* pProc) {
- s32 ret = fpcLyTg_QueueTo(&pProc->mLyTg);
+s32 fpcEx_ExecuteQTo(base_process_class* i_proc) {
+ s32 ret = fpcLyTg_QueueTo(&i_proc->mLyTg);
if (ret == 1) {
- pProc->mInitState = 3;
+ i_proc->mInitState = 3;
return 1;
} else {
return 0;
@@ -71,11 +71,11 @@ s32 fpcEx_ExecuteQTo(base_process_class* pProc) {
/* 80021510-80021568 0058+00 s=0 e=1 z=0 None .text fpcEx_ToExecuteQ__FP18base_process_class
*/
-s32 fpcEx_ToExecuteQ(base_process_class* pProc) {
- s32 ret = fpcLyTg_ToQueue(&pProc->mLyTg, pProc->mPi.mInfoCurr.mLayer,
- pProc->mPi.mInfoCurr.mListID, pProc->mPi.mInfoCurr.mListPrio);
+s32 fpcEx_ToExecuteQ(base_process_class* i_proc) {
+ s32 ret = fpcLyTg_ToQueue(&i_proc->mLyTg, i_proc->mPi.mInfoCurr.mLayer,
+ i_proc->mPi.mInfoCurr.mListID, i_proc->mPi.mInfoCurr.mListPrio);
if (ret == 1) {
- fpcEx_ToLineQ(pProc);
+ fpcEx_ToLineQ(i_proc);
return 1;
} else {
return 0;
@@ -83,6 +83,6 @@ s32 fpcEx_ToExecuteQ(base_process_class* pProc) {
}
/* 80021568-80021588 0020+00 s=0 e=1 z=0 None .text fpcEx_Handler__FPFPvPv_i */
-void fpcEx_Handler(fpcLnIt_QueueFunc pFunc) {
- fpcLnIt_Queue(pFunc);
+void fpcEx_Handler(fpcLnIt_QueueFunc i_queueFunc) {
+ fpcLnIt_Queue(i_queueFunc);
}