mirror of
https://github.com/zeldaret/tp
synced 2026-06-02 18:18:59 -04:00
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:
@@ -11,7 +11,7 @@
|
||||
#include "d/d_debug_viewer.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
|
||||
daObjFallObj_HIO_c::daObjFallObj_HIO_c() {
|
||||
mMovementShake = 0;
|
||||
@@ -120,7 +120,7 @@ int daObjFallObj_c::create1st() {
|
||||
return phase;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
// Falling obj
|
||||
l_HIO.entryHIO("落下OBJ");
|
||||
#endif
|
||||
@@ -363,7 +363,7 @@ int daObjFallObj_c::Draw() {
|
||||
mDoExt_modelUpdateDL(mpModel);
|
||||
dComIfGd_setList();
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
if (l_HIO.mCheckDisplay) {
|
||||
mpBgW->CalcPlane();
|
||||
daPy_py_c* player = daPy_getPlayerActorClass();
|
||||
@@ -381,7 +381,7 @@ int daObjFallObj_c::Delete() {
|
||||
mSoundObj.deleteObject();
|
||||
dComIfG_resDelete(&mPhaseReq, l_arcName);
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
l_HIO.removeHIO();
|
||||
#endif
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user