mirror of
https://github.com/zeldaret/tp
synced 2026-08-18 13:43:24 -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:
@@ -4,7 +4,7 @@
|
||||
#include "d/d_save.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
static const char* sSpotName[] = {
|
||||
"F_SP00",
|
||||
"F_SP103",
|
||||
@@ -1039,7 +1039,7 @@ void Z2EnvSeMgr::setHyrulSewerOpen(bool isSewerOpen) {
|
||||
}
|
||||
|
||||
bool Z2EnvSeMgr::startRiverSe(s8 param_1) {
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
const char** spotName = sSpotName;
|
||||
#endif
|
||||
|
||||
@@ -1271,7 +1271,7 @@ void Z2EnvSeMgr::registEtcSePos(Vec* posPtr) {
|
||||
}
|
||||
|
||||
bool Z2EnvSeMgr::startEtcSe(s8 reverb) {
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
const char** spotName = sSpotName;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ Z2SeqMgr::Z2SeqMgr() : JASGlobalInstance<Z2SeqMgr>(true) {
|
||||
mAllBgmMaster.forceIn();
|
||||
field_0xa4.forceIn();
|
||||
|
||||
#ifdef DEBUG
|
||||
#if DEBUG
|
||||
field_0x00_debug = 1.0f;
|
||||
field_0x04_debug = 0;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user