Commit Graph
11 Commits
Author SHA1 Message Date
sluicebox 4d6c2f474e SCI: Fix LB2 CD museum actors facing wrong direction 2022-12-02 16:11:32 -08:00
sluicebox 2d73220c13 SCI: Add media type to resource patch definitions 2022-12-02 16:11:32 -08:00
D G Turner 0a34c124e7 SCI: Correct Resource Patcher for New Resource Patches
This should properly fix bug #13192 (SCI: Police Quest 4 - Random Crashes)

The view.10988 resource is a new resource as per the patch table. These
type of new resource will have a nullptr for the source when being patched.

This meant that the final memcpy to copy the remaining source would be
called with a nullptr in these cases. To avoid this, have added a nullptr
check on the source to this which should avoid this in future.

This only affected PQ4 as this was the only resource patch which created
a new resource.
2022-01-03 20:26:59 +00:00
D G Turner 1ec6adb304 SCI: Abort Resource Patching if Resource Data Loading has Failed
This may fix bug #13192 (SCI: Police Quest 4 - Random Crashes), but
is good practice anyway.
2022-01-02 17:08:39 +00:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
sluicebox 7934070bf5 SCI: Avoid global constructor in resource patcher 2021-08-23 21:10:32 -05:00
Eugene Sandulenko ca92641345 Revert "SCI: Fix Symbian compilation."
This reverts commit ee6c7153cb.

This is not portable solution and produces tons of warnings
because the named va-args are GCC extension
2021-06-27 14:20:16 +02:00
Fiodar Stryzhniou ee6c7153cb SCI: Fix Symbian compilation.
Before build symbian build system process every cource file with prehistoric preprocessor.
I was unable to replace it with a modern version from gcc, since there are special specific commands. There is no description of the commands.
2021-06-27 13:00:13 +02:00
sluicebox 4e8db68d4a SCI: Remove asserting "new" allocation results 2021-05-23 16:55:35 -06:00
Vladimir Serbinenko 3e7abf974d SCI: Patch invalid picture in Russian translation of Torin's passage 2021-01-02 11:41:37 +02:00
Filippos Karapetis bd7e708fc3 SCI: Move resource related functionality into a separate folder 2020-11-29 14:34:55 +02:00