diff options
author | Max Horn | 2003-05-25 20:38:44 +0000 |
---|---|---|
committer | Max Horn | 2003-05-25 20:38:44 +0000 |
commit | 80eab4c3c48a4291b68918838d543ed98b13ea9c (patch) | |
tree | 9064e2a83dde9533529b5563c922d4b26c707a83 /scumm/charset.cpp | |
parent | fb0b37c69bfd2c4525e0bd092355dda6643ac51a (diff) | |
download | scummvm-rg350-80eab4c3c48a4291b68918838d543ed98b13ea9c.tar.gz scummvm-rg350-80eab4c3c48a4291b68918838d543ed98b13ea9c.tar.bz2 scummvm-rg350-80eab4c3c48a4291b68918838d543ed98b13ea9c.zip |
hook language command switch to V2 font / prepositions
svn-id: r7970
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r-- | scumm/charset.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp index a2d0cb365b..24e4f976a2 100644 --- a/scumm/charset.cpp +++ b/scumm/charset.cpp @@ -463,8 +463,18 @@ static byte frenchCharsetDataV2[] = { void CharsetRendererV2::setCurID(byte id) { - _fontPtr = frenchCharsetDataV2; - _fontPtr = germanCharsetDataV2; + switch (_vm->_language) { + case DE_DEU: + _fontPtr = germanCharsetDataV2; + break; + case FR_FRA: + _fontPtr = frenchCharsetDataV2; + break; + default: + // For now we default to the german font + _fontPtr = germanCharsetDataV2; + break; + } #if 0 // Decompress weird encoding in which the Zak executable contains the font. |