aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support
diff options
context:
space:
mode:
authorPaul Gilbert2017-04-04 20:53:31 -0400
committerPaul Gilbert2017-04-04 20:53:31 -0400
commit903cffca281c3ba44bd9d79d34dfc4eadf1a42b3 (patch)
tree30678b198a15525f9df9dc3c293647d7fd5728cd /engines/titanic/support
parentd52d58d3dd79bfc0a656732c63b3b31bd89e09c6 (diff)
downloadscummvm-rg350-903cffca281c3ba44bd9d79d34dfc4eadf1a42b3.tar.gz
scummvm-rg350-903cffca281c3ba44bd9d79d34dfc4eadf1a42b3.tar.bz2
scummvm-rg350-903cffca281c3ba44bd9d79d34dfc4eadf1a42b3.zip
TITANIC: Change debug level constants to have a DEBUG_ prefix
Diffstat (limited to 'engines/titanic/support')
-rw-r--r--engines/titanic/support/direct_draw.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/support/direct_draw.cpp b/engines/titanic/support/direct_draw.cpp
index faed140ea7..9fbfe0c5ee 100644
--- a/engines/titanic/support/direct_draw.cpp
+++ b/engines/titanic/support/direct_draw.cpp
@@ -33,7 +33,7 @@ DirectDraw::DirectDraw() : _windowed(false), _width(0), _height(0),
}
void DirectDraw::setDisplayMode(int width, int height, int bpp, int refreshRate) {
- debugC(ERROR_BASIC, kDebugGraphics, "DirectDraw::SetDisplayMode (%d x %d), %d bpp",
+ debugC(DEBUG_BASIC, kDebugGraphics, "DirectDraw::SetDisplayMode (%d x %d), %d bpp",
width, height, bpp);
assert(bpp == 16);
@@ -42,7 +42,7 @@ void DirectDraw::setDisplayMode(int width, int height, int bpp, int refreshRate)
}
void DirectDraw::diagnostics() {
- debugC(ERROR_BASIC, kDebugGraphics, "Running DirectDraw Diagnostic...");
+ debugC(DEBUG_BASIC, kDebugGraphics, "Running DirectDraw Diagnostic...");
}
DirectDrawSurface *DirectDraw::createSurfaceFromDesc(const DDSurfaceDesc &desc) {
@@ -61,7 +61,7 @@ DirectDrawManager::DirectDrawManager(TitanicEngine *vm, bool windowed) {
}
void DirectDrawManager::initVideo(int width, int height, int bpp, int numBackSurfaces) {
- debugC(ERROR_BASIC, kDebugGraphics, "Initialising video surfaces");
+ debugC(DEBUG_BASIC, kDebugGraphics, "Initialising video surfaces");
_directDraw._width = width;
_directDraw._numBackSurfaces = numBackSurfaces;
_directDraw._height = height;
@@ -75,7 +75,7 @@ void DirectDrawManager::initVideo(int width, int height, int bpp, int numBackSur
}
void DirectDrawManager::initFullScreen() {
- debugC(ERROR_BASIC, kDebugGraphics, "Creating surfaces");
+ debugC(DEBUG_BASIC, kDebugGraphics, "Creating surfaces");
_directDraw.setDisplayMode(_directDraw._width, _directDraw._height,
_directDraw._bpp, 0);