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

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Sun Aug 2 05:16:45 CEST 2009


Revision: 42989
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42989&view=rev
Author:   dkasak13
Date:     2009-08-02 03:16:44 +0000 (Sun, 02 Aug 2009)

Log Message:
-----------
Added the strings archive to DraciEngine.

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-02 03:02:22 UTC (rev 42988)
+++ scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp	2009-08-02 03:16:44 UTC (rev 42989)
@@ -56,6 +56,7 @@
 const Common::String itemsPath("IKONY.DFW");
 const Common::String itemImagesPath("OBR_IK.DFW");
 const Common::String initPath("INIT.DFW");
+const Common::String stringsPath("RETEZCE.DFW");
 
 DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc) 
  : Engine(syst) {
@@ -95,6 +96,7 @@
 	_walkingMapsArchive = new BArchive(walkingMapsPath);
 	_itemsArchive = new BArchive(itemsPath);
 	_itemImagesArchive = new BArchive(itemImagesPath);
+	_stringsArchive = new BArchive(stringsPath);
 
 	// Load the game's fonts
 	_smallFont = new Font(kFontSmall);
@@ -241,6 +243,7 @@
 	delete _walkingMapsArchive;
 	delete _itemsArchive;
 	delete _itemImagesArchive;
+	delete _stringsArchive;
 	
 	// 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-02 03:02:22 UTC (rev 42988)
+++ scummvm/branches/gsoc2009-draci/engines/draci/draci.h	2009-08-02 03:16:44 UTC (rev 42989)
@@ -73,6 +73,7 @@
 	BArchive *_itemsArchive;
 	BArchive *_itemImagesArchive;
 	BArchive *_initArchive;
+	BArchive *_stringsArchive;
 
 	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