mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 20:27:36 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user