Commit Graph

18300 Commits

Author SHA1 Message Date
Eugene Sandulenko
7e2e168470 SWORD25: Added module.mk
svn-id: r53172
2010-10-12 21:38:54 +00:00
Eugene Sandulenko
a683a420a9 SWORD25: Importing original sources
svn-id: r53171
2010-10-12 21:38:20 +00:00
Arnaud Boutonné
7723d91c95 HUGO: Add lineHandler for v3 Dos, fix/add comments
svn-id: r53170
2010-10-12 21:12:54 +00:00
Eugene Sandulenko
dbde2e46e3 SWORD25: Added detection of libtheora, png an dplugged in the engine
svn-id: r53169
2010-10-12 21:12:50 +00:00
Eugene Sandulenko
82e819d48a SWORD25: Initial dummy engine
svn-id: r53168
2010-10-12 21:02:41 +00:00
Arnaud Boutonné
7e5f66a4c8 HUGO: enable left diagonals
svn-id: r53167
2010-10-12 20:00:23 +00:00
Eugene Sandulenko
77e70a7187 AGI: Fix bug #3017908 with MIDI music
Bug #3017908: "AGI: No music with the new MIDI patch"
Thanks to Raziel^ for pinpointing the bug.

svn-id: r53166
2010-10-12 19:44:40 +00:00
Torbjörn Andersson
54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Sylvain Dupont
eb52eb32a0 TOON: Fixed Flux disappearing in barn when talking to the cow
Several animations are not present for every Flux facing.
There is an hardcoded table to handle this.

svn-id: r53157
2010-10-11 23:16:15 +00:00
Sylvain Dupont
95c0e6cc42 TOON: Fixed uninitialized var
svn-id: r53156
2010-10-11 23:14:32 +00:00
Sylvain Dupont
21cb3a62b6 TOON: Reverted script throttle for now and fixed anim timing issue
svn-id: r53155
2010-10-11 23:12:59 +00:00
Arnaud Boutonné
2978053a00 HUGO: Split classes with multiple version in separate files
svn-id: r53152
2010-10-11 21:41:31 +00:00
Filippos Karapetis
576d6429bc TOON: Reduced CPU usage by about 40%
svn-id: r53151
2010-10-11 21:27:28 +00:00
Willem Jan Palenstijn
0fd6b7608e AGI: Fix one more strncpy/strncat issue
svn-id: r53148
2010-10-11 17:52:44 +00:00
Johannes Schickel
cc0afa92b3 AGI: Fix possible buffer overflow.
This is based on patch #3085298 "overflows in agi and parallaction".

svn-id: r53147
2010-10-11 17:07:53 +00:00
Johannes Schickel
c3366755ef PARALLACTION: Fix out of bounds access.
This is a partial commit of patch #3085298 "overflows in agi and parallaction".

svn-id: r53146
2010-10-11 17:07:34 +00:00
Matthew Hoops
ed93a58955 HUGO: Use _targetName for naming save files
svn-id: r53145
2010-10-10 23:24:57 +00:00
Sylvain Dupont
ce97c61079 TOON: Fixed offsets in hard coded conversation musics
svn-id: r53144
2010-10-10 23:10:14 +00:00
Max Horn
7642cd002a SCI: Fix warning about uninitialized variable
svn-id: r53140
2010-10-10 22:25:30 +00:00
Arnaud Boutonné
6ebd324be4 HUGO: Add specific takeObject and dropObject for H1 DOS
svn-id: r53135
2010-10-10 22:13:38 +00:00
Sylvain Dupont
a4c657b8cf TOON: Made all ToonEngine functions non-virtual
svn-id: r53134
2010-10-10 21:40:25 +00:00
Johannes Schickel
97f042e530 TOON: Adapt include guard for consistency.
svn-id: r53133
2010-10-10 21:26:37 +00:00
Johannes Schickel
85f770599f TOON: Coding guideline corrections.
svn-id: r53132
2010-10-10 21:26:18 +00:00
Sylvain Dupont
0c6c03bfd6 TOON: Fix potential undefined operation warning
svn-id: r53131
2010-10-10 21:19:40 +00:00
Sylvain Dupont
aa89bbbcbd TOON: Music attenuation when someone talks
svn-id: r53130
2010-10-10 21:12:10 +00:00
Sylvain Dupont
23aa94ec02 TOON: Fix fast animation "Ready" on Sweetfighter game
svn-id: r53129
2010-10-10 20:30:36 +00:00
Arnaud Boutonné
9c56271839 HUGO: Add debug channels to new parser functions
svn-id: r53128
2010-10-10 20:13:59 +00:00
Sylvain Dupont
927f560eb2 TOON: Fixed bad Flux state when restoring a game
svn-id: r53127
2010-10-10 16:52:15 +00:00
Torbjörn Andersson
1f6bc7e309 TOON: Fix distortion in some looped music
This was very noticeable in the footman conversation music.

