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
@@ -921,7 +921,7 @@ static int daObj_Brg_Execute(obj_brg_class* i_this) {
cXyz spE8;
camera_class* camera = (camera_class*) dComIfGp_getCamera(0);
spC4 = a_this->current.pos - camera->lookat.eye;
spC4 = a_this->current.pos - camera->view.lookat.eye;
if (i_this->field_0xb1ef != 0) {
i_this->field_0xb1ef--;
@@ -937,7 +937,7 @@ static int daObj_Brg_Execute(obj_brg_class* i_this) {
}
if (spC4.abs() > sp1BC) {
spD0 = camera->lookat.center - camera->lookat.eye;
spD0 = camera->view.lookat.center - camera->view.lookat.eye;
s16 atan_res = cM_atan2s(spD0.x, spD0.z);
cMtx_YrotS(*calc_mtx, -atan_res);