aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-02-03 00:07:29 -0500
committerPaul Gilbert2014-02-03 00:07:29 -0500
commit2234724891dc9df1e04f76e1c80090224794e9c0 (patch)
tree634ef91bd36e760b5b7b1dbdd49fdadbf74c8fc1
parentd13b529c4718d01c045c3af7b83c6f6793d92077 (diff)
downloadscummvm-rg350-2234724891dc9df1e04f76e1c80090224794e9c0.tar.gz
scummvm-rg350-2234724891dc9df1e04f76e1c80090224794e9c0.tar.bz2
scummvm-rg350-2234724891dc9df1e04f76e1c80090224794e9c0.zip
VOYEUR: Clean up debug channels
-rw-r--r--engines/voyeur/voyeur.cpp5
-rw-r--r--engines/voyeur/voyeur.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index 74f03ff652..1ee06e15f1 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -55,6 +55,8 @@ VoyeurEngine::VoyeurEngine(OSystem *syst, const VoyeurGameDescription *gameDesc)
_voyeurArea = AREA_NONE;
_loadGameSlot = -1;
+ DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts");
+
initialiseManagers();
}
@@ -98,9 +100,6 @@ void VoyeurEngine::initialiseManagers() {
void VoyeurEngine::ESP_Init() {
ThreadResource::init();
- DebugMan.addDebugChannel(kDebugPath, "Path", "Pathfinding debug level");
- DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts");
-
if (ConfMan.hasKey("save_slot"))
_loadGameSlot = ConfMan.getInt("save_slot");
}
diff --git a/engines/voyeur/voyeur.h b/engines/voyeur/voyeur.h
index bc63d56ddb..08c0a27bef 100644
--- a/engines/voyeur/voyeur.h
+++ b/engines/voyeur/voyeur.h
@@ -66,8 +66,7 @@ namespace Voyeur {
#define MANSION_SCROLL_INC_Y 4
enum VoyeurDebugChannels {
- kDebugPath = 1 << 0,
- kDebugScripts = 1 << 1
+ kDebugScripts = 1 << 0
};
enum VoyeurArea { AREA_NONE, AREA_APARTMENT, AREA_INTERFACE, AREA_ROOM, AREA_EVIDENCE };