Add fopAcM_Register... macros (for debug build) (#2295)

This commit is contained in:
Huitzi 2025-01-27 23:51:59 -05:00 committed by GitHub
parent 7c5006e446
commit 6b0e392c13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 0 deletions

View File

@ -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<actor_class*>(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<actor_class*>(i_this); \
"Create -> " actor_name_str "\n"
class J3DModelData; // placeholder
class JKRHeap;
class cM3dGPla;