d_a_obj_amiShutter equivalent (#2342)

* init commit

* functions matching progress

* new inline function

added new inline function `OnRoofRegist` to cBgW class

* use of inline function

uses the inline function as in the debug version

* d_a_obj_amiShutter equivalent

* cleanup and field rename

* addressed PR comments
This commit is contained in:
Łukasz Starzyk
2025-03-23 21:29:10 +01:00
committed by GitHub
parent a4cdad86f4
commit 3f67b00c6e
5 changed files with 279 additions and 457 deletions
+1 -2
View File
@@ -60,8 +60,7 @@ static const Vec l_cull_box[4] = {
int daObjKJgjs_c::Create() {
fopAcM_SetMtx(this, mMtx[1]);
MTXCopy(mMtx[1], mpModel->mBaseTransformMtx);
dBgW* bgw_p = mpBgW;
bgw_p->field_0x91 |= 4;
mpBgW->OffRoofRegist();
if (!field_0x60c) {
fopAcM_setCullSizeBox(this, l_cull_box[0].x, l_cull_box[0].y, l_cull_box[0].z,
l_cull_box[1].x, l_cull_box[1].y, l_cull_box[1].z);