133254 Commits

Author SHA1 Message Date
Donovan Watteau
c65d64100e SCUMM: Prevent an OOB _extraBoxFlags access in Actor::remapDirection()
_walkbox may be equal to kOldInvalidBox, which is 255, but then
_extraBoxFlags[_walkbox] would be dereferenced while _extraBoxFlags only
has 65 elements.

Found with UBSan in Loom Talkie, when the leaf falls from the tree.
2022-09-30 14:24:44 +02:00
kane159
83acd13719 I18N: Update translation (Chinese (zh))
Currently translated at 22.6% (400 of 1767 strings)
2022-09-30 10:37:51 +00:00
VAN-Gluon
a22c451624 I18N: Update translation (Japanese)
Currently translated at 100.0% (1767 of 1767 strings)
2022-09-30 10:37:50 +00:00
George Kormendi
4231c6d4a7 I18N: Update translation (Hungarian)
Currently translated at 100.0% (1767 of 1767 strings)
2022-09-30 10:37:50 +00:00
Misty De Meo
9c7c48077a
DIRECTOR: Smarty rerelease is different 2022-09-29 19:35:44 -07:00
ScummVM-Translations
a55d2ed23b 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/
2022-09-30 02:02:49 +00:00
elasota
c29a2bbff9 MTROPOLIS: Refactor data types to use unrestricted unions 2022-09-29 22:01:52 -04:00
ScummVM-Translations
7a5de1d61e I18N: Update translations templates 2022-09-30 01:07:27 +00:00
athrxx
6484913762 SCUMM: fix bug no. 13867
This will actually read out of bounds in the orginal interpreter, too. I have fixed it to be more in line with the original (the value in question is always treated as unsigned here), but still not do anything harmful.
2022-09-30 03:06:21 +02:00
Misty De Meo
f7db242779
DIRECTOR: more Theresa Duncan games 2022-09-29 17:45:10 -07:00
Donovan Watteau
e6452538a3 SCUMM: Prevent vm.slot[] OOB access in ScummEngine::startScene()
vm.slot[] only has NUM_SCRIPT_SLOT slots; don't dereference it with
_currentScript when _currentScript has the special 0xFF value (which is
always bigger than NUM_SCRIPT_SLOT). Its content was already unused in
that case, anyway.

Found with UBSan while calling `room 33` in the debugger in MI1.
2022-09-29 22:50:23 +02:00
BLooperZ
bf562cab67 HYPNO: SPIDER: Hebrew chiper message puzzle 2022-09-29 20:59:24 +02:00
Lothar Serra Mari
eadaa63cac NEWS: Fix wording in latest TOON announcement in German NEWS file 2022-09-29 20:58:12 +02:00
Lothar Serra Mari
5338c30d04 NEWS: Mention SCUMM HE Hebrew improvements in German NEWS file 2022-09-29 20:57:46 +02:00
IlDucci
f3c6edc1bd I18N: Update translation (Spanish)
Currently translated at 100.0% (1767 of 1767 strings)
2022-09-29 18:51:26 +00:00
Eugene Sandulenko
d46f2fb933
NEWS: Mention SCUMM HE Hebrew improvements 2022-09-29 20:47:54 +02:00
BLooperZ
180ba42020 SCUMM: HE: opt out BiDi for official translations 2022-09-29 20:46:55 +02:00
BLooperZ
11ec68fda5 SCUMM: HE: support BiDi in hebrew fan translations 2022-09-29 20:46:55 +02:00
Eugene Sandulenko
49efc8a7b6 I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1767 of 1767 strings)
2022-09-29 17:54:46 +00:00
Marcel Souza Lemes
7ada42c150 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1767 of 1767 strings)
2022-09-29 17:54:45 +00:00
Donovan Watteau
6b07195023 I18N: Update translation (French)
Currently translated at 100.0% (1767 of 1767 strings)
2022-09-29 17:54:43 +00:00
Lothar Serra Mari
94731e6e5d I18N: Update translation (German)
Currently translated at 100.0% (1767 of 1767 strings)
2022-09-29 17:54:42 +00:00
Eugene Sandulenko
f5021cb7f1 I18N: Update translation (Russian)
Currently translated at 100.0% (1767 of 1767 strings)
2022-09-29 17:54:36 +00:00
ScummVM-Translations
1e038ad773 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/
2022-09-29 16:44:52 +00:00
Donovan Watteau
d3a64b7cc5 SCUMM: JANITORIAL: Rename kNewInavlidBox to kNewInvalidBox 2022-09-29 18:38:27 +02:00
ScummVM-Translations
27d71f49af I18N: Update translations templates 2022-09-29 14:07:43 +00:00
Donovan Watteau
655afcdf55 SCUMM: Disable MT-32 support for MONKEY1-VGA-FR
The French VGA floppy version of Monkey 1 (and, apparently, this version
alone) is missing the usual 'roland' room, and the index references an
invalid DISK00.LEC file, although the game scripts didn't disable the
MT-32 feature itself. This causes a fatal error when trying to run this
game with MT-32 support, even with the original interpreter (while it
does work with the English and Spanish VGA floppy versions).

