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
+9 -11
View File
@@ -10,8 +10,6 @@
#include "d/d_com_inf_game.h"
#include "d/res/res_pw.h"
#include "d/d_kankyo_rain.h"
#include "d/d_procname.h"
#include "d/d_priority.h"
#include "f_op/f_op_camera.h"
#include "f_pc/f_pc_manager.h"
#include "d/d_cc_d.h"
@@ -222,7 +220,7 @@ void action_dousa(pw_class* i_this) {
if (i_this->mBehaviorType == InvisibleAtStart) {
i_this->m38C = fopAcM_searchPlayerAngleY(i_this);
}
i_this->mKanteraID = fopAcM_create(PROC_KANTERA, 0xFF000001, &i_this->m2CC, i_this->current.roomNo);
i_this->mKanteraID = fopAcM_create(fpcNm_KANTERA_e, 0xFF000001, &i_this->m2CC, i_this->current.roomNo);
if (i_this->mKanteraID != fpcM_ERROR_PROCESS_ID_e) {
i_this->m382 = 5;
switch (i_this->mBehaviorType) {
@@ -248,7 +246,7 @@ void action_dousa(pw_class* i_this) {
fopAc_ac_c* kantera;
if (i_this->mKanteraID != fpcM_ERROR_PROCESS_ID_e &&
fopAcM_SearchByID(i_this->mKanteraID, &kantera) && kantera != NULL &&
fopAcM_GetName(kantera) == PROC_KANTERA)
fopAcM_GetName(kantera) == fpcNm_KANTERA_e)
{
kantera->current.pos = i_this->m2CC;
kantera->current.angle.y = i_this->shape_angle.y;
@@ -556,18 +554,18 @@ static actor_method_class l_daPW_Method = {
};
actor_process_profile_definition g_profile_PW = {
/* LayerID */ fpcLy_CURRENT_e,
/* ListID */ 0x0007,
/* ListPrio */ fpcPi_CURRENT_e,
/* ProcName */ PROC_PW,
/* Layer ID */ fpcLy_CURRENT_e,
/* List ID */ 0x0007,
/* List Prio */ fpcPi_CURRENT_e,
/* Proc Name */ fpcNm_PW_e,
/* Proc SubMtd */ &g_fpcLf_Method.base,
/* Size */ sizeof(pw_class),
/* SizeOther */ 0,
/* Size Other */ 0,
/* Parameters */ 0,
/* Leaf SubMtd */ &g_fopAc_Method.base,
/* Priority */ PRIO_PW,
/* Draw Prio */ fpcDwPi_PW_e,
/* Actor SubMtd */ &l_daPW_Method,
/* Status */ fopAcStts_SHOWMAP_e | fopAcStts_CULL_e | fopAcStts_UNK40000_e | fopAcStts_UNK80000_e,
/* Group */ fopAc_ENEMY_e,
/* CullType */ fopAc_CULLBOX_CUSTOM_e,
/* Cull Type */ fopAc_CULLBOX_CUSTOM_e,
};