80332 Commits

Author SHA1 Message Date
Antoniou Athanasios
9fa924c09f
STARK: Detect TLJ Steam version to fix missing bg resource (#3318)
STARK: Detect TLJ Steam version to fix missing bg resource

An alternative fix for bug https://bugs.scummvm.org/ticket/12762 that replaces the previous fix.

This fix will set a flag at detection time (when adding the game to ScummVM)
so that the Steam version will skip trying to load a background image resource
from the exe file (game.exe), since that specific version is missing a valid version
of this resource which leads to an assertion fault.

It wont be necessary to re-add (redetect) the game, if it has already been added before this fix. The current AdvancedDetector implementation takes care of setting the flag at game launch. (As explained by sev) we run detection on every run and returning the relevant detection entry.

The previous fix was this commit which was based only on version info of the exe file:
565a0559ed

That one also works without having to re-add/re-detect the game, but perhaps just checking
version info is not the best approach.
2021-08-29 14:14:29 +03:00
Paul Gilbert
91f9742d00 CRUISE: Simplify endgame saving fix 2021-08-28 20:07:00 -07:00
Paul Gilbert
f30705ae45 CRUISE: Don't allow saving during the endgame sequence 2021-08-28 19:28:38 -07:00
Paul Gilbert
c164cc73f7 GLK: AGT: Fix $ and quit $ substitutions 2021-08-28 17:05:38 -07:00
Paul Gilbert
d609104834 SHERLOCK: Flower girl first greeting now interrupts actions 2021-08-28 15:52:30 -07:00
Paul Gilbert
6947ea4bd0 AGS: Mark Dead Dimension as a Spanish game 2021-08-28 12:56:25 -07:00
Paul Gilbert
2d4a305f86 AGS: Fix volume slider affecting overall volume 2021-08-28 12:18:02 -07:00
Paul Gilbert
7e7ac21f06 AGS: Delay starting sound playback until a channel is set
In AGS, setting the channel for music, sfx, or voice
frequently happens after the call to play has already been done.
This poses a problem for ScummVM, since I need the sound type
directly for the playStream call. And it's not feasible to
refactor everywhere that plays a clip to set the channel first.
With this change, any play call sets a flag, and defers calling
playStream until the channel is set. Hopefully there aren't
any places that call play without setting the channel before/after.
2021-08-28 12:18:02 -07:00
antoniou79
5f9b39e55b ENGINES: Fix autosave overwrite message
The message is formatted as U32String, and the argument is U32String so %S should be used.
2021-08-28 20:57:48 +03:00
Martin Gerhardy
1bd9b5521d TWINE: fixed savegame menu entry handling 2021-08-28 19:51:58 +02:00
Martin Gerhardy
05675b4700 TWINE: allow to rename your savegame
see bug #12844
2021-08-28 19:34:27 +02:00
Martin Gerhardy
c58fc049a2 TWINE: cleanup model header parsing 2021-08-28 19:34:27 +02:00
a/
176e81f5d3 SAGA2: Use streams for locateRegion 2021-08-28 23:57:30 +09:00
a/
5fd2ab4794 SAGA2: Rename _containerList 2021-08-28 23:57:30 +09:00
a/
ab60363941 SAGA2: More const correctness in contain.cpp 2021-08-28 23:57:30 +09:00
athrxx
c19a3f1cc1 SCUMM: (COMI/CJK) - add actor text color hack
Just something I came across in the disasm while doing something else. I also ran the original CJK interpreter in VirtualBox to confirm this weirdness...
2021-08-28 14:10:00 +02:00
Paul Gilbert
e94b88f586 AGS: Properly maintain volume changes across savegames 2021-08-27 19:35:01 -07:00
Eugene Sandulenko
b53973b06a
MOHAWK: Added detection for Mac tortoise. Bugreport #12828 2021-08-28 03:02:07 +02:00
Eugene Sandulenko
1fe1e994e8
MOHAWK: Added detection for harryhh demo. Bugreport #12849 2021-08-28 02:33:19 +02:00
Eugene Sandulenko
7b639ead0a
ZVISION: Added detection for Mac ZGI. Bugreport #11756 2021-08-28 01:43:29 +02:00
Eugene Sandulenko
89f92a007a
AGI: Improved detection for preagi titles.
Filenames "title" and "title.pic" are too generic, so second
file was added for each entry
2021-08-28 00:27:52 +02:00
antoniou79
565a0559ed STARK: Skip loading bg dialog color for Steam version r161
Addresses bug https://bugs.scummvm.org/ticket/12762
2021-08-27 18:37:35 +03:00
Eugene Sandulenko
99fd5ff800
SWORD2: Do not treat right/left click as a doubleclick. Fixes bug #11396
Previously, we could right click (which reads the object description), then
left click, and the second click was treated as a double click if the object
happened to be an exit node at the same time. That led to a softlock of the
engine.
2021-08-27 16:38:07 +02:00
Martin Gerhardy
1770c8fc36 TWINE: fixed fla video big endian issues 2021-08-27 00:04:54 +02:00
D G Turner
3e4ee7e23c STARTREK: Fix Coverity Warning for Identical Branches
CID 1394745
2021-08-26 22:10:18 +01:00
Roland van Laar
6ca9c1f8bf DIRECTOR: fix check on array size
Setting a cursor to a cast needs an array of 2 not 1.
2021-08-26 12:58:06 +02:00
Roland van Laar
5d45afb18b DIRECTOR: Convert cursor setting into Datum
This fixes two bugs in one go:
- setting a cursor to 0 wasn't possible when a cast+mask cursor was used
- querying a sprite for cast+mask cursor returned 0 instead of the cast
  ids.

Cursors can be set in two ways:
    1) set cursor of sprite X to INT
    2) set cursor of sprite X to [INT, INT]

