137143 Commits

Author SHA1 Message Date
Eugene Sandulenko
032b9b46b9
SWORD1: Improve detection entries. Bug #14013 2023-01-14 21:14:21 +01:00
Coen Rampen
f41cc33dff AGOS: Fix MIDI event noop flag not cleared
When the noop flag was set on a MIDI event by the AGOS Simon 1 Windows or GMF
parsers, it would not be cleared when parsing the next event, leading to all
subsequent MIDI events being ignored.
Fixed this by setting the noop flag to false when it is not applicable to a
MIDI event.
2023-01-14 17:14:51 +01:00
Eugene Sandulenko
c3b2d0267d
JANITORIAL: Clarify comments 2023-01-14 14:42:18 +01:00
ScummVM-Translations
845b904ff5 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-01-14 12:41:06 +00:00
Roland van Laar
9f1facb221 DIRECTOR: LINGO: TESTS: open FileIO test for win
Guard agains bug where the path is stripped incorrectly for:

    `openXLib("C:\fileio.dll")`

The `.dll` part isn't stripped correctly when trying to open the files.
2023-01-14 13:40:45 +01:00
ScummVM-Translations
7fbdbe3a7b I18N: Update translations templates 2023-01-14 11:56:12 +00:00
AndywinXp
a0a647c290 SCUMM: Properly sync voice mode flags between ScummVM and original GUI at startup
Fixes #14027.
2023-01-14 12:55:53 +01:00
AndywinXp
546fd42749 SCUMM: Properly fix bug #813
Verified for the disasms of v3-v6 and HE
2023-01-14 11:53:50 +01:00
Matthew Duggan
9831b91c1d ULTIMA8: Fix possible random number overflow
The uint result was cast to int, sometimes giving negative values.
2023-01-14 15:41:50 +09:00
sluicebox
97b93c9f5f SCI: Remove dead code from findGameObject()
This code attempted to skip calling the function that finds script 0's
export block, but this never happened because it tests the wrong offset.
Even if it tested the right offset, it would have just been duplicating
what the function does.
2023-01-13 18:13:02 -08:00
Matthew Jimenez
5d13b0831b ULTIMA8: Add item sort rules for land and roof.
This fixes Pentagram bug #276.
2023-01-13 18:57:58 -06:00
angstsmurf
b87fd75ed0 GLK: SCOTT: UNP64: Update license
Parts of the code of Unp64 comes from Exomizer, a tool which uses
as modified Zlib license which is not compatible with GPL. The author of
Exomizer, Magnus Lind, has given permission to distribute this code under
unmodified Zlib license, so I have updated that here.

(The author of Unp64, iAN CooG, has agreed to let us distribute his code
 under a GPL license. Or any license we want, to be precise.)
2023-01-13 23:58:04 +01:00
Sebastian Krzyszkowiak
7d951fd9d2 SLUDGE: Use unescaped value when calling openUrl in launch
newText is an escaped filename, which escapes characters like
: and /, which are essential for URLs. Use unescaped version
like original OpenSLUDGE does, as otherwise URLs get mangled
and become unusable.
2023-01-13 23:56:46 +01:00
Sebastian Krzyszkowiak
8f1d5a0c4c SLUDGE: Fix camera getting reset after loading saved game
loadHSI calls reserveBackdrop, which resets camera values.
Apply camera position and zoom in loadBackdrop after calling
loadHSI, so the stored camera state gets preserved.
2023-01-13 23:56:09 +01:00
ScummVM-Translations
86769fb04a 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-01-13 17:43:11 +00:00
Walter Agazzi
601e1c31e0 AGI: Add detection for Quest for the Toilet 2023-01-13 18:37:30 +01:00
Ben Castricum
0860e53dce I18N: Update translation (Dutch)
Currently translated at 98.5% (1776 of 1803 strings)
2023-01-13 15:50:45 +00:00
Ben Castricum
0c4aaa46cc I18N: Update translation (Dutch)
Currently translated at 96.3% (1738 of 1803 strings)
2023-01-13 14:37:57 +00:00
Eugene Sandulenko
625e1e4500
BACKENDS: DC: Fix compilation 2023-01-13 00:03:44 +01:00
Sebastian Krzyszkowiak
3301d890db SLUDGE: Save/restore region's direction as signed integer
The engine is using -1 as an undefined direction, so keep it that
way after save & restore cycle. Otherwise persons will spin around
for a while trying to rotate themselves to 65535 degrees when
aligning to a region with undefined direction.
2023-01-13 00:40:07 +02:00
Simon Delamarre
8bb49c1acf GOB: fix cursor still visible in breakout game of some Adibou2 versions
Only cursors drawn from scripts must be copied in _cursorSprites, not the ones loaded from executable.
This simplifies a lot of globals from the Draw object, that were needed only in the cursor-from-exec case.

