summaryrefslogtreecommitdiff
path: root/src/d/d_scope.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_scope.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_scope.cpp')
-rw-r--r--src/d/d_scope.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/d/d_scope.cpp b/src/d/d_scope.cpp
index 159e886c..42dedd02 100644
--- a/src/d/d_scope.cpp
+++ b/src/d/d_scope.cpp
@@ -5,8 +5,6 @@
#include "d/dolzel.h" // IWYU pragma: keep
#include "d/d_scope.h"
-#include "d/d_priority.h"
-#include "d/d_procname.h"
#include "f_op/f_op_msg.h"
/* 80237568-802375E8 .text draw__13dDlst_2DSCP_cFv */
@@ -214,7 +212,7 @@ static cPhs_State dScp_Create(msg_class* i_this) {
/* Nonmatching */
}
-msg_method_class l_dPb_Method = {
+static msg_method_class l_dPb_Method = {
(process_method_func)dScp_Create,
(process_method_func)dScp_Delete,
(process_method_func)dScp_Execute,
@@ -223,15 +221,15 @@ msg_method_class l_dPb_Method = {
};
msg_process_profile_definition g_profile_SCP = {
- /* LayerID */ fpcLy_CURRENT_e,
- /* ListID */ 0x000C,
- /* ListPrio */ fpcPi_CURRENT_e,
- /* ProcName */ PROC_SCP,
+ /* Layer ID */ fpcLy_CURRENT_e,
+ /* List ID */ 0x000C,
+ /* List Prio */ fpcPi_CURRENT_e,
+ /* Proc Name */ fpcNm_SCP_e,
/* Proc SubMtd */ &g_fpcLf_Method.base,
/* Size */ sizeof(sub_scp_class),
- /* SizeOther */ 0,
+ /* Size Other */ 0,
/* Parameters */ 0,
/* Leaf SubMtd */ &g_fopMsg_Method,
- /* Priority */ PRIO_SCP,
- /* Actor SubMtd */ &l_dPb_Method,
+ /* Draw Prio */ fpcDwPi_SCP_e,
+ /* Msg SubMtd */ &l_dPb_Method,
};