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 -8
View File
@@ -371,17 +371,11 @@ BOOL daKnob00_c::CreateInit() {
/* 00000D84-00000E70 .text create__10daKnob00_cFv */
cPhs_State daKnob00_c::create() {
cPhs_State ret = dComIfG_resLoad(&mPhase, M_arcname);
#if VERSION == VERSION_DEMO
fopAcM_ct_Retail(this, daKnob00_c);
if (ret != cPhs_COMPLEATE_e) {
return ret;
}
fopAcM_ct(this, daKnob00_c);
#else
fopAcM_ct(this, daKnob00_c);
if (ret != cPhs_COMPLEATE_e) {
return ret;
}
#endif
fopAcM_ct_Demo(this, daKnob00_c);
if (fopAcM_GetRoomNo(this) == -1) {
fopAcM_SetRoomNo(this, getFRoomNo());