aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/draci.cpp
diff options
context:
space:
mode:
authorDenis Kasak2009-07-16 18:31:15 +0000
committerDenis Kasak2009-07-16 18:31:15 +0000
commit652acfc4ca6e8b63fb7d02103fe5a07c2f4cd312 (patch)
tree1010c126f1508f7dfdbf2156351b03e2bcd6b371 /engines/draci/draci.cpp
parente0317099899a2bb88e57bd1d8a1003c1cb180ee2 (diff)
downloadscummvm-rg350-652acfc4ca6e8b63fb7d02103fe5a07c2f4cd312.tar.gz
scummvm-rg350-652acfc4ca6e8b63fb7d02103fe5a07c2f4cd312.tar.bz2
scummvm-rg350-652acfc4ca6e8b63fb7d02103fe5a07c2f4cd312.zip
* Added WalkingMaps class
* Added DraciEngine::walkingMapsArchive * Made Game::loadRoom() read in the current walking map svn-id: r42541
Diffstat (limited to 'engines/draci/draci.cpp')
-rw-r--r--engines/draci/draci.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index 2578d8a12e..339962ac52 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -51,6 +51,7 @@ const Common::String overlaysPath("OBR_MAS.DFW");
const Common::String roomsPath("MIST.DFW");
const Common::String animationsPath("ANIM.DFW");
const Common::String iconsPath("HRA.DFW");
+const Common::String walkingMapsPath("MAPY.DFW");
DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc)
: Engine(syst) {
@@ -86,6 +87,7 @@ int DraciEngine::init() {
_overlaysArchive = new BArchive(overlaysPath);
_animationsArchive = new BArchive(animationsPath);
_iconsArchive = new BArchive(iconsPath);
+ _walkingMapsArchive = new BArchive(walkingMapsPath);
// Load the game's fonts
_smallFont = new Font(kFontSmall);
@@ -182,6 +184,7 @@ DraciEngine::~DraciEngine() {
delete _overlaysArchive;
delete _animationsArchive;
delete _iconsArchive;
+ delete _walkingMapsArchive;
// Remove all of our debug levels here
Common::clearAllDebugChannels();