diff options
author | Torbjörn Andersson | 2003-07-09 16:54:34 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-07-09 16:54:34 +0000 |
commit | f3a1aa73b33869302d14cc7148957a1270ffdf7a (patch) | |
tree | 207156db8fe321416d88ad1c965b1c1ee277c308 /sky/text.cpp | |
parent | 90bac4a5ce5ebdc4b320b3cb2c26da3ea35416ed (diff) | |
download | scummvm-rg350-f3a1aa73b33869302d14cc7148957a1270ffdf7a.tar.gz scummvm-rg350-f3a1aa73b33869302d14cc7148957a1270ffdf7a.tar.bz2 scummvm-rg350-f3a1aa73b33869302d14cc7148957a1270ffdf7a.zip |
Fix character spacing for LINC terminals in v0.0288 as well. I've only
tested is a little on a borrowed copy of BASS, but I think it should look
the same as v0.0372 now.
svn-id: r8881
Diffstat (limited to 'sky/text.cpp')
-rw-r--r-- | sky/text.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sky/text.cpp b/sky/text.cpp index 8e24211ac8..06f8bbf685 100644 --- a/sky/text.cpp +++ b/sky/text.cpp @@ -49,6 +49,15 @@ SkyText::SkyText(SkyDisk *skyDisk) { _controlCharacterSet.addr = _skyDisk->loadFile(60520, NULL); _controlCharacterSet.charHeight = 12; _controlCharacterSet.charSpacing = 0; + + // In version 0.0288, decrease the character width for the + // LINC terminal font by one for every character, except + // space which has to be one pixel wider instead. + if (SkyState::_systemVars.gameVersion == 288) { + for (int i = 1; i < CHAR_SET_HEADER; i++) + _controlCharacterSet.addr[i]--; + _controlCharacterSet.addr[0]++; + } _linkCharacterSet.addr = _skyDisk->loadFile(60521, NULL); _linkCharacterSet.charHeight = 12; |