aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2005-10-12 00:02:47 +0000
committerEugene Sandulenko2005-10-12 00:02:47 +0000
commite6ae6d3520517126de41359c0bcc59fa0de5807d (patch)
tree47c2f5442852cb7acda14318a168c663770c74a9
parent8447b128e6a8b8835d17dc46ea94d071052b3533 (diff)
downloadscummvm-rg350-e6ae6d3520517126de41359c0bcc59fa0de5807d.tar.gz
scummvm-rg350-e6ae6d3520517126de41359c0bcc59fa0de5807d.tar.bz2
scummvm-rg350-e6ae6d3520517126de41359c0bcc59fa0de5807d.zip
Hide unnecessary debug output
svn-id: r19027
-rw-r--r--gob/game.cpp8
-rw-r--r--gob/goblin.cpp2
-rw-r--r--gob/inter.cpp18
-rw-r--r--gob/mult.cpp6
-rw-r--r--gob/timer.cpp4
5 files changed, 19 insertions, 19 deletions
diff --git a/gob/game.cpp b/gob/game.cpp
index 3f0ccf76c1..b323ebef99 100644
--- a/gob/game.cpp
+++ b/gob/game.cpp
@@ -218,7 +218,7 @@ void game_pushCollisions(char all) {
Game_Collision *destPtr;
int16 size;
- debug(0, "game_pushCollisions");
+ debug(4, "game_pushCollisions");
for (size = 0, srcPtr = game_collisionAreas; srcPtr->left != -1;
srcPtr++) {
if (all || (srcPtr->id & 0x8000))
@@ -243,7 +243,7 @@ void game_popCollisions(void) {
Game_Collision *destPtr;
Game_Collision *srcPtr;
- debug(0, "game_popCollision");
+ debug(4, "game_popCollision");
game_collStackSize--;
for (destPtr = game_collisionAreas; destPtr->left != -1; destPtr++);
@@ -1802,8 +1802,8 @@ void game_playTot(int16 skipPlay) {
game_curExtFile[strlen(game_curExtFile) - 4] = 0;
strcat(game_curExtFile, ".ext");
- debug(0, "IMA: %s", game_curImaFile);
- debug(0, "EXT: %s", game_curExtFile);
+ debug(4, "IMA: %s", game_curImaFile);
+ debug(4, "EXT: %s", game_curExtFile);
filePtr = (char *)game_totFileData + 0x30;
diff --git a/gob/goblin.cpp b/gob/goblin.cpp
index 9d80d77955..7a4168e631 100644
--- a/gob/goblin.cpp
+++ b/gob/goblin.cpp
@@ -632,7 +632,7 @@ void gob_switchGoblin(int16 index) {
int16 next;
int16 tmp;
- debug(0, "gob_switchGoblin");
+ debug(4, "gob_switchGoblin");
if (VAR(59) != 0)
return;
diff --git a/gob/inter.cpp b/gob/inter.cpp
index 63028c93de..26fea251ce 100644
--- a/gob/inter.cpp
+++ b/gob/inter.cpp
@@ -613,7 +613,7 @@ void inter_writeData(void) {
int16 dataVar;
int16 retSize;
- debug(0, "inter_writeData");
+ debug(4, "inter_writeData");
inter_evalExpr(0);
dataVar = parse_parseVarIndex();
size = parse_parseValExpr();
@@ -643,7 +643,7 @@ void inter_checkData(void) {
int16 handle;
int16 varOff;
- debug(0, "data_cheackData");
+ debug(4, "data_cheackData");
inter_evalExpr(0);
varOff = parse_parseVarIndex();
handle = data_openData(inter_resStr);
@@ -660,7 +660,7 @@ void inter_readData(void) {
int16 offset;
int16 handle;
- debug(0, "inter_readData");
+ debug(4, "inter_readData");
inter_evalExpr(0);
dataVar = parse_parseVarIndex();
size = parse_parseValExpr();
@@ -692,7 +692,7 @@ void inter_readData(void) {
void inter_loadFont(void) {
int16 index;
- debug(0, "inter_loadFont");
+ debug(4, "inter_loadFont");
inter_evalExpr(0);
index = inter_load16();
@@ -992,7 +992,7 @@ void inter_loadCursor(void) {
}
void inter_loadSpriteToPos(void) {
- debug(0, "inter_loadSpriteToPos");
+ debug(4, "inter_loadSpriteToPos");
draw_spriteLeft = inter_load16();
draw_destSpriteX = parse_parseValExpr();
@@ -1013,7 +1013,7 @@ void inter_loadTot(void) {
int8 size;
int16 i;
- debug(0, "inter_loadTot");
+ debug(4, "inter_loadTot");
if ((*inter_execPtr & 0x80) != 0) {
inter_execPtr++;
inter_evalExpr(0);
@@ -1062,7 +1062,7 @@ void inter_keyFunc(void) {
int16 flag;
int16 key;
- debug(0, "inter_keyFunc");
+ debug(4, "inter_keyFunc");
flag = inter_load16();
inter_animPalette();
draw_blitInvalidated();
@@ -1200,7 +1200,7 @@ void inter_repeatUntil(void) {
int16 size;
char flag;
- debug(0, "inter_repeatUntil");
+ debug(4, "inter_repeatUntil");
inter_nestLevel[0]++;
blockPtr = inter_execPtr;
@@ -1227,7 +1227,7 @@ void inter_whileDo(void) {
char flag;
int16 size;
- debug(0, "inter_whileDo");
+ debug(4, "inter_whileDo");
inter_nestLevel[0]++;
do {
savedIP = inter_execPtr;
diff --git a/gob/mult.cpp b/gob/mult.cpp
index c52b50021b..3df3c5e61b 100644
--- a/gob/mult.cpp
+++ b/gob/mult.cpp
@@ -466,9 +466,9 @@ void mult_interInitMult(void) {
anim_animAreaLeft + anim_animAreaWidth - 1,
anim_animAreaTop + anim_animAreaHeight - 1, 0, 0, 0);
- debug(0, "mult_interInitMult: x = %d, y = %d, w = %d, h = %d",
+ debug(4, "mult_interInitMult: x = %d, y = %d, w = %d, h = %d",
anim_animAreaLeft, anim_animAreaTop, anim_animAreaWidth, anim_animAreaHeight);
- debug(0, " objCount = %d, animation data size = %d", mult_objCount, inter_animDataSize);
+ debug(4, " objCount = %d, animation data size = %d", mult_objCount, inter_animDataSize);
}
void mult_freeMult(void) {
@@ -489,7 +489,7 @@ void mult_interLoadMult(void) {
int16 i;
char *multData;
- debug(0, "mult_interLoadMult: Loading...");
+ debug(4, "mult_interLoadMult: Loading...");
inter_evalExpr(&objIndex);
inter_evalExpr(&val);
diff --git a/gob/timer.cpp b/gob/timer.cpp
index b75e9db3ed..d06c7b1ffe 100644
--- a/gob/timer.cpp
+++ b/gob/timer.cpp
@@ -25,10 +25,10 @@
namespace Gob {
void timer_enableTimer() {
- debug(0, "STUB: timer_enableTimer()");
+ debug(4, "STUB: timer_enableTimer()");
}
void timer_disableTimer() {
- debug(0, "STUB: timer_disableTimer()");
+ debug(4, "STUB: timer_disableTimer()");
}
}