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
@@ -4369,14 +4369,10 @@ static cPhs_State daBPW_Create(fopAc_ac_c* a_this) {
bpw_class* i_this = (bpw_class*)a_this;
fopAc_ac_c* actor = a_this;
csXyz sp18 = actor->shape_angle;
#if VERSION > VERSION_DEMO
fopAcM_ct(actor, bpw_class);
#endif
fopAcM_ct_Retail(actor, bpw_class);
res = dComIfG_resLoad(&i_this->m2AC, "BPW");
if (res == cPhs_COMPLEATE_e) {
#if VERSION == VERSION_DEMO
fopAcM_ct(actor, bpw_class);
#endif
fopAcM_ct_Demo(actor, bpw_class);
i_this->mType = (bpw_class::Actor_Type_e)fopAcM_GetParam(actor);
i_this->mUnknownParam2 = (bpw_class::Damage_Action_e)((uint)fopAcM_GetParam(actor) >> 8);
i_this->mLightState = (u8)((uint)fopAcM_GetParam(actor) >> 0x10);