diff options
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r-- | engines/gob/game_v2.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp index 30166269a5..13672b473e 100644 --- a/engines/gob/game_v2.cpp +++ b/engines/gob/game_v2.cpp @@ -133,8 +133,8 @@ void Game_v2::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; @@ -185,7 +185,7 @@ void Game_v2::playTot(int16 skipPlay) { // in playTot and evaluated later, right before using it. In the // Gobliins 2 demo, there is a dummy tot that loads another tot, overwriting // the dummy pointer with the real one. - debugC(1, DEBUG_FILEIO, + debugC(1, kDebugFileIO, "Attempted to load invalid resource table (size = %d, totSize = %d)", resSize, totSize); delete _totResourceTable; @@ -312,11 +312,11 @@ int16 Game_v2::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 < 150; i++) { if ((_collisionAreas[i].left != -1) && (_collisionAreas[i].id != id)) @@ -345,7 +345,7 @@ void Game_v2::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 || (((uint16) srcPtr->id) >= 20)) size++; @@ -383,7 +383,7 @@ void Game_v2::popCollisions(void) { Collision *destPtr; Collision *srcPtr; - debugC(1, DEBUG_COLLISIONS, "popCollision"); + debugC(1, kDebugCollisions, "popCollision"); _collStackSize--; @@ -818,7 +818,7 @@ void Game_v2::collisionsBlock(void) { } cmd &= 0x7f; - debugC(1, DEBUG_COLLISIONS, "collisionsBlock(%d)", cmd); + debugC(1, kDebugCollisions, "collisionsBlock(%d)", cmd); switch (cmd) { case 0: |