Commit graph

114 commits

Author SHA1 Message Date
BLooperZ
800ea6fb15 SCUMM: fix formatting 2020-01-01 00:31:21 +01:00
BLooperZ
0af04124c8 SCUMM: export fakeBidi to function 2020-01-01 00:31:21 +01:00
BLooperZ
b75b5cb6b6 SCUMM: consider code 2 in reversal 2020-01-01 00:31:21 +01:00
BLooperZ
390a0abfed SCUMM: flip dialogue selection symbol in indy4 2020-01-01 00:31:21 +01:00
BLooperZ
43bdbdf3fa SCUMM: fix missing dialogue in indy4 2020-01-01 00:31:21 +01:00
BLooperZ
f411135ef6 SCUMM: remove condition for aligning verb lines 2020-01-01 00:31:21 +01:00
BLooperZ
9b2ee566e4 SCUMM: remove condition for aligning verb lines 2020-01-01 00:31:21 +01:00
BLooperZ
8bcdaa6e45 SCUMM: minimize changes required for rtl 2020-01-01 00:31:21 +01:00
BLooperZ
0625518e9f SCUMM: in-place verb strings reversal 2020-01-01 00:31:21 +01:00
BLooperZ
80218a5203 SCUMM7: reverse in single place 2020-01-01 00:31:21 +01:00
BLooperZ
12c86f2bc1 SCUMM: exclude digits from fake rtl support + no align in samnmax 2020-01-01 00:31:21 +01:00
BLooperZ
cd4ce42b46 SCUMM: fix title screen positioning 2020-01-01 00:31:21 +01:00
BLooperZ
7b0e50cdce SCUMM: conditional alignment 2020-01-01 00:31:21 +01:00
BLooperZ
5e26fbdf9a SCUMM: special cases for indy4 2020-01-01 00:31:21 +01:00
BLooperZ
f6e859800d SCUMM: disable debug messages 2020-01-01 00:31:21 +01:00
BLooperZ
b67d954351 SCUMM: disable warnings 2020-01-01 00:31:21 +01:00
BLooperZ
d11c6b655c SCUMM: eliminate shadowing 2020-01-01 00:31:21 +01:00
BLooperZ
e4d70141f0 SCUMM: better locale check 2020-01-01 00:31:21 +01:00
BLooperZ
68c6038e9c SCUMM: add RTL support for scumm v4 to v6 2020-01-01 00:31:21 +01:00
ניב באר
72471ec431 SCUMM: rtl support for scumm-7-8 2020-01-01 00:31:21 +01:00
D G Turner
59b639ed4d SCUMM: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-23 11:56:16 +00:00
D G Turner
84d0a294af SCUMM: Replace Various String Functions with Common String Usage
This removes the dependency on the unsafe strcpy and strcat string
functions with usage of Common::String instead.
2019-09-15 20:20:03 +01:00
Torbjörn Andersson
fba0afefa5 SCUMM: Remove unnecessary space. 2018-06-04 06:41:51 +02:00
Ori Avtalion
3ad6af92f2 SCUMM: Reduce audio header dependencies 2016-05-21 13:55:38 +03:00
Kirben
e670951a46 SCUMM: Fix bug #6592 SCUMM: ZAK - Read Ticket is too fast to read. 2015-06-10 07:12:25 +02:00
Johannes Schickel
3847465163 SCUMM: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Willem Jan Palenstijn
9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Max Horn
658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Eugene Sandulenko
c451ae639f SCUMM: Proper fix of Russian subtitles
Initial fix in 11a17b3 (r51211) led to chopped inventory items.
No idea why it does not work with our code, as it seems to match
the disassembly. Thus implementing this hackish workaround.
2011-08-06 11:28:30 +01:00
Littleboy
b694a78f62 ANALYSIS: Add static casts to is* functions
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results.
See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23 08:52:52 -04:00
athrxx
4b98d6a9e4 SCUMM: Fix bug #1013617
(ZAK FM-TOWNS: Wrong verb ('Teleport To') shown)
2011-05-29 01:04:14 +02:00
Max Horn
82343f6649 SCUMM: Remove some unused var warnings (see bug #3293800) 2011-05-14 23:50:43 +02:00
Max Horn
b37463fe59 SCUMM: Move class ResourceManager to its own header 2011-05-13 11:47:08 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Travis Howell
ccb8a01b17 SCUMM: Correct fix for bug #3145951 - DIG: Subtitles won't turn off (regression).
svn-id: r55053
2010-12-28 06:05:57 +00:00
Travis Howell
cfbac503ad SCUMM: Another fix for bug #3145951 - DIG: Subtitles won't turn off (regression).
svn-id: r55052
2010-12-28 05:43:03 +00:00
Travis Howell
fe12e08dd6 SCUMM: Fix bug #3145951 - DIG: Subtitles won't turn off (regression).
svn-id: r55050
2010-12-27 14:07:53 +00:00
Max Horn
e85d196f33 SCUMM: Fix bug in V12 games causing chars to be lost when wrapping talk text
svn-id: r54729
2010-12-02 00:27:26 +00:00
Travis Howell
5132cf51e3 Fix bug #3093750 - FT: Truck and Aircraft computer text missing (regression).
svn-id: r54665
2010-11-30 07:57:42 +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
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