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 00e599304a
commit cf492884ea
316 changed files with 1133 additions and 1267 deletions
+2 -2
View File
@@ -524,7 +524,7 @@ void daObjKAM_c::Z_BufferChk() {
} else {
cameraHeight = 0.0f;
}
#ifdef DEBUG
#if DEBUG
#define Z_BUFFERCHK_X_MAX FB_WIDTH
#define Z_BUFFERCHK_Y_MAX FB_HEIGHT
#else
@@ -779,7 +779,7 @@ int daObjKAM_c::create() {
mDraw = true;
}
#ifdef DEBUG
#if DEBUG
#define DAOBJKAM_C_CREATE_DIST_INDEX fopAc_attn_ETC_e
#else
#define DAOBJKAM_C_CREATE_DIST_INDEX fopAc_attn_CARRY_e