diff options
| author | Travis Howell | 2003-08-02 10:09:05 +0000 |
|---|---|---|
| committer | Travis Howell | 2003-08-02 10:09:05 +0000 |
| commit | 29247636f696e547e424f5c2d632155f785d3c0d (patch) | |
| tree | 3f887bfbd918e463c1011b72c5c308ca5c73551b /simon | |
| parent | 93482ae5c6d17dd8f3257be86b589bcd724ff887 (diff) | |
| download | scummvm-rg350-29247636f696e547e424f5c2d632155f785d3c0d.tar.gz scummvm-rg350-29247636f696e547e424f5c2d632155f785d3c0d.tar.bz2 scummvm-rg350-29247636f696e547e424f5c2d632155f785d3c0d.zip | |
Add combined speech/subtitles support for simon2 hebrew
svn-id: r9400
Diffstat (limited to 'simon')
| -rw-r--r-- | simon/items.cpp | 6 | ||||
| -rw-r--r-- | simon/simon.cpp | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/simon/items.cpp b/simon/items.cpp index b7f5ea7f6a..dc9513431e 100644 --- a/simon/items.cpp +++ b/simon/items.cpp @@ -1000,9 +1000,9 @@ int SimonEngine::runScript() { d = _array_4[a]; if (_game & GF_SIMON2) { - if (d != 0 && !_subtitles) + if (d != 0 && (_language == 20 || !_subtitles)) talk_with_speech(d, b); - else if (s != NULL) + if (s != NULL && _subtitles) talk_with_text(b, c, s, tv->a, tv->b, tv->c); } else { if (d != 0) @@ -1304,7 +1304,7 @@ void SimonEngine::o_inventory_descriptions() { } } - if (!_subtitles) + if (_language == 20 || !_subtitles) talk_with_speech(var200, a); } diff --git a/simon/simon.cpp b/simon/simon.cpp index ad00b4e7ef..501deb16b1 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -2079,16 +2079,14 @@ void SimonEngine::o_print_str() { case GAME_SIMON2TALKIE: case GAME_SIMON2WIN: case GAME_SIMON2MAC: - if (speech_id != 0 && num_1 == 1 && !_subtitles) + if (speech_id != 0 && num_1 == 1 && (_language == 20 || !_subtitles)) talk_with_speech(speech_id, num_1); - if (speech_id != 0 && !_subtitles) - return; - if ((_game & GF_TALKIE) && (speech_id == 0)) o_kill_sprite_simon2(2, num_1 + 2); - talk_with_text(num_1, num_2, (const char *)string_ptr, tv->a, tv->b, tv->c); + if (_subtitles) + talk_with_text(num_1, num_2, (const char *)string_ptr, tv->a, tv->b, tv->c); break; } } |
