148843 Commits

Author SHA1 Message Date
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
Walter Agazzi
7e003f30e9 AGS: Engine: allow old-style resolution upscale for kGameResolution_Default
From upstream a7f3c775de0f1a82c34b5f3acd67418aec31bf17
2024-01-17 03:12:31 +01:00
Walter Agazzi
46b14a21c6 AGS: Engine: safety check for fixups with out of range code reference
From upstream 973845a15ed9726956895161c8847bc668c3e787
2024-01-17 03:12:31 +01:00
Walter Agazzi
d18f7cac25 AGS: Engine: replaced another case of strncpy with snprintf
From upstream 73e49b44db8042aa307bff7fadf51f67156658be
2024-01-17 03:12:31 +01:00
Walter Agazzi
cce6aff754 AGS: Engine: replaced uses of strncpy with snprintf for safety
From upstream 02feb81b34f041dccd8a4bb33ff060cc532d979b
2024-01-17 03:12:30 +01:00
Walter Agazzi
4eaac90e4e AGS: Common: safer reading of fixed-len string fields
From upstream 458a524a418f30142f5fe2e512902b7e00e97eec
2024-01-17 03:12:30 +01:00
Walter Agazzi
4e6d475e17 AGS: Engine: fixed gamename label not updating if Game.Name changes
From upstream ae34b8881f64d422971aab3d70758c5184aca0b4
2024-01-17 03:12:29 +01:00
Walter Agazzi
a7266499a5 AGS: Engine: misspelling fix: perfomance->performance
From upstream c4cf67ac5bc5ac3463609eeefea16c1caa8abab9
2024-01-17 03:12:29 +01:00
Walter Agazzi
e2d455ee9e AGS: Updated build version (3.6.0.54)
Paritally from upstream 7a471ddeb30ee16f00397ac6939b334dbba6b717
2024-01-17 03:12:29 +01:00
Walter Agazzi
0f39d8c525 AGS: Common: small fix for GUITextBox::CalcGraphicRect()
From upstream 3529f4b2e5e41c6662abc9e2ec07e4113605137e
2024-01-17 03:12:29 +01:00
Walter Agazzi
8aa46edc16 AGS: Common: account for Font's height when calculating ListBox and TextBox
Historically these controls could draw text beyond their vertical bounds too (in non-clipping mode).
From upstream c9572541a6f8d38ed2ca1ba7af8e235c5d56c8f2
2024-01-17 03:12:28 +01:00
Walter Agazzi
bcf5ebaae5 AGS: Common: account Font's YOffset when calculating GUI's graphical rect
This fixes fonts with a custom VerticalOffset set getting unexpectedly clipped by a control's texture. Fixes Button and Label controls.
From upstream 02b15886d09b1025ac051bc8adfd6c3e5e7cd171
2024-01-17 03:12:28 +01:00
Walter Agazzi
b395603107 AGS: Engine: print which gfx driver is set to the log
Partially from upstream f58f9634422ae28f54d1fd9dc6112c62ad283597
2024-01-17 03:12:28 +01:00
Walter Agazzi
6f4b702810 AGS: Common: small fix to the OpenMainGameFile's error msg
from upstream d297b2d76a1b98a8fd3bb6bcdb752e0286c11db7
2024-01-17 03:12:28 +01:00
Walter Agazzi
95b0b2fc4d AGS: Engine: when drawing TextWindow clip border pieces, fix over corners
This fixes vertical or horizontal borders to be drawn under rightmost and bottom
corners, which may have transparent parts.
From upstream a77393abc2353a7d8309b7edf1f0ff582c34778c
2024-01-17 03:12:27 +01:00
Paul Gilbert
b69d587feb M4: Better skipping showing intro again after first time 2024-01-16 18:08:39 -08:00
Paul Gilbert
ad029b18cf M4: RIDDLE: Start of room 201 2024-01-16 17:57:12 -08:00
Paul Gilbert
e2ecea61f5 M4: RIDDLE: Init code for room 304 2024-01-16 17:57:12 -08:00
Walter Agazzi
a9e4ab25b3 AGS: Add detection for new games (from AGS forums)
+ minor sorting fixes
2024-01-17 00:20:12 +01:00
Walter Agazzi
12959dacb6 AGS: Add detection for latest blackwell2 updates 2024-01-17 00:20:12 +01:00
Kaloyan Chehlarski
28fbde9bff NANCY: Improve hypertext token heuristic
Fixed a couple issues when handling hypertext tokens
using the new API in Common::Tokenizer:
- The sound file names that were accidentally left in some
dialogue in nancy6 scenes 1953 and 1954 no longer get
rendered as part of the text.
- Short text strings now get rendered correctly. This fixes
the HAM radio puzzle input readout.
- Hypertext tokens now have checks for proper size;
otherwise, the offending token is output to the newly
created kDebugHypertext debug channel.
2024-01-16 23:01:40 +01:00
Miro Kropacek
48675ed9cf CONFIGURE: Don't use -ffast-math in for m68k-atari-mint*
This breaks calculation of sceneObject->walkCount in
engines/bbvs/walk.cpp (and possibly at other places, too).

