Commit Graph
137148 Commits
Author SHA1 Message Date
djsrv e3eae64def DIRECTOR: LINGO: Clean up call stack when aborting execution 2021-07-21 18:27:05 -04:00
djsrv 25318b3298 DIRECTOR: LINGO: Process events at beginning of Lingo::execute loop
Previously, events may have been processed right before the loop ended,
which is totally unnecessary. If we do it at the beginning, we know we
have at least one instruction left to execute.
2021-07-21 18:27:05 -04:00
Thierry Crozat fc024141b7 CGE2: Fix heap buffer overflow
This was reported by address-sanitizer.
When the command is kCmdGhost, the Sprite pointer is not a valid
sprite, and trying to access its content causes a buffer overflow.
In normal usage it was not causing issues as while it reads some
random values in memory, this was then ignore.
2021-07-21 22:30:37 +01:00
IlDucci 1ac7d01101 I18N: Update translation (Spanish)
Currently translated at 100.0% (1651 of 1651 strings)
2021-07-21 21:29:54 +00:00
Timo Mikkolainen 3b85e1aec3 I18N: Update translation (Finnish)
Currently translated at 100.0% (1651 of 1651 strings)
2021-07-21 21:21:52 +00:00
ScummVM-Translations 7234462126 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/
2021-07-21 21:12:26 +00:00
Fiodar 4eb00e965a SYMBIAN: Avoid deleting argv if no command line arguments have been set
Also apply style fixes from #3170.
2021-07-22 00:12:16 +03:00
ScummVM-Translations 9e67b1ef79 I18N: Update translations templates 2021-07-21 21:06:37 +00:00
ScummVM-Translations aff7c3cbce 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/
2021-07-21 21:06:36 +00:00
Orgad Shaneh 2602d0fe8e SCUMM: Fix encoding for Hebrew dialogs
Like Pause dialog.
2021-07-22 00:06:25 +03:00
Orgad Shaneh b983c1f29f COMMON: Add conversion table for DOS862 encoding 2021-07-22 00:06:25 +03:00
ScummVM-Translations 4c279f311d I18N: Update translations templates 2021-07-21 20:36:10 +00:00
Thierry Crozat 5d3457aa94 CGE: Fix check to skip redrawing the infoline again and again with the same text
There was a check in place to avoid redrawing the infoline when
calling the update() function with the same text multiple times.
Such calls happen when the cursor moves over an object (or menu
option) without leaving that object. The check was however
incorrect and did nothing because it was keeping the pointer
from the end of the previous text and not the start.

From the log it seems that the bug was present from the start,
and probably in the original source code. It was however fixed
in Sfinx (CGE2 engine), and this commit uses the same logic.
2021-07-21 21:36:00 +01:00
Thierry Crozat 9a797a765e CGE: Futher cleanup of the text-to-speech code 2021-07-21 21:36:00 +01:00
taylorzhancher c72b895af9 CGE: Change declaration place and descriptions 2021-07-21 21:36:00 +01:00
Eugene Sandulenko 52690ca930 DEVTOOLS: Encode file names with punycode in dumper-companion
Also, we are escaping some non-portable characters with 0x81.
More characters could be escaped.
2021-07-21 22:30:37 +02:00
Coen Rampen fecd4310c3 SAGA2: Fix MIDI parser memory leak
A new MidiParser object is created every time a MIDI track is played, but the
old parser would not be freed. Fixed this by reusing the old parser instead of
creating a new one, which is more efficient anyway.
2021-07-21 22:25:32 +02:00
Coen Rampen e6b30e4d57 SAGA: Fix MIDI parser memory leak
A new MidiParser object is created every time a MIDI track is played, but the
old parser would not be freed. Fixed this by first deleting the parser before
creating a new one.
2021-07-21 22:25:32 +02:00
Roland van Laar bee7fea889 DIRECTOR: Add code patch for Lingo Expo Navigator
Patch the lingo code in the Lingo Expo Navigator movie.
'- KIOSK SCRIPTS' after a lingo statement is not allowed.
2021-07-21 21:41:09 +02:00
Roland van Laar 3e48401bc4 DIRECTOR: add detection for lingo expo
Lingo Expo is already detectable with a D4-mac file.
There is a lingo bug in the Navigator movie. To patch it we need to
pinpoint the exact game.
2021-07-21 21:28:18 +02:00
djsrv 3b32305bfe DIRECTOR: LINGO: Remove redundant ARGNUMCHECKs
We already put the number of expected args in the builtin proto, and
there is already a guard in LC::call to prevent these from being called
if the number of args is wrong.
2021-07-21 14:23:25 -04:00
djsrv be1041beba DIRECTOR: LINGO: Add missing min and max args for spriteBox 2021-07-21 14:18:57 -04:00
Torbjörn Andersson 010d17e469 SCUMM: Update comments about cracked Maniac Mansion
I have verified that the Steam version is identical to the GOG version
in this respect. (The file layout is a bit different, but the data files
are the same.)
2021-07-21 19:40:57 +02:00
Orgad Shaneh 275b6e8c7e CI: Upgrade vcpkg action to v7 and vcpkg to a recent commit
Cache is improved, so vcpkg itself is not built every time.