A `cursor of sprite X` should return the same values that as were used
when setting the cursor.
2021-08-26 12:23:07 +02:00
sluicebox
ea688bb971 SCI: Add detection for German Castle of Dr. Brain 2021-08-26 05:06:08 -05:00
sluicebox
ca2b6a9917 TWINE: Fix forward declarations
Fixes MSVC build
2021-08-26 05:00:11 -05:00
Martin Gerhardy
d8d21057ef TWINE: fixed big endian issue with lba1 models 2021-08-26 09:24:28 +02:00
Martin Gerhardy
c416fe7830 TWINE: use forward decls and reduced header dependencies 2021-08-26 09:24:28 +02:00
Paul Gilbert
122acc39b5 AGS: Fix font outlines not drawing correctly 2021-08-25 21:31:40 -07:00
a/
e6db9ded56 SAGA2: Move calender to Saga2Engine 2021-08-26 04:43:14 +09:00
a/
db33d0ccac SAGA2: Move global variables in beegee.cpp to Deejay class 2021-08-26 04:07:30 +09:00
Eugene Sandulenko
7e04f3d939
SWORD25: Play no music if no sound device selected. Bugreport #11716 2021-08-25 18:46:07 +02:00
Roland van Laar
28fdbed20d DIRECTOR: simplify setting applyColor to false 2021-08-25 11:27:08 +02:00
Roland van Laar
274cfacbb9 DIRECTOR: Fix rendering with Bkgnd Transparent ink
Scores with the Bkgnd Transparent ink set were rendered black.

This hapened on with cards on the poker table in Majestic (win).
2021-08-25 11:27:08 +02:00
sluicebox
46771958fa SCI: Fix SQ5 cursor when pressing Tab for inventory
Fixes bug #11619
2021-08-25 03:30:34 -05:00
Martin Gerhardy
67c1e67fc9 TWINE: fixed issue #12844 (Save Game handling seriously buggy) 2021-08-25 08:51:18 +02:00
Martin Gerhardy
b13c079c69 TWINE: fixed manual save game description 2021-08-25 08:51:18 +02:00
djsrv
4796729a58 DIRECTOR: LINGO: Terminate when stmt with newline 2021-08-24 22:41:33 -04:00
Eugene Sandulenko
03493e5042
TOLTECS: Fixed Cancel button behaviour. Bugreport #7107 2021-08-25 01:30:45 +02:00
Eugene Sandulenko
5373b9f301
TOLTECS: Initialize engine class on creation 2021-08-25 01:30:45 +02:00
Eugene Sandulenko
c5500cdb5d
TOLTECS: Added script tracing 2021-08-25 01:30:44 +02:00
Eugene Sandulenko
cb60da0f6e
TOLTECS: Added sanity check to avoid potential out-of-bounds read. CID 1403261 2021-08-25 01:30:44 +02:00
sluicebox
0aa55ce452 SCI32: Avoid global constructors in CelObj
Fixes the last clang warning in the SCI engine
2021-08-24 18:01:42 -05:00
Thierry Crozat
e4d1871a6e AGS: Translate error dialog messages 2021-08-24 21:48:13 +01:00
D G Turner
8075db3c2c DIRECTOR: Simplify convertPixelIntoSurface method in BIT Decoder
This had identical code paths after the recent changes.

CID 1461549
2021-08-24 16:17:52 +01:00
Martin Gerhardy
72016e4ae3 TWINE: fixed return to launcher 2021-08-24 13:12:46 +02:00
Martin Gerhardy
53b1463f01 TWINE: fixed translation for the custom in-game options 2021-08-24 13:12:46 +02:00