aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-05-30 15:40:49 +0000
committerFilippos Karapetis2009-05-30 15:40:49 +0000
commit3490819a66f942f4fb18c4f25f8dcb4bf67ea4c5 (patch)
treeaaaa4746049a11873bf15baf4489f849bc2726e3 /engines/sci/sci.h
parent69582f0179c9ab9dcdc0afb2acbe659d36a37790 (diff)
downloadscummvm-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.h')
-rw-r--r--engines/sci/sci.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index bc4be89b22..2fcb285a4f 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -42,20 +42,23 @@ enum kDebugLevels {
kDebugLevelNodes = 1 << 1,
kDebugLevelGraphics = 1 << 2,
kDebugLevelStrings = 1 << 3,
- kDebugLevelMem = 1 << 4,
+ kDebugLevelMemory = 1 << 4,
kDebugLevelFuncCheck = 1 << 5,
kDebugLevelBresen = 1 << 6,
kDebugLevelSound = 1 << 7,
kDebugLevelGfxDriver = 1 << 8,
kDebugLevelBaseSetter = 1 << 9,
kDebugLevelParser = 1 << 10,
- kDebugLevelMenu = 1 << 11,
- kDebugLevelSaid = 1 << 12,
- kDebugLevelFile = 1 << 13,
- kDebugLevelTime = 1 << 14,
- kDebugLevelRoom = 1 << 15,
- kDebugLevelAvoidPath = 1 << 16,
- kDebugLevelDclInflate = 1 << 17
+ // FIXME: seems that debug level 11 is special (check debugC in common/debug.cpp)
+ kDebugLevelMenu = 1 << 12,
+ kDebugLevelSaid = 1 << 13,
+ kDebugLevelFile = 1 << 14,
+ kDebugLevelTime = 1 << 15,
+ kDebugLevelRoom = 1 << 16,
+ kDebugLevelAvoidPath = 1 << 17,
+ kDebugLevelDclInflate = 1 << 18,
+ kDebugLevelVM = 1 << 19,
+ kDebugLevelScripts = 1 << 20
};
struct SciGameDescription {