aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/avalot.cpp
diff options
context:
space:
mode:
authorStrangerke2013-09-29 22:19:12 +0200
committerStrangerke2013-09-29 22:19:12 +0200
commitbea6980529daed3ba02f02cacd459df61c463d0b (patch)
tree6b9f7201340dd5a1bf33f4d7b2c6f0747dc9cd30 /engines/avalanche/avalot.cpp
parent4464409d7378d82f255ff04c7d22c7b802d4b511 (diff)
downloadscummvm-rg350-bea6980529daed3ba02f02cacd459df61c463d0b.tar.gz
scummvm-rg350-bea6980529daed3ba02f02cacd459df61c463d0b.tar.bz2
scummvm-rg350-bea6980529daed3ba02f02cacd459df61c463d0b.zip
AVALANCHE: Move debug display of magic lines to debugger
Diffstat (limited to 'engines/avalanche/avalot.cpp')
-rw-r--r--engines/avalanche/avalot.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index 10b4dfcdbd..bf0bc35e3e 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -368,19 +368,7 @@ void AvalancheEngine::runAvalot() {
checkClick();
_timer->updateTimer();
-#ifdef DEBUG
- for (int i = 0; i < _lineNum; i++) {
- LineType *curLine = &_lines[i];
- _graphics->_surface.drawLine(curLine->_x1, curLine->_y1, curLine->_x2, curLine->_y2, curLine->col);
- }
-
- for (int i = 0; i < _fieldNum; i++) {
- FieldType *curField = &_fields[i];
- if (curField->_x1 < 640)
- _graphics->_surface.frameRect(Common::Rect(curField->_x1, curField->_y1, curField->_x2, curField->_y2), kColorLightmagenta);
- }
-#endif
-
+ _graphics->drawDebugLines();
_graphics->refreshScreen();
uint32 delay = _system->getMillis() - beginLoop;