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
@@ -708,13 +708,13 @@ BOOL daNbomb_c::procExplodeInit() {
}
BOOL daNbomb_c::procExplode() {
camera_class* camera = dComIfGp_getCamera(0);
camera_process_class* camera = dComIfGp_getCamera(0);
f32 dist_scale = 0.0f;
mLightInfluence.mPow = mExplosionStrength * 1500.0f;
mWindInfluence.mStrength = mExplosionStrength;
f32 dist_to_cam = current.pos.abs(camera->lookat.eye);
f32 dist_to_cam = current.pos.abs(camera->view.lookat.eye);
if (dist_to_cam < 1500.0f) {
dist_scale = dist_to_cam / 1500.0f;
dist_scale *= dist_scale * dist_scale;