Note: other GOB games are not impacted even if shared code from draw_v2.cpp, inter_v1.cpp is modified (_cursorHotspotsX and _doCursorPalettes are non-null only in Adibou 2).
2023-01-12 23:26:40 +01:00
ScummVM-Translations
24fc6e09c4 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-01-12 22:18:14 +00:00
Eugene Sandulenko
e1ec545abd
GUI: Update default icons set. Based on bf016200f2b1b9080cb 2023-01-12 23:17:48 +01:00
ScummVM-Translations
3d9493b9ac I18N: Update translations templates 2023-01-12 22:12:03 +00:00
Walter Agazzi
70a2b2ac5f GUI: Improve comment, typo fix 2023-01-12 23:11:50 +01:00
Walter Agazzi
23aa5eeb31 GUI: Align flags using thumbnail size 2023-01-12 23:11:50 +01:00
Walter Agazzi
d54daa0aee GUI: Try loading PNG flag if a vector isn't available 2023-01-12 23:11:50 +01:00
AndywinXp
845c739801 SCUMM: DIMUSE: Avoid using a nullptr stream 2023-01-12 22:11:12 +01:00
Lothar Serra Mari
56491a611f NEWS: Update German NEWS file 2023-01-12 19:44:51 +01:00
Lothar Serra Mari
aac2ef5d0a I18N: Update GUI translations datafile 2023-01-12 19:23:57 +01:00
Lothar Serra Mari
d258504c6d I18N: Update translation (German)
Currently translated at 100.0% (1803 of 1803 strings)
2023-01-12 18:21:17 +00:00
Lothar Serra Mari
da25c1f6a7 NEWS: Update German NEWS file 2023-01-12 19:09:49 +01:00
Lothar Serra Mari
a6e1e8af1f NEWS: Fix missing full stop 2023-01-12 19:09:33 +01:00
ScummVM-Translations
78f5585d78 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-01-12 13:51:15 +00:00
Carlo Bramini
9e8809a2f3 BLADERUNNER: pre-calculate some math constants
There are some values that are read from stream and never changed by the calculations. Since they are used as parameter on expensive math functions like cos() and tan(), it would be worth to pre-calculate their values and use them when needed.
2023-01-12 15:51:02 +02:00
ScummVM-Translations
7a3b98e3ed I18N: Update translations templates 2023-01-12 13:39:51 +00:00
Vladimir Serbinenko
d924671cec OPENDINGUX: Miyoo (1st gen) support 2023-01-12 16:39:38 +03:00
Vladimir Serbinenko
4e4c652433 SDL: Properly restore gfx mode if several parameters have changed
Currently we have bunch of else-if and only one of them triggered. When
e.g. aspect ratio correction and resolution changes only aspect ratio is
covered by restoration. If this fails the code retries the same mode endlessly
2023-01-12 16:39:38 +03:00
ScummVM-Translations
5f5eb4c0f9 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-01-12 13:02:11 +00:00
Vladimir Serbinenko
74336c5411 SDL: Fix potential buffer overflow
This causes a segmentation error on Miyoo Mini but is not specific to it
2023-01-12 14:01:45 +01:00
Stian Schultz
a691b8787a I18N: Update translation (Norwegian Bokmål)
Currently translated at 100.0% (1803 of 1803 strings)
2023-01-12 12:17:22 +00:00
ScummVM-Translations
16d90af428 I18N: Update translations templates 2023-01-12 07:45:19 +00:00
ScummVM-Translations
0e6cef6fb2 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-01-12 07:45:18 +00:00
Le Philousophe
4f626159a1 SDL: Delete mouse scaler to avoid memory leak 2023-01-12 08:44:38 +01:00
ScummVM-Translations
380a0ab3da I18N: Update translations templates 2023-01-12 07:27:33 +00:00
Vladimir Serbinenko
30d9976a1c SDL: Use hardware palette on RS90 and scale 1 2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
70b174bca5 SDL: Disable fullscreen on RS90
Fullscreen flag causes an error in SetVideoMode.
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
3f6691dc6d RS90: Workaround for unusual SDL_PixelFormat
SDL_PixelFormat returns 0xff/0xff/0xff as pixel format for paletted HWSURFACE.
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
b91d873df6 SDL: Support auto-detection of GUI resolution. 2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
47ab3fe4fc SDL: Support double-buffering on SDL1. 2023-01-12 10:27:20 +03:00