aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Mettifogo2009-01-20 10:39:16 +0000
committerNicola Mettifogo2009-01-20 10:39:16 +0000
commit3e611e1eb79dad1b3a2213446df42261d5b5bf71 (patch)
treeda19406752b68621c198641722edd3fc2aa578a6
parent577c8ff27d20a91d7774328af787ed6d7d4fc855 (diff)
downloadscummvm-rg350-3e611e1eb79dad1b3a2213446df42261d5b5bf71.tar.gz
scummvm-rg350-3e611e1eb79dad1b3a2213446df42261d5b5bf71.tar.bz2
scummvm-rg350-3e611e1eb79dad1b3a2213446df42261d5b5bf71.zip
Adapted fixed-sized arrays to cope with the larger dialogues in BRA. Maybe they should be turned into dynamic data structures...
svn-id: r35944
-rw-r--r--engines/parallaction/objects.h4
-rw-r--r--engines/parallaction/parser_ns.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h
index 6a2b1b442f..26255d7519 100644
--- a/engines/parallaction/objects.h
+++ b/engines/parallaction/objects.h
@@ -158,8 +158,8 @@ typedef Common::SharedPtr<Command> CommandPtr;
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;
diff --git a/engines/parallaction/parser_ns.cpp b/engines/parallaction/parser_ns.cpp
index 1db6e25532..d9073588ec 100644
--- a/engines/parallaction/parser_ns.cpp
+++ b/engines/parallaction/parser_ns.cpp
@@ -813,7 +813,7 @@ Dialogue *LocationParser_ns::parseDialogue() {
Dialogue *dialogue = new Dialogue;
assert(dialogue);
- Table forwards(20);
+ Table forwards(40);
_script->readLineToken(true);