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
ad24968f56
SCI: menu - handle right aligned "=" as actual text not as tag marker, also handle "=" as being a supported shortcut key
...
svn-id: r48747
2010-04-20 15:28:19 +00:00
Martin Kiewitz
e70a484415
SCI: remove lone spaces at the end of right aligned menu items. fixes "wrongly" aligned menu items in some games
...
svn-id: r48746
2010-04-20 15:10:27 +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
Paul Gilbert
dead0db8d8
Corrected a debug statement that could use an object field after the object was destroyed
...
svn-id: r48741
2010-04-20 10:13:27 +00:00
Robin Watts
626784f28e
Add note about fix for 1.1.1 to README-WinCE.txt
...
svn-id: r48739
2010-04-19 23:01:26 +00:00
Andre Heider
57781c0d8e
Mention Wii/Gamecube specific changes.
...
svn-id: r48738
2010-04-19 22:36:05 +00:00
Johannes Schickel
d163686d2d
Document that the current Hercules mode thumbnail scaler code is pretty much aimed for SCUMM games.
...
svn-id: r48736
2010-04-19 20:44:25 +00:00
Johannes Schickel
498d1da182
Cleanup.
...
svn-id: r48735
2010-04-19 20:44:05 +00:00
Martin Kiewitz
589103f1b1
SCI: removed bad comment
...
svn-id: r48734
2010-04-19 20:43:17 +00:00
Andre Heider
64cba2878a
Do not call OSystem::grabPalette() for 16bit modes, when the result is not used anyway for those modes.
...
svn-id: r48733
2010-04-19 20:37:20 +00:00
Matthew Hoops
001bca2d6c
Remove use of global constructors in Mohawk.
...
svn-id: r48731
2010-04-19 20:28:36 +00:00
Andre Heider
e6b835bce4
Fix lockScreen() for 16bit modes.
...
svn-id: r48728
2010-04-19 20:26:06 +00:00
Andre Heider
eb05f83a08
Reinit the video mode when showing the console on an abnormal exit. This was not sccessful under some circumstances.
...
svn-id: r48727
2010-04-19 20:25:20 +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
4fd93aa27c
SCI: changed comment about 8859-1->cp850/437 conversion. ubuntu does work, i just used an outdated build by accident
...
svn-id: r48724
2010-04-19 16:58:18 +00:00
Robert Špalek
196f033e93
Fix static initialization
...
svn-id: r48722
2010-04-19 16:38:41 +00:00
Martin Kiewitz
88af84514b
SCI: added comments about sierra not upscaling cursors for shape and view cursors
...
svn-id: r48721
2010-04-19 16:38:36 +00:00
Martin Kiewitz
5e472b1ba2
SCI: added upscaling for shape cursors in upscaled hires games (will make the cursor "normal" sized in japanese sci01 games)
...
svn-id: r48720
2010-04-19 16:36:47 +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
Johannes Schickel
71331c7f53
Fix regression introduced with r46130, which caused debugN strings to be post processed via debugOutputFormatter.
...
Formerly all debugN strings were not post processed via "errorString" (or the
"debugOutputFormatter" as it is called nowadays). This revision did change
how debug strings are post processed and removed the special case for debugN
by accident.
svn-id: r48716
2010-04-19 12:50:49 +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
Paul Gilbert
ac2ffc65cb
Added note about Lure fixes
...
svn-id: r48712
2010-04-19 09:52:11 +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
Paul Gilbert
f1979f936f
Bugfix for correctly returning follower to player when they're blocked from acting
...
svn-id: r48709
2010-04-19 09:40:20 +00:00
Martin Kiewitz
210bc3a3ce
SCI: comment about platforms, where 8859-1 mapping is working
...
svn-id: r48708
2010-04-19 06:57:39 +00:00
Walter van Niftrik
fa846bfebc
SCI: For Japanese system-font strings, convert half-width characters to
...
full-width characters.
svn-id: r48707
2010-04-19 00:13:01 +00:00
Martin Kiewitz
96b71b3745
SCI: removing single byte chars from double byte check in sjis class (damn wikipedia with their similar colors hehe)
...
svn-id: r48706
2010-04-18 21:18:58 +00:00
Andre Heider
4b8d0f48dc
Fixed XML syntax (& -> &)
...
svn-id: r48702
2010-04-18 19:40:20 +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
Martin Kiewitz
f68dfd61de
SCI: fix regression from r48685 - english got always used for menu entries
...
svn-id: r48698
2010-04-18 10:15:56 +00:00
Walter van Niftrik
c0c351c766
SCI: Don't add subtitles for monolingual strings.
...
svn-id: r48697
2010-04-18 00:56:04 +00:00
Max Horn
6d80424908
Fix warnings when FLAC&MP3&VORBIS is disabled; also fixes leak in Tinsel
...
svn-id: r48696
2010-04-17 23:57:50 +00:00
Max Horn
b29b379894
More const correctness fixes
...
svn-id: r48695
2010-04-17 23:54:06 +00:00
Max Horn
bb26c04053
Fixing some warnings (with gcc 3.3.6)
...
svn-id: r48694
2010-04-17 23:19:52 +00:00
Martin Kiewitz
aaa6e7ee54
SCI: key presses of extended chars (umlauts, etc.) will now get ignored in games that don't support them (which is all non-multilingual games)
...
svn-id: r48693
2010-04-17 20:43:09 +00:00
Torbjörn Andersson
499e58caf0
This should fix the scaler Valgrind warning reported in (but probably not the
...
cause of) bug #2976008 ("BS2: Game lockup in British Museum").
svn-id: r48692
2010-04-17 17:23:30 +00:00
Robin Watts
9bb92eba9e
Fix for ARM Normal2xAspect scaler that was causing crashes when the screen
...
'shakes' (such as when the head/bomb goes of at the start of sam'n'max).
Was overwriting the end of the screen when asked to plot a non-multiple of
5 lines.
svn-id: r48690
2010-04-17 15:45:06 +00:00
Martin Kiewitz
da2027da36
SCI: change textedit control to cast to unsigned char to fix cursor position when multilingual chars are used. Also make getFontHeight() private inside GfxFontFromResource class, remove it in all the other classes
...
svn-id: r48689
2010-04-17 15:16:40 +00:00
Ori Avtalion
09c0e55306
Fix for #2985480 - AMIGAOS4: Compiler errors on ./configure
...
svn-id: r48688
2010-04-17 15:03:16 +00:00
Martin Kiewitz
5c347aa70a
SCI: map keys from 8859-1 to dos codepage, makes special chars like umlauts work in multilingual games
...
svn-id: r48687
2010-04-17 14:50:31 +00:00
Martin Kiewitz
2ac3e93dab
SCI: move menu window inside the screen, if parts of it are outside (happens in multilingual sq3 and lsl3)
...
svn-id: r48686
2010-04-17 13:42:19 +00:00
Martin Kiewitz
08ad84d556
SCI: implement ability to handle multilingual menu separators (is actually 2 separators with a language separator inbetween)
...
svn-id: r48685
2010-04-17 13:34:16 +00:00
Martin Kiewitz
f8f50b5219
SCI: changed coordinate adjustment for kanji chars to & 0xFFC
...
svn-id: r48684
2010-04-17 13:31:04 +00:00
Walter van Niftrik
20c461e541
SCI: Remove subtitles in menu.
...
svn-id: r48683
2010-04-17 03:11:54 +00:00
Martin Kiewitz
88f6a39312
SCI: handle given coordinate to draw() inside SJIS font support as if the horizontal part would be the center of the character, fixes not perfectly centered japanese text. I assume that PC98 ROM also handled it that way. The actual cause for those "bad" coordinates is GetLongest(), but that behaviour is definitely how sierra sci does it
...
svn-id: r48678
2010-04-16 23:03:46 +00:00
Max Horn
b191acf7cc
DS: Merge changes from 1.1.0 branch into trunk
...
svn-id: r48677
2010-04-16 20:49:16 +00:00
Max Horn
17c0c846aa
Remove type_4_byte='long' FIXMEs from configure
...
Since no porter complained about these during the last release,
this should be safe. In any case it would be trivial to put them
back, but that is only acceptable if an explanatory comment is
included.
svn-id: r48676
2010-04-16 20:48:45 +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