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
+3 -3
View File
@@ -32,7 +32,7 @@ daLv3Water2_HIO_c::daLv3Water2_HIO_c() {
mLevelControlWaitFrames = 0;
}
#ifdef DEBUG
#if DEBUG
void daLv3Water2_HIO_c::genMessage(JORMContext* ctx) {
ctx->genSlider("wait time", &mLevelControlWaitFrames, 0, 255, 0, NULL, 0xffff, 0xffff, 0x200, 0x18);
}
@@ -120,7 +120,7 @@ cPhs__Step daLv3Water2_c::create() {
mMode = WAIT;
// "LV3 Water surface (2SW)"
#ifdef DEBUG
#if DEBUG
l_HIO.entryHIO("LV3水面(2SW)");
#endif
}
@@ -237,7 +237,7 @@ int daLv3Water2_c::Draw() {
int daLv3Water2_c::Delete() {
dComIfG_resDelete(&mPhase, l_resNameIdx[mResourceIndex]);
#ifdef DEBUG
#if DEBUG
l_HIO.removeHIO();
#endif