20438 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
ce288024b4 SCI: Fix crash with hunk refs in logkernel output 2011-02-28 21:37:12 +01:00
md5
3574235ba4 SCI: Removed the script patch for the scrubbing scene. The crash no longer occurs with the latest fixes to kDoBresen 2011-02-28 22:33:45 +02:00
md5
194081e7ae SCI: Removed several workarounds which are no longer needed, after the changes regarding hunk pointers in r0d555c4 2011-02-28 22:32:41 +02:00
md5
9fb1cbfc4e SCI: Added CD flags to the CD versions of LSL6 2011-02-28 22:24:21 +02:00
md5
7c10e4e3d8 SWORD2: Silence an MSVC warning (false positive) 2011-02-28 22:23:32 +02:00
Lars Skovlund
baa9cbf45c SCI: Add workaround for PQ:SWAT.
This is a bug in the SCI32 class library, and there are similar workarounds
for a number of SCI32 games.
2011-02-28 21:20:54 +01:00
Fabio Battaglia
3550e10568 SWORD2: fix leak of previous commit properly
Memorize psx sprite buffer pointer to properly free it
2011-02-28 19:22:22 +01:00
Fabio Battaglia
33d90412c1 SWORD2: Plug a memory leak in psx version
Free buffer used to resize psx sprite in drawTextObject
2011-02-28 19:16:18 +01:00
md5
0d555c497d SCI: Moved hunk pointer handling to the GC, and removed some related workarounds
SCI scripts can contain stale pointers, which are used later on. We now delete
the contents of hunk entries without invalidating the relevant pointers and let
the GC clear the references. Many thanks to waltervn and wjp for all their work
and help on this.
2011-02-28 15:56:03 +02:00
Willem Jan Palenstijn
9a60c58a8d SCI: Add FIXME comment to workaround 2011-02-28 10:17:35 +01:00
strangerke
1b16b482f9 HUGO: Remove forgotten debug message 2011-02-28 00:59:38 +01:00
strangerke
a4d4dc81a9 HUGO: rewrite saveEvents() and restoreEvents() in order to be endian and platform safe 2011-02-28 00:58:25 +01:00
md5
1dcce4445c SCI: Reverted rc7bfbc3 and fixed the actual cause of bug #3106107
While fast forwarding a song, disable its hold value together with any possible
sound looping, so that the song won't loop forever.
2011-02-28 01:06:29 +02:00
md5
c7bfbc31e2 SCI: Fixed bug #3106107 - "QFG3: Crash when saving outside palace"
Ignore requests to alter a song's hold value while it's being faded, and reset
a song's hold value when fading starts. This ensures that the song will actually
stop when fading is done and won't keep looping forever.
2011-02-28 00:18:23 +02:00
md5
4d33923436 SCI: Cleanup of the save/load dialog patching code and the lofs type detection code 2011-02-28 00:15:47 +02:00
Ori Avtalion
d90c7a8314 TOON: Avoid hiding overloaded virtual methods 2011-02-27 22:32:50 +02:00
Ori Avtalion
ee3e08bbc2 AGOS: Avoid hiding overloaded virtual methods 2011-02-27 21:25:05 +02:00
Willem Jan Palenstijn
d17a889400 SCI: Fix negative window origin alignment.
SSCI does a shr 1; shl 1 here in SetOrigin.
This fixes a crash in the ending scene of SQ3 (#3194199).
2011-02-27 18:17:22 +01:00
md5
332abb91f3 SCI: Fixed GUI option flags for PQ:SWAT 2011-02-27 16:55:28 +02:00
Willem Jan Palenstijn
d7112b5bbc SCI: Remove kDoBresen special case for SCI_VERSION_1_EGA_ONLY
Confirmed with QfG2 disassembly (the only 1_EGA_ONLY game)
that it behaves the same as SCI_VERSION_1_EARLY games, except
for the uninitialized read already mentioned in kDoBresen.
2011-02-27 15:52:19 +01:00
md5
72f65b3946 SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLY
This renaming allows us to better distinguish that this version is for games
that only had an EGA version, and avoid confusion with newer SCI1 game releases
with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2,
a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-27 16:48:53 +02:00
Lars Skovlund
65b9e1784d SCI: Detect the version of PQ SWAT from gog.com 2011-02-27 15:20:02 +01:00
md5
37d610efd3 SCI: Improved the readability of the kDoBresen code a bit 2011-02-27 16:15:33 +02:00
Willem Jan Palenstijn
db89e9a42c SCI: Don't set b_movCnt to moveSpeed while walking
This fixes moonwalking in LSL1 and movement speed in KQ5.
It appears to be have been a RE bug.
2011-02-27 14:52:13 +01:00
strangerke
02e51f9de5 HUGO: Set all the palette instead of only one color in remapPal.
This fixes the palette issue after the cave in H3
2011-02-27 11:10:09 +01:00
dhewg
aa2a2e046b SWORD2: Reduce overhead 2011-02-27 10:13:18 +01:00
dhewg
1c95d47cfa SWORD2: Respect screen pitch while postprocessing
Fixes subtitles on androids
2011-02-27 10:10:44 +01:00
strangerke
a99b394836 HUGO: Better fix for graphics glitches in DOS versions, fix H3 ending animation 2011-02-27 01:04:49 +01:00
Ori Avtalion
da62869baf SCI: Avoid hiding overloaded virtual methods 2011-02-26 21:22:03 +02:00
Ori Avtalion
765540a5fd GOB: Avoid hiding overloaded virtual methods 2011-02-26 20:25:44 +02:00
md5
9bd5e8ff15 SCI: Cleanup 2011-02-26 19:10:12 +02:00
md5
fe04339909 SCI: Removed the SCI32 version of kernelDrawCel() and placed its code inside the debug function cmdDrawCel, as it was hacked together to be used specifically in that command (thanks to salty-horse for spotting this) 2011-02-26 19:07:31 +02:00
md5
ab256842e4 SCI: Added a TODO concerning the workaround for SQ1EGA, as we don't know if it happens in the original version 2011-02-26 18:47:23 +02:00
md5
49f3f5e1e8 SCI: Fixed a memory leak. Thanks to digitall for finding this using Valgrind 2011-02-26 16:30:47 +02:00
md5
88235cee7c SCI: Some slight fixes for the code that reads the LSL2 early MT32.DLL driver, thanks to waltervn 2011-02-26 15:27:01 +02:00
strangerke
756a343cb8 HUGO: Fix graphic glitches in DOS versions 2011-02-26 14:06:30 +01:00
dhewg
bd191e1787 AGOS: Respect the screen pitch for movies
Fixes DXA and Smacker movies on Android
2011-02-26 11:58:41 +01:00
D G Turner
f78f2dff49 MOHAWK: Correction for uninitialized read in Myst Cabin Door State. 2011-02-26 10:18:36 +00:00
md5
8571083700 SCI2+: Mention that the actual problem with text wrapping happens because of the unimplemented kTextSize kernel call in SCI32 2011-02-26 06:13:08 +02:00
md5
318c51a202 SCI: Added support for reading data off the MT32.DRV driver found in LSL2 early (bug #3192627) 2011-02-26 05:22:10 +02:00
md5
67aee1ebd8 SCI: Slight cleanup in the animate code 2011-02-26 05:19:11 +02:00
dhewg
93fdcbfa05 ENGINES: We have resetGraphicsScale(), lets use it
If highres games pass defaultTo1XScaler=true to initGraphics(),
use resetGraphicsScale() instead of hardcoding "1x" (which doesn't
exist on the OpenGL backend)
If an OpenGL mode is selected, it now doesn't switch back to plain
SDL now for those games.
2011-02-25 20:49:48 +01:00
md5
8024f40638 SCI: Changed the fix for the intro of Longbow (bug #3044844) into a hack for that scene. Fixes the freeze in LSL6 (bug #3192166). Fading in KQ5 is unaffected by this. 2011-02-25 21:45:39 +02:00
md5
e0ce5a61b5 SCI: Added an initial implementation of RemapByPercent, which fixes the palette in the PQ:SWAT demo 2011-02-24 21:27:31 +02:00
md5
f890c1b6ed SCI: Fixed video playing in the PQ:SWAT demo 2011-02-24 21:27:30 +02:00
strangerke
fbf41fc66a HUGO:
- Increase savegame version, as it has changed due to RGBa->RGB modification
- Fix regression in restorePal()
- Implement load from GMM
2011-02-24 19:59:36 +01:00
md5
8bd01f69b2 SCI: Added a workaround for script bug #3044500 - "SQ1EGA: Skimmer-Buyer Dialogue Portrait Backwards Anim" 2011-02-24 16:35:19 +02:00
md5
a796f7843d TINSEL: Added enhanced music support for the German CD "Neon Edition" re-release of DW1 (bug #2827022) 2011-02-24 14:54:12 +02:00
md5
9ad4ad1abc SCI: Fixed two bugs related to music fading
- bug #3037594: "KQ5: Music not fading when brigands leave temple"
- bug #3044844: "LONGBOW: Intro skips each first verse of song"
2011-02-24 02:17:28 +02:00
md5
0f9ad1a52f SCI: Added a patch for script bug #3034579 - "KQ6CD: Missing speech" 2011-02-24 00:10:01 +02:00