aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
authorDenis Kasak2009-08-01 02:49:40 +0000
committerDenis Kasak2009-08-01 02:49:40 +0000
commit52a1c5df915fc5791b42c191c6d2c981d22117b5 (patch)
tree6595aaa40cd23d08c4301085fe57a996f1c4ef08 /engines/draci
parent18a8b5b3af96bc0d74167db27552956b646cd0d0 (diff)
downloadscummvm-rg350-52a1c5df915fc5791b42c191c6d2c981d22117b5.tar.gz
scummvm-rg350-52a1c5df915fc5791b42c191c6d2c981d22117b5.tar.bz2
scummvm-rg350-52a1c5df915fc5791b42c191c6d2c981d22117b5.zip
Added archives for item descriptions and images.
svn-id: r42970
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/draci.cpp6
-rw-r--r--engines/draci/draci.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index ae4f154755..52b70dd727 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -53,6 +53,8 @@ const Common::String roomsPath("MIST.DFW");
const Common::String animationsPath("ANIM.DFW");
const Common::String iconsPath("HRA.DFW");
const Common::String walkingMapsPath("MAPY.DFW");
+const Common::String itemsPath("IKONY.DFW");
+const Common::String itemImagesPath("OBR_IK.DFW");
const Common::String initPath("INIT.DFW");
DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc)
@@ -91,6 +93,8 @@ int DraciEngine::init() {
_animationsArchive = new BArchive(animationsPath);
_iconsArchive = new BArchive(iconsPath);
_walkingMapsArchive = new BArchive(walkingMapsPath);
+ _itemsArchive = new BArchive(itemsPath);
+ _itemImagesArchive = new BArchive(itemImagesPath);
// Load the game's fonts
_smallFont = new Font(kFontSmall);
@@ -235,6 +239,8 @@ DraciEngine::~DraciEngine() {
delete _animationsArchive;
delete _iconsArchive;
delete _walkingMapsArchive;
+ delete _itemsArchive;
+ delete _itemImagesArchive;
// Remove all of our debug levels here
Common::clearAllDebugChannels();
diff --git a/engines/draci/draci.h b/engines/draci/draci.h
index 1f43fc8f68..2b81ecb582 100644
--- a/engines/draci/draci.h
+++ b/engines/draci/draci.h
@@ -70,6 +70,8 @@ public:
BArchive *_overlaysArchive;
BArchive *_animationsArchive;
BArchive *_walkingMapsArchive;
+ BArchive *_itemsArchive;
+ BArchive *_itemImagesArchive;
BArchive *_initArchive;
bool _showWalkingMap;