diff options
author | Filippos Karapetis | 2009-05-30 15:40:49 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-05-30 15:40:49 +0000 |
commit | 3490819a66f942f4fb18c4f25f8dcb4bf67ea4c5 (patch) | |
tree | aaaa4746049a11873bf15baf4489f849bc2726e3 /engines/sci/sci.cpp | |
parent | 69582f0179c9ab9dcdc0afb2acbe659d36a37790 (diff) | |
download | scummvm-rg350-3490819a66f942f4fb18c4f25f8dcb4bf67ea4c5.tar.gz scummvm-rg350-3490819a66f942f4fb18c4f25f8dcb4bf67ea4c5.tar.bz2 scummvm-rg350-3490819a66f942f4fb18c4f25f8dcb4bf67ea4c5.zip |
- Removed debug_mode from the engine state
- Turned all SCIkwarn and SCIkdebug functions to ScummVM's debugC function
- Placed some debug code in appropriate defines: DEBUG_PARSER, DEBUG_AVOIDPATH and DEBUG_SOUND
- Removed the "debuglog" command and the "script_checkloads_flag" and "sci_debug_flags" variables
svn-id: r41033
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 9aee1d050c..d94b206813 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -71,7 +71,7 @@ SciEngine::SciEngine(OSystem *syst, const SciGameDescription *desc) Common::addDebugChannel(kDebugLevelNodes, "Lists", "Lists and nodes debugging"); Common::addDebugChannel(kDebugLevelGraphics, "Graphics", "Graphics debugging"); Common::addDebugChannel(kDebugLevelStrings, "Strings", "Strings debugging"); - Common::addDebugChannel(kDebugLevelMem, "Memory", "Memory debugging"); + Common::addDebugChannel(kDebugLevelMemory, "Memory", "Memory debugging"); Common::addDebugChannel(kDebugLevelFuncCheck, "Func", "Function parameter debugging"); Common::addDebugChannel(kDebugLevelBresen, "Bresenham", "Bresenham algorithms debugging"); Common::addDebugChannel(kDebugLevelSound, "Sound", "Sound debugging"); @@ -85,6 +85,8 @@ SciEngine::SciEngine(OSystem *syst, const SciGameDescription *desc) Common::addDebugChannel(kDebugLevelRoom, "Room", "Room number debugging"); Common::addDebugChannel(kDebugLevelAvoidPath, "Pathfinding", "Pathfinding debugging"); Common::addDebugChannel(kDebugLevelDclInflate, "DCL", "DCL inflate debugging"); + Common::addDebugChannel(kDebugLevelVM, "VM", "VM debugging"); + Common::addDebugChannel(kDebugLevelScripts, "Scripts", "Notifies when scripts are unloaded"); printf("SciEngine::SciEngine\n"); } |