d_a_npc_kn work (#2274)

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* fixups

* check

* fixes 2

* fixes 3

* fixes 4

* fixes 5

---------

Co-authored-by: pheenoh <pheenoh@macmini.local>
Co-authored-by: pheenoh <pheenoh@macmini.lan>
This commit is contained in:
Howard Luck
2025-06-08 12:01:18 -06:00
committed by GitHub
parent 1a7b14537c
commit 5ec7e42c2d
21 changed files with 7606 additions and 4514 deletions
+3 -3
View File
@@ -97,7 +97,7 @@ void daNpcF_MatAnm_c::initialize() {
mNowOffsetX = 0.0f;
mNowOffsetY = 0.0f;
mEyeMoveFlag = 0;
field_0x105 = 0;
mMorfFrm = 0;
}
/* 8015075C-80150870 14B09C 0114+00 1/0 0/0 0/0 .text calc__15daNpcF_MatAnm_cCFP11J3DMaterial */
@@ -109,8 +109,8 @@ void daNpcF_MatAnm_c::calc(J3DMaterial* i_material) const {
J3DTexMtxInfo* curr_mtx_info =
&i_material->getTexGenBlock()->getTexMtx(i)->getTexMtxInfo();
if (field_0x105 != 0) {
f32 tmp8 = 1.0f / (field_0x105 + 1);
if (mMorfFrm != 0) {
f32 tmp8 = 1.0f / (mMorfFrm + 1);
f32 tmp9 = (1.0f - tmp8);
f32 tmp10 = field_0xF4 * (1.0f - tmp8);