[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.h,1.634,1.635 debugger.cpp,1.151,1.152
Max Horn
fingolfin at users.sourceforge.net
Mon Jul 11 04:00:04 CEST 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30767
Modified Files:
scumm.h debugger.cpp
Log Message:
Yet another GCC 4 fix
Index: scumm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.h,v
retrieving revision 1.634
retrieving revision 1.635
diff -u -d -r1.634 -r1.635
--- scumm.h 23 Jun 2005 14:10:52 -0000 1.634
+++ scumm.h 11 Jul 2005 10:59:03 -0000 1.635
@@ -157,20 +157,6 @@
DEBUG_SMUSH = 1 << 10 // Track SMUSH
};
-
-// Debug channel lookup table for Debugger console
-static const dbgChannelDesc debugChannels[] = {
- {"SCRIPTS", "Track script execution", DEBUG_SCRIPTS},
- {"OPCODES", "Track opcode execution", DEBUG_OPCODES},
- {"IMUSE", "Track iMUSE events", DEBUG_IMUSE},
- {"RESOURCE", "Track resource loading/management", DEBUG_RESOURCE},
- {"VARS", "Track variable changes", DEBUG_VARS},
- {"ACTORS", "Actor-related debug", DEBUG_ACTORS},
- {"SOUND", "Sound related debug", DEBUG_SOUND},
- {"INSANE", "Track INSANE", DEBUG_INSANE},
- {"SMUSH", "Track SMUSH", DEBUG_SMUSH}
-};
-
struct MemBlkHeader {
uint32 size;
};
Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/debugger.cpp,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- debugger.cpp 24 Jun 2005 15:23:09 -0000 1.151
+++ debugger.cpp 11 Jul 2005 10:59:14 -0000 1.152
@@ -39,6 +39,20 @@
namespace Scumm {
+// Debug channel lookup table for Debugger console
+static const dbgChannelDesc debugChannels[] = {
+ {"SCRIPTS", "Track script execution", DEBUG_SCRIPTS},
+ {"OPCODES", "Track opcode execution", DEBUG_OPCODES},
+ {"IMUSE", "Track iMUSE events", DEBUG_IMUSE},
+ {"RESOURCE", "Track resource loading/management", DEBUG_RESOURCE},
+ {"VARS", "Track variable changes", DEBUG_VARS},
+ {"ACTORS", "Actor-related debug", DEBUG_ACTORS},
+ {"SOUND", "Sound related debug", DEBUG_SOUND},
+ {"INSANE", "Track INSANE", DEBUG_INSANE},
+ {"SMUSH", "Track SMUSH", DEBUG_SMUSH}
+};
+
+
void CDECL debugC(int channel, const char *s, ...) {
char buf[STRINGBUFLEN];
va_list va;
More information about the Scummvm-git-logs
mailing list