diff options
author | Paul Gilbert | 2012-01-20 15:10:40 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:20:10 +0200 |
commit | 5ecb0d4eea46fa89b89152d33c9c95ee87be60c0 (patch) | |
tree | 5299e6abbb55b9d588e7ed3650185ba5349334f3 | |
parent | e3308ce3b54732197049461183194f2532c4c5bb (diff) | |
download | scummvm-rg350-5ecb0d4eea46fa89b89152d33c9c95ee87be60c0.tar.gz scummvm-rg350-5ecb0d4eea46fa89b89152d33c9c95ee87be60c0.tar.bz2 scummvm-rg350-5ecb0d4eea46fa89b89152d33c9c95ee87be60c0.zip |
MORTEVIELLE: Changed deprecated warnings to use debugC instead
-rw-r--r-- | engines/mortevielle/boite.cpp | 2 | ||||
-rw-r--r-- | engines/mortevielle/graphics.cpp | 2 | ||||
-rw-r--r-- | engines/mortevielle/var_mor.cpp | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/engines/mortevielle/boite.cpp b/engines/mortevielle/boite.cpp index e2b8200adc..7072085c23 100644 --- a/engines/mortevielle/boite.cpp +++ b/engines/mortevielle/boite.cpp @@ -33,7 +33,7 @@ namespace Mortevielle { //Translation: box() void boite(int x, int y, int dx, int dy, int coul) { - warning("TODO: boite is deprecated in favour of ScreenSurface::drawBox"); + debugC(1, kMortevielleCore, "TODO: boite is deprecated in favour of ScreenSurface::drawBox"); g_vm->_screenSurface.drawBox(x, y, dx, dy, coul); } diff --git a/engines/mortevielle/graphics.cpp b/engines/mortevielle/graphics.cpp index f751bc2422..27595992c7 100644 --- a/engines/mortevielle/graphics.cpp +++ b/engines/mortevielle/graphics.cpp @@ -402,7 +402,7 @@ void GfxSurface::decode(const byte *pSrc) { } pSrc = pSrcStart; - debugC(1, kMortevielleGraphics, "Decoding image block %d position %d,%d size %d,%d method %d", + debugC(2, kMortevielleGraphics, "Decoding image block %d position %d,%d size %d,%d method %d", entryIndex + 1, _xp, _yp, _width, _height, decomIndex); } diff --git a/engines/mortevielle/var_mor.cpp b/engines/mortevielle/var_mor.cpp index 301d0893a7..9de3d94137 100644 --- a/engines/mortevielle/var_mor.cpp +++ b/engines/mortevielle/var_mor.cpp @@ -243,7 +243,7 @@ void hirs() { // Note: The original used this to set the graphics mode and clear the screen, both at // the start of the game, and whenever the screen need to be cleared. As such, this // method is deprecated in favour of clearing the screen - warning("TODO: hirs is deprecated in favour of ScreenSurface::clearScreen"); + debugC(1, kMortevielleCore, "TODO: hirs is deprecated in favour of ScreenSurface::clearScreen"); g_vm->_screenSurface.clearScreen(); } @@ -335,13 +335,13 @@ void s_sauv(int Gd, int y, int dy) { // (* external 'c:\mc\boite.com'; *) void box(int c, int Gd, int xo, int yo, int xi, int yi, int patt) { - warning("TODO: box deprecated in favour of GfxSurface::fillBox"); + debugC(1, kMortevielleCore, "TODO: box deprecated in favour of GfxSurface::fillBox"); g_vm->_screenSurface.fillBox(c, Common::Rect(xo, yo, xi, yi), patt); } // (* external 'c:\mc\decomp.com'; *) void decomp(int seg, int dep) { - warning("TODO: decomp deprecated in faovur of GfxSurface::decode"); + debugC(1, kMortevielleCore, "TODO: decomp deprecated in faovur of GfxSurface::decode"); } // (* external 'c:\mc\affich.com'; *) |