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
+3 -3
View File
@@ -341,9 +341,9 @@ int daObjHHASHI_c::Execute(f32 (**param_1)[3][4]) {
int daObjHHASHI_c::Draw() {
if (dComIfGp_event_runCheck()) {
camera_class* pCamera = dComIfGp_getCamera(0);
f32 xdiff = current.pos.x - pCamera->lookat.eye.x;
f32 zdiff = current.pos.z - pCamera->lookat.eye.z;
camera_process_class* pCamera = dComIfGp_getCamera(0);
f32 xdiff = current.pos.x - pCamera->view.lookat.eye.x;
f32 zdiff = current.pos.z - pCamera->view.lookat.eye.z;
if (JMAFastSqrt(xdiff * xdiff + zdiff * zdiff) < 200.0f) {
return 1;
}