[Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.45,1.46 script_v8.cpp,2.76,2.77 scummvm.cpp,2.18,2.19
James Brown
ender at users.sourceforge.net
Sat Dec 28 04:43:07 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv1464/scumm
Modified Files:
resource.cpp script_v8.cpp scummvm.cpp
Log Message:
de-verbalise some debug messages (move from debug(1) to debug(2)).. so we can see printDebug lines easier
Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- resource.cpp 28 Dec 2002 01:57:18 -0000 1.45
+++ resource.cpp 28 Dec 2002 12:42:55 -0000 1.46
@@ -524,7 +524,7 @@
uint32 fileOffs;
uint32 size, tag;
- debug(1, "loadResource(%s,%d)", resTypeFromId(type),idx);
+ debug(2, "loadResource(%s,%d)", resTypeFromId(type),idx);
if (type == rtCharset && (_features & GF_SMALL_HEADER)) {
loadCharset(idx);
Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.76
retrieving revision 2.77
diff -u -d -r2.76 -r2.77
--- script_v8.cpp 28 Dec 2002 05:36:52 -0000 2.76
+++ script_v8.cpp 28 Dec 2002 12:42:55 -0000 2.77
@@ -1138,10 +1138,10 @@
byte subOp = fetchScriptByte();
switch (subOp) {
case 0x32: // SO_CAMERA_PAUSE
- warning("freezeCamera NYI");
+ //warning("freezeCamera NYI");
break;
case 0x33: // SO_CAMERA_RESUME
- warning("unfreezeCamera NYI");
+ //warning("unfreezeCamera NYI");
break;
default:
error("o8_cameraOps: default case %d", subOp);
@@ -1301,7 +1301,7 @@
switch (args[0]) {
case 11: // lockObject
- warning("o6_kernelSetFunctions: lockObject(%d)", args[1]);
+// warning("o6_kernelSetFunctions: lockObject(%d)", args[1]);
lock(rtFlObject, args[1]); // FIXME - no idea if this is right?
// getObjectIndex(args[1]);
// if (ObjData.field28 != 0) {
Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.18
retrieving revision 2.19
diff -u -d -r2.18 -r2.19
--- scummvm.cpp 27 Dec 2002 00:58:21 -0000 2.18
+++ scummvm.cpp 28 Dec 2002 12:42:55 -0000 2.19
@@ -1247,7 +1247,7 @@
Actor *Scumm::derefActorSafe(int id, const char *errmsg)
{
if (id < 1 || id >= NUM_ACTORS) {
- if (_debugMode)
+ if (_debugLevel > 1)
warning
("Invalid actor %d in %s (script %d, opcode 0x%x) - This is potentially a BIG problem.",
id, errmsg, vm.slot[_curExecScript].number, _opcode);
More information about the Scummvm-git-logs
mailing list