Commit Graph
137148 Commits
Author SHA1 Message Date
Hubert Maier ffdf9f85ca NEWS.md: Correct spelling mistake
accomodate -> accommodate
2022-11-01 17:09:25 +02:00
Walter Agazzi 2a30dd11cd DIRECTOR: Add detection for B/W version of Amanda Stories 2022-11-01 13:53:01 +01:00
alxpnv c77a18900b ASYLUM: fix Sound::convertVolumeTo() to match Sound::convertVolumeFrom() 2022-11-01 11:57:50 +03:00
sluicebox 2a20d63543 DISTS: WIN32: Add --no-console to optional desktop shortcut
The default start menu shortcut already uses --no-console, so now the
optional desktop shortcut does too. This also applies to the optional
Run task at the end of installation.

Thanks to @lotharsm for reviewing this
2022-10-31 23:15:16 -07:00
D G Turner d91072d798 MTROPOLIS: Fix Extra Parameters in Format GCC Compiler Warning 2022-11-01 05:24:34 +00:00
Walter Agazzi f2438746e3 DIRECTOR: Fix two missing titles in detection tables 2022-10-31 23:46:08 +01:00
Donovan Watteau e80a33eb74 SCUMM: Prevent Indy from being stuck in Crete (WORKAROUND)
In the "elevator" room in Crete (where you can pick up the gold box),
one can get stuck in the room, if quickly clicking on the right side of
the room, although that part shouldn't be accessible yet at that point.

This is because the original entry script for this room initializes
the walkbox matrix too late, so it's possible to move to the other side
of the room before the walkbox restrictions kick in.  This workaround
just copies the original setBoxFlags() and createBoxMatrix() calls, but
triggers them at an earlier stage.

This enhancement is always enforced, since you can get completely stuck,
and some players can be totally confused by this problem.

Also happens with the original interpreter; I remember hitting this
issue twenty years ago...
2022-11-01 00:17:19 +02:00
Thierry Crozat d3da8a7367 GRAPHICS: Fix undefined behaviour in ManagedSurface blit on opaque target
The color components computation had intermediate results that could overflow
a signed int. So now the computation is done using unsigned int instead, which
prevents the overflow (since the max intermediate value is 255*255*257*257,
which fits in an unsigned int).

