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
+2 -1
View File
@@ -437,7 +437,8 @@ static void drop(obj_gm_class* i_this) {
i_this->mTimers[0] = 10;
s16 wallAngle = wall_angle_get(i_this);
if (a_this->speedF > 5.0f && wallAngle != 35) {
i_this->field_0x720 += (s16)(0x8000 - ((s16)(i_this->field_0x720 - wallAngle) << 1));
ANGLE_ADD(i_this->field_0x720, 0x8000 - ((s16)(i_this->field_0x720 - wallAngle) << 1));
i_this->field_0x722 *= -1;
i_this->mTimers[0] = 10;
a_this->speedF *= AREG_F(4) + 0.35f;