Commit Graph

146266 Commits

Author SHA1 Message Date
Kaloyan Chehlarski
82cd37ce34 DEVTOOLS: Add nancy2 patches to create_nancy
Added facilities for embedding game patches into nancy.dat
Added two game patches for nancy2:
- one of the original patches, as distributed by the original
devs. Specifically, only the patch to extend the end-game
timer; there exists another patch that fixes an error when
double-clicking a specific cupboard, but that's caused by
an engine bug that does not exist in ScummVM.
- a new, custom patch that fixes a nasty softlock caused
by incorrect dependencies in a certain scene.
2023-11-02 11:41:22 +02:00
Kaloyan Chehlarski
2f42aade45 NANCY: Fix ciftree export
Fixed the data offsets, which were previously really wrong
2023-11-02 11:41:22 +02:00
Kaloyan Chehlarski
d3976468b1 BACKENDS: LIBRETRO: Fix memory leak
Coverity CID 1502443
2023-11-02 11:41:22 +02:00
Kaloyan Chehlarski
25c3efb0e2 AUDIO: Fix memory leak in WMA
Coverity CID 1338118
2023-11-02 11:41:22 +02:00
Kaloyan Chehlarski
d67fcb5e8b AUDIO: Fix memory leak in AIFF
Coverity CID 1490097
2023-11-02 11:41:21 +02:00
Kaloyan Chehlarski
2f7861963e NANCY: Ensure consistent ciftree names for SearchMan
It appears SearchMan Archive storage is case-sensitive,
which can cause errors when loading files. This commit
makes sure all ciftrees are stored and looked up as
_tree_TREENAME in SearchMan to avoid such errors.
2023-11-02 11:41:21 +02:00
Kaloyan Chehlarski
172b87ebf7 NANCY: Synchronize nancy2 movies with sound
It seems earlier games were aware of the engine bug that
slows down all videos, and their movies were correctly synced
in the original engine. This commit duplicates that bug,
but only in the cases where a movie has an embedded sound
(e.g. the nancy2 cutscenes)
2023-11-02 11:41:21 +02:00
Kaloyan Chehlarski
ce1ac137e1 NANCY: Fix Coverity issues 2023-11-02 11:41:21 +02:00
Xaviu
a253d7098d I18N: Update translation (Catalan)
Currently translated at 80.7% (1622 of 2008 strings)
2023-11-02 04:41:32 +00:00
ScummVM-Translations
74f2c79d45 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-11-01 20:28:42 +00:00
AndywinXp
e0a105ba3c SCUMM: COMI: Remove unneeded hack in subtitles rendering
It appears that I have properly fixed this somewhere else during
this year... Having this code in place would just reproduce the
issue I was originally trying to fix.
2023-11-01 21:28:28 +01:00
Antoniou Athanasios
5e60d0235f I18N: Update translation (Greek)
Currently translated at 99.8% (2005 of 2008 strings)
2023-11-01 11:28:20 +00:00
IlDucci
d45e720cf9 I18N: Update translation (Spanish)
Currently translated at 100.0% (2008 of 2008 strings)
2023-11-01 10:09:29 +00:00
Purple T
36cf3b158f I18N: Update translation (French)
Currently translated at 100.0% (2008 of 2008 strings)
2023-11-01 09:59:22 +00:00
Marcel Souza Lemes
e5ce64ae30 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (2008 of 2008 strings)
2023-11-01 06:41:31 +00:00
ScummVM-Translations
eb7c648a40 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-31 23:27:53 +00:00
Eugene Sandulenko
7eac71a4c7
GRAPHICS: MACGUI: Fixed computation of image sizes in pixels in MacTextCanvas 2023-11-01 00:27:34 +01:00
ScummVM-Translations
d9fd09ccdd I18N: Update translations templates 2023-10-31 23:24:50 +00:00
Eugene Sandulenko
58eedff7d1
ANDROID: Adjusted image sizes in help text 2023-11-01 00:24:11 +01:00
Eugene Sandulenko
86a289ea32
IOS: Make image dimensions in help text dependent on the font size 2023-11-01 00:17:38 +01:00
Eugene Sandulenko
175bf5c001
GRAPHICS: MACGUI: Use image extensiosn for calculating image dimensions in MacTextCanvas 2023-11-01 00:16:00 +01:00
Eugene Sandulenko
ddadee5daf
GRAPHICS: MACGUI: Copy defaultFormatting to MacTextCanvas 2023-10-31 23:16:13 +01:00
Eugene Sandulenko
fc00188eeb
GRAPHICS: MACGUI: Parse image extension string into a fixed format 2023-10-31 22:55:14 +01:00
Eugene Sandulenko
7e4c81e1ff
GRAPHICS: MACGUI: Pass image extensions from Markdown to MacTextCanvas 2023-10-31 22:55:09 +01:00
sluicebox
95f8e1404f COMMON: Use logical Or in SubReadStream::eos. PVS-Studio V792 2023-10-31 14:20:30 -07:00
sluicebox
3164b8c5f5 CHEWY: Fix typo in character literal. PVS-Studio V1039 2023-10-31 14:20:30 -07:00
sluicebox
a7d90a8ff7 GOB: Add missing comma to wobble table. PVS-Studio V737 2023-10-31 14:20:30 -07:00
sluicebox
1e546bf51d BLADERUNNER: Remove extra event arrays. PVS Studio V575
The intent was to create a Common::Array with a maximum capacity of 20.
Instead, _activeCustomEvents was a C array of 20 Common::Arrays.
The -> operator accesses the first element of a C array, so the first
Common::Array was always used.
2023-10-31 14:20:29 -07:00
sluicebox
d6acb1a143 BBVS: Remove redundant assignment. PVS-Studio V517 2023-10-31 14:20:29 -07:00
sluicebox
1bb58d7937 DIRECTOR: Remove freeing nullptr. PVS-Studio V575
This was left over from a refactor.

