aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorWinterGrascph2016-05-05 19:49:26 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit18ff2e9940f584041798af670a07c381a02918aa (patch)
treecf072b8c20ffa9399973ce14d6852b7bc5f1647f /engines/dm/dm.cpp
parentcb2bb82b32ade022eb626c6b8cc580abc5b9df8d (diff)
downloadscummvm-rg350-18ff2e9940f584041798af670a07c381a02918aa.tar.gz
scummvm-rg350-18ff2e9940f584041798af670a07c381a02918aa.tar.bz2
scummvm-rg350-18ff2e9940f584041798af670a07c381a02918aa.zip
DM: Refactor DisplayMan::DrawFrame and Frame POD
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index e30aaced2c..1909b7e84e 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -57,9 +57,9 @@ Common::Error DMEngine::run() {
_displayMan->loadGraphics();
_dungeonMan->loadDungeonFile();
- /*
_displayMan->loadPalette(palCredits);
+ /*
uint16 width = _displayMan->getImageWidth(1);
uint16 height = _displayMan->getImageHeight(1);
byte *cleanByteImg0Data = new byte[width * height];
@@ -68,8 +68,8 @@ Common::Error DMEngine::run() {
delete[] cleanByteImg0Data;
*/
-
while (true) {
+ _displayMan->clearScreen(colorBlack);
_displayMan->drawDungeon();
_displayMan->updateScreen();
_system->delayMillis(10);