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
+2 -2
View File
@@ -2420,8 +2420,8 @@ s16 daMidna_c::getNeckAimAngle(cXyz const* i_atnPos, s16* o_neckX, s16* o_neckY,
*o_eyeY = (s16)(sVar8 - sVar2) >> 1;
*o_neckX = *o_eyeX;
*o_neckY = *o_eyeY;
*o_eyeX += (s16)(atn_angle_x - sVar7);
*o_eyeY += (s16)(atn_angle_y - sVar8);
ANGLE_ADD(*o_eyeX, atn_angle_x - sVar7);
ANGLE_ADD(*o_eyeY, atn_angle_y - sVar8);
} else {
*o_neckX = daAlink_getAlinkActorClass()->getProcNeckX();
*o_neckY = daAlink_getAlinkActorClass()->getMidnaProcNeckY();