aboutsummaryrefslogtreecommitdiff
path: root/simon/verb.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-02-05 09:29:37 +0000
committerTravis Howell2003-02-05 09:29:37 +0000
commit465296ef4eb3915d0ca9afabf47824b69857b369 (patch)
tree27ca2a7fc1151a6c27411a697848ecd441d6ff34 /simon/verb.cpp
parenta3f0758bddbc10224e556ed87f96abec7912a048 (diff)
downloadscummvm-rg350-465296ef4eb3915d0ca9afabf47824b69857b369.tar.gz
scummvm-rg350-465296ef4eb3915d0ca9afabf47824b69857b369.tar.bz2
scummvm-rg350-465296ef4eb3915d0ca9afabf47824b69857b369.zip
Add guess word for spanish version
Add better hebrew support, font doesn't seem quite right though. Divide quit section into languages svn-id: r6585
Diffstat (limited to 'simon/verb.cpp')
-rw-r--r--simon/verb.cpp24
1 files changed, 22 insertions, 2 deletions
diff --git a/simon/verb.cpp b/simon/verb.cpp
index f75dfce31f..eb29eb5162 100644
--- a/simon/verb.cpp
+++ b/simon/verb.cpp
@@ -41,6 +41,18 @@ static const char *const verb_names[] = {
"Give"
};
+static const char *const hebrew_verb_prep_names[] = {
+ "", "", "", "",
+ "", "", "", "RM ND ?",
+ "", "", "", "LNI ?"
+};
+
+static const char *const spanish_verb_prep_names[] = {
+ "", "", "", "",
+ "", "", "", "con qu/ ?",
+ "", "", "", "qui/n ?"
+};
+
static const char *const italian_verb_prep_names[] = {
"", "", "", "",
"", "", "", "con che cosa ?",
@@ -98,7 +110,11 @@ void SimonState::focusVerb(uint hitarea_id)
hitarea_id -= 101;
- if (_language == 3) {
+ if (_language == 20) {
+ CHECK_BOUNDS(hitarea_id, hebrew_verb_prep_names);
+ } else if (_language == 5) {
+ CHECK_BOUNDS(hitarea_id, spanish_verb_prep_names);
+ } else if (_language == 3) {
CHECK_BOUNDS(hitarea_id, italian_verb_prep_names);
} else if (_language == 2) {
CHECK_BOUNDS(hitarea_id, french_verb_prep_names);
@@ -109,7 +125,11 @@ void SimonState::focusVerb(uint hitarea_id)
}
if (_show_preposition) {
- if (_language == 3) {
+ if (_language == 20) {
+ CHECK_BOUNDS(hitarea_id, hebrew_verb_prep_names);
+ } else if (_language == 5) {
+ txt = spanish_verb_prep_names[hitarea_id];
+ } else if (_language == 3) {
txt = italian_verb_prep_names[hitarea_id];
} else if (_language == 2) {
txt = french_verb_prep_names[hitarea_id];