Upgrade of vcpkg itself is required due to
https://github.com/microsoft/vcpkg/issues/18718.
2021-07-21 17:24:28 +01:00
a/ fcf56cae45 SAGA2: Fix fade in load from launcher 2021-07-22 00:22:32 +09:00
a/ 9a386e0b72 SAGA2: Fix SensorList erase in addSensor 2021-07-22 00:22:32 +09:00
a/ 7e9dcc3bda SAGA2: Update screen when updating palette 2021-07-22 00:22:32 +09:00
antoniou79 5656ee3c06 BLADERUNNER: RESTOREDCONTENT: Add more Maggie interactions
Also clean up Maggie's script.
2021-07-21 17:12:00 +03:00
ysj1173886760 e8bfee1742 DIRECTOR: keep update sprite info when we are dealing with QDShape 2021-07-21 20:43:56 +08:00
ysj1173886760 a96793a4d5 DIRECTOR: fix calculating registeration offset for scale bitmap castmember. 2021-07-21 20:43:56 +08:00
ysj1173886760 4cbc1cc5ff DIRECTOR: clean the code. 2021-07-21 20:43:56 +08:00
a/ 04988e6626 SAGA2: Enable loading from launcher 2021-07-21 21:39:07 +09:00
a/ 40e91565a6 SAGA2: Fix MotionTask cleanup 2021-07-21 21:39:07 +09:00
a/ 27fec511ae SAGA2: Move actorList to Saga2Engine 2021-07-21 21:39:07 +09:00
Le Philousophe f9ece38aec AGS: Fix build when Vorbis is not available 2021-07-21 12:15:18 +02:00
Le Philousophe b477db94b3 AGS: Fix int/int32 build failures 2021-07-21 12:14:52 +02:00
a/ 3be7db2a9d SAGA2: Save thumbnail before opening menu 2021-07-21 16:23:06 +09:00
D G Turner 0e8d0bc76f AGS: Fix GCC Warnings in AGS Waves Plugin Code 2021-07-21 05:36:40 +01:00
Paul Gilbert f9bc18c58a AGS: Fix loading sound effects in AGSWaves 2021-07-20 21:17:41 -07:00
Paul Gilbert 3c616e3edc AGS: Fix bitmap access in AGSWaves 2021-07-20 21:17:41 -07:00
djsrv c2c6edd779 DIRECTOR: LINGO: Stub SoundJam XObject 2021-07-20 23:43:17 -04:00
djsrv 4bf08861ec DIRECTOR: LINGO: Move utility macros to lingo-utils.h 2021-07-20 23:43:17 -04:00
djsrv 29e72bcc6d DIRECTOR: LINGO: Fix comment formatting 2021-07-20 23:43:17 -04:00
Paul Gilbert 6a4062d3fc AGS: Fix some comments in call_function 2021-07-20 20:25:54 -07:00
Paul Gilbert aadd100b9c AGS: Implementing AGSWaves sound methods 2021-07-20 20:25:54 -07:00
Paul Gilbert f5afbc964d AGS: Implemented AGSWaves weather methods 2021-07-20 20:25:54 -07:00
Paul Gilbert 74be1d8fd7 AGS: Further fleshing out AGSWaves gfx methods 2021-07-20 20:25:53 -07:00
Paul Gilbert 930be67a9f AGS: Adding AGSWaves draw methods 2021-07-20 20:25:53 -07:00
djsrv 7ddf6ecde2 DIRECTOR: LINGO: Fix memory leak 2021-07-20 17:48:10 -04:00
djsrv 7f5eb2b1fc DIRECTOR: LINGO: Remove unused tokens from grammar 2021-07-20 17:47:01 -04:00