VOYEUR: Clean up debug channels

This commit is contained in:
Paul Gilbert 2014-02-03 00:07:29 -05:00
parent d13b529c47
commit 2234724891
2 changed files with 3 additions and 5 deletions

View File

@ -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");
}

View File

@ -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 };