aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge
diff options
context:
space:
mode:
authoryinsimei2017-07-01 22:06:46 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commitae54897ff5119ed605b875bc4bcb71691f7eb406 (patch)
treee80e2697d8191608b385d2495b290b2d005108c0 /engines/sludge
parent15e7f5c48e4e2747223d04445902fc13f23bd956 (diff)
downloadscummvm-rg350-ae54897ff5119ed605b875bc4bcb71691f7eb406.tar.gz
scummvm-rg350-ae54897ff5119ed605b875bc4bcb71691f7eb406.tar.bz2
scummvm-rg350-ae54897ff5119ed605b875bc4bcb71691f7eb406.zip
SLUDGE: add channel to debug text
Diffstat (limited to 'engines/sludge')
-rw-r--r--engines/sludge/sprites.cpp2
-rw-r--r--engines/sludge/zbuffer.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/sludge/sprites.cpp b/engines/sludge/sprites.cpp
index 51f3062a17..e31f66d018 100644
--- a/engines/sludge/sprites.cpp
+++ b/engines/sludge/sprites.cpp
@@ -175,7 +175,7 @@ bool loadSpriteBank(int fileNum, spriteBank &loadhere, bool isFont) {
// version 3, sprite is png
if (spriteBankVersion == 3) {
- debug("png sprite");
+ debug(kSludgeDebugGraphics, "png sprite");
for (int i = 0; i < total; i++) {
loadhere.sprites[i].xhot = getSigned(bigDataFile);
loadhere.sprites[i].yhot = getSigned(bigDataFile);
diff --git a/engines/sludge/zbuffer.cpp b/engines/sludge/zbuffer.cpp
index f2d627ef0d..97c44e8a99 100644
--- a/engines/sludge/zbuffer.cpp
+++ b/engines/sludge/zbuffer.cpp
@@ -80,6 +80,8 @@ bool setZBuffer(int num) {
zBufferToSet = num;
return true;
}
+
+ debug (kSludgeDebugGraphics, "Setting zBuffer");
uint32 stillToGo = 0;
int yPalette[16], sorted[16], sortback[16];