diff options
author | Bendegúz Nagy | 2016-07-19 18:04:14 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 11704d0c509c1fc5af73c22bd64be60572ff4b8c (patch) | |
tree | adc925a33b19b7feb6509eb8c882a7a33ffb3aa7 /engines/dm/dm.cpp | |
parent | bd9fa3eb87a08dd7ba6387ac7c2d911a040cd9c4 (diff) | |
download | scummvm-rg350-11704d0c509c1fc5af73c22bd64be60572ff4b8c.tar.gz scummvm-rg350-11704d0c509c1fc5af73c22bd64be60572ff4b8c.tar.bz2 scummvm-rg350-11704d0c509c1fc5af73c22bd64be60572ff4b8c.zip |
DM: Add savegame functions
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r-- | engines/dm/dm.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index 526b60e5f1..d401c7bbe6 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -140,7 +140,6 @@ DMEngine::DMEngine(OSystem *syst) : Engine(syst), _console(nullptr) { _eventMan = nullptr; _menuMan = nullptr; _championMan = nullptr; - _loadsaveMan = nullptr; _objectMan = nullptr; _inventoryMan = nullptr; _textMan = nullptr; @@ -149,6 +148,10 @@ DMEngine::DMEngine(OSystem *syst) : Engine(syst), _console(nullptr) { _timeline = nullptr; _projexpl = nullptr; + _g528_saveFormat = 0; + _g527_platform = 0; + _g526_dungeonId = 0; + _g298_newGame = false; _g523_restartGameRequest = false; _g321_stopWaitingForPlayerInput = true; @@ -187,7 +190,6 @@ DMEngine::~DMEngine() { delete _eventMan; delete _menuMan; delete _championMan; - delete _loadsaveMan; delete _objectMan; delete _inventoryMan; delete _textMan; @@ -220,7 +222,7 @@ void DMEngine::f463_initializeGame() { _objectMan->loadObjectNames(); _eventMan->initMouse(); //F0441_STARTEND_ProcessEntrance(); - while (_loadsaveMan->f435_loadgame() != k1_LoadgameSuccess) { + while (f435_loadgame() != k1_LoadgameSuccess) { warning(false, "TODO: F0441_STARTEND_ProcessEntrance"); } //F0396_MENUS_LoadSpellAreaLinesBitmap() is not needed, every bitmap has been loaded @@ -301,7 +303,6 @@ Common::Error DMEngine::run() { _eventMan = new EventManager(this); _menuMan = new MenuMan(this); _championMan = new ChampionMan(this); - _loadsaveMan = new LoadsaveMan(this); _objectMan = new ObjectMan(this); _inventoryMan = new InventoryMan(this); _textMan = new TextMan(this); |