139753 Commits

Author SHA1 Message Date
Le Philousophe
e51b9a7325 BACKENDS: ENET: Fix Vita build
fcntl is supported here while ioctl isn't.
2023-03-07 08:41:30 +01:00
elasota
5fe1e3b2fa VCRUISE: Add gyros 2023-03-07 02:33:35 -05:00
Matthew Duggan
3a8357e226 TETRAEDGE: Fix Syberia 2 credits and main menu aspect ratios 2023-03-07 16:10:21 +09:00
Matthew Duggan
8393c80aba TETRAEDGE: Make continue button work from main menu 2023-03-07 16:10:21 +09:00
ScummVM-Translations
487dbce74d 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-03-07 02:35:08 +00:00
Matthew Duggan
08747054cd TETRAEDGE: Fix character orientation calculation 2023-03-07 11:34:17 +09:00
ScummVM-Translations
1a1b6c9b63 I18N: Update translations templates 2023-03-06 22:17:04 +00:00
ScummVM-Translations
1859c91b81 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-03-06 22:17:03 +00:00
Thierry Crozat
9f1528e32f SDL: Fix incorrect handling of dirty rect with negative shake offset in SDL1
Instead of shifting the destination to the left, if was moving the source to
the right, which had the effect of shifting the dirty rect. So part of the
surface that should have been copied to the screen was not, and instead it
was copying part of the surface that did not need to be copied.
2023-03-06 22:16:49 +00:00
Eugene Sandulenko
a4f49c6cd3 I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1815 of 1815 strings)
2023-03-06 22:07:48 +00:00
Eugene Sandulenko
54fcaf1c57 I18N: Update translation (Russian)
Currently translated at 100.0% (1815 of 1815 strings)
2023-03-06 22:07:40 +00:00
Eugene Sandulenko
8242e1f24c I18N: Update translation (Russian)
Currently translated at 99.0% (1797 of 1815 strings)
2023-03-06 21:04:06 +00:00
Marcel Souza Lemes
a4e7069f1c I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1815 of 1815 strings)
2023-03-06 20:57:30 +00:00
Eugene Sandulenko
57f2ebcab7 I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1815 of 1815 strings)
2023-03-06 20:57:21 +00:00
Eugene Sandulenko
1fe3590593 I18N: Update translation (Ukrainian)
Currently translated at 99.6% (1809 of 1815 strings)
2023-03-06 20:55:44 +00:00
ScummVM-Translations
56096528b1 I18N: Update translations templates 2023-03-06 20:39:10 +00:00
ScummVM-Translations
fe65f03580 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-03-06 20:39:08 +00:00
Eugene Sandulenko
736665c164
SCUMM: I18N: Added translator comments for the new strings 2023-03-06 21:38:42 +01:00
IlDucci
d58cec82f4 I18N: Update translation (Spanish)
Currently translated at 100.0% (1815 of 1815 strings)
2023-03-06 20:38:22 +00:00
IlDucci
665aa6141a I18N: Update translation (Spanish)
Currently translated at 99.8% (1813 of 1815 strings)
2023-03-06 20:38:03 +00:00
Eugene Sandulenko
bcb81197dd I18N: Update translation (Ukrainian)
Currently translated at 98.7% (1793 of 1815 strings)
2023-03-06 20:37:54 +00:00
ScummVM-Translations
b0f612d8e4 I18N: Update translations templates 2023-03-06 20:26:41 +00:00
Scott Percival
585ec558b6 GRAPHICS: MACGUI: Move getFont() messages to a higher debug level 2023-03-06 21:26:28 +01:00
Scott Percival
04d5d0f59f DIRECTOR: Use the remapPalettesWhenNeeded flag 2023-03-06 21:26:28 +01:00
Scott Percival
8eb6cd2ac0 DIRECTOR: Allow for palette changes when seeking to arbitrary frames
In Director, palette IDs in the palette channel apply to all subsequent
frames. If we seek to an arbitrary frame, the correct palette
should be applied.

Fixes the introductory cutscene in Majestic: Part 1.
2023-03-06 21:26:28 +01:00
Scott Percival
dd43a7d2c4 SURFACESDL: Re-add check for _cursorNeedsRedraw
Partially rolls back a change introduced in
2caa338dbddd9429c766a281231c8fb98701d968; Director relies on the notion
of updateScreen() being near-zero cost if there are no changes.
For example, starting director:henachoco05 went from taking a few
milliseconds to taking 11 seconds, and opening the top menu in
director:easternmind only works on 10% of the screens.
2023-03-06 21:26:28 +01:00
Scott Percival
6abdd4af7c DIRECTOR: Don't dither bitmaps if they have an invalid palette ID
Fixes the colors in Gahan Wilson's The Ultimate Haunted House.
2023-03-06 21:26:28 +01:00
Scott Percival
6bd69381f0 DIRECTOR: Fix palette ID mapping for D3
The CLUT in the resource fork can contain palettes unused by Director;
the key is that all of the ones used for cast members have a palette ID
of the cast ID + 1024. This is effectively what the D2 branch was
relying on, so we can clean up the logic and use it for D3 as well.

Fixes the Invictus logo in Over-Ring-Under, the colour cycling in The 7
Colors, and countless others.
2023-03-06 21:26:28 +01:00
Scott Percival
bbce11c7ed DIRECTOR: Add support for palettes in Macintosh color table format 2023-03-06 21:26:28 +01:00
Scott Percival
68bcf717df DIRECTOR: Fix palette change for puppet transitions
Fixes palette glitches when rotating the probe in the Mac version
of Majestic: Part 1.
2023-03-06 21:26:28 +01:00
Scott Percival
82e891d1d3 DIRECTOR: Move palette/transition debugging to images flag 2023-03-06 21:26:28 +01:00
Scott Percival
570bbfb7f1 DIRECTOR: Add "info" command to debugger 2023-03-06 21:26:28 +01:00
Scott Percival
06eba975b2 DIRECTOR: LINGO: Fix b_go resetting custom event handlers
b_go() should only reset the custom event handlers when switching
movies, not just frames.

Fixes firing the bow at the dragon in Wrath of the Gods.
2023-03-06 21:26:28 +01:00
Scott Percival
e6b4cb56bd DIRECTOR: LINGO: Keep track of factory ScriptContexts in LingoArchive 2023-03-06 21:26:28 +01:00
Scott Percival
7e1947c039 DIRECTOR: LINGO: Add guardrails to b_do() 2023-03-06 21:26:28 +01:00
Scott Percival
2d22879fc9 DIRECTOR: Add debug messages for palette fading 2023-03-06 21:26:28 +01:00
Scott Percival
0a6f33ca97 DIRECTOR: Ignore SND loop bounds if end is before start
Fixes visiting Mount Olympus in Wrath of the Gods.
2023-03-06 21:26:28 +01:00
Scott Percival
6db29a5f23 DIRECTOR: XOBJ: Allow multiple SpaceMgr::m_parseText calls
SpaceMgr::m_parseText can be called multiple times, and assume the context
from the previous call exists. For example, ml.dir in The Dark Eye will
call it twice; the first time with a full hierarchy starting with a
SPACECOLLECTION, the second time with a hierarchy starting with a SPACE
and assuming _curSpaceCollection was set by the previous call.

We should be able to reuse the object's global "_cur" values for this,
as the game will override them soon after loading the model with a
SpaceMgr::m_setCurData call.

Fixes loading the scene graph data in The Dark Eye.
2023-03-06 21:26:28 +01:00
Scott Percival
debb6425d4 DIRECTOR: Don't search for absolute paths
Previously, pathMakeRelative didn't make a distinction between relative
and absolute paths. The input would always be converted to a relative
path, then checked against a number of places (e.g. the current
working directory, all the locations in the search path...).

This causes an issue for functions such as getNthFileNameInFolder. Quite
often, this is used for absolute paths constructed with "the pathName"
as a base. ScummVM assumes the game root is also the root of the volume
(e.g. "C:\"). As such, when you would call getNthFileNameInFolder("C:\",
1), this would be translated to a relative path of "", and then match
with the current directory provided from getCurrentPath; clearly not the
same thing.

To fix this, we detect if the input to pathMakeRelative is an absolute path,
and if so avoid checking every location in the search path and prefixing
the result with getCurrentPath().

Fixes "I am unable to save or retrieve games" error message in The Dark Eye.
2023-03-06 21:26:28 +01:00
Scott Percival
19ade1dba9 DIRECTOR: Fix pathMakeRelative search path resolution
pathMakeRelative will attempt to look for files in locations listed in
the search path. This can include directories that don't end with a
separator. As such, ensure that paths being tested have a separator so
they don't get accidentally merged with the target filename.

Fixes the loading sequence in The Dark Eye.
2023-03-06 21:26:28 +01:00
Thierry Crozat
a1d674d6ba TESTBED: Update shaking test to also test negative offsets 2023-03-06 20:09:45 +00:00
ScummVM-Translations
935e3ed14b 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-03-06 19:51:56 +00:00
ScummVM-Translations
0511f100aa I18N: Update translations templates 2023-03-06 19:51:33 +00:00
Thierry Crozat
f168bcfc46 I18N: Merge translations from branch-2-7 2023-03-06 19:50:39 +00:00
Thierry Crozat
c5ba3bf24e COMMON: Update documentation of OSystem::setShakePos 2023-03-06 19:50:38 +00:00
Lothar Serra Mari
75927da452 NEWS: Update German NEWS file 2023-03-06 20:47:46 +01:00
Vladimir Serbinenko
2a7942385e GRIM: Add entry for Fargus translation 2023-03-06 20:36:50 +01:00
Donovan Watteau
c1fd025a64 CONFIGURE: ENET: Add more system headers in checks
They mostly come from OpenBSD 7.2 and Debian 11 manual pages, and they
shouldn't hurt since backends/networking/enet/source/unix.cpp already
includes them.
2023-03-06 17:11:55 +01:00
D G Turner
afadfc5d52 MM: MM1: Fix Unhandled Case in Switch GCC Compiler Warnings 2023-03-06 16:00:59 +00:00
Eugene Sandulenko
34e2d342c5
SCUMM: Moved SessionSelector dialog to Scumm namespace 2023-03-06 16:49:27 +01:00