diff options
author | yinsimei | 2017-07-10 20:39:11 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | 08304b848ad871e25353bf4fdd9c05182bc83fbf (patch) | |
tree | 0cbfbc217b4691828bf8947935c11c05ee03185d /engines/sludge/sprbanks.cpp | |
parent | ed09887e84b7d50fdaed7b87a4c9927620bea6aa (diff) | |
download | scummvm-rg350-08304b848ad871e25353bf4fdd9c05182bc83fbf.tar.gz scummvm-rg350-08304b848ad871e25353bf4fdd9c05182bc83fbf.tar.bz2 scummvm-rg350-08304b848ad871e25353bf4fdd9c05182bc83fbf.zip |
SLUDGE: use Common/debug instead of sludge debug
Diffstat (limited to 'engines/sludge/sprbanks.cpp')
-rw-r--r-- | engines/sludge/sprbanks.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sludge/sprbanks.cpp b/engines/sludge/sprbanks.cpp index bc2d0842bd..594ea5661a 100644 --- a/engines/sludge/sprbanks.cpp +++ b/engines/sludge/sprbanks.cpp @@ -20,11 +20,13 @@ * */ +#include "common/textconsole.h" + #include "sludge/allfiles.h" +#include "sludge/sludge.h" #include "sludge/sprites.h" #include "sludge/sprbanks.h" #include "sludge/newfatal.h" -#include "sludge/debug.h" namespace Sludge { @@ -33,7 +35,6 @@ extern spriteBank theFont; extern int loadedFontNum, fontTableSize; loadedSpriteBank *loadBankForAnim(int ID) { - //debugOut ("loadBankForAnim: Looking for sprite bank with ID %d\n", ID); loadedSpriteBank *returnMe = allLoadedBanks; while (returnMe) { if (returnMe->ID == ID) { @@ -43,17 +44,16 @@ loadedSpriteBank *loadBankForAnim(int ID) { returnMe = returnMe->next; } returnMe = new loadedSpriteBank; - //debugOut ("loadBankForAnim: No existing sprite bank with ID %d\n", ID); if (checkNew(returnMe)) { returnMe->ID = ID; if (loadSpriteBank(ID, returnMe->bank, false)) { returnMe->timesUsed = 0; returnMe->next = allLoadedBanks; allLoadedBanks = returnMe; - debugOut("loadBankForAnim: New sprite bank created OK\n"); + debug(kSludgeDebugDataLoad, "loadBankForAnim: New sprite bank created OK"); return returnMe; } else { - debugOut("loadBankForAnim: I guess I couldn't load the sprites...\n"); + debug(kSludgeDebugDataLoad, "loadBankForAnim: I guess I couldn't load the sprites..."); return NULL; } } else |