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_octhashi.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_octhashi.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_octhashi.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/d/actor/d_a_obj_octhashi.cpp b/src/d/actor/d_a_obj_octhashi.cpp index 1f49c3870c..dc2565daad 100644 --- a/src/d/actor/d_a_obj_octhashi.cpp +++ b/src/d/actor/d_a_obj_octhashi.cpp @@ -28,23 +28,23 @@ static char* l_arcName[1] = { "Octhashi" }; -static dCcD_SrcCyl ccCylSrc = { - { - {0x0, {{0x0, 0x0, 0xd}, {0x104002, 0x1f}, 0x75}}, // mObj - {dCcD_SE_STONE, 0x2, 0x0, 0x0, 0x1}, // mGObjAt - {dCcD_SE_STONE, 0x2, 0x0, 0x0, 0x1}, // mGObjTg - {0x0}, // mGObjCo - }, // mObjInf - { - {0.0f, 0.0f, 0.0f}, // mCenter - 400.0f, // mRadius - 0.0f // mHeight - } // mCyl -}; - static s8 l_cyl_height_init = 0; void daObjOCTHASHI_c::initCcCylinder() { + static dCcD_SrcCyl ccCylSrc = { + { + {0x0, {{0x0, 0x0, 0xd}, {0x104002, 0x1f}, 0x75}}, // mObj + {dCcD_SE_STONE, 0x2, 0x0, 0x0, 0x1}, // mGObjAt + {dCcD_SE_STONE, 0x2, 0x0, 0x0, 0x1}, // mGObjTg + {0x0}, // mGObjCo + }, // mObjInf + { + {0.0f, 0.0f, 0.0f}, // mCenter + 400.0f, // mRadius + 0.0f // mHeight + } // mCyl + }; + if (l_cyl_height_init == 0) { ccCylSrc.mCyl.mHeight = (f32)(mPieceNum + 1) * 800.0f - 100.f; l_cyl_height_init = 1; |
