From 102042628fa139f4e509251bdd9095493f031e28 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Tue, 26 May 2026 00:11:58 -0400 Subject: 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 --- src/d/d_gameover.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/d/d_gameover.cpp') diff --git a/src/d/d_gameover.cpp b/src/d/d_gameover.cpp index 37461fa3..a0f7a63b 100644 --- a/src/d/d_gameover.cpp +++ b/src/d/d_gameover.cpp @@ -6,8 +6,6 @@ #include "d/dolzel.h" // IWYU pragma: keep #include "d/d_gameover.h" #include "d/d_meter.h" -#include "d/d_procname.h" -#include "d/d_priority.h" #include "m_Do/m_Do_graphic.h" #include "m_Do/m_Do_mtx.h" #include "m_Do/m_Do_Reset.h" @@ -442,7 +440,7 @@ static cPhs_State dGameover_Create(msg_class* i_this) { return ((dGameover_c*)i_this)->_create(); } -msg_method_class l_dGameover_Method = { +static msg_method_class l_dGameover_Method = { (process_method_func)dGameover_Create, (process_method_func)dGameover_Delete, (process_method_func)dGameover_Execute, @@ -451,15 +449,15 @@ msg_method_class l_dGameover_Method = { }; msg_process_profile_definition g_profile_GAMEOVER = { - /* LayerID */ fpcLy_CURRENT_e, - /* ListID */ 12, - /* ListPrio */ fpcPi_CURRENT_e, - /* ProcName */ PROC_GAMEOVER, + /* Layer ID */ fpcLy_CURRENT_e, + /* List ID */ 12, + /* List Prio */ fpcPi_CURRENT_e, + /* Proc Name */ fpcNm_GAMEOVER_e, /* Proc SubMtd */ &g_fpcLf_Method.base, /* Size */ sizeof(dGameover_c), - /* SizeOther */ 0, + /* Size Other */ 0, /* Parameters */ 0, /* Leaf SubMtd */ &g_fopMsg_Method, - /* Priority */ PRIO_GAMEOVER, + /* Draw Prio */ fpcDwPi_GAMEOVER_e, /* Msg SubMtd */ &l_dGameover_Method, }; -- cgit v1.2.3