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 -4
View File
@@ -418,9 +418,10 @@ int daNpc_Toby_c::Draw() {
#if DEBUG
chkAction(&daNpc_Toby_c::test),
#else
0,
FALSE,
#endif
0, mRealShadowSize, NULL, 100.0f, 0, 0, 0);
FALSE, mRealShadowSize, NULL, 100.0f, 0, 0, 0
);
}
int daNpc_Toby_c::createHeapCallBack(fopAc_ac_c* i_this) {
@@ -2182,11 +2183,9 @@ int daNpc_Toby_c::talk(void*) {
return 0;
}
#if DEBUG
int daNpc_Toby_c::test(void* param_0) {
// TODO
}
#endif
static int daNpc_Toby_Create(void* i_this) {
return static_cast<daNpc_Toby_c*>(i_this)->create();