149073 Commits

Author SHA1 Message Date
Scott Percival
b4bdc229db DIRECTOR: Use Shift-JIS text decoder when g_lingo->_romanLingo is false
Fixes most of the dialogue interaction scripts in the English version of
Cosmology of Kyoto, which contain plenty of Shift-JIS text.
2024-01-20 23:14:52 +01:00
Scott Percival
7ecda7e3b7 DIRECTOR: Disable Windows keycode table for D4 and up
Fixes keyboard entry in Cosmology of Kyoto for Windows.
2024-01-20 23:14:52 +01:00
Scott Percival
948bf03aed DIRECTOR: LINGO: Fix missing null check in b_spriteBox 2024-01-20 23:14:52 +01:00
Scott Percival
5427b3815e DIRECTOR: Set default TextCastMember fgcolor from Stxt
Needed to e.g. display a white blinking cursor on a black background.
2024-01-20 23:14:52 +01:00
Scott Percival
b9003c145f GRAPHICS: MACGUI: Fix fgcolor conversion in MacText 2024-01-20 23:14:52 +01:00
Scott Percival
2f16bf2e9f GRAPHICS: MACGUI: Remove pseudotransparency workaround in MacText
Needed in order to e.g. print white text on a black background in
Director.

This reverts 457b09cb4eabab4516230ec4a46d9340bd040bf4
2024-01-20 23:14:52 +01:00
Scott Percival
a8fe30029d DIRECTOR: Force editable text boxes to be rendered in front
Editable text boxes don't seem to abide by the channel rendering order;
you can have a bitmap in a higher channel that entirely obscures a text
entry widget, and the widget will still be visible.

Fixes the visibility of the name entry text box in Cosmology of Kyoto.
2024-01-20 23:14:52 +01:00
Scott Percival
d25b385651 DIRECTOR: Allow b_editableText for D4 and up
Fixes text widget selection in Cosmology of Kyoto.
2024-01-20 23:14:52 +01:00
Scott Percival
4a37102151 DIRECTOR: LINGO: XOBJ: Add stubs for ProcessXObj
Fixes quitting the game in Chop Suey for Mac.
2024-01-20 23:14:52 +01:00
Scott Percival
7cbda5c344 DIRECTOR: Only load frame data if frame has changed
Loading the frame data wipes out e.g. sprites that have been changed
while playback has been paused.

Fixes the buttons on the opening menu screen of Cosmology of Kyoto.
2024-01-20 23:14:52 +01:00
Scott Percival
f4646ab22e DIRECTOR: LINGO: Add more precise behaviour for b_clearGlobals
From testing in D4 with showGlobals, original Director will not delete a
global if it contains a factory object.

Fixes ck_data/opening/id_input.dxr in Cosmology of Kyoto, which creates
a global factory object, calls clearGlobals, then inexplicably expects the
object to still be there.
2024-01-20 23:14:52 +01:00
Scott Percival
cc5a0615f2 DIRECTOR: LINGO: XOBJ: Add Window and Panel stubs 2024-01-20 23:14:52 +01:00
Scott Percival
29ceaeea62 DEVTOOLS: Fix arg parsing in director-generate-xobj-stub 2024-01-20 23:14:52 +01:00
antoniou79
9513dfbf56 BLADERUNNER: CUTCONTENT: Sloth comment in Early Q club 2024-01-21 00:04:56 +02:00
antoniou79
4e7c7b1190 BLADERUNNER: CUTCONTENT: Alternative earring comment
For Sadik's earring in the photo

It's for cut content's normal/hard mode
or if McCoy already got the full earring comment from picking up the earring outside the lab
2024-01-21 00:04:56 +02:00
Eugene Sandulenko
6db11ef605
GUI: Allow manual setting of custom GUI scale values
We keep this value and do not override it
2024-01-20 20:56:53 +01:00
Eugene Sandulenko
c1aca01197
GUI: Add percentage values to the gui scale values 2024-01-20 20:34:45 +01:00
Eugene Sandulenko
10a7b42587
GUI: Added more GUI scale values
Should we add a slider perhaps?
2024-01-20 20:15:59 +01:00
Eugene Sandulenko
dd6c7be8fa
SDL: Print reported DPI info for Mac and SDL in the same format 2024-01-20 20:07:57 +01:00
D G Turner
17384de8b4 M4: Fix Enumerated vs. Non-Enumerated Type In Conditional GCC Warning 2024-01-20 14:17:47 +00:00
Matthew Jimenez
aa8325243a ULTIMA8: Migrate more code to Path 2024-01-19 20:21:36 -06:00
sluicebox
f5aec9593b SCI: Fix HOYLE4 unexpected discard in Euchre
Fixes bug #14874

