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
@@ -201,7 +201,7 @@ int daObjLv6Bm_c::Create() {
}
}
#ifdef DEBUG
#if DEBUG
if (mEyeMaterial == NULL) {
OS_REPORT("Lv6ビーモス:目のマテリアル<%s>がありません\n", l_eye_matName); // Lv6 Beamos: Eye material <%s> is not available.
return 0;
@@ -248,7 +248,7 @@ int daObjLv6Bm_c::CreateHeap() {
return 0;
}
#ifdef DEBUG
#if DEBUG
pbrk = (J3DAnmTevRegKey*)dComIfG_getObjectRes(l_arcName, BRK_BM6_TURN);
JUT_ASSERT(644, pbrk != NULL);
#endif
@@ -275,7 +275,7 @@ int daObjLv6Bm_c::CreateHeap() {
}
mpBtkAnm->setFrame(mpBtkAnm->getEndFrame());
#ifdef DEBUG
#if DEBUG
pbtk = (J3DAnmTextureSRTKey*)dComIfG_getObjectRes(l_arcName, BTK_EF_BIMOL6_ON);
JUT_ASSERT(693, pbtk != NULL);
#endif