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
@@ -674,7 +674,7 @@ static void obj_brg_move(obj_brg_class* i_this) {
i_this->field_0xaf1c = 3;
/* fallthrough */
case 3: {
i_this->field_0xaf1e += (s16) 3000;
ANGLE_ADD(i_this->field_0xaf1e, 3000);
part->field_0x0b0 = a_this->home.pos;
if ((i_this->mType & 1) == 1) {
@@ -871,7 +871,7 @@ static void obj_brg_move(obj_brg_class* i_this) {
}
cLib_addCalc0(&i_this->field_0xaef4, 0.05f, 80.0f);
i_this->field_0xaf2e += (s16) 4500;
ANGLE_ADD(i_this->field_0xaf2e, 4500);
if (i_this->field_0xb1ec) {
spDC = i_this->mEndPos;