See: ecd6f218df
2023-10-31 14:20:29 -07:00
sluicebox
b794a308fe HOPKINS: Remove free(nullptr). PVS-Studio V575
This was a result of a find/replace.

See: e79a51c208
2023-10-31 14:20:28 -07:00
sluicebox
5818c4be33 HPL1: Fix use after free in error message. PVS-Studio V774 2023-10-31 14:20:28 -07:00
sluicebox
1bfd160c92 HPL1: Fix nullptr deref in error message. PVS-Studio V522 2023-10-31 14:20:28 -07:00
sluicebox
558805d547 HPL1: Fix log statement. PVS-Studio V510 2023-10-31 14:20:27 -07:00
sluicebox
6d6f698f9b HPL1: Fix indexes in OpenALSoundEnvironment. PVS-Studio V557 2023-10-31 14:20:27 -07:00
sluicebox
4a4b3801f1 SCI: Use correct array type in cmdAudioDump. PVS-Studio V1032 2023-10-31 14:20:27 -07:00
sluicebox
6bffed45b3 SCI: Remove redundant checks. PVS-Studio V547 2023-10-31 14:20:26 -07:00
sluicebox
954f990ba1 SCUMM: Remove redundant check from NutRenderer. PVS-Studio V560
This same code appears a few lines earlier.
2023-10-31 14:20:26 -07:00
sluicebox
789ee5f403 SCUMM: Add missing else keyword. PVS-Studio V646 2023-10-31 14:20:26 -07:00
sluicebox
58bb4f81e4 SCUMM: Remove unused dummyArgs. PVS-Studio V597
The intent was to pass zero arguments using dummyArgs, but that would
have caused out of bounds reads because runScript expects an array of
size NUM_SCRIPT_LOCAL (25). Passing `args` worked because it was
already zeroed out, but runScript also accepts null for this purpose.

See: 19b45e2a50
2023-10-31 14:20:25 -07:00
sluicebox
683e7f0aec SCUMM: HE: Delete array instead of object. PVS-Studio V611 2023-10-31 14:20:25 -07:00
sluicebox
e810d90a7f DRAGONS: Delete array instead of object. PVS-Studio V611 2023-10-31 14:20:25 -07:00
Marcel Souza Lemes
4b9bfb2cf8 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (2008 of 2008 strings)
2023-10-31 08:41:30 +00:00
Eugene Sandulenko
6683a75954
COMMON: FORMATS: Pass image extensions to the user callbacks in Markdown 2023-10-31 01:58:55 +01:00
Eugene Sandulenko
5a30cb60aa
COMMON: FORMATS: Extend Markdown images with {} attributes 2023-10-31 01:57:57 +01:00
Eugene Sandulenko
4afcad492a
GRAPHICS: MACGUI: Fixed numbered list indentation in MacTextCanvas 2023-10-31 01:02:19 +01:00
Eugene Sandulenko
2dbfef826d
GRAPHICS: MACGUI: Added more debug output to MacTextCanvas 2023-10-31 01:01:38 +01:00
ScummVM-Translations
848bb143aa I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-10-30 20:11:38 +00:00
sluicebox
c319791519 SCUMM: Fix memory leak in changeSavegameName. PVS-Studio V773 2023-10-30 13:11:17 -07:00
ScummVM-Translations
60f5cd2cd9 I18N: Update translations templates 2023-10-30 18:33:29 +00:00