Added "-fno-unsafe-math-optimizations" to prevent reciprocal
approximations which break fixed point delta calculations.
2024-01-16 22:59:35 +01:00
Kaloyan Chehlarski
b89b946e7d COMMON: Allow extracting delimiter info from Tokenizer
Extended the StringTokenizer and U32StringTokenizer
classes with functions that provide the caller with a list
of all delimiters surrounding the last processed token.
2024-01-16 23:31:13 +02:00
Kaloyan Chehlarski
a73d5d8106 NANCY: Implement win game event flag
Added a feature that stores whether the player has won
the game at least once, and activates a specific event flag
if so. This may or may not enable easter eggs in the
game data, but definitely affects the (still unimplemented)
quotes easter egg in the version screen.
2024-01-16 22:26:55 +01:00
Kaloyan Chehlarski
ccca59475c NANCY: Support modified nancy.dat format
Added support for the freshly modified nancy.dat. The
previous version is also supported and will be kept that way
until the next time nancy.dat gets updated in master
(most likely after work on nancy8/9 is finished)
2024-01-16 22:26:55 +01:00
Kaloyan Chehlarski
c0e2f746ea DEVTOOLS: Update nancy.dat format
Slightly changed the format of nancy.dat:
- curtain animation frames are no longer stored
- number of cursor TYPES is stored instead of number of
non-item cursors
- map access IDs were moved to a separate chunk outside
the general GameConstants
- GameConstants now stores the ID of the event flag
that gets set after the player has won the game
at least once before.
2024-01-16 22:26:55 +01:00
Kaloyan Chehlarski
ae81715b26 DEVTOOLS: Fix typos in create_nancy nancy3 data 2024-01-16 22:26:55 +01:00
Kaloyan Chehlarski
2cef013209 NANCY: Sync missing SceneState member
Fixed an oversight with syncing nancy7 savefiles where
the inventory ID of an inventory scene would not get saved,
and cause a crash when attempting to exit said scene after
loading.
2024-01-16 22:26:55 +01:00
Kaloyan Chehlarski
52dcc17de3 DEVTOOLS: Fix typo in create_nancy nancy7 data 2024-01-16 22:26:54 +01:00
sluicebox
3531843679 AGI: Add more error checks when loading sounds
Applies the previous commit to V1 and V3 loaders
2024-01-16 10:52:52 -07:00
sluicebox
34a1e5aac4 AGI: Add error check when loading sounds
Fixes the CoCo3 version of Xmas Card 86 crashing on startup.

The sound format isn't supported yet but the return value from
AgiSound::createFromRawResource wasn't tested.
2024-01-16 10:11:13 -07:00