diff options
| author | Pheenoh <pheenoh@gmail.com> | 2023-03-07 18:03:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-07 18:03:46 -0700 |
| commit | f31ab5ae0be3de6e0910b2d5942e33458be043ac (patch) | |
| tree | 4fbfdeda4e8bfac575a81ab9d4eaa79530ea35c5 /src/f_pc | |
| parent | 6c2e18af70dcc392b49cacf77fdb6ff8a164c0a5 (diff) | |
Misc Changes (#306)
Diffstat (limited to 'src/f_pc')
30 files changed, 129 insertions, 359 deletions
diff --git a/src/f_pc/f_pc_base.cpp b/src/f_pc/f_pc_base.cpp index 155d6b2be1..d0897bc53e 100644 --- a/src/f_pc/f_pc_base.cpp +++ b/src/f_pc/f_pc_base.cpp @@ -1,23 +1,18 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_base -// +/** + * f_pc_base.cpp + * Framework - Process Base + */ #include "f_pc/f_pc_base.h" #include "SSystem/SComponent/c_malloc.h" #include "SSystem/SComponent/c_phase.h" #include "SSystem/SStandard/s_basic.h" -#include "dol2asm.h" #include "f_pc/f_pc_pause.h" #include "global.h" -// -// Declarations: -// - /* 8002064C-8002065C 0010+00 s=0 e=14 z=0 None .text fpcBs_Is_JustOfType__Fii */ -BOOL fpcBs_Is_JustOfType(int pType1, int pType2) { - return checkEqual(pType1, pType2); +s32 fpcBs_Is_JustOfType(int pType1, int pType2) { + return checkEqual(pType1, pType2); // return pType2 == pType1 matches when return type is bool } /* ############################################################################################## */ diff --git a/src/f_pc/f_pc_create_iter.cpp b/src/f_pc/f_pc_create_iter.cpp index 5daf12a44d..c16f89da5d 100644 --- a/src/f_pc/f_pc_create_iter.cpp +++ b/src/f_pc/f_pc_create_iter.cpp @@ -1,17 +1,11 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_create_iter -// +/** + * f_pc_create_iter.cpp + * Framework - Process Create Iteration + */ #include "f_pc/f_pc_create_iter.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_create_req.h" -// -// Declarations: -// - /* 800209C8-80020A04 003C+00 s=0 e=1 z=0 None .text fpcCtIt_Method__FPFPvPv_iPv */ s32 fpcCtIt_Method(fpcCtIt_MethodFunc pJudge, void* pUserData) { node_method_data iter; diff --git a/src/f_pc/f_pc_create_req.cpp b/src/f_pc/f_pc_create_req.cpp index ae686f2518..a9fd48cc32 100644 --- a/src/f_pc/f_pc_create_req.cpp +++ b/src/f_pc/f_pc_create_req.cpp @@ -1,21 +1,15 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_create_req -// +/** + * f_pc_create_req.cpp + * Framework - Process Create Request + */ #include "f_pc/f_pc_create_req.h" #include "SSystem/SComponent/c_malloc.h" -#include "dol2asm.h" #include "f_pc/f_pc_create_iter.h" #include "f_pc/f_pc_create_tag.h" #include "f_pc/f_pc_deletor.h" #include "f_pc/f_pc_executor.h" #include "f_pc/f_pc_layer_iter.h" -#include "global.h" - -// -// Declarations: -// /* 80020ACC-80020AE8 001C+00 s=1 e=0 z=0 None .text fpcCtRq_isCreatingByID__FP10create_tagPUi */ diff --git a/src/f_pc/f_pc_create_tag.cpp b/src/f_pc/f_pc_create_tag.cpp index 08e513b116..bf94fa969c 100644 --- a/src/f_pc/f_pc_create_tag.cpp +++ b/src/f_pc/f_pc_create_tag.cpp @@ -1,15 +1,10 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_create_tag -// +/** + * f_pc_create_tag.cpp + * Framework - Process Create Tag + */ #include "f_pc/f_pc_create_tag.h" -#include "dol2asm.h" -#include "dolphin/types.h" -// -// Declarations: -// /* ############################################################################################## */ /* 803A3990-803A39A0 000C+04 s=1 e=2 z=0 None .data g_fpcCtTg_Queue */ diff --git a/src/f_pc/f_pc_creator.cpp b/src/f_pc/f_pc_creator.cpp index 1f500669c7..325cbba5bf 100644 --- a/src/f_pc/f_pc_creator.cpp +++ b/src/f_pc/f_pc_creator.cpp @@ -1,11 +1,9 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_creator -// +/** + * f_pc_creator.cpp + * Framework - Process Creator + */ #include "f_pc/f_pc_creator.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_base.h" #include "f_pc/f_pc_create_req.h" diff --git a/src/f_pc/f_pc_delete_tag.cpp b/src/f_pc/f_pc_delete_tag.cpp index 1f3193b29a..3f3911373d 100644 --- a/src/f_pc/f_pc_delete_tag.cpp +++ b/src/f_pc/f_pc_delete_tag.cpp @@ -1,15 +1,11 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_delete_tag -// +/** + * f_pc_delete_tag.cpp + * Framework - Process Delete Tag + */ #include "f_pc/f_pc_delete_tag.h" -#include "dol2asm.h" #include "global.h" -// -// Declarations: -// /* ############################################################################################## */ /* 803A39A0-803A39B0 000C+04 s=2 e=1 z=0 None .data g_fpcDtTg_Queue */ diff --git a/src/f_pc/f_pc_deletor.cpp b/src/f_pc/f_pc_deletor.cpp index a0a77f0946..ab63505a5f 100644 --- a/src/f_pc/f_pc_deletor.cpp +++ b/src/f_pc/f_pc_deletor.cpp @@ -1,22 +1,16 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_deletor -// +/** + * f_pc_deletor.cpp + * Framework - Process Deletor + */ #include "f_pc/f_pc_deletor.h" #include "SSystem/SComponent/c_list_iter.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_creator.h" #include "f_pc/f_pc_executor.h" #include "f_pc/f_pc_layer_iter.h" #include "f_pc/f_pc_load.h" #include "f_pc/f_pc_node.h" -// -// Declarations: -// - /* 80021040-80021060 0020+00 s=0 e=1 z=0 None .text fpcDt_IsComplete__Fv */ BOOL fpcDt_IsComplete() { return fpcDtTg_IsEmpty(); diff --git a/src/f_pc/f_pc_draw.cpp b/src/f_pc/f_pc_draw.cpp index 4ce1ebbebb..d00104e032 100644 --- a/src/f_pc/f_pc_draw.cpp +++ b/src/f_pc/f_pc_draw.cpp @@ -1,19 +1,13 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_draw -// +/** + * f_pc_draw.cpp + * Framework - Process Draw + */ #include "f_pc/f_pc_draw.h" #include "SSystem/SComponent/c_API_graphic.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_leaf.h" #include "f_pc/f_pc_pause.h" -// -// Declarations: -// - /* 80023954-800239F4 00A0+00 s=0 e=1 z=0 None .text fpcDw_Execute__FP18base_process_class */ s32 fpcDw_Execute(base_process_class* pProc) { if (!fpcPause_IsEnable(pProc, 2)) { diff --git a/src/f_pc/f_pc_draw_priority.cpp b/src/f_pc/f_pc_draw_priority.cpp index b87011f5a5..8486a3d9f5 100644 --- a/src/f_pc/f_pc_draw_priority.cpp +++ b/src/f_pc/f_pc_draw_priority.cpp @@ -1,15 +1,9 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_draw_priority -// +/** + * f_pc_draw_priority.cpp + * Framework - Process Draw Priority + */ #include "f_pc/f_pc_draw_priority.h" -#include "dol2asm.h" -#include "dolphin/types.h" - -// -// Declarations: -// /* 80021308-80021310 0008+00 s=0 e=1 z=0 None .text fpcDwPi_Get__FPC19draw_priority_class */ s16 fpcDwPi_Get(const draw_priority_class* pDwPi) { diff --git a/src/f_pc/f_pc_executor.cpp b/src/f_pc/f_pc_executor.cpp index 78b128d250..2a2c1bdd4c 100644 --- a/src/f_pc/f_pc_executor.cpp +++ b/src/f_pc/f_pc_executor.cpp @@ -1,19 +1,13 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_executor -// +/** + * f_pc_executor.cpp + * Framework - Process Executor + */ #include "f_pc/f_pc_executor.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_node.h" #include "f_pc/f_pc_pause.h" #include "f_pc/f_pc_searcher.h" -// -// Declarations: -// - /* 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); diff --git a/src/f_pc/f_pc_fstcreate_req.cpp b/src/f_pc/f_pc_fstcreate_req.cpp index 9c243d82de..8faa23bc45 100644 --- a/src/f_pc/f_pc_fstcreate_req.cpp +++ b/src/f_pc/f_pc_fstcreate_req.cpp @@ -1,17 +1,13 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_fstcreate_req -// +/** + * f_pc_fstcreate_req.cpp + * Framework - Process Fast Create Request + */ #include "f_pc/f_pc_fstcreate_req.h" #include "dol2asm.h" #include "dolphin/types.h" #include "f_pc/f_pc_load.h" -// -// Declarations: -// - /* 80023A48-80023A98 0050+00 s=1 e=3 z=52 None .text fpcFCtRq_Do__FP19fast_create_request */ s32 fpcFCtRq_Do(fast_create_request* pFstCreateReq) { if (pFstCreateReq->mpFastCreateFunc != NULL && diff --git a/src/f_pc/f_pc_layer.cpp b/src/f_pc/f_pc_layer.cpp index 2e06220f15..4f1920f8dd 100644 --- a/src/f_pc/f_pc_layer.cpp +++ b/src/f_pc/f_pc_layer.cpp @@ -1,19 +1,13 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_layer -// +/** + * f_pc_layer.cpp + * Framework - Process Layer + */ #include "f_pc/f_pc_layer.h" -#include "dol2asm.h" #include "f_pc/f_pc_layer.h" #include "f_pc/f_pc_method.h" #include "f_pc/f_pc_method_iter.h" #include "f_pc/f_pc_method_tag.h" -#include "global.h" - -// -// Declarations: -// /* 80021588-800215A8 0020+00 s=0 e=4 z=0 None .text fpcLy_CancelQTo__FP24process_method_tag_class */ diff --git a/src/f_pc/f_pc_layer_iter.cpp b/src/f_pc/f_pc_layer_iter.cpp index ad6208942f..44f47edaa9 100644 --- a/src/f_pc/f_pc_layer_iter.cpp +++ b/src/f_pc/f_pc_layer_iter.cpp @@ -1,18 +1,12 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_layer_iter -// +/** + * f_pc_layer_iter.cpp + * Framework - Process Layer Iterator + */ #include "f_pc/f_pc_layer_iter.h" #include "SSystem/SComponent/c_node_iter.h" #include "SSystem/SComponent/c_tag_iter.h" #include "SSystem/SComponent/c_tree_iter.h" -#include "dol2asm.h" -#include "dolphin/types.h" - -// -// Declarations: -// /* 80021B88-80021BC0 0038+00 s=1 e=4 z=0 None .text fpcLyIt_OnlyHere__FP11layer_classPFPvPv_iPv */ diff --git a/src/f_pc/f_pc_layer_tag.cpp b/src/f_pc/f_pc_layer_tag.cpp index 371dd48a09..bf094a563a 100644 --- a/src/f_pc/f_pc_layer_tag.cpp +++ b/src/f_pc/f_pc_layer_tag.cpp @@ -1,15 +1,9 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_layer_tag -// +/** + * f_pc_layer_tag.cpp + * Framework - Process Layer Tag + */ #include "f_pc/f_pc_layer_tag.h" -#include "dol2asm.h" -#include "dolphin/types.h" - -// -// Declarations: -// /* 80021CD4-80021DCC 00F8+00 s=1 e=1 z=0 None .text * fpcLyTg_ToQueue__FP26layer_management_tag_classUiUsUs */ diff --git a/src/f_pc/f_pc_leaf.cpp b/src/f_pc/f_pc_leaf.cpp index 6da1588191..37ba0bb318 100644 --- a/src/f_pc/f_pc_leaf.cpp +++ b/src/f_pc/f_pc_leaf.cpp @@ -1,15 +1,9 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_leaf -// +/** + * f_pc_leaf.cpp + * Framework - Process Leaf + */ #include "f_pc/f_pc_leaf.h" -#include "dol2asm.h" -#include "dolphin/types.h" - -// -// Declarations: -// /* 80021A00-80021A24 0024+00 s=0 e=4 z=2 None .text fpcLf_GetPriority__FPC14leafdraw_class */ s16 fpcLf_GetPriority(const leafdraw_class* pLeaf) { diff --git a/src/f_pc/f_pc_line.cpp b/src/f_pc/f_pc_line.cpp index 29cf9891b3..b5e0397b33 100644 --- a/src/f_pc/f_pc_line.cpp +++ b/src/f_pc/f_pc_line.cpp @@ -1,17 +1,11 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_line -// +/** + * f_pc_line.cpp + * Framework - Process Line + */ #include "f_pc/f_pc_line.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_node.h" -// -// Declarations: -// - #define ARRAY_SIZE(o) (sizeof((o)) / sizeof(*(o))) /* ############################################################################################## */ diff --git a/src/f_pc/f_pc_line_iter.cpp b/src/f_pc/f_pc_line_iter.cpp index 739471a4a7..ce6f02b5ff 100644 --- a/src/f_pc/f_pc_line_iter.cpp +++ b/src/f_pc/f_pc_line_iter.cpp @@ -1,21 +1,16 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_line_iter -// +/** + * f_pc_line_iter.cpp + * Framework - Process Line Iterator + */ #include "f_pc/f_pc_line_iter.h" #include "SSystem/SComponent/c_tag_iter.h" #include "SSystem/SComponent/c_tree_iter.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_base.h" #include "f_pc/f_pc_create_tag.h" #include "f_pc/f_pc_layer.h" #include "f_pc/f_pc_line.h" -// -// Declarations: -// /* 800236C0-80023728 0068+00 s=1 e=0 z=0 None .text * fpcLnIt_MethodCall__FP16create_tag_classP13method_filter */ diff --git a/src/f_pc/f_pc_line_tag.cpp b/src/f_pc/f_pc_line_tag.cpp index 219d194c6d..29ac73c080 100644 --- a/src/f_pc/f_pc_line_tag.cpp +++ b/src/f_pc/f_pc_line_tag.cpp @@ -1,16 +1,11 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_line_tag -// +/** + * f_pc_line_tag.cpp + * Framework - Process Line Tag + */ #include "f_pc/f_pc_line_tag.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_line.h" -// -// Declarations: -// /* 800235A8-80023600 0058+00 s=0 e=1 z=0 None .text fpcLnTg_Move__FP8line_tagi */ s32 fpcLnTg_Move(line_tag* pLineTag, int newLineListID) { diff --git a/src/f_pc/f_pc_load.cpp b/src/f_pc/f_pc_load.cpp index ae8cbf425d..b309c4849b 100644 --- a/src/f_pc/f_pc_load.cpp +++ b/src/f_pc/f_pc_load.cpp @@ -1,7 +1,7 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_load -// +/** + * f_pc_load.cpp + * Framework - Process Loader + */ #include "f_pc/f_pc_load.h" #include "SSystem/SComponent/c_phase.h" @@ -12,10 +12,6 @@ extern s32 cDyl_IsLinked(s16 procName); extern s32 cDyl_Unlink(s16 procName); extern s32 cDyl_LinkASync(s16 procName); -// -// Declarations: -// - /* 80021FB8-80022008 0050+00 s=0 e=1 z=0 None .text fpcLd_Use__Fs */ BOOL fpcLd_Use(s16 procName) { if (fpcLd_IsLoaded(procName) == TRUE && fpcLd_Load(procName) == cPhs_COMPLEATE_e) diff --git a/src/f_pc/f_pc_manager.cpp b/src/f_pc/f_pc_manager.cpp index 56f9350bf3..791ea1a2c2 100644 --- a/src/f_pc/f_pc_manager.cpp +++ b/src/f_pc/f_pc_manager.cpp @@ -1,11 +1,10 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_manager -// +/** + * f_pc_manager.cpp + * Framework - Process Manager + */ +#include "d/d_error_msg.h" #include "f_pc/f_pc_manager.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_base.h" #include "f_pc/f_pc_create_iter.h" #include "f_pc/f_pc_creator.h" @@ -25,81 +24,7 @@ #include "f_pc/f_pc_pause.h" #include "f_pc/f_pc_priority.h" #include "f_pc/f_pc_profile.h" - #include "SSystem/SComponent/c_API_graphic.h" -#include "d/com/d_com_inf_game.h" -#include "m_Do/m_Do_audio.h" - -// -// Types: -// - -struct dShutdownErrorMsg_c { - /* 8009D790 */ static bool execute(); -}; - -struct dDvdErrorMsg_c { - /* 8009D354 */ static u8 execute(); -}; - -// -// Forward References: -// - -extern "C" void fpcM_Draw__FPv(); -extern "C" static void fpcM_DrawIterater__FPFPvPv_i(); -extern "C" void fpcM_Execute__FPv(); -extern "C" void fpcM_Delete__FPv(); -extern "C" void fpcM_IsCreating__FUi(); -extern "C" void fpcM_Management__FPFv_vPFv_v(); -extern "C" void fpcM_Init__Fv(); -extern "C" void fpcM_FastCreate__FsPFPv_iPvPv(); -extern "C" void fpcM_IsPause__FPvUc(); -extern "C" void fpcM_PauseEnable__FPvUc(); -extern "C" void fpcM_PauseDisable__FPvUc(); -extern "C" void fpcM_JudgeInLayer__FUiPFPvPv_PvPv(); - -// -// External References: -// - -extern "C" void fpcCtIt_JudgeInLayer__FUiPFPvPv_PvPv(); -extern "C" void fpcCt_IsCreatingByID__FUi(); -extern "C" void fpcCt_Handler__Fv(); -extern "C" void fpcDt_Handler__Fv(); -extern "C" void fpcDt_Delete__FPv(); -extern "C" void fpcEx_Execute__FP18base_process_class(); -extern "C" void fpcEx_Handler__FPFPvPv_i(); -extern "C" void fpcLy_RootLayer__Fv(); -extern "C" void fpcLy_CurrentLayer__Fv(); -extern "C" void fpcLy_Layer__FUi(); -extern "C" void fpcLy_Create__FP11layer_classPvP15node_list_classi(); -extern "C" void fpcLyIt_OnlyHere__FP11layer_classPFPvPv_iPv(); -extern "C" void fpcLyIt_Judge__FP11layer_classPFPvPv_PvPv(); -extern "C" void fpcLn_Create__Fv(); -extern "C" void fpcPi_Handler__Fv(); -extern "C" void fpcPause_IsEnable__FPvUc(); -extern "C" void fpcPause_Enable__FPvUc(); -extern "C" void fpcPause_Disable__FPvUc(); -extern "C" void fpcDw_Execute__FP18base_process_class(); -extern "C" void fpcDw_Handler__FPFPFPvPv_i_iPFPvPv_i(); -extern "C" void fpcFCtRq_Request__FP11layer_classsPFPvPv_iPvPv(); -extern "C" void drawSimpleModel__14dComIfG_play_cFv(); -extern "C" void stopTime__11dLib_time_cFv(); -extern "C" void startTime__11dLib_time_cFv(); -extern "C" void peekData__13dDlst_peekZ_cFv(); -extern "C" void execute__14dDvdErrorMsg_cFv(); -extern "C" void execute__19dShutdownErrorMsg_cFv(); -extern "C" void cAPIGph_Painter__Fv(); -extern "C" void MtxInit__Fv(); -extern "C" void pauseAllGameSound__10Z2SoundMgrFb(); -extern "C" void stopPatternedRumble__Q210JUTGamePad7CRumbleFs(); -extern "C" void _savegpr_28(); -extern "C" void _restgpr_28(); -extern "C" extern u8 m_gamePad__8mDoCPd_c[16]; -// -// Declarations: -// /* 800220A0-800220C0 0020+00 s=1 e=1 z=0 None .text fpcM_Draw__FPv */ void fpcM_Draw(void* pProc) { diff --git a/src/f_pc/f_pc_method.cpp b/src/f_pc/f_pc_method.cpp index a4af37cd0a..bb4fc1aa0d 100644 --- a/src/f_pc/f_pc_method.cpp +++ b/src/f_pc/f_pc_method.cpp @@ -1,15 +1,9 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_method -// +/** + * f_pc_method.cpp + * Framework - Process Method + */ #include "f_pc/f_pc_method.h" -#include "dol2asm.h" -#include "dolphin/types.h" - -// -// Declarations: -// /* 80022428-80022460 0038+00 s=4 e=6 z=0 None .text fpcMtd_Method__FPFPv_iPv */ s32 fpcMtd_Method(process_method_func pFunc, void* pUserData) { diff --git a/src/f_pc/f_pc_method_iter.cpp b/src/f_pc/f_pc_method_iter.cpp index ddc72e3852..529eb7899a 100644 --- a/src/f_pc/f_pc_method_iter.cpp +++ b/src/f_pc/f_pc_method_iter.cpp @@ -1,15 +1,9 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_method_iter -// +/** + * f_pc_method_iter.cpp + * Framework - Process Method Iteration + */ #include "f_pc/f_pc_method_iter.h" -#include "dol2asm.h" -#include "dolphin/types.h" - -// -// Declarations: -// /* 80023764-80023788 0024+00 s=0 e=1 z=0 None .text fpcMtdIt_Method__FP15node_list_classPFPv_i */ diff --git a/src/f_pc/f_pc_method_tag.cpp b/src/f_pc/f_pc_method_tag.cpp index db16d95652..f01c94309b 100644 --- a/src/f_pc/f_pc_method_tag.cpp +++ b/src/f_pc/f_pc_method_tag.cpp @@ -1,15 +1,9 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_method_tag -// +/** + * f_pc_method_tag.cpp + * Framework - Process Method Tag + */ #include "f_pc/f_pc_method_tag.h" -#include "dol2asm.h" -#include "dolphin/types.h" - -// -// Declarations: -// /* 80023788-800237B8 0030+00 s=0 e=1 z=0 None .text fpcMtdTg_Do__FP24process_method_tag_class */ diff --git a/src/f_pc/f_pc_node.cpp b/src/f_pc/f_pc_node.cpp index ffcfe0e489..24a78adcba 100644 --- a/src/f_pc/f_pc_node.cpp +++ b/src/f_pc/f_pc_node.cpp @@ -1,17 +1,11 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_node -// +/** + * f_pc_node.cpp + * Framework - Process Node + */ #include "f_pc/f_pc_node.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_layer_iter.h" -// -// Declarations: -// - /* 800224F0-80022514 0024+00 s=1 e=1 z=0 None .text fpcNd_DrawMethod__FP21nodedraw_method_classPv */ s32 fpcNd_DrawMethod(nodedraw_method_class* pNodeMethod, void* pData) { @@ -118,7 +112,9 @@ s32 fpcNd_Create(process_node_class* pProcNode1) { /* ############################################################################################## */ /* 803A3A20-803A3A38 0014+04 s=0 e=9 z=0 None .data g_fpcNd_Method */ nodedraw_method_class g_fpcNd_Method = { - (process_method_func)fpcNd_Create, (process_method_func)fpcNd_Delete, - (process_method_func)fpcNd_Execute, (process_method_func)fpcNd_IsDelete, - (process_method_func)fpcNd_Draw, + (process_method_func)fpcNd_Create, + (process_method_func)fpcNd_Delete, + (process_method_func)fpcNd_Execute, + (process_method_func)fpcNd_IsDelete, + (process_method_func)fpcNd_Draw }; diff --git a/src/f_pc/f_pc_node_req.cpp b/src/f_pc/f_pc_node_req.cpp index 7c239ee9eb..b6d38e05b0 100644 --- a/src/f_pc/f_pc_node_req.cpp +++ b/src/f_pc/f_pc_node_req.cpp @@ -1,13 +1,11 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_node_req -// +/** + * f_pc_node_req.cpp + * Framework - Process Node Request + */ #include "f_pc/f_pc_node_req.h" #include "SSystem/SComponent/c_malloc.h" #include "SSystem/SStandard/s_basic.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_base.h" #include "f_pc/f_pc_create_req.h" #include "f_pc/f_pc_creator.h" @@ -16,10 +14,6 @@ #include "f_pc/f_pc_layer.h" #include "f_pc/f_pc_stdcreate_req.h" -// -// Declarations: -// - /* 800227C4-80022804 0040+00 s=1 e=0 z=0 None .text fpcNdRq_RequestQTo__FP19node_create_request */ void fpcNdRq_RequestQTo(node_create_request* pNodeCreateReq) { diff --git a/src/f_pc/f_pc_pause.cpp b/src/f_pc/f_pc_pause.cpp index b73a436775..3fd9a81a14 100644 --- a/src/f_pc/f_pc_pause.cpp +++ b/src/f_pc/f_pc_pause.cpp @@ -1,17 +1,11 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_pause -// +/** + * f_pc_pause.cpp + * Framework - Process Pause + */ #include "f_pc/f_pc_pause.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_layer_iter.h" -// -// Declarations: -// - /* 80023844-80023868 0024+00 s=0 e=3 z=0 None .text fpcPause_IsEnable__FPvUc */ s32 fpcPause_IsEnable(void* pProcess, u8 flag) { base_process_class* pProc = (base_process_class*)pProcess; diff --git a/src/f_pc/f_pc_priority.cpp b/src/f_pc/f_pc_priority.cpp index 1ae9e4492d..7ba902b769 100644 --- a/src/f_pc/f_pc_priority.cpp +++ b/src/f_pc/f_pc_priority.cpp @@ -1,19 +1,13 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_priority -// +/** + * f_pc_priority.cpp + * Framework - Process Priority + */ #include "f_pc/f_pc_priority.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_base.h" #include "f_pc/f_pc_layer.h" #include "f_pc/f_pc_layer_tag.h" -// -// Declarations: -// - /* 80023130-80023150 0020+00 s=0 e=1 z=0 None .text fpcPi_IsInQueue__FP22process_priority_class */ s32 fpcPi_IsInQueue(process_priority_class* pPi) { @@ -179,4 +173,4 @@ s32 fpcPi_Init(process_priority_class* pPi, void* pUserData, unsigned int layer, /* ############################################################################################## */ /* 804505F0-804505F8 0008+00 s=0 e=5 z=1 None .sdata None */ -SECTION_SDATA s8 data_804505F0 = 0xFF; +s8 data_804505F0 = 0xFF; diff --git a/src/f_pc/f_pc_profile.cpp b/src/f_pc/f_pc_profile.cpp index 5c39867585..28e38b5fe7 100644 --- a/src/f_pc/f_pc_profile.cpp +++ b/src/f_pc/f_pc_profile.cpp @@ -1,12 +1,9 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_profile -// - +/** + * f_pc_profile.cpp + * Framework - Process Profile + */ #include "f_pc/f_pc_profile.h" -#include "dol2asm.h" -#include "dolphin/types.h" /* ############################################################################################## */ /* 80450D50-80450D58 0004+04 s=1 e=0 z=2 None .sbss g_fpcPf_ProfileList_p */ diff --git a/src/f_pc/f_pc_searcher.cpp b/src/f_pc/f_pc_searcher.cpp index 3eef07bbf0..16a9b8e741 100644 --- a/src/f_pc/f_pc_searcher.cpp +++ b/src/f_pc/f_pc_searcher.cpp @@ -1,15 +1,9 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_searcher -// +/** + * f_pc_searcher.cpp + * Framework - Process Searcher + */ #include "f_pc/f_pc_searcher.h" -#include "dol2asm.h" -#include "dolphin/types.h" - -// -// Declarations: -// /* 80023578-80023590 0018+00 s=0 e=3 z=77 None .text fpcSch_JudgeForPName__FPvPv */ void* fpcSch_JudgeForPName(void* pProc, void* pUserData) { diff --git a/src/f_pc/f_pc_stdcreate_req.cpp b/src/f_pc/f_pc_stdcreate_req.cpp index 77f2f9503a..c1811c92a8 100644 --- a/src/f_pc/f_pc_stdcreate_req.cpp +++ b/src/f_pc/f_pc_stdcreate_req.cpp @@ -1,19 +1,13 @@ -// -// Generated By: dol2asm -// Translation Unit: f_pc/f_pc_stdcreate_req -// +/** + * f_pc_stdcreate_req.cpp + * Framework - Process Standard Create Request + */ #include "f_pc/f_pc_stdcreate_req.h" -#include "dol2asm.h" -#include "dolphin/types.h" #include "f_pc/f_pc_base.h" #include "f_pc/f_pc_load.h" #include "f_pc/f_pc_node.h" -// -// Declarations: -// - /* 80023B70-80023BC4 0054+00 s=1 e=0 z=5 None .text * fpcSCtRq_phase_Load__FP29standard_create_request_class */ s32 fpcSCtRq_phase_Load(standard_create_request_class* pStdCreateReq) { |
