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:
@@ -257,17 +257,13 @@ BOOL daMbdoor_c::CreateInit() {
|
||||
/* 00000A44-00000AF4 .text create__10daMbdoor_cFv */
|
||||
cPhs_State daMbdoor_c::create() {
|
||||
cPhs_State phase_state = dComIfG_resLoad(&mPhs, getArcName());
|
||||
#if VERSION > VERSION_DEMO
|
||||
fopAcM_ct(this, daMbdoor_c);
|
||||
#endif
|
||||
fopAcM_ct_Retail(this, daMbdoor_c);
|
||||
|
||||
if (phase_state != cPhs_COMPLEATE_e) {
|
||||
return phase_state;
|
||||
}
|
||||
|
||||
#if VERSION == VERSION_DEMO
|
||||
fopAcM_ct(this, daMbdoor_c);
|
||||
#endif
|
||||
fopAcM_ct_Demo(this, daMbdoor_c);
|
||||
|
||||
if (!fopAcM_entrySolidHeap(this, CheckCreateHeap, 0x8200)) {
|
||||
return cPhs_ERROR_e;
|
||||
|
||||
Reference in New Issue
Block a user