From 4d4c482b9a712dc1a32a4bb7a39b696a3089485e Mon Sep 17 00:00:00 2001 From: Huitzi <73550465+marwernerh@users.noreply.github.com> Date: Mon, 27 Jan 2025 23:51:59 -0500 Subject: [PATCH] Add fopAcM_Register... macros (for debug build) (#2295) --- include/f_op/f_op_actor_mng.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/f_op/f_op_actor_mng.h b/include/f_op/f_op_actor_mng.h index 70ede38698..549db98020 100644 --- a/include/f_op/f_op_actor_mng.h +++ b/include/f_op/f_op_actor_mng.h @@ -24,6 +24,22 @@ fopAcM_OnCondition(ptr, fopAcCnd_INIT_e); \ } +#define fopAcM_RegisterDeleteID(i_this, actor_name_str) \ + const fpc_ProcID procID = fopAcM_GetID(i_this); \ + "Delete -> " actor_name_str "(id=%d)\n" + +#define fopAcM_RegisterCreateID(actor_class, i_this, actor_name_str) \ + static_cast(i_this); \ + const fpc_ProcID procID = fopAcM_GetID(i_this); \ + "Create -> " actor_name_str "(id=%d)\n" + +#define fopAcM_RegisterDelete(i_this, actor_name_str) \ + "Delete -> " actor_name_str "\n" + +#define fopAcM_RegisterCreate(actor_class, i_this, actor_name_str) \ + static_cast(i_this); \ + "Create -> " actor_name_str "\n" + class J3DModelData; // placeholder class JKRHeap; class cM3dGPla;