[Scummvm-cvs-logs] SF.net SVN: scummvm: [25653] scummvm/trunk/engines/parallaction
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sat Feb 17 14:39:23 CET 2007
Revision: 25653
http://scummvm.svn.sourceforge.net/scummvm/?rev=25653&view=rev
Author: peres001
Date: 2007-02-17 05:39:22 -0800 (Sat, 17 Feb 2007)
Log Message:
-----------
changed some debug levels
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/animation.cpp
scummvm/trunk/engines/parallaction/parallaction.cpp
scummvm/trunk/engines/parallaction/zone.cpp
Modified: scummvm/trunk/engines/parallaction/animation.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/animation.cpp 2007-02-17 10:58:54 UTC (rev 25652)
+++ scummvm/trunk/engines/parallaction/animation.cpp 2007-02-17 13:39:22 UTC (rev 25653)
@@ -226,7 +226,7 @@
void jobEraseAnimations(void *arg_0, Job *j) {
- debugC(1, kDebugLocation, "jobEraseAnimations");
+ debugC(3, kDebugLocation, "jobEraseAnimations");
Animation *a = (Animation*)_animations._next;
@@ -303,7 +303,7 @@
char v2[] = "\"\0";
int16 _si = 0;
-
+
for (; _si < 15; _si++)
_tokens[_si][0] = '\0';
@@ -522,7 +522,7 @@
void jobRunScripts(void *parm, Job *j) {
- debugC(1, kDebugLocation, "jobRunScripts");
+ debugC(3, kDebugLocation, "jobRunScripts");
static uint16 modCounter = 0;
Modified: scummvm/trunk/engines/parallaction/parallaction.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parallaction.cpp 2007-02-17 10:58:54 UTC (rev 25652)
+++ scummvm/trunk/engines/parallaction/parallaction.cpp 2007-02-17 13:39:22 UTC (rev 25653)
@@ -422,7 +422,7 @@
while ((_engineFlags & kEngineQuit) == 0) {
_keyDown = updateInput();
- debugC(1, kDebugLocation, "runGame: input flags (%i, %i, %i, %i)",
+ debugC(3, kDebugLocation, "runGame: input flags (%i, %i, %i, %i)",
_mouseHidden == 0,
(_engineFlags & kEngineMouse) == 0,
(_engineFlags & kEngineWalking) == 0,
@@ -483,7 +483,7 @@
switch (data->_event) {
case kEvEnterZone:
- debugC(1, kDebugLocation, "processInput: kEvEnterZone");
+ debugC(2, kDebugLocation, "processInput: kEvEnterZone");
_graphics->_labelPosition[1]._x = -1000;
_graphics->_labelPosition[1]._y = -1000;
_graphics->_labelPosition[0]._x = -1000;
@@ -493,14 +493,14 @@
break;
case kEvExitZone:
- debugC(1, kDebugLocation, "processInput: kEvExitZone");
+ debugC(2, kDebugLocation, "processInput: kEvExitZone");
removeJob(_jDrawLabel);
addJob(&jobWaitRemoveJob, _jEraseLabel, kPriority15);
_jDrawLabel = NULL;
break;
case kEvAction:
- debugC(1, kDebugLocation, "processInput: kEvAction");
+ debugC(2, kDebugLocation, "processInput: kEvAction");
_procCurrentHoverItem = -1;
_hoverZone = NULL;
pauseJobs();
@@ -544,7 +544,7 @@
break;
case kEvWalk:
- debugC(1, kDebugLocation, "processInput: kEvWalk");
+ debugC(2, kDebugLocation, "processInput: kEvWalk");
_hoverZone = NULL;
changeCursor(kCursorArrow);
if (_yourself._zone._flags & kFlagsRemove) break;
@@ -962,7 +962,7 @@
Job *j = (Job*)_jobs._node._next;
while (j) {
- debugC(1, kDebugLocation, "runJobs: %i", j->_tag);
+ debugC(3, kDebugLocation, "runJobs: %i", j->_tag);
(*j->_fn)(j->_parm, j);
Job *v4 = (Job*)j->_node._next;
@@ -983,7 +983,7 @@
static uint16 count = 0;
- debugC(1, kDebugLocation, "jobWaitRemoveJob: count = %i", count);
+ debugC(3, kDebugLocation, "jobWaitRemoveJob: count = %i", count);
_engineFlags |= kEngineMouse;
Modified: scummvm/trunk/engines/parallaction/zone.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/zone.cpp 2007-02-17 10:58:54 UTC (rev 25652)
+++ scummvm/trunk/engines/parallaction/zone.cpp 2007-02-17 13:39:22 UTC (rev 25653)
@@ -472,11 +472,11 @@
uint16 runZone(Zone *z) {
- debugC(1, kDebugLocation, "runZone (%s)", z->_label._text);
+ debugC(3, kDebugLocation, "runZone (%s)", z->_label._text);
uint16 subtype = z->_type & 0xFFFF;
- debugC(1, kDebugLocation, "type = %x, object = %x", subtype, (z->_type & 0xFFFF0000) >> 16);
+ debugC(3, kDebugLocation, "type = %x, object = %x", subtype, (z->_type & 0xFFFF0000) >> 16);
switch(subtype) {
case kZoneExamine:
@@ -512,7 +512,7 @@
}
- debugC(1, kDebugLocation, "runZone completed");
+ debugC(3, kDebugLocation, "runZone completed");
return 0;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list