diff options
author | Strangerke | 2015-01-25 23:29:00 +0100 |
---|---|---|
committer | Strangerke | 2015-01-25 23:30:04 +0100 |
commit | ed4a3565a1b2997360ca0eaec1473c9ea5581976 (patch) | |
tree | 03c137c820135f8220d762c10d13117d97f32c46 /engines | |
parent | 587aad7d46443abe69c9b36743f827bfc9249014 (diff) | |
download | scummvm-rg350-ed4a3565a1b2997360ca0eaec1473c9ea5581976.tar.gz scummvm-rg350-ed4a3565a1b2997360ca0eaec1473c9ea5581976.tar.bz2 scummvm-rg350-ed4a3565a1b2997360ca0eaec1473c9ea5581976.zip |
ACCESS: MM - Rename cmdSpecial5, implement cmdSpecial3
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/martian/martian_scripts.cpp | 17 | ||||
-rw-r--r-- | engines/access/martian/martian_scripts.h | 3 |
2 files changed, 16 insertions, 4 deletions
diff --git a/engines/access/martian/martian_scripts.cpp b/engines/access/martian/martian_scripts.cpp index 8d936ba728..bb8230e7e5 100644 --- a/engines/access/martian/martian_scripts.cpp +++ b/engines/access/martian/martian_scripts.cpp @@ -34,7 +34,18 @@ MartianScripts::MartianScripts(AccessEngine *vm) : Scripts(vm) { _game = (MartianEngine *)_vm; } -void MartianScripts::cmdSpecial5(int param1) { +void MartianScripts::cmdSpecial3() { + _vm->_screen->forceFadeOut(); + _vm->_events->hideCursor(); + _vm->_files->loadScreen(57, 3); + _vm->_buffer2.copyFrom(*_vm->_screen); + + _vm->_screen->setIconPalette(); + _vm->_events->showCursor(); + _vm->_screen->forceFadeIn(); +} + +void MartianScripts::doIntro(int param1) { _game->doSpecial5(param1); } @@ -50,13 +61,13 @@ void MartianScripts::executeSpecial(int commandIndex, int param1, int param2) { warning("TODO: cmdSpecial2"); break; case 3: - warning("TODO: cmdSpecial3"); + cmdSpecial3(); break; case 4: warning("TODO: cmdSpecial4"); break; case 5: - cmdSpecial5(param1); + doIntro(param1); break; case 6: warning("TODO: cmdSpecial6"); diff --git a/engines/access/martian/martian_scripts.h b/engines/access/martian/martian_scripts.h index 125f1e422d..9e9c3b6d7f 100644 --- a/engines/access/martian/martian_scripts.h +++ b/engines/access/martian/martian_scripts.h @@ -36,7 +36,8 @@ class MartianScripts : public Scripts { private: MartianEngine *_game; - void cmdSpecial5(int param1); + void cmdSpecial3(); + void doIntro(int param1); protected: virtual void executeSpecial(int commandIndex, int param1, int param2); |