svn-id: r53125
2010-10-10 16:13:55 +00:00
Sylvain Dupont
c952f7aa58 TOON: Added special conversation musics
svn-id: r53124
2010-10-10 15:47:05 +00:00
Sylvain Dupont
0d6d895478 TOON: Disable too many levels of recursion with click events
svn-id: r53119
2010-10-10 14:30:13 +00:00
Sylvain Dupont
7a7eabb139 TOON: Fix end of idle animations
svn-id: r53118
2010-10-10 14:27:19 +00:00
Florian Kagerer
2c691e1168 LOOM PC-Engine: fix mouse cursor
svn-id: r53117
2010-10-10 14:22:10 +00:00
Arnaud Boutonné
440bcaa060 HUGO: Fix 'Exit' command behavior in the DOS versions
svn-id: r53116
2010-10-10 13:06:48 +00:00
Florian Kagerer
8e6ce812d1 LOOM PC-Engine: fix regression
svn-id: r53113
2010-10-10 10:26:49 +00:00
Arnaud Boutonné
550d340959 HUGO: Now force initial save
This should fix the corrupted initial savegame problem

svn-id: r53111
2010-10-10 10:00:55 +00:00
Arnaud Boutonné
c50a149a35 HUGO: Remove sound off when saving
svn-id: r53110
2010-10-10 09:59:40 +00:00
Arnaud Boutonné
a4c16f7447 HUGO: Move Dos strings from Parser to hugo.dat
svn-id: r53109
2010-10-10 09:47:19 +00:00
Arnaud Boutonné
ced1aba1ea HUGO: New parser for H1 Dos and H2 Dos.
Add specific parser functions for H1 Dos and H2 Dos

svn-id: r53106
2010-10-10 07:43:42 +00:00
Florian Kagerer
89fd5b31c1 SCUMM/FM-TOWNS: minor fix for sfx code
svn-id: r53103
2010-10-09 16:39:56 +00:00
Florian Kagerer
5ce63fb78f KYRA: fix regression in Screen_v2::generateOverlay()
(very noticeable in LOL PC-98)

svn-id: r53102
2010-10-09 14:55:33 +00:00
Torbjörn Andersson
212d6cc1f0 TOON: Fix black spots in title picture.
A "full palette" is, presumably, 256 colours, not 255.

svn-id: r53101
2010-10-09 11:33:29 +00:00
Torbjörn Andersson
30556795fd TOON: Removed unnecessary "break"s (right after "return"s)
svn-id: r53100
2010-10-09 11:27:25 +00:00
Johannes Schickel
571fe5d21e TOON: Constify some more tables.
svn-id: r53099
2010-10-09 11:18:19 +00:00
Johannes Schickel
eef9f7b57b TOON: Ran astyle over the toon engine (+ some manual corrections).
svn-id: r53098
2010-10-09 11:11:26 +00:00
Torbjörn Andersson
20e6baca22 TOON: More semi-colon cleanup.
svn-id: r53097
2010-10-09 10:41:01 +00:00
Ori Avtalion
2ab013941a TOON: Semicolon cleanup
svn-id: r53096
2010-10-09 10:29:11 +00:00
Florian Kagerer
88416b870d SCUMM/FM-TOWNS: cleanup sfx code
svn-id: r53095
2010-10-09 01:36:38 +00:00
Matthew Hoops
0acdaf30b2 TOON: Merge toondemo game id into toon
ADGF_DEMO already marks it as a demo, so labeling the id as "Demo" would be redundant.