Thanks to @Karunamon for reporting this
2024-01-19 15:32:54 -07:00
Le Philousophe
9e188bff20 DOCS: Quick'n'dirty fix to docs packages
Latest versions of sphinxcontrib dropped sphinx requirement and checks
the version at runtime.
By pinning to the latest versions supporting Sphinx 4, build succeeds.
2024-01-19 08:01:12 +01:00
Paul Gilbert
4ec1136883 M4: Don't return ascii keys when Ctrl/Alt pressed 2024-01-18 22:29:39 -08:00
Paul Gilbert
da5c1d33ed M4: Implement saving from original save menu 2024-01-18 22:22:17 -08:00
Paul Gilbert
716fc4f568 M4: Fixes for initial display of save dialog 2024-01-18 21:57:24 -08:00
Paul Gilbert
dee1a2fa9b M4: Load dialog now showing ScummVM thumbnails 2024-01-18 21:11:41 -08:00
Paul Gilbert
1370071293 M4: Remove unused _screen global 2024-01-18 20:02:29 -08:00
Paul Gilbert
f97b7f8920 M4: Load menu rendering and selection fixes 2024-01-18 19:27:29 -08:00
Paul Gilbert
072355f870 M4: Fixes for crashes in Load menu 2024-01-18 19:27:29 -08:00
Paul Gilbert
c146fbb42f M4: Make menu item prompt const char * 2024-01-18 19:27:29 -08:00
Filippos Karapetis
563456df1e GOB: Get game types from game IDs
Remove game types from all of the detection entries. Game types can be
deduced from the game ID, so keeping them both in game entries is
duplicate and superfluous information.

As an added bonus, several fallback game IDs have been fixed to match
their correct values
2024-01-18 22:43:57 +01:00
antoniou79
39ce56a1e0 STARK: Fix not loading ssn sounds in Steam version
This should address bug report #12956 about the missing sounds

It seems that the Steam version of TLJ has the .ssn sounds (found in the GOG version) as ovs (ogg vorbis) sounds.

I have tested with the provided saved game, and this fixes the sounds that were not loading (I think it's trains arriving/leaving sfx)

I only have the GOG version and the Steam versions of the game to test. I do not have any of the CDs version(s).
2024-01-18 23:41:48 +02:00
Aditya
4b3119c720 CGE2: Add Keymaps to the engine 2024-01-18 23:38:38 +02:00
antoniou79
0f8f8447ce BLADERUNNER: CUTCONTENT: Gordo's Replicant lighter
Also restored a small variation on rat comment for localizations other than English.
2024-01-18 19:04:08 +02:00
Walter Agazzi
1199762e25 M4: Add Orion Burger French detection entry
TRAC report #14869
2024-01-18 14:21:10 +01:00
D G Turner
ca75845db8 M4: Fix GCC Set But Unused Variable Compiler Warning 2024-01-18 01:35:39 +00:00
Eugene Sandulenko
7016605fe8
Revert "CONFIGURE: Switch vorbis and flac detection to pkg-config"
This reverts commit 7134f5e2c2f9f3052950382dbd7b8e7c074d2432.

At least on the buildbot vorbis is not in pkg-config
2024-01-17 23:28:25 +01:00
Eugene Sandulenko
7134f5e2c2
CONFIGURE: Switch vorbis and flac detection to pkg-config
Downstream patch from OpenBSD:
https://github.com/openbsd/ports/blob/master/games/scummvm/patches/patch-configure
2024-01-17 22:41:59 +01:00
Eugene Sandulenko
36f387e3d7
CONFIGURE: Take downstream patch from Redox
https://gitlab.redox-os.org/redox-os/cookbook/-/blob/master/recipes/emulators/scummvm/01_redox.patch
2024-01-17 22:38:31 +01:00
Jelle Raaijmakers
36d160a49a
CONFIGURE: Teach configure about serenity
https://github.com/SerenityOS/serenity/blob/master/Ports/scummvm/patches/0001-Teach-configure-about-serenity.patch
2024-01-17 22:38:13 +01:00
neuromancer
267191dda0 FREESCAPE: initial support for dos demo dark in cga mode 2024-01-17 20:35:53 +01:00
Paul Gilbert
6ac2b368b3 M4: RIDDLE: Compilation fix 2024-01-16 20:46:08 -08:00
Walter Agazzi
d42e55212c AGS: Return more meaningful message in GetDriverName 2024-01-17 03:12:32 +01:00
Walter Agazzi
d1d5d2ed7d AGS: Updated build version (3.6.0.56)
Partially from upstream 95c62e15aa7bfa173a2b53ab20770a36e633f6fe
2024-01-17 03:12:32 +01:00
Walter Agazzi
a660cd67a4 AGS: Engine: fixed bytecode fixup assertion done for unapplicable case
Was broken by 973845a
From upstream 9d86d5ab1a6e84115c33ffbfc8a96185e6b9fd63
2024-01-17 03:12:32 +01:00
Walter Agazzi
7a281232f6 AGS: Remove leftover lines breaking save/load 2024-01-17 03:12:32 +01:00
Walter Agazzi
2c35d26b82 AGS: Updated build version (3.6.0.55)
Partially from upstream b9f4415f24e52b90b3fddd10cf81b7bd97d715e8
2024-01-17 03:12:32 +01:00
Walter Agazzi
de715bab92 AGS: Engine: fixed uses of scsystem.color_depth
This complements 67c3bdc
From upstream 79c70aac2b0df604cdb7adab8fc596a18c7d4c74
2024-01-17 03:12:31 +01:00
Walter Agazzi
30fc1a911d AGS: Engine: fixed System.ColorDepth to returning game's native depth
This logic got confused at some point in engine development. This property had a meaning back when display mode matched the game's native color depth.
Plugins also could rely on this, when drawing on a software renderer's virtual screen, which must match game's native depth and not the final display resolution.
From upstream 67c3bdc403d5178f1c5c390af820bc446f94f21b
2024-01-17 03:12:31 +01:00