Note: I also considered adding an explicit cast to do the uint8 * uint8
operations using uint32, but decided not to as it is not required (there is no
overflow due to integer promotion) and makes the code more difficult to read.
2022-10-31 21:46:22 +00:00
Thierry Crozat eff98b0c56 COMMON: Fix undefined behaviour in RandomSource constructor
The 'time.tm_year * 86400 * 366' line caused the result to overflow
what can be stored in an int; and signed int overflow is undefined
behaviour. The result goes into an unsigned int anyway, so now
all the intermediate computations are also done with unsigned int.
It still overflows (not on this line, but on the next one), but
that is fine as the standard guarantees that unsigned int overflow
wraps around.
2022-10-31 21:46:22 +00:00
Donovan Watteau 088d701f24 ICB: Fix an off-by-one in InitWeather() 2022-10-31 16:03:47 +01:00
Walter Agazzi e423b6b712 DIRECTOR: Fix filesize for some D3 entries (initial A) 2022-10-31 15:23:12 +01:00
alxpnv 8701b1ba54 ASYLUM: fix changing SFX volume also changes Voice volume
Bug no. 13912
2022-10-31 15:09:10 +03:00
elasota c6139d298c MTROPOLIS: Fix messengers resolving source-relative targets relative to themselves instead of relative to the sender of the message that activated the messenger. 2022-10-31 03:54:00 -04:00
elasota 9a93ef2ff2 MTROPOLIS: Add more debug inspectors for mToon elements. 2022-10-31 03:53:59 -04:00
ScummVM-Translations 0b5a1793ba 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-10-31 05:13:21 +00:00
elasota 30b2242aa8 MTROPOLIS: Add support for sound media cues. 2022-10-31 01:12:36 -04:00
elasota bfa17baa01 MTROPOLIS: Remove some spammy log messages. 2022-10-31 01:12:01 -04:00
elasota 206818c68f MTROPOLIS: Use a better default size for the debug inspector. 2022-10-31 01:11:39 -04:00
ScummVM-Translations 06c44d1a96 I18N: Update translations templates 2022-10-31 01:44:58 +00:00
elasota 752b276a11 MTROPOLIS: Add detection for SPQR: The Empire's Darkest Hour Macintosh Retail. 2022-10-30 21:44:11 -04:00
elasota c2a89b2513 MTROPOLIS: Add hack for MTI animations using the wrong rate flag. 2022-10-30 21:44:10 -04:00
elasota 285eb67b31 MTROPOLIS: Add detection and boot stub for SPQR: The Empire's Darkest Hour Windows Retail 2022-10-30 21:44:10 -04:00
elasota a39a6e0032 MTROPOLIS: Patch up some support statuses, implement set modifier. 2022-10-30 21:44:09 -04:00
Matthew Jimenez ad6817e2f1 ULTIMA8: Improve splash screen rendering for non-standard aspect ratios 2022-10-30 18:21:30 -05:00
Eugene Sandulenko 07cc180374 SAGA2: Implement teleport_place console command 2022-10-30 23:48:15 +01:00
Eugene Sandulenko 74577539c1 JANITORIAL: Whitespaces 2022-10-30 23:31:43 +01:00
Eugene Sandulenko 9522773ca8 GUI: Do not run shader test when shader is cleared 2022-10-30 23:07:35 +01:00
Le Philousophe ab12e7fe01 COMMON: Fix a missing str.h include
It's not included anymore in util.h
2022-10-30 19:38:35 +01:00
Le Philousophe 032904f626 COMMON: Use forward to avoid extraneous copies
This is more a test than really useful as printf doesn't take objects
with move semantics
2022-10-30 18:37:16 +01:00
Le Philousophe f0cf08ec91 COMMON: Add move semantics helpers 2022-10-30 18:37:16 +01:00
Le Philousophe 7021b938e5 COMMON: Add remove type helpers for const and volatile 2022-10-30 18:37:16 +01:00
Le Philousophe 1800117031 COMMON: Remove useless str.h inclusion
The util.h header must not include str.h as it will get used in it
(inclusion loop).
2022-10-30 18:37:16 +01:00
Le Philousophe 1f2c78adfe ALL: Make sure str.h is included when using String
Fix all cases working because str.h is included in util.h
2022-10-30 18:37:16 +01:00
ScummVM-Translations 36da17c337 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-10-30 13:47:01 +00:00
Walter Agazzi a5d1410a0c AGS: Add Excavation HB and RnR will never die! to achievements table 2022-10-30 13:30:12 +01:00
Walter Agazzi d7fd36217d ACHIEVEMENTS: Add ExcavationHB and RnRND AGS games 2022-10-30 13:30:12 +01:00
Walter Agazzi f04d7f6027 ACHIEVEMENTS: Generated description files 2022-10-30 13:30:11 +01:00
ScummVM-Translations 9aae22e292 I18N: Update translations templates 2022-10-30 11:34:37 +00:00
ScummVM-Translations b11ac8112f 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-10-30 11:34:35 +00:00
Le Philousophe 06c38bbf3f OPENGLSDL: Redraw screen when receiving an expose event
Without this, the window is not refreshed when it is recovered or
minimized and restored.
2022-10-30 12:34:23 +01:00
ScummVM-Translations 18c196d83b I18N: Update translations templates 2022-10-30 11:34:03 +00:00
Le Philousophe b8d56cd168 GUI: Remove visible check in theme
This slows down this time critical function and the value can never be
set anyway.
2022-10-30 12:33:53 +01:00
Walter Agazzi 6b67b2dc3d AGS: Add new version of RnR will never die! 2022-10-30 11:03:24 +01:00
Vladimir Serbinenko 4d6f199b20 HADESCH: Fix a bug when using an empty name 2022-10-30 02:09:46 +01:00
Eugene Sandulenko 235ab0cc6a SAGA2: Rename constants in audio.cpp 2022-10-29 23:46:00 +02:00
Eugene Sandulenko 2d3173b151 SAGA2: Rename rest of constants in the header files 2022-10-29 23:46:00 +02:00
Eugene Sandulenko 3de1aaa517 SAGA2: Remove unused constants 2022-10-29 23:45:59 +02:00
Eugene Sandulenko a1c5dee320 SAGA2: Renamed some constants 2022-10-29 23:45:59 +02:00
Eugene Sandulenko 09eba1d77f SAGA2: Rename enums in videobox.h 2022-10-29 23:45:59 +02:00
Eugene Sandulenko a270ee4275 SAGA2: Rename constants in uimetrics.h 2022-10-29 23:45:59 +02:00