Remove const from fopAcM functions (#44)

This commit is contained in:
LagoLunatic
2023-09-16 16:50:52 -04:00
committed by GitHub
parent e054193f0a
commit f0cc6a9bef
4 changed files with 104 additions and 185 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ bool daObjYgush00_c::_execute() {
fopAcM_seStartCurrent(this, 0x61fe, 0);
}
} else {
mpGryw00 = (daObjGryw00_c*)i_fopAcM_SearchByName(PROC_Obj_Gryw00);
mpGryw00 = (daObjGryw00_c*)fopAcM_SearchByName(PROC_Obj_Gryw00);
}
} else {
fopAcM_seStartCurrent(this, 0x61fe, 0);
+6 -6
View File
@@ -127,12 +127,12 @@ namespace daObjMovebox {
s32 prm_get_buoy() const { return daObj::PrmAbstract(this, PRM_BUOY_W, PRM_BUOY_S); }
s32 prm_get_dmy() const; // Unused?
BOOL is_switch1() const { return fopAcM_isSwitch(this, prm_get_swSave1()); };
BOOL is_switch2() const { return fopAcM_isSwitch(this, prmZ_get_swSave2()); };
void on_switch1() const { fopAcM_onSwitch(this, prm_get_swSave1()); };
void on_switch2() const { fopAcM_onSwitch(this, prmZ_get_swSave2()); };
void off_switch1() const { fopAcM_offSwitch(this, prm_get_swSave1()); };
void off_switch2() const { fopAcM_offSwitch(this, prmZ_get_swSave2()); };
BOOL is_switch1() const { return fopAcM_isSwitch((Act_c*)this, prm_get_swSave1()); };
BOOL is_switch2() const { return fopAcM_isSwitch((Act_c*)this, prmZ_get_swSave2()); };
void on_switch1() const { fopAcM_onSwitch((Act_c*)this, prm_get_swSave1()); };
void on_switch2() const { fopAcM_onSwitch((Act_c*)this, prmZ_get_swSave2()); };
void off_switch1() const { fopAcM_offSwitch((Act_c*)this, prm_get_swSave1()); };
void off_switch2() const { fopAcM_offSwitch((Act_c*)this, prmZ_get_swSave2()); };
void prmZ_init();
void prmX_init();