Martin Kiewitz
61a57f53e5
SCI: added special comments about r48784
...
svn-id: r48785
2010-04-24 16:09:17 +00:00
Martin Kiewitz
eb048f48b8
SCI: changing GetLongest() on kanji (again) hopefully it's now working as in sierra sci :P
...
svn-id: r48784
2010-04-24 15:50:23 +00:00
Martin Kiewitz
ca93a6ce9c
SCI: document skipping over breaking spaces done in r48781
...
svn-id: r48782
2010-04-24 12:53:14 +00:00
Martin Kiewitz
02b9b10199
SCI: change the way we handle breaking spaces based on how sierra sci does it, revert r48778/r48779
...
svn-id: r48781
2010-04-24 12:49:22 +00:00
Martin Kiewitz
b8a5507a17
SCI: fix for regression of r48778: do add spaces to width, if we are at ending of text - the whole change may be wrong altogether
...
svn-id: r48779
2010-04-23 21:57:29 +00:00
Martin Kiewitz
62833a3fd3
SCI: text16 ::Width() doesn't add ending spaces to the width anymore, sierra sci also doesn't do this - fixes windows being too large sometimes
...
svn-id: r48778
2010-04-23 21:18:16 +00:00
Martin Kiewitz
35b21a94ff
SCI: pc98 sierra interpreter had special code, that circumvents having a japanese punctuation char as first char on new lines - we do so now as well
...
svn-id: r48777
2010-04-23 13:51:59 +00:00
Martin Kiewitz
1e62e44fb6
SCI: the pc98 rom has to display kanji directly, because of the bad behaviour of GetLongest() we will actually put more chars in each line as actually fit. That way the scripts will only show most of the chars, but actually leave out some of the pixels of the far right characters. We now show kanji chars directly, sort of reproducing pc98 rom behaviour
...
svn-id: r48748
2010-04-20 16:46:26 +00:00
Martin Kiewitz
45833f7e9a
SCI: sq4/japanese uses sjis 0x9781 for line breaks as well
...
svn-id: r48742
2010-04-20 11:13:09 +00:00
Martin Kiewitz
589103f1b1
SCI: removed bad comment
...
svn-id: r48734
2010-04-19 20:43:17 +00:00
Martin Kiewitz
75f7536ca1
SCI: sierra switched hardcoded inside their pc98 interpreter to font 900, if sjis text got detected
...
svn-id: r48726
2010-04-19 20:15:31 +00:00
Martin Kiewitz
b5851dab00
SCI: added even more comments about the 0xD 0xA inside GetLongest()
...
svn-id: r48718
2010-04-19 15:30:21 +00:00
Martin Kiewitz
1e1e049e32
SCI: added more comments for 0xD 0xA cases inside GetLongest()
...
svn-id: r48715
2010-04-19 11:59:46 +00:00
Max Horn
4bf7e9e6b0
SCI: Fix yet another (new) const correctness violation.
...
I would suggest rewriting all of text16.cpp to use
byte* instead of char*, then all this casting around
(which introduces the const correctness violations)
would not be necessary in the first place.
svn-id: r48711
2010-04-19 09:46:27 +00:00
Martin Kiewitz
2590fd8c2a
SCI: sierra sci reacts on 0xD and 0xA to end a line. We only reacted on 0xA and ignored 0xD before (fixes subtitles in multilingual games, because the official subtitle separator is 0xD'----'0xD)
...
svn-id: r48699
2010-04-18 12:09:22 +00:00
Max Horn
b29b379894
More const correctness fixes
...
svn-id: r48695
2010-04-17 23:54:06 +00:00
Martin Kiewitz
cd4812dfd9
SCI: support for kanji (sjis), minor centering issue left
...
svn-id: r48674
2010-04-16 18:23:50 +00:00
Martin Kiewitz
01852cbf93
SCI: dont switch to english on kanji text, also cut off text w/o spaces inside GetLongest() so that kanji raw chars will appear in windows
...
svn-id: r48673
2010-04-16 13:27:30 +00:00
Martin Kiewitz
51b608d794
SCI: renamed class Font to GfxFont
...
svn-id: r47900
2010-02-05 12:30:41 +00:00
Martin Kiewitz
19bca95905
SCI: renamed Text class to GfxText16
...
svn-id: r47780
2010-01-31 21:54:43 +00:00