summaryrefslogtreecommitdiff
path: root/src/d/d_picture_box.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_picture_box.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_picture_box.cpp')
-rw-r--r--src/d/d_picture_box.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/d/d_picture_box.cpp b/src/d/d_picture_box.cpp
index a4bab1f0..c3584d39 100644
--- a/src/d/d_picture_box.cpp
+++ b/src/d/d_picture_box.cpp
@@ -5,8 +5,6 @@
#include "d/dolzel.h" // IWYU pragma: keep
#include "d/d_picture_box.h"
-#include "d/d_priority.h"
-#include "d/d_procname.h"
#include "f_op/f_op_msg.h"
/* 802258C8-80225954 .text dPb_erasePicture__Fv */
@@ -290,7 +288,7 @@ static cPhs_State dPb_Create(msg_class* i_this) {
/* Nonmatching */
}
-msg_method_class l_dPb_Method = {
+static msg_method_class l_dPb_Method = {
(process_method_func)dPb_Create,
(process_method_func)dPb_Delete,
(process_method_func)dPb_Execute,
@@ -299,15 +297,15 @@ msg_method_class l_dPb_Method = {
};
msg_process_profile_definition g_profile_PB = {
- /* LayerID */ fpcLy_CURRENT_e,
- /* ListID */ 0x000C,
- /* ListPrio */ fpcPi_CURRENT_e,
- /* ProcName */ PROC_PB,
+ /* Layer ID */ fpcLy_CURRENT_e,
+ /* List ID */ 0x000C,
+ /* List Prio */ fpcPi_CURRENT_e,
+ /* Proc Name */ fpcNm_PB_e,
/* Proc SubMtd */ &g_fpcLf_Method.base,
/* Size */ sizeof(sub_pb_class),
- /* SizeOther */ 0,
+ /* Size Other */ 0,
/* Parameters */ 0,
/* Leaf SubMtd */ &g_fopMsg_Method,
- /* Priority */ PRIO_PB,
- /* Actor SubMtd */ &l_dPb_Method,
+ /* Draw Prio */ fpcDwPi_PB_e,
+ /* Msg SubMtd */ &l_dPb_Method,
};