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 979afc7c59
commit 07ef4b6d26
138 changed files with 516 additions and 470 deletions
+1 -1
View File
@@ -1334,7 +1334,7 @@ void daB_YO_c::calcFreeMove(f32 param_0) {
}
void daB_YO_c::setReflectAngle() {
current.angle.y += (s16)cM_rndFX(4000.0f);
ANGLE_ADD(current.angle.y, cM_rndFX(4000.0f));
s16 angle_diff = current.angle.y - mWallAngle;
if (abs(angle_diff) > 0x4800) {
current.angle.y = mWallAngle * 2 - (current.angle.y + 0x8000);