Add helper macros to simplify fopAcM_ct-related version differences

This commit is contained in:
LagoLunatic
2026-05-07 16:13:55 -04:00
parent e1f5b7e23b
commit cf210f963b
47 changed files with 102 additions and 311 deletions
+2 -6
View File
@@ -109,15 +109,11 @@ bool Act_c::create_heap() {
/* 0000045C-00000704 .text _create__Q212daObjSwlight5Act_cFv */
cPhs_State Act_c::_create() {
#if VERSION > VERSION_DEMO
fopAcM_ct(this, Act_c);
#endif
fopAcM_ct_Retail(this, Act_c);
mF24 = prm_get_type();
#if VERSION == VERSION_DEMO
fopAcM_ct(this, Act_c);
#endif
fopAcM_ct_Demo(this, Act_c);
cPhs_State PVar2 = dComIfG_resLoad(&mPhase, M_arcname);
if (PVar2 == cPhs_COMPLEATE_e) {