diff options
author | Paul Gilbert | 2014-08-06 22:43:40 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-06 22:43:40 -0400 |
commit | 031cc32c847bf7387859e273069f8efd3b6d4ed0 (patch) | |
tree | 99b9ff0abdc4316aa1a4df07bbbe9ff61ef70c97 /engines/access/amazon/amazon_room.cpp | |
parent | 3645aad6fb02e0430c4ff3b325e1c0012042f4b7 (diff) | |
download | scummvm-rg350-031cc32c847bf7387859e273069f8efd3b6d4ed0.tar.gz scummvm-rg350-031cc32c847bf7387859e273069f8efd3b6d4ed0.tar.bz2 scummvm-rg350-031cc32c847bf7387859e273069f8efd3b6d4ed0.zip |
ACCESS: Implemented room data loading
Diffstat (limited to 'engines/access/amazon/amazon_room.cpp')
-rw-r--r-- | engines/access/amazon/amazon_room.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp index ce0683f124..21d9c6097e 100644 --- a/engines/access/amazon/amazon_room.cpp +++ b/engines/access/amazon/amazon_room.cpp @@ -22,6 +22,7 @@ #include "common/scummsys.h" #include "access/access.h" +#include "access/amazon/amazon_resources.h" #include "access/amazon/amazon_room.h" namespace Access { @@ -32,6 +33,10 @@ AmazonRoom::AmazonRoom(AccessEngine *vm): Room(vm) { _antOutFlag = false; } +void AmazonRoom::loadRoom(int roomNumber) { + loadRoomData(ROOM_TABLE[roomNumber]); +} + void AmazonRoom::reloadRoom() { loadRoom(_vm->_roomNumber); |