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
@@ -6,8 +6,6 @@
#include "d/dolzel_rel.h" // IWYU pragma: keep
#include "d/actor/d_a_tama.h"
#include "d/d_com_inf_game.h"
#include "d/d_procname.h"
#include "d/d_priority.h"
#include "d/d_npc.h"
static dCcD_SrcSph l_sph_src = {
@@ -79,7 +77,7 @@ BOOL daTama_c::_execute() {
fopAc_ac_c* hitac = hitobj->GetAc();
if (hitac != NULL) {
if (hitac != partner) {
if (fopAcM_GetName(hitac) == PROC_PLAYER) {
if (fopAcM_GetName(hitac) == fpcNm_PLAYER_e) {
partner->field_0x6ba = 1;
}
} else {
@@ -148,18 +146,18 @@ static actor_method_class l_daTama_Method = {
};
actor_process_profile_definition g_profile_TAMA = {
/* LayerID */ fpcLy_CURRENT_e,
/* ListID */ 0x0009,
/* ListPrio */ fpcPi_CURRENT_e,
/* ProcName */ PROC_TAMA,
/* Layer ID */ fpcLy_CURRENT_e,
/* List ID */ 0x0009,
/* List Prio */ fpcPi_CURRENT_e,
/* Proc Name */ fpcNm_TAMA_e,
/* Proc SubMtd */ &g_fpcLf_Method.base,
/* Size */ sizeof(daTama_c),
/* SizeOther */ 0,
/* Size Other */ 0,
/* Parameters */ 0,
/* Leaf SubMtd */ &g_fopAc_Method.base,
/* Priority */ PRIO_TAMA,
/* Draw Prio */ fpcDwPi_TAMA_e,
/* Actor SubMtd */ &l_daTama_Method,
/* Status */ fopAcStts_UNK4000_e | fopAcStts_UNK40000_e,
/* Group */ fopAc_ACTOR_e,
/* CullType */ fopAc_CULLBOX_0_e,
/* Cull Type */ fopAc_CULLBOX_0_e,
};