diff options
author | Strangerke | 2015-10-10 17:32:51 +0200 |
---|---|---|
committer | Strangerke | 2015-10-10 17:32:51 +0200 |
commit | 3ffa01ec2a4482441f0147c0947a600def0a178b (patch) | |
tree | 44739e6c24df2611785db8eb3cb88e3f9ef6378c /engines/mads/mads.cpp | |
parent | 7fbbf515932a32447fce1c2785936d3f2277bcaa (diff) | |
download | scummvm-rg350-3ffa01ec2a4482441f0147c0947a600def0a178b.tar.gz scummvm-rg350-3ffa01ec2a4482441f0147c0947a600def0a178b.tar.bz2 scummvm-rg350-3ffa01ec2a4482441f0147c0947a600def0a178b.zip |
MADS: Phantom: Implement Scene101::enter(), add some empty (new) engine functions
Diffstat (limited to 'engines/mads/mads.cpp')
-rw-r--r-- | engines/mads/mads.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/mads/mads.cpp b/engines/mads/mads.cpp index 8c7b6b1ce3..0bdf484c9a 100644 --- a/engines/mads/mads.cpp +++ b/engines/mads/mads.cpp @@ -46,12 +46,14 @@ MADSEngine::MADSEngine(OSystem *syst, const MADSGameDescription *gameDesc) : _musicFlag = true; _soundFlag = true; _dithering = false; + _disableFastwalk = false; _debugger = nullptr; _dialogs = nullptr; _events = nullptr; _font = nullptr; _game = nullptr; + _gameConv = nullptr; _palette = nullptr; _resources = nullptr; _sound = nullptr; @@ -65,6 +67,7 @@ MADSEngine::~MADSEngine() { delete _font; Font::deinit(); delete _game; + delete _gameConv; delete _palette; delete _resources; delete _sound; @@ -96,6 +99,14 @@ void MADSEngine::initialize() { _audio = new AudioPlayer(_mixer, getGameID()); _game = Game::init(this); + switch (getGameID()) { + case GType_RexNebular: + _gameConv = nullptr; + break; + default: + _gameConv = new GameConversation(this); + } + loadOptions(); _screen.empty(); |