Various debug conditional compilation cleanup (#2915)

* Global: Define DEBUG as 0 if not already defined

* Clean up DEBUG-guarded code
This commit is contained in:
Max Roncace
2025-12-06 16:34:47 -05:00
committed by GitHub
parent 9f1a648851
commit a30e617e5a
316 changed files with 1133 additions and 1267 deletions
+2 -2
View File
@@ -107,7 +107,7 @@ static int daVrbox2_Draw(vrbox2_class* i_this) {
var_f31 = dStage_FileList_dt_SeaLevel(filelist_p);
}
#ifdef DEBUG
#if DEBUG
if (g_kankyoHIO.vrbox.field_0x14 != 0) {
var_f31 = g_kankyoHIO.vrbox.m_horizonHeight;
} else {
@@ -139,7 +139,7 @@ static int daVrbox2_Draw(vrbox2_class* i_this) {
cXyz sp14;
sp14 = sun_p->mPos[0];
#ifndef DEBUG
#if !DEBUG
cXyz sp8;
if (strcmp(dComIfGp_getStartStageName(), "F_SP102") == 0) {
dKyr_get_vectle_calc(&camera_p->lookat.eye, &g_env_light.sun_pos, &sp8);