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
@@ -2160,15 +2160,11 @@ static BOOL CheckCreateHeap(fopAc_ac_c* i_this) {
/* 00004980-00004AD8 .text _create__11daNpc_Bs1_cFv */
cPhs_State daNpc_Bs1_c::_create() {
#if VERSION > VERSION_DEMO
fopAcM_ct(this, daNpc_Bs1_c);
#endif
fopAcM_ct_Retail(this, daNpc_Bs1_c);
cPhs_State phase_state = dComIfG_resLoad(&mPhase, "Bs");
if (phase_state == cPhs_COMPLEATE_e) {
#if VERSION == VERSION_DEMO
fopAcM_ct(this, daNpc_Bs1_c);
#endif
fopAcM_ct_Demo(this, daNpc_Bs1_c);
mType = fopAcM_GetParamBit(fopAcM_GetParam(this), 0x14, 0x4);
switch (mType) {
case 0: