aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-06-21 20:27:57 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit4b83ebc0da2a2bb46c2435ddfe96c333b7cbd8ed (patch)
treef0c568aaa64443f113764f750d41e31d13d45ed3 /engines/dm/dm.cpp
parentafd844b6de922f27e22a66e075c273dc7a586ac0 (diff)
downloadscummvm-rg350-4b83ebc0da2a2bb46c2435ddfe96c333b7cbd8ed.tar.gz
scummvm-rg350-4b83ebc0da2a2bb46c2435ddfe96c333b7cbd8ed.tar.bz2
scummvm-rg350-4b83ebc0da2a2bb46c2435ddfe96c333b7cbd8ed.zip
DM: Add fix gDungeonViewport, some comments
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index c1d7e14c0d..3a1a951c2b 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -171,6 +171,7 @@ void DMEngine::gameloop() {
warning("DUMMY CODE: setting InventoryMan::_inventoryChampionOrdinal to zero");
_inventoryMan->_inventoryChampionOrdinal = 0;
+ warning("DUMMY CODE: clearing screen to black");
while (true) {
_stopWaitingForPlayerInput = false;
//do {
@@ -179,6 +180,7 @@ void DMEngine::gameloop() {
//} while (!_stopWaitingForPlayerInput || !_gameTimeTicking);
if (!_inventoryMan->_inventoryChampionOrdinal && !_championMan->_partyIsSleeping) {
+ _displayMan->clearScreen(kColorBlack); // dummy code
_displayMan->drawDungeon(_dungeonMan->_currMap._partyDir, _dungeonMan->_currMap._partyPosX, _dungeonMan->_currMap._partyPosY);
}
// DUMMY CODE: next line