diff options
author | Strangerke | 2011-07-20 14:22:56 +0200 |
---|---|---|
committer | Strangerke | 2011-07-20 14:22:56 +0200 |
commit | 420516b45e1822c249775c68f9c61b62aba5de0b (patch) | |
tree | 76833c00d53d4ed87b70fd121892710bd68d96a6 /engines/cge/bitmap.cpp | |
parent | 32890064585c75bb796417fa87170ebf611897fe (diff) | |
download | scummvm-rg350-420516b45e1822c249775c68f9c61b62aba5de0b.tar.gz scummvm-rg350-420516b45e1822c249775c68f9c61b62aba5de0b.tar.bz2 scummvm-rg350-420516b45e1822c249775c68f9c61b62aba5de0b.zip |
CGE: Rename Debug channel constants
Diffstat (limited to 'engines/cge/bitmap.cpp')
-rw-r--r-- | engines/cge/bitmap.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/cge/bitmap.cpp b/engines/cge/bitmap.cpp index 9d898506da..8f335fed60 100644 --- a/engines/cge/bitmap.cpp +++ b/engines/cge/bitmap.cpp @@ -48,7 +48,7 @@ void Bitmap::deinit() { #pragma argsused Bitmap::Bitmap(const char *fname, bool rem) : _m(NULL), _v(NULL), _map(0) { - debugC(1, kDebugBitmap, "Bitmap::Bitmap(%s, %s)", fname, rem ? "true" : "false"); + debugC(1, kCGEDebugBitmap, "Bitmap::Bitmap(%s, %s)", fname, rem ? "true" : "false"); char pat[kMaxPath]; forceExt(pat, fname, ".VBM"); @@ -82,7 +82,7 @@ Bitmap::Bitmap(const char *fname, bool rem) : _m(NULL), _v(NULL), _map(0) { Bitmap::Bitmap(uint16 w, uint16 h, uint8 *map) : _w(w), _h(h), _m(map), _v(NULL), _map(0) { - debugC(1, kDebugBitmap, "Bitmap::Bitmap(%d, %d, map)", w, h); + debugC(1, kCGEDebugBitmap, "Bitmap::Bitmap(%d, %d, map)", w, h); if (map) code(); } @@ -96,7 +96,7 @@ Bitmap::Bitmap(uint16 w, uint16 h, uint8 fill) _h(h), _m(NULL), _map(0) { - debugC(1, kDebugBitmap, "Bitmap::Bitmap(%d, %d, %d)", w, h, fill); + debugC(1, kCGEDebugBitmap, "Bitmap::Bitmap(%d, %d, %d)", w, h, fill); uint16 dsiz = _w >> 2; // data size (1 plane line size) uint16 lsiz = 2 + dsiz + 2; // uint16 for line header, uint16 for gap @@ -136,7 +136,7 @@ Bitmap::Bitmap(uint16 w, uint16 h, uint8 fill) Bitmap::Bitmap(const Bitmap &bmp) : _w(bmp._w), _h(bmp._h), _m(NULL), _v(NULL), _map(0) { - debugC(1, kDebugBitmap, "Bitmap::Bitmap(bmp)"); + debugC(1, kCGEDebugBitmap, "Bitmap::Bitmap(bmp)"); uint8 *v0 = bmp._v; if (v0) { uint16 vsiz = (uint8 *)(bmp._b) - (uint8 *)(v0); @@ -151,7 +151,7 @@ Bitmap::Bitmap(const Bitmap &bmp) : _w(bmp._w), _h(bmp._h), _m(NULL), _v(NULL), Bitmap::~Bitmap() { - debugC(6, kDebugBitmap, "Bitmap::~Bitmap()"); + debugC(6, kCGEDebugBitmap, "Bitmap::~Bitmap()"); free(_m); delete[] _v; @@ -159,7 +159,7 @@ Bitmap::~Bitmap() { Bitmap &Bitmap::operator = (const Bitmap &bmp) { - debugC(1, kDebugBitmap, "&Bitmap::operator ="); + debugC(1, kCGEDebugBitmap, "&Bitmap::operator ="); uint8 *v0 = bmp._v; _w = bmp._w; @@ -183,7 +183,7 @@ Bitmap &Bitmap::operator = (const Bitmap &bmp) { uint16 Bitmap::moveVmap(uint8 *buf) { - debugC(1, kDebugBitmap, "Bitmap::moveVmap(buf)"); + debugC(1, kCGEDebugBitmap, "Bitmap::moveVmap(buf)"); if (_v) { uint16 vsiz = (uint8 *)_b - (uint8 *)_v; @@ -198,7 +198,7 @@ uint16 Bitmap::moveVmap(uint8 *buf) { BMP_PTR Bitmap::code() { - debugC(1, kDebugBitmap, "Bitmap::code()"); + debugC(1, kCGEDebugBitmap, "Bitmap::code()"); if (!_m) return false; @@ -314,7 +314,7 @@ BMP_PTR Bitmap::code() { bool Bitmap::solidAt(int16 x, int16 y) { - debugC(6, kDebugBitmap, "Bitmap::solidAt(%d, %d)", x, y); + debugC(6, kCGEDebugBitmap, "Bitmap::solidAt(%d, %d)", x, y); uint8 *m; uint16 r, n, n0; @@ -377,7 +377,7 @@ bool Bitmap::solidAt(int16 x, int16 y) { bool Bitmap::saveVBM(XFile *f) { - debugC(1, kDebugBitmap, "Bitmap::saveVBM(f)"); + debugC(1, kCGEDebugBitmap, "Bitmap::saveVBM(f)"); uint16 p = (_pal != NULL), n = ((uint16)(((uint8 *)_b) - _v)) + _h * sizeof(HideDesc); @@ -405,7 +405,7 @@ bool Bitmap::saveVBM(XFile *f) { bool Bitmap::loadVBM(XFile *f) { - debugC(5, kDebugBitmap, "Bitmap::loadVBM(f)"); + debugC(5, kCGEDebugBitmap, "Bitmap::loadVBM(f)"); uint16 p = 0, n = 0; if (f->_error == 0) @@ -448,7 +448,7 @@ bool Bitmap::loadVBM(XFile *f) { } bool Bitmap::loadBMP(XFile *f) { - debugC(1, kDebugBitmap, "Bitmap::loadBMP(f)"); + debugC(1, kCGEDebugBitmap, "Bitmap::loadBMP(f)"); struct { char BM[2]; |