aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-19 19:00:58 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit80f2199151d2a005bbae64e9744477a5e52bfc52 (patch)
tree20db1e862b85414fe9859c6874b0ac9a6f7a4a43 /engines/dm/dm.cpp
parent6aabe84bf6d117a9e9523eaf664cfb2fd2e04fc1 (diff)
downloadscummvm-rg350-80f2199151d2a005bbae64e9744477a5e52bfc52.tar.gz
scummvm-rg350-80f2199151d2a005bbae64e9744477a5e52bfc52.tar.bz2
scummvm-rg350-80f2199151d2a005bbae64e9744477a5e52bfc52.zip
DM: Clear check some warnings, complete minor functions
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index f71627bfa7..fa35035a2e 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -427,14 +427,6 @@ Common::Error DMEngine::run() {
}
void DMEngine::f2_gameloop() {
- //HACK: Remove this block to get real starting position in the Hall of Champions
- if (_g298_newGame) {
- warning(false, "DUMMY CODE: SETTING PARTY POS AND DIRECTION");
- _dungeonMan->_g306_partyMapX = 9;
- _dungeonMan->_g307_partyMapY = 9;
- _dungeonMan->_g308_partyDir = kDirWest;
- }
-
_canLoadFromGMM = true;
_g318_waitForInputMaxVerticalBlankCount = 10;
while (true) {
@@ -471,8 +463,7 @@ void DMEngine::f2_gameloop() {
if (!_inventoryMan->_g432_inventoryChampionOrdinal && !_championMan->_g300_partyIsSleeping) {
Box box(0, 223, 0, 135);
- warning(false, "DUMMY CODE: clearing screen to black");
- _displayMan->f135_fillBoxBitmap(_displayMan->_g296_bitmapViewport, box, k0_ColorBlack, k112_byteWidthViewport, k136_heightViewport); // dummy code
+ _displayMan->f135_fillBoxBitmap(_displayMan->_g296_bitmapViewport, box, k0_ColorBlack, k112_byteWidthViewport, k136_heightViewport); // (possibly dummy code)
_displayMan->f128_drawDungeon(_dungeonMan->_g308_partyDir, _dungeonMan->_g306_partyMapX, _dungeonMan->_g307_partyMapY);
if (_g325_setMousePointerToObjectInMainLoop) {
_g325_setMousePointerToObjectInMainLoop = false;
@@ -818,7 +809,6 @@ void DMEngine::f439_drawEntrance() {
// note, a global variable is used here in the original
_displayMan->f466_loadIntoBitmap(k4_entranceGraphicIndice, _displayMan->_g348_bitmapScreen);
_displayMan->f128_drawDungeon(kDirSouth, 2, 0);
- warning(false, "IGNORED CODE: G0324_B_DrawViewportRequested = false;");
if (!_savedScreenForOpenEntranceDoors)
_savedScreenForOpenEntranceDoors = new byte[k200_heightScreen * k160_byteWidthScreen * 2];