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
@@ -163,7 +163,7 @@ daE_WW_HIO_c::daE_WW_HIO_c() {
move_range_debug_display = 0;
}
#ifdef DEBUG
#if DEBUG
void daE_WW_HIO_c::genMessage(JORMContext* mctx) {
mctx->genLabel("ホワイトウルフォス", 0x80000001, 0, NULL, 0xFFFF, 0xFFFF, 0x200, 24);
mctx->genSlider("モデルサイズ", &model_size, 0.0f, 10.0f, 0, NULL, 0xFFFF, 0xFFFF, 0x200, 24);
@@ -245,7 +245,7 @@ void daE_WW_c::setHeadAngle() {
int daE_WW_c::draw() {
if (mAction == ACTION_MASTER) {
#ifdef DEBUG
#if DEBUG
if (l_HIO.move_range_debug_display != 0) {
cXyz curr_pos = current.pos;
curr_pos.y += 100.0f;