Process profiles and enums cleanup (#1031)

* Fix some profile comments

* Add missing static for local visibility data

* Move proc name and draw priority enums to f_pc

* Add _e suffix to daObjBarrier_c proc enum

* Change proc name enum format to match TP

* Change draw prio enum format to match TP

* Change ItemNo enum format, finish fixing item names

* Revert static for cb1 hio

* Clean up formatting of profile comments

* Fix comment alignment
This commit is contained in:
LagoLunatic
2026-05-26 00:11:58 -04:00
committed by GitHub
parent 79277cb2b2
commit 102042628f
540 changed files with 9562 additions and 10530 deletions
+8 -10
View File
@@ -11,8 +11,6 @@
#include "d/d_bg_s_lin_chk.h"
#include "d/d_s_play.h"
#include "d/d_com_inf_game.h"
#include "d/d_procname.h"
#include "d/d_priority.h"
#include "d/d_bg_s_func.h"
#include "d/res/res_link.h"
#include "f_op/f_op_actor_mng.h"
@@ -268,7 +266,7 @@ static cPhs_State daEsa_Create(fopAc_ac_c* i_actor) {
params->base.angle.y = i_this->current.angle.y;
params->base.angle.z = cM_rndF(65536.0f);
params->base.parameters = 0x000000FF;
fpcM_Create(PROC_ESA, 0, params);
fpcM_Create(fpcNm_ESA_e, 0, params);
}
}
}
@@ -291,18 +289,18 @@ static actor_method_class l_daEsa_Method = {
};
actor_process_profile_definition g_profile_ESA = {
/* LayerID */ fpcLy_CURRENT_e,
/* ListID */ 0x0007,
/* ListPrio */ fpcPi_CURRENT_e,
/* ProcName */ PROC_ESA,
/* Layer ID */ fpcLy_CURRENT_e,
/* List ID */ 0x0007,
/* List Prio */ fpcPi_CURRENT_e,
/* Proc Name */ fpcNm_ESA_e,
/* Proc SubMtd */ &g_fpcLf_Method.base,
/* Size */ sizeof(esa_class),
/* SizeOther */ 0,
/* Size Other */ 0,
/* Parameters */ 0,
/* Leaf SubMtd */ &g_fopAc_Method.base,
/* Priority */ PRIO_ESA,
/* Draw Prio */ fpcDwPi_ESA_e,
/* Actor SubMtd */ &l_daEsa_Method,
/* Status */ fopAcStts_CULL_e | fopAcStts_UNK4000_e | fopAcStts_UNK40000_e,
/* Group */ fopAc_ACTOR_e,
/* CullType */ fopAc_CULLBOX_0_e,
/* Cull Type */ fopAc_CULLBOX_0_e,
};