Commit Graph

133230 Commits

Author SHA1 Message Date
Eugene Sandulenko
26e5ef35ab GUI: Use countdown dialog on shader test 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
a8ba66c95e GUI: Implement CountdownMessageDialog 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
3dada376b1 GUI: Show test dialog when shader was changed 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
6d3eb64398 OPENGL: Do not error() on shader compilation failure 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
31100637fa GRAPHICS: OPENGL: Refactor for adding possibility to avoid calling error() directly 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
b67c4c0047 OPENGL: Gracefully restore previous graphics mode on shader failure 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
ff259665c5 GUI: Restore previous shader setting on load failure 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
51295e3a6a JANITORIAL: Whitespace fixes 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
1ac8fde03f JANITORIAL: Whitespace fixes 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
8d61963716 OPENGL: Return error when shader did not work 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
475d2e119a COMMON: Added OSystem::kTransactionShaderChangeFailed enum value 2022-10-08 23:39:18 +02:00
Cameron Cawley
f6e071e99a OPENGL: Handle LibRetro shaders containing version directives 2022-10-08 23:39:18 +02:00
Cameron Cawley
1b2a73c62a OPENGL: Implement selecting shaders from the GUI 2022-10-08 23:39:18 +02:00
Cameron Cawley
79fff69231 COMMON: Use Common::String for OSystem::setShader 2022-10-08 23:39:18 +02:00
Cameron Cawley
a2c65a4521 OPENGL: Remove the stock shader preset 2022-10-08 23:39:18 +02:00
Cameron Cawley
64c359b5cb GUI: Replace the options for selecting shaders 2022-10-08 23:39:18 +02:00
Cameron Cawley
c5705561b0 OPENGL: Add compatibility checks for LibRetro shader support 2022-10-08 23:39:18 +02:00
Cameron Cawley
cdbb0fa32f OPENGL: Better path lookup and error handling 2022-10-08 23:39:18 +02:00
Cameron Cawley
5e4aaf5757 OPENGL: Render the screen and cursor to a target before applying shaders 2022-10-08 23:39:18 +02:00
Cameron Cawley
851b17affa OPENGL: Fix compilation after recent changes 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
17857d7597 GUI: Disable obsolete GUI entries for now 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
ceef8da1f3 GUI: Mark entry point where we call the shaderscaler dialog later 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
93b46ec40d BACKENDS: OPENGL: Resolve merge conflicts 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
79700ca1b0 BACKENDS: OPENGL: Move stock.glsl shader and preset to new presets location 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
133341adf5 BACKENDS: OPENGL: Fix shader prefix path 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
4f4f0b82a8 BACKENDS: OPENGL: Add very basic stock.glsl shader as fallback option 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
daeda92d3e BACKENDS: OPENGL: Add stub for loading shader preset from config file 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
203af422d4 BACKENDS: OPENGL: Use simpler shader as test case 2022-10-08 23:39:18 +02:00
Johannes Schickel
9f3249286f BACKENDS: OPENGL: Initial WIP import for shader support 2022-10-08 23:39:18 +02:00
Donovan Watteau
a16a1e57e2 SCUMM: Make Dig crypt subtitle workaround an optional waitForActor()
When Low finds the meaning of the crypt inside the tomb, subtitles are
not printed because of a missing waitForActor() call. This also happens
in the original interpreters.

In Trac#4410 and commit 3b05a52588, this
was implemented as an actor.cpp workaround, but doing it this way make
Low glide on the floor instead of having his usual walking animation.

Having him wait finishing his sentence before he moves to the crypt may
feel a bit odd too, but Low already does that in some other parts of the
game, and he just reacts at a very slow pace in general.

Moving this to o6_talkActor() also means that it's next to the other
waitForActor() workarounds, where we try to only target the impacted
lines when we can.

Also make this workaround use `_enableEnhancements` while there.
2022-10-09 00:22:05 +03:00
Donovan Watteau
e0b8678482 SCUMM: Let Max finish his comment on capitalism at Snuckey's (WORKAROUND)
If Sam tries buying something at Snuckey's without any having money, Max
will not always have enough time to finish his comment on capitalism,
because the employee will say "Anything else?" without any call to
waitForMessage() to make sure that Max is done speaking. But good jokes
from Max should never be cut!

This would happen if Sam only picked up the pecan-flavored candies, for
example.
2022-10-08 22:20:50 +03:00
Donovan Watteau
5d5ba3470f SCUMM: Fix AkosCostumeLoader on big-endian hosts
Commit befd3b3511 introduced a regression
on big-endian systems, causing Guybrush to moonwalk and Wally to lose
his body in the first scene of COMI, for example.

`costumeFlags` must be read as a little-endian value, now that it it's
been confirmed to be an uint16 and not a byte, in the disasms.

Found after diff'ing the -fverbose-asm output of akos.cpp during a Git
bisect on a big-endian system.
2022-10-08 20:43:18 +02:00
ScummVM-Translations
306ac9eca6 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-08 14:57:48 +00:00
athrxx
dee25ecfc5 SCUMM: (SAM) - add dissolve effect when restarting with F8
SAM has this hard coded for the restart handling. I noticed it in an
emulator and then found it in the original code . Without that, the
game would show the box transition for the restart which is
not suitable for SAM (it is made for games with a separate
verb interface).
2022-10-08 16:57:07 +02:00
ScummVM-Translations
7d4542064f I18N: Update translations templates 2022-10-08 14:56:09 +00:00
Le Philousophe
1af0e814e1 GUI: In grid launcher group by title to match what is displayed 2022-10-08 16:55:56 +02:00
Le Philousophe
1041c69710 GUI: Unify games listing between choosers
And avoid building of useless array
2022-10-08 16:55:56 +02:00
Le Philousophe
476b82ec84 GUI: Use engine ID to match metadata
This avoids classifying Cryo Atlantis as LucasArts game and Indiana Jones
series
2022-10-08 16:55:56 +02:00
Walter Agazzi
10a93eaa2d GLK: ADRIFT: Add detection for alternate version of Wax Worx 2022-10-08 16:38:56 +02:00
Lothar Serra Mari
1f159348de NEWS: Update German NEWS file 2022-10-08 10:55:28 +02:00
Lothar Serra Mari
155bfd38db NEWS: Add missing full stop 2022-10-08 10:54:30 +02:00
Roland van Laar
92b746c59c DIRECTOR: LINGO: Fix derefence befe null check
If movie is there is a check earlier in the function.
Meaning, it's guarenteed to exist at this point.

Fixes COVERITY: 1498918
2022-10-08 10:37:24 +02:00
Roland van Laar
9e4e20962b DIRECTOR: LINGO: Fix memory leak
Memory leak happens when a cast is moved but without
specifying the place for it to move to.
Datum constructor gets the castMemberId by copy leaving the
resource to be dealt with by the original function.

- Includes lingo test.

Fixes COVERITY: 1498924
2022-10-08 10:28:03 +02:00
D G Turner
8dfe2ccc96 SCUMM: Fix GCC Pedantic Compiler Warning Due To Extra Semicolon 2022-10-08 06:40:23 +01:00
Die4Ever
549174a540
GROOVIE: improve detection entries for T11H and Souped Up 2022-10-07 20:14:10 -05:00
Eugene Sandulenko
4afd1bd043
MADS: Fix copy/paste error. CID 1356120 2022-10-08 01:44:06 +02:00
Eugene Sandulenko
9ae7a446e1
ICB: Fix copy/pate error. CID 1433582 2022-10-08 01:42:15 +02:00
Eugene Sandulenko
7c0d64034a
ICB: Fix copy/paste error. CID 1433438 2022-10-08 01:40:14 +02:00
Eugene Sandulenko
74cd80a92c
GLK: SCOTT: Fix copy/paste reeor. CID 1488039 2022-10-08 01:38:33 +02:00
Eugene Sandulenko
4a748a1791
DIRECTOR: Fix copy/paste error 2022-10-08 01:33:14 +02:00