We can't do much about this, since many resources appear to be missing,
but we can detect this version and warn the user before going back to
Adlib mode. Otherwise, some users can be confused by the fatal error
about the DISK00.LEC file.
2022-09-29 17:07:30 +03:00
Roland van Laar
f1715e368d DIRECTOR: fix sign of integer
Make `size` an int32. `f->size` is an int32 and can be -1.
2022-09-29 15:51:08 +02:00
Walter Agazzi
4b7b02a1e8 AGS: Add language detection for Infamous Adventures games 2022-09-29 14:23:50 +02:00
Walter Agazzi
81016acd95 AGS: Sort AGDI games entries and add language detection 2022-09-29 14:23:50 +02:00
eientei
826383601a DIRECTOR: Convert note about wolfgang into quirk 2022-09-29 14:18:29 +02:00
Eugene Sandulenko
dbed5cb1a9
DIRECTOR: Fix crash on exit 2022-09-29 13:45:25 +02:00
eientei
5989a46a39 DIRECTOR: Fix numToChar in D4+ when converting an integer 2022-09-29 13:43:09 +02:00
ScummVM-Translations
4f6ea3d0d7 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/
2022-09-29 11:35:21 +00:00
Eugene Sandulenko
47474b3407
DIRECTOR: Added possibility to inject static files in game quirks.
Use it for trektech for simulating presence of an after-install INI file
2022-09-29 13:32:58 +02:00
ScummVM-Translations
a4f612cdae I18N: Update translations templates 2022-09-29 10:20:53 +00:00
eientei
07b6879ccc DIRECTOR: Add test in the.lingo for length of integer 2022-09-29 12:20:40 +02:00
eientei
beacb43d1b DIRECTOR: Implement lingo edgecases
- The length of an int or float is always 0:
    i.e. the length of 123.9

- Add checks on numToChar:
    D3 will throw an error when doing numToChar on anything other than an int
    D4 will allow it and output a seemingly random character.
2022-09-29 12:20:40 +02:00
eientei
1c2835c5a7 DIRECTOR: Add BUILDBOT to warnings in lingo-utils.h 2022-09-29 12:20:40 +02:00
Die4Ever
6d7d970e17 VIDEO: subtitles dev mode config 2022-09-29 11:27:47 +02:00
Martin Gerhardy
105a94c967 TWINE: fixed clipping error
introduced in c39ea9499bdc600aba16f81898fc298d0eec72f6
2022-09-29 05:10:48 +02:00
Martin Gerhardy
31811c35f3 TWINE: fixed missing count when picking up items
https://bugs.scummvm.org/ticket/13678
2022-09-29 05:00:00 +02:00
Martin Gerhardy
796f54ff89 TWINE: fixed endless magic ball action when console was activated
related to https://bugs.scummvm.org/ticket/13675
2022-09-29 04:55:37 +02:00
elasota
9d6562189d MTROPOLIS: Convert most Surface usages to ManagedSurface to fix tons of memory leaks from Surface not freeing memory when destroyed 2022-09-28 22:41:11 -04:00
Donovan Watteau
908f638d85 SCUMM: DEBUGGER: Add OBIM and OBCD offsets to objects command 2022-09-29 02:24:10 +03:00
Roland van Laar
12fea682de TESTBED: fix leak: clear up surface inside conv
frame->convertTo creates a new surface. Free it after use and delete the
pointer to it.t
2022-09-28 23:27:02 +02:00
Roland van Laar
2194986f1b TESTBED: fix decoding second frame
A segfault happened on decoding the second frame because
frame was deleted when it is expected to exist.
2022-09-28 23:17:54 +02:00
AndywinXp
c4a317f616 SCUMM: COMI: Fix crash caused by a regression in string_v7.cpp 2022-09-28 23:10:15 +02:00
Eugene Sandulenko
18c88fabfe
GRAPHICS: Add possibility to specify dithering algorithm. Default is Floyd-Steinberg 2022-09-28 23:02:05 +02:00
Walter Agazzi
7c182eb720 AGS: Add detection for The Excavation at Hob's Barrow 2022-09-28 22:56:20 +02:00