summaryrefslogtreecommitdiff
path: root/src/d/d_gameover.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-05-26 00:11:58 -0400
committerGitHub <noreply@github.com>2026-05-26 00:11:58 -0400
commit102042628fa139f4e509251bdd9095493f031e28 (patch)
treea5b37fcd76d8c0105f2e9b379b7e2daa7eae2266 /src/d/d_gameover.cpp
parent79277cb2b2672104b87172d8ff620f923f450658 (diff)
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
Diffstat (limited to 'src/d/d_gameover.cpp')
-rw-r--r--src/d/d_gameover.cpp16
1 files changed, 7 insertions, 9 deletions
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,
};