Big cast cleanup (#3076)

* Big cast cleanup

* fix for name conflict

* rename header

* rename cast macros

* fix rename mistake

---------

Co-authored-by: roeming <roeming@users.noreply.github.com>
This commit is contained in:
roeming
2026-02-20 05:48:29 -05:00
committed by GitHub
parent 95c3626771
commit 0558bde1e6
138 changed files with 516 additions and 470 deletions
+1 -1
View File
@@ -1083,7 +1083,7 @@ void daObjMovebox::Act_c::mode_afl() {
var_f31 = -var_f30 * attr().field_0x6c;
}
field_0x8b8 += (s16)(attr().mWaterOscillationAngleSpeed * (cM_rnd() + 1.0f));
S16_ADD(field_0x8b8, attr().mWaterOscillationAngleSpeed * (cM_rnd() + 1.0f));
newGravity = var_f31 * attr().mBuoyancy + attr().mGravity +
attr().mWaterOscillationAccel * cM_ssin(field_0x8b8) + field_0x8bc;
fopAcM_SetGravity(this, newGravity);