[Scummvm-cvs-logs] SF.net SVN: scummvm:[42970] scummvm/branches/gsoc2009-draci/engines/draci

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Sat Aug 1 04:49:41 CEST 2009


Revision: 42970
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42970&view=rev
Author:   dkasak13
Date:     2009-08-01 02:49:40 +0000 (Sat, 01 Aug 2009)

Log Message:
-----------
Added archives for item descriptions and images.

Modified Paths:
--------------
    scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp
    scummvm/branches/gsoc2009-draci/engines/draci/draci.h

Modified: scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp	2009-08-01 00:02:00 UTC (rev 42969)
+++ scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp	2009-08-01 02:49:40 UTC (rev 42970)
@@ -53,6 +53,8 @@
 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 @@
 	_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 @@
 	delete _animationsArchive;
 	delete _iconsArchive;
 	delete _walkingMapsArchive;
+	delete _itemsArchive;
+	delete _itemImagesArchive;
 	
 	// Remove all of our debug levels here
 	Common::clearAllDebugChannels();

Modified: scummvm/branches/gsoc2009-draci/engines/draci/draci.h
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/draci.h	2009-08-01 00:02:00 UTC (rev 42969)
+++ scummvm/branches/gsoc2009-draci/engines/draci/draci.h	2009-08-01 02:49:40 UTC (rev 42970)
@@ -70,6 +70,8 @@
 	BArchive *_overlaysArchive;
 	BArchive *_animationsArchive;
 	BArchive *_walkingMapsArchive;
+	BArchive *_itemsArchive;
+	BArchive *_itemImagesArchive;
 	BArchive *_initArchive;
 
 	bool _showWalkingMap;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list