CycleAccRotate matching

This commit is contained in:
Dethrace Labs 2026-02-10 20:18:15 +13:00
parent 78954f43b0
commit 55a2649f51
1 changed files with 3 additions and 2 deletions

View File

@ -5003,8 +5003,9 @@ void RotateAccR4(void) {
// IDA: void __cdecl CycleAccRotate()
// FUNCTION: CARM95 0x004449c6
void CycleAccRotate(void) {
gCurrent_rotate_mode = (gCurrent_rotate_mode == eRotate_mode_z) ? eRotate_mode_x : (gCurrent_rotate_mode + 1);
if (gCurrent_rotate_mode++ == eRotate_mode_z) {
gCurrent_rotate_mode = eRotate_mode_x;
}
switch (gCurrent_rotate_mode) {
case eRotate_mode_x:
NewTextHeadupSlot(eHeadupSlot_misc, 0, 2000, -2, "Rotate mode: X");