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
+3 -3
View File
@@ -45,7 +45,7 @@ daPoFire_HIO_c::daPoFire_HIO_c() {
mPickupRange = 150.0f;
mFireWaitTime = 20;
}
#ifdef DEBUG
#if DEBUG
/* daPoFire_HIO_c::genMessage (JORMContext *) */
void daPoFire_HIO_c::genMessage(JORMContext* mctx) {
mctx->genSlider("捕まえ範囲", &mPickupRange, 0.0f, 1000.0f, 0, NULL, 0xFFFF, 0xFFFF, 0x200, 24);
@@ -106,7 +106,7 @@ int daPoFire_c::create() {
init_modeOnFire();
}
#ifdef DEBUG
#if DEBUG
l_HIO.entryHIO("ポウ炎");
#endif
@@ -407,7 +407,7 @@ int daPoFire_c::Draw() {
int daPoFire_c::Delete() {
dComIfG_resDelete(&mPhase, "poFire");
#ifdef DEBUG
#if DEBUG
l_HIO.removeHIO();
#endif