aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/scene_lok.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-19 01:13:29 +0000
committerJohannes Schickel2009-05-19 01:13:29 +0000
commit7561bd9dfbf325a15d330caef00438cafc9f7ab3 (patch)
tree9dc0d331d5bf4fdc3f234e28b529bc643519bfe0 /engines/kyra/scene_lok.cpp
parent136fcb3810c556c3a5d0e71ac1cf878c7538eb50 (diff)
downloadscummvm-rg350-7561bd9dfbf325a15d330caef00438cafc9f7ab3.tar.gz
scummvm-rg350-7561bd9dfbf325a15d330caef00438cafc9f7ab3.tar.bz2
scummvm-rg350-7561bd9dfbf325a15d330caef00438cafc9f7ab3.zip
Remov lots of superfluous debug output.
svn-id: r40715
Diffstat (limited to 'engines/kyra/scene_lok.cpp')
-rw-r--r--engines/kyra/scene_lok.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/engines/kyra/scene_lok.cpp b/engines/kyra/scene_lok.cpp
index df5d248bbc..e0284bbc3b 100644
--- a/engines/kyra/scene_lok.cpp
+++ b/engines/kyra/scene_lok.cpp
@@ -41,7 +41,6 @@
namespace Kyra {
void KyraEngine_LoK::enterNewScene(int sceneId, int facing, int unk1, int unk2, int brandonAlive) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::enterNewScene(%d, %d, %d, %d, %d)", sceneId, facing, unk1, unk2, brandonAlive);
int unkVar1 = 1;
_screen->hideMouse();
@@ -193,7 +192,6 @@ void KyraEngine_LoK::enterNewScene(int sceneId, int facing, int unk1, int unk2,
}
void KyraEngine_LoK::transcendScenes(int roomIndex, int roomName) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::transcendScenes(%d, %d)", roomIndex, roomName);
assert(roomIndex < _roomTableSize);
if (_flags.isTalkie) {
@@ -219,13 +217,11 @@ void KyraEngine_LoK::transcendScenes(int roomIndex, int roomName) {
}
void KyraEngine_LoK::setSceneFile(int roomIndex, int roomName) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::setSceneFile(%d, %d)", roomIndex, roomName);
assert(roomIndex < _roomTableSize);
_roomTable[roomIndex].nameIndex = roomName;
}
void KyraEngine_LoK::moveCharacterToPos(int character, int facing, int xpos, int ypos) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::moveCharacterToPos(%d, %d, %d, %d)", character, facing, xpos, ypos);
Character *ch = &_characterList[character];
ch->facing = facing;
_screen->hideMouse();
@@ -280,7 +276,6 @@ void KyraEngine_LoK::moveCharacterToPos(int character, int facing, int xpos, int
}
void KyraEngine_LoK::setCharacterPositionWithUpdate(int character) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::setCharacterPositionWithUpdate(%d)", character);
setCharacterPosition(character, 0);
_sprites->updateSceneAnims();
_timer->update();
@@ -292,7 +287,6 @@ void KyraEngine_LoK::setCharacterPositionWithUpdate(int character) {
}
int KyraEngine_LoK::setCharacterPosition(int character, int *facingTable) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::setCharacterPosition(%d, %p)", character, (const void *)facingTable);
if (character == 0) {
_currentCharacter->x1 += _charAddXPosTable[_currentCharacter->facing];
@@ -309,7 +303,6 @@ int KyraEngine_LoK::setCharacterPosition(int character, int *facingTable) {
}
void KyraEngine_LoK::setCharacterPositionHelper(int character, int *facingTable) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::setCharacterPositionHelper(%d, %p)", character, (const void *)facingTable);
Character *ch = &_characterList[character];
++ch->currentAnimFrame;
int facing = ch->facing;
@@ -405,7 +398,6 @@ void KyraEngine_LoK::loadSceneMsc() {
}
void KyraEngine_LoK::startSceneScript(int brandonAlive) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::startSceneScript(%d)", brandonAlive);
assert(_currentCharacter->sceneId < _roomTableSize);
int tableId = _roomTable[_currentCharacter->sceneId].nameIndex;
assert(tableId < _roomFilenameTableSize);
@@ -439,7 +431,6 @@ void KyraEngine_LoK::startSceneScript(int brandonAlive) {
}
void KyraEngine_LoK::initSceneData(int facing, int unk1, int brandonAlive) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::initSceneData(%d, %d, %d)", facing, unk1, brandonAlive);
int16 xpos2 = 0;
int setFacing = 1;
@@ -609,7 +600,6 @@ void KyraEngine_LoK::initSceneData(int facing, int unk1, int brandonAlive) {
}
void KyraEngine_LoK::initSceneObjectList(int brandonAlive) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::initSceneObjectList(%d)", brandonAlive);
for (int i = 0; i < 28; ++i)
_animator->actors()[i].active = 0;
@@ -850,7 +840,6 @@ void KyraEngine_LoK::initSceneScreen(int brandonAlive) {
}
int KyraEngine_LoK::handleSceneChange(int xpos, int ypos, int unk1, int frameReset) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::handleSceneChange(%d, %d, %d, %d)", xpos, ypos, unk1, frameReset);
if (queryGameFlag(0xEF))
unk1 = 0;
@@ -910,7 +899,6 @@ int KyraEngine_LoK::handleSceneChange(int xpos, int ypos, int unk1, int frameRes
}
int KyraEngine_LoK::processSceneChange(int *table, int unk1, int frameReset) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::processSceneChange(%p, %d, %d)", (const void *)table, unk1, frameReset);
if (queryGameFlag(0xEF))
unk1 = 0;
@@ -992,7 +980,6 @@ int KyraEngine_LoK::processSceneChange(int *table, int unk1, int frameReset) {
}
int KyraEngine_LoK::changeScene(int facing) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::changeScene(%d)", facing);
if (queryGameFlag(0xEF)) {
if (_currentCharacter->sceneId == 5)
return 0;
@@ -1154,7 +1141,6 @@ void KyraEngine_LoK::setCharactersPositions(int character) {
#pragma mark -
int KyraEngine_LoK::findWay(int x, int y, int toX, int toY, int *moveTable, int moveTableSize) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::findWay(%d, %d, %d, %d, %p, %d)", x, y, toX, toY, (const void *)moveTable, moveTableSize);
int ret = KyraEngine_v1::findWay(x, y, toX, toY, moveTable, moveTableSize);
if (ret == 0x7D00)
return 0;
@@ -1162,7 +1148,6 @@ int KyraEngine_LoK::findWay(int x, int y, int toX, int toY, int *moveTable, int
}
bool KyraEngine_LoK::lineIsPassable(int x, int y) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::lineIsPassable(%d, %d)", x, y);
if (queryGameFlag(0xEF)) {
if (_currentCharacter->sceneId == 5)
return true;
@@ -1223,7 +1208,6 @@ bool KyraEngine_LoK::lineIsPassable(int x, int y) {
#pragma mark -
void KyraEngine_LoK::setupSceneResource(int sceneId) {
- debugC(9, kDebugLevelMain, "KyraEngine_LoK::setupSceneResource(%d)", sceneId);
if (!_flags.isTalkie)
return;