diff options
author | WinterGrascph | 2016-05-06 18:13:23 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 64371787e28fba114dc5dff27c5c7d61bb2bc293 (patch) | |
tree | cc02edbc22855694f2fb4b57fa68d7e9e178438a /engines/dm/dm.cpp | |
parent | c725fdec9eececc155d0c39bf905910100baeea0 (diff) | |
download | scummvm-rg350-64371787e28fba114dc5dff27c5c7d61bb2bc293.tar.gz scummvm-rg350-64371787e28fba114dc5dff27c5c7d61bb2bc293.tar.bz2 scummvm-rg350-64371787e28fba114dc5dff27c5c7d61bb2bc293.zip |
DM: Rewrite blitting methods, revise FRAME POD
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r-- | engines/dm/dm.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index 1909b7e84e..a1b8dc0fc5 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -59,20 +59,12 @@ Common::Error DMEngine::run() { _displayMan->loadPalette(palCredits); - /* - uint16 width = _displayMan->getImageWidth(1); - uint16 height = _displayMan->getImageHeight(1); - byte *cleanByteImg0Data = new byte[width * height]; - _displayMan->loadIntoBitmap(1, cleanByteImg0Data); - _displayMan->blitToScreen(cleanByteImg0Data, width, height, 0, 0); - delete[] cleanByteImg0Data; - */ - + uint16 i = 0; //TODO: testing, please delete me while (true) { _displayMan->clearScreen(colorBlack); - _displayMan->drawDungeon(); + _displayMan->drawDungeon(kDirNorth, i++, 0); _displayMan->updateScreen(); - _system->delayMillis(10); + _system->delayMillis(1000); //TODO: testing, please set me to 10 } |