mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
Add helper macros to simplify fopAcM_ct-related version differences
This commit is contained in:
@@ -183,16 +183,12 @@ void daObj_Pfall_c::CreateInit() {
|
||||
|
||||
/* 000008CC-000009E8 .text _create__13daObj_Pfall_cFv */
|
||||
cPhs_State daObj_Pfall_c::_create() {
|
||||
#if VERSION > VERSION_DEMO
|
||||
fopAcM_ct(this, daObj_Pfall_c);
|
||||
#endif
|
||||
fopAcM_ct_Retail(this, daObj_Pfall_c);
|
||||
|
||||
cPhs_State phase = dComIfG_resLoad(&mPhsPfall, "Pfall");
|
||||
|
||||
if (phase == cPhs_COMPLEATE_e) {
|
||||
#if VERSION == VERSION_DEMO
|
||||
fopAcM_ct(this, daObj_Pfall_c);
|
||||
#endif
|
||||
fopAcM_ct_Demo(this, daObj_Pfall_c);
|
||||
|
||||
if (!fopAcM_entrySolidHeap(this, CallbackCreateHeap, 0x38E0)) {
|
||||
return cPhs_ERROR_e;
|
||||
|
||||
Reference in New Issue
Block a user