d_s_room / d_s_name / d_a_title debug work (#3123)

* d_s_room / d_s_name debug work

* camera_class rtti fix

* d_a_title debug / handle shield rel changes

* fix shield build

* fix regressions
This commit is contained in:
TakaRikka
2026-03-06 22:30:25 -08:00
committed by GitHub
parent a2b179f952
commit 8e2545f2ec
140 changed files with 1293 additions and 1042 deletions
+2 -2
View File
@@ -1003,7 +1003,7 @@ static int daE_SH_Execute(e_sh_class* i_this) {
MTXCopy(model->getAnmMtx(13), *calc_mtx);
camera_class* camera = dComIfGp_getCamera(0);
camera_process_class* camera = dComIfGp_getCamera(0);
s16 rotX;
s16 rotY;
@@ -1014,7 +1014,7 @@ static int daE_SH_Execute(e_sh_class* i_this) {
if (i == 0) {
unkXyz1.set(15.0f + TREG_F(0), 3.5f + TREG_F(1), TREG_F(2));
MtxPosition(&unkXyz1, &unkXyz2);
unkXyz1 = camera->lookat.eye - unkXyz2;
unkXyz1 = camera->view.lookat.eye - unkXyz2;
rotY = cM_atan2s(unkXyz1.x, unkXyz1.z);
rotX = -cM_atan2s(unkXyz1.y, JMAFastSqrt(unkXyz1.x * unkXyz1.x + unkXyz1.z * unkXyz1.z));