diff options
| author | Max Roncace <me@caseif.net> | 2025-12-22 18:41:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-22 15:41:19 -0800 |
| commit | 9767e76ba049ce20ac0d2236758f050bcd36d90f (patch) | |
| tree | 30519a089779dd789f5564adef5afb27a163a190 /src/d/actor/d_a_obj_Y_taihou.cpp | |
| parent | 8fece471c6d5203aa09d5c280584096adc1b8539 (diff) | |
GCN data 100% matching (#2987)
* Update GZ2J01 symbols from linked DOL
* GCN data 100% matching
* Run dtk apply
Diffstat (limited to 'src/d/actor/d_a_obj_Y_taihou.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_Y_taihou.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/d/actor/d_a_obj_Y_taihou.cpp b/src/d/actor/d_a_obj_Y_taihou.cpp index 36b93c75ca..5a9e8dcdba 100644 --- a/src/d/actor/d_a_obj_Y_taihou.cpp +++ b/src/d/actor/d_a_obj_Y_taihou.cpp @@ -142,19 +142,18 @@ static dCcD_SrcCyl l_cc_cyl_src = { } // mCyl }; -static u16 l_offsetAngle[4] = { - 0x0, 0xC000, 0x8000, 0x4000, -}; - void daObjYtaihou_c::setNextAngle() { + static u16 l_offsetAngle[4] = { + 0x0, 0xC000, 0x8000, 0x4000, + }; + current.angle.z = home.angle.y + l_offsetAngle[field_0x775]; } -static f32 l_wheelMinR; - -static u8 lbl_396_bss_4C; - void daObjYtaihou_c::setMtx() { + static f32 l_wheelMinR; + static u8 lbl_396_bss_4C; + home.angle.z += (s16) ((s16)(shape_angle.y - old.angle.y) * 0.8f); if ((s8)lbl_396_bss_4C == 0) { l_wheelMinR = cM_scos(0xccc) * 60.0f; |
