diff options
author | Travis Howell | 2005-04-04 03:29:58 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-04 03:29:58 +0000 |
commit | cab1ac3016701a04fe5c818bd32028791c9ac660 (patch) | |
tree | 303be28cb243d37a0ca23c6fb0319ef8d56484b4 /scumm | |
parent | 0c1f2aa161596cddd6249e33c823b12d60a991e6 (diff) | |
download | scummvm-rg350-cab1ac3016701a04fe5c818bd32028791c9ac660.tar.gz scummvm-rg350-cab1ac3016701a04fe5c818bd32028791c9ac660.tar.bz2 scummvm-rg350-cab1ac3016701a04fe5c818bd32028791c9ac660.zip |
Add extra charset code used in lost/smaller.
svn-id: r17369
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/string.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index b63b853e98..019baf4642 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -280,6 +280,21 @@ void ScummEngine::CHARSET_1() { break; case 110: goto newLine; + case 116: + i = 0; + memset(value, 0, 32); + c = *buffer++; + while(c != code) { + value[i] = c; + c = *buffer++; + i++; + } + value[i] = 0; + talk_sound_a = atoi(value); + talk_sound_b = 0; + + _sound->talkSound(talk_sound_a, talk_sound_b, 2); + break; case 119: if (_haveMsg != 0xFE) _haveMsg = 0xFF; |