diff options
author | Travis Howell | 2003-02-05 09:29:37 +0000 |
---|---|---|
committer | Travis Howell | 2003-02-05 09:29:37 +0000 |
commit | 465296ef4eb3915d0ca9afabf47824b69857b369 (patch) | |
tree | 27ca2a7fc1151a6c27411a697848ecd441d6ff34 /simon/items.cpp | |
parent | a3f0758bddbc10224e556ed87f96abec7912a048 (diff) | |
download | scummvm-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/items.cpp')
-rw-r--r-- | simon/items.cpp | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/simon/items.cpp b/simon/items.cpp index bd82f3907b..11d1ec054c 100644 --- a/simon/items.cpp +++ b/simon/items.cpp @@ -1313,16 +1313,21 @@ void SimonState::o_quit_if_user_presses_y() { for (;;) { delay(1); - switch (_key_pressed) { - case 'y': - case 'o': // french - case 'j': // german - _system->quit(); - break; - - case 'n': - goto get_out; - } + if (_key_pressed == 'f' && _language == 20) // Hebrew + _system->quit(); + // FIXME Exact key press for Spanish verison unknown + if (_key_pressed == 'y' && _language == 5) // Spanish + _system->quit(); + if (_key_pressed == 's' && _language == 3) // Italian + _system->quit(); + if (_key_pressed == 'o' && _language == 2) // French + _system->quit(); + if (_key_pressed == 'j' && _language == 1) // German + _system->quit(); + if (_key_pressed == 'y' && _language == 0) // English + _system->quit(); + if (_key_pressed == 'n') + goto get_out; } get_out:; } |