135262 Commits

Author SHA1 Message Date
Donovan Watteau
21cd732b60 TINSEL: Fix UB for enum TINSEL_EVENT in DW2. PVS-Studio V1016
In DW2, some large TINSEL_EVENT values are read, and they're bigger than
the last TINSEL_EVENT value, but we cast them to `enum TINSEL_EVENT`
values in tinlib.cpp, which is apparently "unspecified behavior up to
C++17 and undefined behavior starting from C++17".

  tinlib.cpp:1925:39: runtime error: load of value 9041, which is not
     a valid value for type 'Tinsel::TINSEL_EVENT'
  tinlib.cpp:1935:31: runtime error: load of value 77, which is not
     a valid value for type 'Tinsel::TINSEL_EVENT'

Found with UBSan but the really clear help comes from PVS-Studio
documentation.
2022-11-29 00:41:03 +01:00
AndywinXp
c690a3e985 NEWS: SCUMM: Remove redundancy 2022-11-29 00:29:46 +01:00
elasota
78d26927a8 COMMON: Add functions to get Mac Finder metadata such as type/creator codes. 2022-11-29 00:25:50 +01:00
ScummVM-Translations
fd10cf8122 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-11-28 23:22:43 +00:00
Eugene Sandulenko
39b5f230cc
NEWS: Fix news item for Sherlock 2022-11-29 00:22:22 +01:00
ScummVM-Translations
265756fcf6 I18N: Update translations templates 2022-11-28 23:21:43 +00:00
AndywinXp
759727d27f SCUMM: GUI: Temporarily exclude MI1 SEGA CD JAP from the supported games
I have to think of a clever way of handling all those text positioning glitches of this version.
Also, some of the strings are either too long or missing to be displayed as banners.
I might have to make a replica of the original save menu for this version, but without the
passcode system. Since it's going to take a little longer, I'm temporarily disabling GUI
support for this version.
2022-11-29 00:21:14 +01:00
Eugene Sandulenko
ae779b2a29
JANITORIAL: Code formatting 2022-11-29 00:20:16 +01:00
ScummVM-Translations
54baccde0a 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-11-28 23:18:53 +00:00
Vladimir Serbinenko
8bd72c374c NEWS: Add mention of Chinese Rose Tattoo 2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
23f88cfc28 SHERLOCK: Remove unstable flag from Chinese Rose Tattoo 2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
00afc84492 SHERLOCK: Import all fixed strings for Chinese version of Tattoo 2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
5fae569597 SHERLOCK: Handle word wrapping for EUC-CN 2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
fa25e7267d SHERLOCK: Support Chinese rendering in the Rose Tatoo
Serrated scalpel is not covered as it uses both a different encoding
(Big5 instead of EUC-CN) and different font format (it uses some obfuscation).
2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
9e68776b33 SHERLOCK: Fix crash in Chinese version 2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
1210e839f8 SHERLOCK: Move members in Fonts to private from protected 2022-11-29 00:18:39 +01:00
ScummVM-Translations
92b1e0e113 I18N: Update translations templates 2022-11-28 23:14:13 +00:00
Cameron Cawley
8c40151285 AUDIO: Use fixed-point arithmetic in the CMS emulator 2022-11-29 00:14:00 +01:00
ScummVM-Translations
e494ef1aa8 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-11-28 23:12:34 +00:00
Cameron Cawley
06dab62e2e SCUMM: Move Player_V2CMS to the new CMS API 2022-11-29 00:12:19 +01:00
Cameron Cawley
277861c240 SCUMM: Change Player_V2Base to not inherit from Audio::AudioStream 2022-11-29 00:12:19 +01:00
ScummVM-Translations
484da25252 I18N: Update translations templates 2022-11-28 23:11:18 +00:00
Donovan Watteau
06380fc9c3 MACOSX: Prefer openURL/openURLs over openFile on macOS 10.15+
They're the recommended APIs now, and openFile is deprecated starting
with macOS 11.0. openURLs:withApplicationAtURL (for TextEdit usage)
requires macOS 10.15+, so we need different code paths.
2022-11-29 00:11:03 +01:00
ScummVM-Translations
937c21476d 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-11-28 23:07:04 +00:00
Cameron Cawley
c4526bf158 COMMON: Mark SeekableSubReadStreamEndian as deprecated 2022-11-29 00:06:49 +01:00
Cameron Cawley
309088dfb2 COMMON: Add WARN_DEPRECATED 2022-11-29 00:06:49 +01:00
Cameron Cawley
5de39f8024 TRECISION: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Cameron Cawley
d74516f84a SCI: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Cameron Cawley
e7cb7113cd MOHAWK: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Cameron Cawley
ef07d1621e KYRA: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Cameron Cawley
a1a95495d6 GOB: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Cameron Cawley
bca9a3e5b3 DIRECTOR: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Cameron Cawley
b67de44eb8 COMMON: Add SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
ScummVM-Translations
49d417419e I18N: Update translations templates 2022-11-28 22:52:22 +00:00
Walter Agazzi
6e81c76e60 SCUMM: Enable original GUI checkbox for Loom EGA 2022-11-28 23:49:45 +01:00
Walter Agazzi
236347bc4f DIRECTOR: Remove redundant sam rupert 2022-11-28 23:27:13 +01:00
Walter Agazzi
7bc0b04233 DIRECTOR: Improve detection for some D3 titles
* Intro 1 '94 (JAP)
* Various Microsoft demos
* The Magic Death
* Who killed Sam Rupert
* RAD (JAP)
2022-11-28 23:27:13 +01:00
ScummVM-Translations
be41b2f49c 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-11-28 22:26:44 +00:00
Eugene Sandulenko
2235e31ccd
NEWS: Mention original GUI for SCUMM 2022-11-28 23:26:12 +01:00
ScummVM-Translations
35d5295861 I18N: Update translations templates 2022-11-28 22:21:59 +00:00
AndywinXp
0f93142ac9 SCUMM: MI1 (Sega CD): Fix message banner colors 2022-11-28 23:21:45 +01:00
AndywinXp
617e7f6077 SCUMM: LOOM (Towns): Fix crashes on the menu when no savegames are available 2022-11-28 23:21:45 +01:00
AndywinXp
2a91e8ef70 SCUMM: LOOM (Towns): Fix save slot boxes being smaller than they look on the original 2022-11-28 23:21:45 +01:00
AndywinXp
939a9bba39 SCUMM: LOOM (Towns): Implement original save menu quirk with slot 0 2022-11-28 23:21:45 +01:00
AndywinXp
918b7f95f1 SCUMM: v3: Fix minor graphical glitch on game quit 2022-11-28 23:21:45 +01:00
AndywinXp
1d206fbc53 SCUMM: v0-1-2-3: Implement actual saving\loading system
This commit implements saving and loading in the same way the original interpreters
for MANIAC v0-1-2, ZAK v1-2-3, LOOM v3 and INDY v3 do. This makes it possible to
use the original save menus without glitches or crashes.

Saves done from GMM can also be loaded from the original menu.
2022-11-28 23:21:45 +01:00
AndywinXp
9fee7adf52 SCUMM: Explicitly remove support for original GUI to ST v2 games 2022-11-28 23:21:45 +01:00
AndywinXp
7a007db0f8 SCUMM: Fix warning 2022-11-28 23:21:45 +01:00
AndywinXp
26cc83566d SCUMM: GUI: Add Amiga snail cursor for v2 games 2022-11-28 23:21:45 +01:00
AndywinXp
ab5010e04b SCUMM: GUI: Remove menu inner box on v5 FM-Towns games 2022-11-28 23:21:45 +01:00