diff options
author | Paul Gilbert | 2014-08-09 22:24:35 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-09 22:24:35 -0400 |
commit | 9d590687e99cfee4b20dce5224edd78b33d61fd5 (patch) | |
tree | 9b6e1f8494f2ce64c96a2414f2bbd31b0fdfc5f9 /engines/access/amazon/amazon_room.cpp | |
parent | c1613178c3c89d6a088814eeeeffc6935852140f (diff) | |
download | scummvm-rg350-9d590687e99cfee4b20dce5224edd78b33d61fd5.tar.gz scummvm-rg350-9d590687e99cfee4b20dce5224edd78b33d61fd5.tar.bz2 scummvm-rg350-9d590687e99cfee4b20dce5224edd78b33d61fd5.zip |
ACCESS: Implemented roomMenu
Diffstat (limited to 'engines/access/amazon/amazon_room.cpp')
-rw-r--r-- | engines/access/amazon/amazon_room.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp index df2a6b759d..565b1ccada 100644 --- a/engines/access/amazon/amazon_room.cpp +++ b/engines/access/amazon/amazon_room.cpp @@ -31,6 +31,10 @@ namespace Amazon { AmazonRoom::AmazonRoom(AccessEngine *vm): Room(vm) { _antOutFlag = false; + _icon = nullptr; +} + +AmazonRoom::~AmazonRoom() { } void AmazonRoom::loadRoom(int roomNumber) { @@ -118,7 +122,16 @@ void AmazonRoom::roomSet() { } void AmazonRoom::roomMenu() { - // TODO + _icon = _vm->_files->loadFile("ICONS.LZ"); + _vm->_screen->saveScreen(); + _vm->_screen->setDisplayScan(); + _vm->_destIn = _vm->_screen; + _vm->_screen->plotImage(_icon, 0, Common::Point(0, 177)); + _vm->_screen->plotImage(_icon, 1, Common::Point(143, 177)); + + _vm->_screen->restoreScan(); + delete[] _icon; + _icon = nullptr; } } // End of namespace Amazon |