Commit Graph

73 Commits

Author SHA1 Message Date
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
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
11a17b3908 SCUMM: Fix subtitles for Russian The Dig
It is a long standing bug which was revealed by r31784. With that commit
Kirben switched DIG code to newer one. Russian version used 0x03 as
placeholders for keeping string widths. Original did not copy those
characters but we did hence the bug. Based on study of original.

Restrict it to Dig-only in order to avoid regressions.

svn-id: r51211
2010-07-23 16:38:06 +00:00
Eugene Sandulenko
25ca058fa8 Add support for Chinese The DIG.
svn-id: r50375
2010-06-27 13:06:22 +00:00
Travis Howell
6ad031f743 Add sanguine's patch for bug #2905463 - Loom PCE: missing characters in US font.
svn-id: r46238
2009-12-02 03:55:06 +00:00
Travis Howell
0edf7332b2 Remove obsolete check, since HE72+ uses separate function.
svn-id: r46085
2009-11-22 13:38:18 +00:00
Travis Howell
faceb8d41f Remove obsolete check, since HE72+ uses separate function.
svn-id: r46084
2009-11-22 13:37:33 +00:00
Travis Howell
7b4771bd9f Add mapping of TM and (C) characters in PCE version of Loom, based on information from Tobias.
svn-id: r46083
2009-11-22 13:34:58 +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
3efecb3afc Fix cursor position, when entering a save game name in HE games.
svn-id: r42685
2009-07-24 05:20:44 +00:00
Travis Howell
c0965b2a2a Fix using subtitles only setting in The Dig.
svn-id: r42545
2009-07-17 00:10:10 +00:00
Travis Howell
ba48060b5f Sprites are used for subtitles, in all 16bit color HE games.
svn-id: r41133
2009-06-03 06:24:27 +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
Marcus Comstedt
a591d65cc7 Include "scumm/scumm_v6.h" in some places where it is needed.
(Including "scumm/scumm_v8.h" is a no-operation if ENABLE_SCUMM_7_8
 is not defined.)

svn-id: r39576
2009-03-20 22:33:45 +00:00
Max Horn
6f4b567124 SCUMM: Split intern.h into multiple headers
svn-id: r39567
2009-03-20 16:33:58 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Max Horn
cabfbb4903 Removed some dead code, clarified comments, cleanup
svn-id: r35293
2008-12-09 19:54:01 +00:00
Eugene Sandulenko
39449357af Fix bug #2023727: "MONKEY2: Misplaced Text"
svn-id: r33544
2008-08-02 21:36:08 +00:00
Travis Howell
3b5b37c3e1 Fix bug #1973247 - DIG: Subtitle glitch (Regression).
svn-id: r32456
2008-06-01 10:37:14 +00:00
Travis Howell
16b0905bb0 Remove debug left over.
svn-id: r32338
2008-05-28 13:02:33 +00:00
Travis Howell
edc731e04f The hard coded string translations for The Dig only apply to subtitles, and not speech.
svn-id: r32337
2008-05-28 13:00:41 +00:00
Travis Howell
292bc04389 Update the hard coded string translations in The Dig.
svn-id: r32334
2008-05-28 02:55:42 +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
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
Travis Howell
acc232718f Revert string clipping changes, as they only applied to The Dig (Second release) and COMI.
svn-id: r31785
2008-04-30 04:39:58 +00:00
Travis Howell
bad36eaa61 The Dig (Second release) used similar charset code to COMI. This could cause regressions, if there are differences between the two releases of The Dig.
svn-id: r31784
2008-04-30 04:38:29 +00:00
Travis Howell
125d0a138d Add extra hard coded strings translations, from second release of The Dig.
svn-id: r31782
2008-04-30 01:29:17 +00:00
Eugene Sandulenko
e95a4b42ac Narrow corrections to clipping code introduced with commit r31757 to
SCUMM 6+ as pointed out by Fingolfin

svn-id: r31759
2008-04-28 18:57:17 +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
9f6012c294 First attempt to support Japanese DIG
svn-id: r31456
2008-04-08 20:04:51 +00:00
Eugene Sandulenko
d037d7e579 Spellifix
svn-id: r31452
2008-04-08 18:11:54 +00:00
Max Horn
993e5b9c24 Patch #1852017: INDY3 Mac: Biplane Manual Fix
svn-id: r29896
2007-12-17 22:36:16 +00:00
Max Horn
4e94b3273c Patch #1851568: INDY3 Mac: Grail Diary Fix
svn-id: r29890
2007-12-16 21:46:34 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
4cc9d17c34 Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
svn-id: r28890
2007-09-11 09:20:39 +00:00
Max Horn
0cccbb29d6 Some cleanup (yay for whomever had the brilliant idea to let SVN work over HTTPS and hence through proxies&firewalls :)
svn-id: r28877
2007-09-08 11:15:27 +00:00
Eugene Sandulenko
b6eedda885 - Fix wrong languages in Chinese COMI
- Fix credits rendering in Chinese COMI

svn-id: r28167
2007-07-22 22:59:08 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Eugene Sandulenko
873efee47f Slighty modified patch #1661777: "SCUMM: allow non-english DIG and COMI
to be set to English"

svn-id: r26559
2007-04-21 21:31:53 +00:00
Gregory Montoir
b048a557ab removed unnecessary casts
svn-id: r26519
2007-04-15 21:03:06 +00:00
Gregory Montoir
642fa67da9 Added code for decodeParseString.SO_PRINT_WRAP and rewrote the CHARSET_1 function in order to match the original V8 interpreter. This should fix bugs #1036707 and #1662610 (subtitles word wrapping issues).
svn-id: r26516
2007-04-15 20:36:44 +00:00
Travis Howell
0818a44424 Add part of patch #1687053 - Scumm: Fix charset glitches in original Save-dialog.
svn-id: r26283
2007-03-23 23:31:43 +00:00
Travis Howell
00ea91c5d6 Trimming of excess spaces in drawString, only applies to SCUMM 4+ games. Cofirmed via disssembly.
svn-id: r26282
2007-03-23 23:22:18 +00:00
Gregory Montoir
f477e964d2 typo
svn-id: r25397
2007-02-05 22:49:58 +00:00
Gregory Montoir
15e2af8e9d 'fixed' o_blastText and updated a comment
svn-id: r25396
2007-02-05 22:47:22 +00:00
Max Horn
11a8d8f265 Some comment cleanup
svn-id: r25334
2007-02-02 12:51:44 +00:00