aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNicola Mettifogo2007-02-17 13:39:22 +0000
committerNicola Mettifogo2007-02-17 13:39:22 +0000
commit9ab2ca5bc7dec069c575504b3e70fad8b63d3706 (patch)
tree1bda182d42ccae2cf81d32f91f65b2be0c0e3477 /engines
parent5e38eab6407c15b02c8329714859a099238e06c8 (diff)
downloadscummvm-rg350-9ab2ca5bc7dec069c575504b3e70fad8b63d3706.tar.gz
scummvm-rg350-9ab2ca5bc7dec069c575504b3e70fad8b63d3706.tar.bz2
scummvm-rg350-9ab2ca5bc7dec069c575504b3e70fad8b63d3706.zip
changed some debug levels
svn-id: r25653
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/animation.cpp6
-rw-r--r--engines/parallaction/parallaction.cpp14
-rw-r--r--engines/parallaction/zone.cpp6
3 files changed, 13 insertions, 13 deletions
diff --git a/engines/parallaction/animation.cpp b/engines/parallaction/animation.cpp
index d5f078c3f8..f94e55469b 100644
--- a/engines/parallaction/animation.cpp
+++ b/engines/parallaction/animation.cpp
@@ -226,7 +226,7 @@ void jobDisplayAnimations(void *parm, Job *j) {
void jobEraseAnimations(void *arg_0, Job *j) {
- debugC(1, kDebugLocation, "jobEraseAnimations");
+ debugC(3, kDebugLocation, "jobEraseAnimations");
Animation *a = (Animation*)_animations._next;
@@ -303,7 +303,7 @@ int16 scriptFillBuffers(ArchivedFile *file) {
char v2[] = "\"\0";
int16 _si = 0;
-
+
for (; _si < 15; _si++)
_tokens[_si][0] = '\0';
@@ -522,7 +522,7 @@ LValue getLValue(Instruction *inst, char *str, LocalVariable *locals, Animation
void jobRunScripts(void *parm, Job *j) {
- debugC(1, kDebugLocation, "jobRunScripts");
+ debugC(3, kDebugLocation, "jobRunScripts");
static uint16 modCounter = 0;
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
index 0cbc459809..6c110e92db 100644
--- a/engines/parallaction/parallaction.cpp
+++ b/engines/parallaction/parallaction.cpp
@@ -422,7 +422,7 @@ void Parallaction::runGame() {
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 @@ void Parallaction::processInput(InputData *data) {
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 @@ void Parallaction::processInput(InputData *data) {
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 @@ void Parallaction::processInput(InputData *data) {
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 @@ void runJobs() {
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 @@ void jobWaitRemoveJob(void *parm, Job *j) {
static uint16 count = 0;
- debugC(1, kDebugLocation, "jobWaitRemoveJob: count = %i", count);
+ debugC(3, kDebugLocation, "jobWaitRemoveJob: count = %i", count);
_engineFlags |= kEngineMouse;
diff --git a/engines/parallaction/zone.cpp b/engines/parallaction/zone.cpp
index 9d3c8de10a..1f909ea11c 100644
--- a/engines/parallaction/zone.cpp
+++ b/engines/parallaction/zone.cpp
@@ -472,11 +472,11 @@ void displayItemComment(ExamineData *data) {
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 @@ uint16 runZone(Zone *z) {
}
- debugC(1, kDebugLocation, "runZone completed");
+ debugC(3, kDebugLocation, "runZone completed");
return 0;
}