mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-17 13:00:01 -04:00
Add helper macros to simplify fopAcM_ct-related version differences
This commit is contained in:
@@ -191,15 +191,11 @@ static BOOL daBranch_Delete(daBranch_c* i_this) {
|
||||
}
|
||||
|
||||
inline cPhs_State daBranch_c::create() {
|
||||
#if VERSION > VERSION_DEMO
|
||||
fopAcM_ct(this, daBranch_c);
|
||||
#endif
|
||||
fopAcM_ct_Retail(this, daBranch_c);
|
||||
|
||||
cPhs_State phase_state = dComIfG_resLoad(&mPhase, daBranch_c::m_arcname);
|
||||
if (phase_state == cPhs_COMPLEATE_e) {
|
||||
#if VERSION == VERSION_DEMO
|
||||
fopAcM_ct(this, daBranch_c);
|
||||
#endif
|
||||
fopAcM_ct_Demo(this, daBranch_c);
|
||||
|
||||
if (!fopAcM_entrySolidHeap(this, daBranch_c::solidHeapCB, 0x4000)) {
|
||||
for (int i = 0; i < (s32)ARRAY_SIZE(mAnims); i++) {
|
||||
|
||||
Reference in New Issue
Block a user