[Scummvm-cvs-logs] CVS: scummvm/sky text.cpp,1.44,1.45
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Wed Jul 9 09:55:12 CEST 2003
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv22897
Modified Files:
text.cpp
Log Message:
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.
Index: text.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/text.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- text.cpp 9 Jul 2003 07:02:57 -0000 1.44
+++ text.cpp 9 Jul 2003 16:54:34 -0000 1.45
@@ -49,6 +49,15 @@
_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;
More information about the Scummvm-git-logs
mailing list