aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v1.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-01-13 15:35:02 +0000
committerEugene Sandulenko2007-01-13 15:35:02 +0000
commit24c9735588ac8d914b8f058cf68373b4e9a67071 (patch)
tree7100d5cb797f0c71eda254feb084ab49ed534c02 /engines/gob/game_v1.cpp
parentbad2b283c12e09eaa3c72f9ca67913b2a14afd03 (diff)
downloadscummvm-rg350-24c9735588ac8d914b8f058cf68373b4e9a67071.tar.gz
scummvm-rg350-24c9735588ac8d914b8f058cf68373b4e9a67071.tar.bz2
scummvm-rg350-24c9735588ac8d914b8f058cf68373b4e9a67071.zip
Rename special debug levels to conform our suggested naming scheme.
svn-id: r25073
Diffstat (limited to 'engines/gob/game_v1.cpp')
-rw-r--r--engines/gob/game_v1.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/gob/game_v1.cpp b/engines/gob/game_v1.cpp
index b539a63fd2..051baec1b7 100644
--- a/engines/gob/game_v1.cpp
+++ b/engines/gob/game_v1.cpp
@@ -126,8 +126,8 @@ void Game_v1::playTot(int16 skipPlay) {
_curExtFile[strlen(_curExtFile) - 4] = 0;
strcat(_curExtFile, ".ext");
- debugC(4, DEBUG_FILEIO, "IMA: %s", _curImaFile);
- debugC(4, DEBUG_FILEIO, "EXT: %s", _curExtFile);
+ debugC(4, kDebugFileIO, "IMA: %s", _curImaFile);
+ debugC(4, kDebugFileIO, "EXT: %s", _curExtFile);
filePtr = (char *)_totFileData + 0x30;
@@ -265,11 +265,11 @@ int16 Game_v1::addNewCollision(int16 id, int16 left, int16 top, int16 right, int
int16 i;
Collision *ptr;
- debugC(5, DEBUG_COLLISIONS, "addNewCollision");
- debugC(5, DEBUG_COLLISIONS, "id = %x", id);
- debugC(5, DEBUG_COLLISIONS, "left = %d, top = %d, right = %d, bottom = %d", left, top, right, bottom);
- debugC(5, DEBUG_COLLISIONS, "flags = %x, key = %x", flags, key);
- debugC(5, DEBUG_COLLISIONS, "funcEnter = %d, funcLeave = %d", funcEnter, funcLeave);
+ debugC(5, kDebugCollisions, "addNewCollision");
+ debugC(5, kDebugCollisions, "id = %x", id);
+ debugC(5, kDebugCollisions, "left = %d, top = %d, right = %d, bottom = %d", left, top, right, bottom);
+ debugC(5, kDebugCollisions, "flags = %x, key = %x", flags, key);
+ debugC(5, kDebugCollisions, "funcEnter = %d, funcLeave = %d", funcEnter, funcLeave);
for (i = 0; i < 250; i++) {
if (_collisionAreas[i].left != -1)
@@ -296,7 +296,7 @@ void Game_v1::pushCollisions(char all) {
Collision *destPtr;
int16 size;
- debugC(1, DEBUG_COLLISIONS, "pushCollisions");
+ debugC(1, kDebugCollisions, "pushCollisions");
for (size = 0, srcPtr = _collisionAreas; srcPtr->left != -1;
srcPtr++) {
if (all || (srcPtr->id & 0x8000))
@@ -321,7 +321,7 @@ void Game_v1::popCollisions(void) {
Collision *destPtr;
Collision *srcPtr;
- debugC(1, DEBUG_COLLISIONS, "popCollision");
+ debugC(1, kDebugCollisions, "popCollision");
_collStackSize--;
for (destPtr = _collisionAreas; destPtr->left != -1; destPtr++);
@@ -715,7 +715,7 @@ void Game_v1::collisionsBlock(void) {
}
cmd &= 0x7f;
- debugC(1, DEBUG_COLLISIONS, "collisionsBlock(%d)", cmd);
+ debugC(1, kDebugCollisions, "collisionsBlock(%d)", cmd);
switch (cmd) {
case 3: