86 Commits

Author SHA1 Message Date
Florian Kagerer
a82b0435a2 SCUMM/FM-TOWNS JAPANESE: fix font drawing in MI1 intro
svn-id: r53725
2010-10-23 00:30:21 +00:00
Florian Kagerer
031e0167e4 SCUMM/FM-TOWNS JAPANESE: fix another font spacing issue
(fixes MI1 character talk text)

svn-id: r53704
2010-10-22 19:28:12 +00:00
Florian Kagerer
f6a43d980a SCUMM/FM-TOWNS JAPANESE: minor fix in last commit
svn-id: r53617
2010-10-19 17:03:36 +00:00
Florian Kagerer
1d87f434a2 SCUMM/FM-TOWNS JAPANESE: implement flipped text
(used in the MI1 circus scene after Guybrush gets shot out of the cannon)

svn-id: r53616
2010-10-19 16:58:27 +00:00
Florian Kagerer
f05110f3f6 SCUMM/FM-TOWNS JAPANESE: fix font spacing issues
(improves MI1 intro)

svn-id: r53597
2010-10-18 23:54:35 +00:00
Florian Kagerer
1d60fc45f2 SCUMM/FM-TOWNS: more improvements to japanese font drawing
(MI1 intro is still not right)

svn-id: r53558
2010-10-17 23:52:33 +00:00
Florian Kagerer
c841c3fb7c SCUMM/FM-TOWNS: more improvements to japanese font drawing
- made use of LordHotos graphics/sjis code to reduce code duplication
- japanese mode for version 3 and 5 works fine now with few exceptions (some line spacing glitches in MI1 intro etc.)

svn-id: r53554
2010-10-17 13:08:00 +00:00
Florian Kagerer
63c30e959f SCUMM/FM-TOWNS: fix regression in non Japanese SCUMM 3 games
svn-id: r53523
2010-10-15 23:28:09 +00:00
Florian Kagerer
af52d3a7f6 SCUMM/FM-TOWNS: fix display of dialogue options in Indy 4 Japanese
svn-id: r53519
2010-10-15 21:48:46 +00:00
Florian Kagerer
87b5598720 SCUMM/FM-TOWNS: fix up/down inventory arrows in Indy 4 Japanese
svn-id: r53518
2010-10-15 21:26:05 +00:00
Florian Kagerer
b184d7bbdb SCUMM/FM-TOWNS: improve japanese font drawing in SCUMM 3 games
svn-id: r53510
2010-10-15 19:10:18 +00:00
Florian Kagerer
2f86c7a45c SCUMM/FM-TOWNS: start fixing japanese font drawing
svn-id: r53196
2010-10-12 22:17:00 +00:00
Florian Kagerer
8e6ce812d1 LOOM PC-Engine: fix regression
svn-id: r53113
2010-10-10 10:26:49 +00:00
Florian Kagerer
5af782c5d2 SCUMM/FM-TOWNS: disable new graphics code in DS port
svn-id: r53033
2010-10-05 19:04:52 +00:00
Florian Kagerer
0d8f4a22ae SCUMM/FM-TOWNS: fix palette and other graphics issues
This commit should fix at least the following bugs/feature requests: #1032859, #1252088, #1055391, #1315968, #1315938, #1742106, #812891.
The FM-Towns version of Scumm games use a mixed graphics mode with 2 layers (one with 32767 colors and one with 16 colors). Among other things I have added a screen output class which emulates this  dual layer approach which allows specific hardware effects like enabling and disabling layers (e.g. in the voodoo priestess scene in MI1).

Old savegames (saved before this update) will load, but you’ll encounter palette glitches in the verb/inventory screen, since the 16 color palette for layer 2 is not contained in your savegame. This will be true at least for version 5 games. Certain scene change actions (which require the verb/inventory part to be redrawn) might correct this (e.g. try looking at the treasure map in MI1 and closing it). Version 3 games should be okay, since they use a static text palette which is never changed and which will be reset after loading a savegame.

This update requires a USE_RGB_COLORS setting for proper operation. 8 bit users will get a warning that they’ll have to expect palette glitches . Apart from that the engine in 8 bit mode should not only still work okay, but also benefit from some of the other (non palette related) improvements (e.g. bug #1032859 should be fixed even in 8 bit mode).

Japanese font drawing hasn’t been improved much yet. This will be a separate task.

svn-id: r52966
2010-10-01 19:24:52 +00:00
Eugene Sandulenko
25ca058fa8 Add support for Chinese The DIG.
svn-id: r50375
2010-06-27 13:06:22 +00:00
Eugene Sandulenko
07ccf29ecf Fix Russian versions of airport and farm as they use extended charset.
svn-id: r49191
2010-05-24 16:56:56 +00:00
Torbjörn Andersson
65585f6433 Silenced some harmless cppcheck warnings about unreachable code after a return.
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.

svn-id: r48218
2010-03-10 06:39:23 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Eugene Sandulenko
d10fc79836 Add support for Chinese translated games.
svn-id: r46805
2009-12-31 18:52:42 +00:00
Eugene Sandulenko
70a1f7c89a Fix gcc warning
svn-id: r46796
2009-12-31 10:49:16 +00:00
Eugene Sandulenko
b0b3c6c836 Patch #2923628: "SOMI: Kanji support for japanese MegaCD version"
svn-id: r46771
2009-12-30 20:51:49 +00:00
Matthew Hoops
a7e6745ba4 Some PCE BIOSROM's have a 0x200 byte header. We need to skip that if it's present to get to the correct font data.
svn-id: r46100
2009-11-22 23:33:58 +00:00
Travis Howell
bb0c765731 Exclude Loom PCE engine specific code, from non-16bit color build.
svn-id: r46080
2009-11-22 11:43:12 +00:00
Travis Howell
6c2cc3e1bb Removed the incorrect line in CharsetRendererPCE::drawBits1().
svn-id: r46079
2009-11-22 11:36:30 +00:00
Travis Howell
1d948f1012 Virtualise drawBits1().
svn-id: r46076
2009-11-22 11:12:26 +00:00
Travis Howell
94e75b8b6d Fix charset palette in PCE version of Loom, based on information from Tobias.
svn-id: r46064
2009-11-22 08:36:14 +00:00
Travis Howell
2d31fc3af8 Add patch for Tobias, for Kanji support in Japanese PCE version of Loom, with minor changes.
svn-id: r46061
2009-11-22 08:20:20 +00:00
Travis Howell
b0b1ab70c3 Fix charset color in PCE version of Loom.
svn-id: r45407
2009-10-26 14:49:01 +00:00
Travis Howell
dec5406e41 Fix charset display in PCE version of Loom.
svn-id: r45406
2009-10-26 13:22:05 +00:00
Max Horn
f91f4d4186 Patch #2858137 and fix for bug #2855359: fmt_fnt.rom font loading failure is ignored
svn-id: r44346
2009-09-25 11:39:22 +00:00
Max Horn
adaf3ec8b4 SCUMM: Rename _bitDepth to _bytesPerPixel
svn-id: r44336
2009-09-25 09:13:33 +00:00
Travis Howell
3a64d35dfd Add 16bit color support for later HE games.
svn-id: r41153
2009-06-04 01:05:47 +00:00
Torbjörn Andersson
0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
38a4eaa001 cleanup
svn-id: r34910
2008-11-06 14:03:38 +00:00
Travis Howell
3f180a4c3f Remove debug left over.
svn-id: r33596
2008-08-04 01:57:50 +00:00
Eugene Sandulenko
3047e084c1 Fix for bug #1945335: "SCUMM: Invalid charset id can be stored".
Regressions possible.

svn-id: r33552
2008-08-02 22:51:53 +00:00
Eugene Sandulenko
39449357af Fix bug #2023727: "MONKEY2: Misplaced Text"
svn-id: r33544
2008-08-02 21:36:08 +00:00
Max Horn
0be985ce83 Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
svn-id: r33412
2008-07-29 16:09:10 +00:00
Max Horn
460296f360 Restrict the remaining changes made in rev 28166 to chinese COMI
svn-id: r32181
2008-05-19 17:34:29 +00:00
Max Horn
91b22e5886 Fix for bug #1940063 (MONKEY: Crash during the marriage lechuck/marley) -- regression was introduced by rev 28167 -- rule of thumb, if you add game specific code, make it game specifc ... ;)
svn-id: r32177
2008-05-18 22:33:41 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Eugene Sandulenko
0ca949db2a Fix Kanji text positioning in DIG. Constants based on disassembly, but
it can bring some regressions to subtitles.

svn-id: r31757
2008-04-28 15:21:36 +00:00
Eugene Sandulenko
8c9311280f Fix Kanji rendering
svn-id: r31734
2008-04-26 20:33:59 +00:00
Eugene Sandulenko
9f6012c294 First attempt to support Japanese DIG
svn-id: r31456
2008-04-08 20:04:51 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Eugene Sandulenko
e5e53a0017 Split out charset font data for easier maintenance
svn-id: r30121
2008-01-01 15:36:50 +00:00
Eugene Sandulenko
43a18a4cdd Fix bug #1811732: "MANIAC C64: German version not supported"
svn-id: r30119
2008-01-01 15:25:12 +00:00
Max Horn
4e94b3273c Patch #1851568: INDY3 Mac: Grail Diary Fix
svn-id: r29890
2007-12-16 21:46:34 +00:00
Eugene Sandulenko
25c34c4e51 Add Russian font for Zak.
svn-id: r29800
2007-12-09 18:46:49 +00:00