svn-id: r53094
2010-10-09 01:21:06 +00:00
Sylvain Dupont
3a0ad4c41c TOON: String fixes for motoezx build
svn-id: r53093
2010-10-09 00:29:10 +00:00
Johannes Schickel
2a984d1d3f TOON: Make some static data tables const.
svn-id: r53092
2010-10-09 00:26:58 +00:00
Sylvain Dupont
0fc6572b65 VIDEO: Remove useless references in handleAudioTrack function
svn-id: r53091
2010-10-09 00:17:55 +00:00
Eugene Sandulenko
e11637c7bc TOON: Normalized include paths
svn-id: r53089
2010-10-08 22:45:28 +00:00
Eugene Sandulenko
3aa0345ab3 TOON: Fixed guard defines
svn-id: r53088
2010-10-08 22:33:58 +00:00
Eugene Sandulenko
cf82bef02e TOON: Merged Toon engine to ScummVM trunk
svn-id: r53087
2010-10-08 22:30:39 +00:00
Willem Jan Palenstijn
28ade1826a SCI: Support kGetTime modes 2 and 3 in SCI 0_LATE
This fixes bug #3083879 in Iceman.

svn-id: r53077
2010-10-08 18:33:54 +00:00
Florian Kagerer
b58bbd719c SCUMM/FM-TOWNS: fixed threading issue in sfx code
svn-id: r53074
2010-10-08 16:31:08 +00:00
Florian Kagerer
4ad65e5179 SCUMM/FM-TOWNS: fixed possible invalid mem access in sfx code
svn-id: r53073
2010-10-08 13:50:11 +00:00
Filippos Karapetis
744a1829ac SCI: Added a check for magnifier cursor multipliers
Sierra SCI only allowed multipliers 1, 2 and 4, and errored out on unexpected
values, thus we do the same

svn-id: r53072
2010-10-08 13:33:54 +00:00
Martin Kiewitz
6dcf366b7d SCI: fixing mag cursor as far as possible
added TODO for real proper implementation
at least the alignment and content shown is now correct

svn-id: r53071
2010-10-08 12:41:03 +00:00
Martin Kiewitz
6798b01569 SCI: add global scaling again to kAddToPic
fixes regression of r52887 - lb2 actors not scaled correctly bug #3083577

needs to get backported

svn-id: r53068
2010-10-08 10:35:25 +00:00
Florian Kagerer
a214e08c0d SCUMM/FM-TOWNS: minor change in sfx code
svn-id: r53061
2010-10-07 22:20:22 +00:00
Filippos Karapetis
e1a5b5cda1 SCI: Fix for bug #3083151 - "QFG3: Long pause while loading specific savegame"
svn-id: r53060
2010-10-07 21:50:47 +00:00
Willem Jan Palenstijn
9fae823f61 SCI: Add one more workaround for end of QfG3 Awari
svn-id: r53058
2010-10-07 20:48:55 +00:00
Filippos Karapetis
7f6fa7e030 SCUMM: Silenced signed/unsigned warnings, removed unused variable
svn-id: r53055
2010-10-07 20:18:33 +00:00
Filippos Karapetis
cacfefa699 SCI: bugfix for magnifier cursors
When deleting the resources related to magnifier cursors, zero them out
as well. Fixes crash when exiting a game after using a magnifier cursor

svn-id: r53054
2010-10-07 20:00:32 +00:00
Florian Kagerer
cf9c948433 SCUMM/FM-TOWNS: cleanup
svn-id: r53053
2010-10-07 19:27:11 +00:00
Florian Kagerer
01c9b17068 SCUMM/FM-TOWNS: improved sfx support for indy4 and monkey2
svn-id: r53052
2010-10-07 19:23:49 +00:00
Filippos Karapetis
8fcd25bcce SCI: Added a define to disable room transitions
This is only useful for development, for speedy runs of games, and should NOT be
used in general, as it may introduce graphics glitches

