aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-02 17:46:05 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit683230207ccf7c0b3659b082a1dd68a621788621 (patch)
tree08b48ee05805ce525c670742fb440d2bf5ccf215 /engines/dm/dm.cpp
parent46b9b1100ef315e4a29edda864204a2e74e9f725 (diff)
downloadscummvm-rg350-683230207ccf7c0b3659b082a1dd68a621788621.tar.gz
scummvm-rg350-683230207ccf7c0b3659b082a1dd68a621788621.tar.bz2
scummvm-rg350-683230207ccf7c0b3659b082a1dd68a621788621.zip
DM: Refactor DisplayMan::_walsetBitmaps
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index a32f059f7b..bc4d1c9c3e 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -143,9 +143,10 @@ DMEngine::~DMEngine() {
void DMEngine::initializeGame() {
_displayMan->loadGraphics();
+ _displayMan->initializeGraphicData();
// DUMMY CODE: next line
_displayMan->loadPalette(g19_PalCredits);
-
+
_eventMan->initMouse();
while (_loadsaveMan->loadgame() != k1_LoadgameSuccess) {
@@ -156,6 +157,9 @@ void DMEngine::initializeGame() {
_displayMan->loadWallSet(k0_WallSetStone);
_objectMan->loadObjectNames();
+ // There was some memory wizardy for the Amiga platform, I skipped that part
+ _displayMan->f461_allocateFlippedWallBitmaps();
+
startGame();
warning("MISSING CODE: F0267_MOVE_GetMoveResult_CPSCE (if newGame)");
_eventMan->showMouse(true);