[Scummvm-cvs-logs] SF.net SVN: scummvm:[35944] scummvm/trunk/engines/parallaction

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Tue Jan 20 11:39:16 CET 2009


Revision: 35944
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35944&view=rev
Author:   peres001
Date:     2009-01-20 10:39:16 +0000 (Tue, 20 Jan 2009)

Log Message:
-----------
Adapted fixed-sized arrays to cope with the larger dialogues in BRA. Maybe they should be turned into dynamic data structures...

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/objects.h
    scummvm/trunk/engines/parallaction/parser_ns.cpp

Modified: scummvm/trunk/engines/parallaction/objects.h
===================================================================
--- scummvm/trunk/engines/parallaction/objects.h	2009-01-20 09:38:55 UTC (rev 35943)
+++ scummvm/trunk/engines/parallaction/objects.h	2009-01-20 10:39:16 UTC (rev 35944)
@@ -158,8 +158,8 @@
 typedef Common::List<CommandPtr> CommandList;
 
 
-#define NUM_QUESTIONS		20
-#define NUM_ANSWERS			10
+#define NUM_QUESTIONS		40
+#define NUM_ANSWERS			20
 
 struct Answer {
 	Common::String	_text;

Modified: scummvm/trunk/engines/parallaction/parser_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parser_ns.cpp	2009-01-20 09:38:55 UTC (rev 35943)
+++ scummvm/trunk/engines/parallaction/parser_ns.cpp	2009-01-20 10:39:16 UTC (rev 35944)
@@ -813,7 +813,7 @@
 	Dialogue *dialogue = new Dialogue;
 	assert(dialogue);
 
-	Table forwards(20);
+	Table forwards(40);
 
 	_script->readLineToken(true);
 


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