diff options
author | Denis Kasak | 2009-07-02 19:57:09 +0000 |
---|---|---|
committer | Denis Kasak | 2009-07-02 19:57:09 +0000 |
commit | cac39d8295c7be133d9d51c3e5b9dd7d8b5637cc (patch) | |
tree | dbaa71f60773e8a1e6b971a359987d365afbe260 | |
parent | 4a4aab83d0ee19040536bb8aa7e8832a715a85a3 (diff) | |
download | scummvm-rg350-cac39d8295c7be133d9d51c3e5b9dd7d8b5637cc.tar.gz scummvm-rg350-cac39d8295c7be133d9d51c3e5b9dd7d8b5637cc.tar.bz2 scummvm-rg350-cac39d8295c7be133d9d51c3e5b9dd7d8b5637cc.zip |
Added rooms and overlays archives.
svn-id: r42035
-rw-r--r-- | engines/draci/draci.cpp | 4 | ||||
-rw-r--r-- | engines/draci/draci.h | 2 | ||||
-rw-r--r-- | engines/draci/game.cpp | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp index f83a5994fd..ba6d10e816 100644 --- a/engines/draci/draci.cpp +++ b/engines/draci/draci.cpp @@ -47,6 +47,8 @@ namespace Draci { const Common::String objectsPath("OBJEKTY.DFW"); const Common::String palettePath("PALETY.DFW"); const Common::String spritesPath("OBR_AN.DFW"); +const Common::String overlaysPath("OBR_MAS.DFW"); +const Common::String roomsPath("MIST.DFW"); DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst) { @@ -76,6 +78,8 @@ int DraciEngine::init() { _objectsArchive = new BArchive(objectsPath); _spritesArchive = new BArchive(spritesPath); _paletteArchive = new BArchive(palettePath); + _roomsArchive = new BArchive(roomsPath); + _overlaysArchive = new BArchive(overlaysPath); _screen = new Screen(this); _font = new Font(); diff --git a/engines/draci/draci.h b/engines/draci/draci.h index 196dc0762e..971fe3f228 100644 --- a/engines/draci/draci.h +++ b/engines/draci/draci.h @@ -59,6 +59,8 @@ public: BArchive *_objectsArchive; BArchive *_spritesArchive; BArchive *_paletteArchive; + BArchive *_roomsArchive; + BArchive *_overlaysArchive; private: Common::RandomSource _rnd; diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index c423292b0d..5bcaa1434e 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -133,6 +133,8 @@ Game::Game(DraciEngine *vm) : _vm(vm) { loadObject(1); _vm->_script->run(getObject(1)->_program, getObject(1)->_init); + + // changeRoom(_currentRoom); } void Game::loadObject(uint16 objNum) { |