diff options
author | Torbjörn Andersson | 2003-10-26 15:42:49 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-10-26 15:42:49 +0000 |
commit | 7c4cc25cec714073d947e6451b4bf76cd53624ef (patch) | |
tree | 79a4c235fb9b62e0f49e069d87645f99022b2859 /sword2/driver/render.cpp | |
parent | 2a139049d621479da4898fcb22c742c52d17eac3 (diff) | |
download | scummvm-rg350-7c4cc25cec714073d947e6451b4bf76cd53624ef.tar.gz scummvm-rg350-7c4cc25cec714073d947e6451b4bf76cd53624ef.tar.bz2 scummvm-rg350-7c4cc25cec714073d947e6451b4bf76cd53624ef.zip |
Enable the debug console. Actually, what I've done is to adapt the debug
console from the SCUMM engine. I decided that would be easier than to clean
up the original console code.
Unfortunately there's a bunch of code that I just copied - a pretty lousy
form of code-reusal. It'd be nice if the console could be made part of the
Engine class, or something like that.
Most of the debug commands seem to be working. Some aren't relevant for
ScummVM, and some are a bit obscure so I'm not quite sure what they're
supposed to be doing.
svn-id: r10978
Diffstat (limited to 'sword2/driver/render.cpp')
-rw-r--r-- | sword2/driver/render.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sword2/driver/render.cpp b/sword2/driver/render.cpp index a8e13fd45a..e0cc9fc7df 100644 --- a/sword2/driver/render.cpp +++ b/sword2/driver/render.cpp @@ -328,7 +328,6 @@ void Display::stretchImage(byte *dst, uint16 dstPitch, uint16 dstWidth, uint16 d } } -#ifdef _SWORD2_DEBUG /** * Plots a point relative to the top left corner of the screen. This is only * used for debugging. @@ -513,7 +512,6 @@ void Display::drawLine(int16 x0, int16 y0, int16 x1, int16 y1, uint8 colour) { } } } -#endif /** * This function tells the driver the size of the background screen for the |