svn-id: r53049
2010-10-07 15:30:30 +00:00
Willem Jan Palenstijn
95118b172e SCI: Still show warning for uninit. reads in release mode
svn-id: r53047
2010-10-07 14:57:59 +00:00
Martin Kiewitz
2879e19b6a SCI: unknown valgrind cases->fake 0 when official
we will fake 0 instead of error()ing out in official releases, when an uninitialized temp is read

is supposed to get backported

svn-id: r53046
2010-10-07 14:40:11 +00:00
Martin Kiewitz
5ba3475f93 SCI: fixing kBaseSetter on scaled views
adding check, if view is scaleable
also just copying nsRect now instead of recalculating - fixes lb2 regression at the docks (calling taxi hangs the game, bug #3982289) - i noticed this difference before but copying nsRect didnt work back then (i guess because of other bugs), that's why i recalculated it

should get backported, but only after some more testing - maybe someone should play through lb2 again

svn-id: r53045
2010-10-07 11:25:09 +00:00
Sven Hesse
8e523d9d2f GOB: Fix object videos with more than 255 frames
A regression of the CoktelDecoder rewrite.

svn-id: r53043
2010-10-07 09:18:15 +00:00
Paul Gilbert
b15f51ad7b LURE: Fix for #3062794 - Diermot cannot leave room 7
svn-id: r53039
2010-10-06 09:55:41 +00:00
Sven Hesse
7ffd94004e GOB: Try to also open VMD files in Gob3 Win
Because the scripts reference it as IMD, while there are actually
only VMDs files in the data files of the Windows version

svn-id: r53037
2010-10-05 21:22:30 +00:00
Sven Hesse
2a99d3d4b1 GOB: Silence compiler warnings
svn-id: r53036
2010-10-05 20:59:47 +00:00
Thierry Crozat
77f57cd8f8 DRASCULA: Add MD5 for improved French version of the game
svn-id: r53034
2010-10-05 20:11:19 +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
Sven Hesse
b749b28c09 GOB: Fix text display in Gob3 Windows/ADI
svn-id: r53032
2010-10-05 18:54:30 +00:00
Paul Gilbert
c19c9482b2 LURE: Bugfix for #3008511 - Goewin stuck at counter
svn-id: r53029
2010-10-05 10:50:22 +00:00
Filippos Karapetis
c8fd37c9f0 SCI: Some fixes for zoom cursors
- Now the cursor buffer is initialized outside the mouse movement code, thus saving
a memcpy there
- Plugged some memory leaks
- Removed an obsolete check

svn-id: r53028
2010-10-05 10:30:26 +00:00
Paul Gilbert
61afea6cbe LURE: Bugfix for #3060480 - Ratpouch alternating between rooms
svn-id: r53026
2010-10-05 09:14:18 +00:00
Florian Kagerer
3185b9df42 SCUMM/FM-TOWNS: cleanup
svn-id: r53016
2010-10-04 17:03:38 +00:00
Martin Kiewitz
04a8ff06a2 SCI: fixing crash in mag cursor code for pharkas
svn-id: r53014
2010-10-04 09:23:06 +00:00
Filippos Karapetis
165432ad19 SCI: Several corrections for magnifier cursors
svn-id: r53010
2010-10-04 06:05:34 +00:00
Willem Jan Palenstijn
d1fb1d5b26 SCI: Fix AltInput crash in non-parser games
svn-id: r53008
2010-10-03 23:56:17 +00:00
Filippos Karapetis
27745c2143 SCI: Added missing initialization of _zoomBitmap
svn-id: r53007
2010-10-03 23:55:28 +00:00
Filippos Karapetis
c9e3a93c04 SCI: Added detection entry for KQ5/PC-98 (bug report #3073583)
svn-id: r53005
2010-10-03 23:10:45 +00:00
Filippos Karapetis
ce8a2fbbbc SCI: Added support for SCI1.1+ magnifier cursors (bug #3034973).
These are special cursors which zoom parts of a view dynamically. Examples
are Freddy Pharkas, when reading the prescription with the whiskey and LB2,
when using the magnifying glass on the Rosetta Stone

svn-id: r53003
2010-10-03 22:41:35 +00:00
Willem Jan Palenstijn
11d9f1ec54 SCI: Support alternative inputs from vocab 913
This allows the input of accented characters and Japanese using plain ascii
in non-English games.

svn-id: r53001
2010-10-03 20:58:50 +00:00
Florian Kagerer
0596971dec SCUMM/FM-TOWNS: cleanup
svn-id: r53000
2010-10-03 20:44:58 +00:00
Florian Kagerer
5d7ce32fbd SCUMM/FM-TOWNS: fix mouse cursor colors
svn-id: r52999
2010-10-03 20:29:22 +00:00
Torbjörn Andersson
8d297f065a AGI: Properly detect the autosave slot in the save dialog
Forward-ported from branch. Let's do this the easy way for now, even
if I'm not sure why the save dialog shows the autosave slot anyway.

svn-id: r52997
2010-10-03 18:38:38 +00:00
Florian Kagerer
c9713bef7c SCUMM/FM-TOWNS: improve merging of graphics layers
svn-id: r52995
2010-10-03 17:25:38 +00:00
Willem Jan Palenstijn
40e42f859f SCI: Fix textwidth computation for chars >= 128
svn-id: r52992
2010-10-03 14:52:15 +00:00
Florian Kagerer
6ca15d0888 SCUMM/FM-TOWNS: fix drawBox()
svn-id: r52991
2010-10-03 14:32:09 +00:00
Willem Jan Palenstijn
73310fe237 SCI: Remove unused function
svn-id: r52990
2010-10-03 10:49:58 +00:00
Willem Jan Palenstijn
f98536eef5 SCI: Allow multiple word groups in parser
In SCI01 and up, each typed word may be interpreted as multiple
class,group pairs. This patch adds support to the vocabulary and
parser. It uses the matcher support added in r52985.

This fixes parser issues in German LSL3, but needs testing.

svn-id: r52989
2010-10-03 10:49:42 +00:00
Arnaud Boutonné
694758fd2a HUGO: Clean-up
svn-id: r52988
2010-10-03 08:08:42 +00:00
Florian Kagerer
77fe52bbd7 INDY3/FM-TOWNS: fix intro graphics bug
svn-id: r52987
2010-10-02 23:18:15 +00:00
Willem Jan Palenstijn
a6839d5ffd SCI: Fix memleak
svn-id: r52986
2010-10-02 23:17:19 +00:00
Willem Jan Palenstijn
ab46bf0f61 SCI: Allow multiple word groups in parse tree leafs
This is to prepare for multilingual SCI versions. In those a single typed word
may be parsed to multiple class,group pairs, any of which may match
the said specs. The actual parsing is not yet implemented.

svn-id: r52985
2010-10-02 23:17:03 +00:00
Willem Jan Palenstijn
4a9f2204c4 SCI: Fix typo in testcase
svn-id: r52984
2010-10-02 22:11:51 +00:00
Florian Kagerer
5d1ab85874 SCUMM: update scumm-md5.txt
svn-id: r52981
2010-10-02 15:01:51 +00:00
Florian Kagerer
74681b81b3 SCUMM/FM-Towns: limit SCUMM 5 games to 16 bit graphics mode
8 bit mode makes no sense for these games since colors will be too messed up.
SCUMM 3 games (Indy 3, Loom, Zak) are still supported in 8bit mode.

svn-id: r52977
2010-10-02 13:25:50 +00:00
Eugene Sandulenko
8dca57e4e9 SAGA: Fix bug #3065113 with patched sound glitch
Bug #3065113: "ITE demo: patched sound at intro is not played correctly"

svn-id: r52975
2010-10-02 09:08:05 +00:00
Neeraj Kumar
a16832760b 1. Added ConfigParams Singelton class to eliminate use of configuration specific static variables.
2. Modified code to handle the change
3. Updated the previously merged obsolete copy of branch gsoc2010-testbed.

svn-id: r52973
2010-10-02 01:05:16 +00:00
Paul Gilbert
f94752f752 LURE: Partial fix for #3008511 Goewin getting stuck
This workaround prevents the Weregate from closing whilst Goewin is still within it

svn-id: r52971
2010-10-02 00:08:13 +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
Arnaud Boutonné
5727cab0f1 HUGO: Remove viewport variables from _config
svn-id: r52963
2010-10-01 09:13:47 +00:00
Arnaud Boutonné
2efaedb29b HUGO: Fix crash using mouse
Fix crash when clicking on objects without a 
default 'TAKE' action (like the hero, the eyes and 
the bat in the first screen)

svn-id: r52962
2010-10-01 06:16:24 +00:00
Arnaud Boutonné
cc69fa8297 HUGO: Improve message boxes
- Use OK and YES/NO messages boxes when required
- Empty messages are no longer displayed

svn-id: r52960
2010-09-30 22:22:05 +00:00
Arnaud Boutonné
305d6fc7f5 GOB: Remove useless variable
svn-id: r52957
2010-09-30 15:31:31 +00:00
Sven Hesse
947540c089 GOB: Fix 16bit cursors
svn-id: r52952
2010-09-30 13:04:43 +00:00
Sven Hesse
1d17a4157f GOB: Remove extra \n in debug warning()s
svn-id: r52951
2010-09-30 13:04:14 +00:00
Sven Hesse
89f946ba3e GOB: Transparency support for 16bit surfaces
svn-id: r52950
2010-09-30 13:03:51 +00:00
Sven Hesse
3ab8bf16a2 GOB: Create 16bit surfaces for true color games
Enabling basic Urban drawing again

svn-id: r52949
2010-09-30 13:03:22 +00:00
Sven Hesse
4f2b58b117 GOB: Remove the now useless VGAVideoDriver
svn-id: r52948
2010-09-30 13:02:50 +00:00
Sven Hesse
51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Sven Hesse
38e5060041 GOB: Add a new class Surface
This will be the new class managing all drawing, providing
depth-agnostic methods for all drawing operations, including 2
iterator-like classes, Pixel and ConstPixel.

svn-id: r52946
2010-09-30 13:01:07 +00:00
Sven Hesse
e68b6e9f15 GOB: Remove dither stuff, commenting out most v6 drawing
svn-id: r52945
2010-09-30 13:00:30 +00:00
Sven Hesse
b6766f0d7f GOB: Stub setting up of 16bpp graphics
svn-id: r52944
2010-09-30 12:59:48 +00:00
Sven Hesse
13d41dca41 GOB: Add kFeaturesTrueColor
svn-id: r52943
2010-09-30 12:59:18 +00:00
Sven Hesse
3cb3b1e692 GOB: Rename kFeatures640 to kFeatures640x480
svn-id: r52942
2010-09-30 12:58:52 +00:00
Max Horn
484bf9c269 ALL: Fixup some #define names
svn-id: r52935
2010-09-28 20:30:50 +00:00
Arnaud Boutonné
07427bed74 HUGO: Suppress useless parameter in several functions
svn-id: r52933
2010-09-28 19:49:53 +00:00
Max Horn
2db927c223 TINSEL: Remove redundant '_Windows' check
svn-id: r52932
2010-09-28 19:06:03 +00:00
Torbjörn Andersson
30db851ef0 SAGA: Fix wrong logo animation in some versions of ITE
Not all releases put the Wyrmkeep credits patch in a "graphics"
sub-directory, so assume it could be anywhere.

svn-id: r52930
2010-09-28 18:55:54 +00:00
Torbjörn Andersson
2d82cc385d SAGA: Fix an ITE intro regression
(Possibly related to bug #3076822 - ITE: Dialog repeats in intro.)

The p2_a.voc patch file wasn't played. This was because the engine
first loaded p2_a.voc as a replacement for voice resource 4. Then it
tried to load p2_a.iaf and, when it failed, removed the patch data
for the very same resource. Now it only tries to read a patch if it
hasn't already found a patch for the resource. (There may have been a
similar bug in the end credits as well.)

svn-id: r52928
2010-09-28 18:15:25 +00:00
Torbjörn Andersson
5d1e26d804 SAGA: Initialise _driverType
svn-id: r52922
2010-09-28 04:53:38 +00:00
Arnaud Boutonné
d46f4a2fc0 HUGO: Move strlwr to Utils
svn-id: r52921
2010-09-27 21:50:11 +00:00
Arnaud Boutonné
3db60d9e44 HUGO: Add F3 behavior (recall), little cleanup
- Add F3 behavior
- Move drawStatusText() to Screen

svn-id: r52920
2010-09-27 20:24:36 +00:00
Martin Kiewitz
cd6aa62702 SCI: adding separate status drawing code
now also draws "IV" in KQ4 correctly. This wasn't the case before because we reused the regular drawing code, which would see the 0xA ("IV") as linebreak

save for backport

svn-id: r52913
2010-09-26 18:23:53 +00:00
Martin Kiewitz
432b7b25d9 SCI: kDrawPic setting _picNotValid on non-front
fixes lsl5 english graphic corruption during taj mahal wakeup, should also fix sq5 1.03 graphic corruption right after scrubbing (bug #3041069)

save for backporting

svn-id: r52911
2010-09-26 15:47:13 +00:00
Torbjörn Andersson
5537ac91bf JANITORIAL: Removed unnecessary semi-colons.
svn-id: r52910
2010-09-26 15:46:25 +00:00
Torbjörn Andersson
ad02009888 AGOS: Hopefully fix bug #3000876 ("FF: Crackling/static popping")
We want the WAV stream in playSounData() to contain the entire WAV
data, but the size we read does not include the eight first bytes.

svn-id: r52908
2010-09-26 12:28:26 +00:00
Travis Howell
184833924b AGOS: Fix bug #3011638 - WAXWORKS: Crash retrieving spear from the crocodile carcass.
svn-id: r52906
2010-09-26 12:22:46 +00:00
Torbjörn Andersson
113e14224d AGOS: Fix Valgrind warnings on exit.
svn-id: r52904
2010-09-26 12:07:50 +00:00
Arnaud Boutonné
64017f266e HUGO: Remove extra ;
svn-id: r52903
2010-09-26 11:43:07 +00:00
Arnaud Boutonné
20a6180459 HUGO: Add H1 Dos intro
svn-id: r52902
2010-09-26 11:32:52 +00:00
Torbjörn Andersson
4543855eca AGI: Fix bug in cmd_cancel_line()
We have to update cursor position, not just terminate the input
buffer. This makes Ctrl-C work as intended, which fixes one half of
bug #3054184 ("SQ1 AGI: keyboard special keys are not functioning
properly"). I'm not sure if the second half actually is a bug. 

svn-id: r52899
2010-09-26 11:20:55 +00:00
Eugene Sandulenko
f965616552 SCUMM: Fix bug #3052804 by reverting NES-specific screen width hack
svn-id: r52891
2010-09-25 20:50:13 +00:00
Martin Kiewitz
7105e294e2 SCI: little optimization in kAddToPic
definitely save to backport, belongs to r52887

svn-id: r52888
2010-09-25 19:43:36 +00:00
Martin Kiewitz
18cd3333c0 SCI: changes to kAddToPic
kAddToPic doesnt do loop/cel fixups, it also doesnt support global scaling and will only set nsRect on scaled Cels, not reusing fill() of kAnimate anymore, but doing those things separately

fixes kq6 - 2nd window shown instead of peppermint bush (bug #3070465)

should be save to backport

svn-id: r52887
2010-09-25 19:28:56 +00:00
Matthew Hoops
d4504a3f3a AGI: Fix C64 AGI pictures
The initial screen color needs to be 0 and not 0xf for these. Winnie C64/Apple II should be completable now, with some graphical glitches and palette problems.

svn-id: r52881
2010-09-25 14:28:48 +00:00
Arnaud Boutonné
009e481547 HUGO: Add H2 Dos splash screen
svn-id: r52880
2010-09-25 13:39:19 +00:00
Arnaud Boutonné
387753705a HUGO: Fix stricmp use and text color in splash screen
svn-id: r52878
2010-09-25 12:59:35 +00:00
Arnaud Boutonné
be4d619864 HUGO: Add intro for H3 Dos
svn-id: r52877
2010-09-25 12:45:12 +00:00
Martin Kiewitz
a8df677c04 SCI: save/restore intensity of sysPalette
fixes bug #3072868
should be save for backporting

svn-id: r52875
2010-09-24 09:56:50 +00:00