Commit graph

123524 commits

Author SHA1 Message Date
sluicebox
c67adbb301 CREATE_PROJECT: Add --include-dir and --library-dir
Additional include and library directories can now be added.

This is most useful to Xcode Mac projects where a vanilla Homebrew setup
requires manually adding five directories through the Xcode UI and then
repeating that every time the project needs to be regenerated.

Now create_project can be scripted to regenerate a working Mac project
without any extra Xcode steps.
2021-11-26 21:30:07 -07:00
sluicebox
f08f2a52fc CREATE_PROJECT: Add DETECTION_FULL feature
Allows disabling full detection with --disable-detection-full,
just like the configure script.
2021-11-26 21:30:07 -07:00
sluicebox
5a63f261b6 SCI: Only throttle kGameIsRestarting from game loops
Prevents extra speed throttling from being applied when a script queries
the restart flag. Some rooms such as the KQ6 caves and the QFG4 caves do
this on every game cycle. In practice, this extra throttling didn't seem
to have much effect, but the intent is to only throttle game loops and
the script patches that fix inner loops.

Updated script patches to call kGameIsRestarting like game loops.
2021-11-26 21:30:07 -07:00
sluicebox
ebfecf8487 SCI: Fix HOYLE4 Gin Rummy undercut sound 2021-11-26 21:30:07 -07:00
sluicebox
a50d84a32b WIN32: Fix build when USE_WINDBG is defined 2021-11-26 21:30:07 -07:00
sluicebox
55488baecd SCI: Update QFG3 uninit read workaround 2021-11-26 21:30:06 -07:00
sluicebox
71875456ab SCI32: Add QFG4 uninit param read workaround 2021-11-26 21:30:06 -07:00
sluicebox
2387712453 SCI32: Fix QFG4 upgraded inventory views
Fixes script bugs where items are upgraded but their graphics aren't
2021-11-26 21:30:06 -07:00
sluicebox
c8fb104306 SCI: Add uninit read workarounds for QFG3, QFG4
Fixes bugs #13045, #13046
2021-11-26 21:30:06 -07:00
sluicebox
2dcc62bfe3 SCI: Fix class_table debugging command output 2021-11-26 21:30:06 -07:00
Ralph Caraveo III
75f7151676 SCI: Clarify passing of parameter: pass instead of parse for class_table debug command.
Minor wording change to say pass instead of parse.
2021-11-26 21:30:06 -07:00
sluicebox
ca03effcb5 SCI32: Fix GK2 "bad" cursor not appearing 2021-11-26 21:30:06 -07:00
sluicebox
2740f075d4 SCI32; Improve KQ7 cursor script patch
Removes a jump to an unverified offset
2021-11-26 21:30:06 -07:00
sluicebox
e3ae9057ed SCI32: Create kScummVMSleep for script patches
We have several SCI32 script patches that replace kGetTime spin loops
with calls to kWait for the intended delay. This prevents blocking
the main thread and allows ScummVM to be responsive and update the
screen. But kWait isn't a simple sleep, it's a throttling function,
and the duration that it sleeps (if any) is determined by the time
since it was last called. kWait was only in SCI16 interpreters so it
had to be restored to SCI32 and this required a further workaround
for Phant2 compatibility.

Now we have a dedicated custom kernel function, kScummVMSleep, which
does a simple sleep so that SCI32 script patch delays are consistent
and the Phant2 workaround isn't needed. This approach is similar to
kScummVMSaveLoad.
2021-11-26 21:30:06 -07:00
sluicebox
e66e6c374c SCI: Handle HOYLE4 Mac palette endianness 2021-11-26 21:30:06 -07:00
sluicebox
ffbc5f37b7 SCI: Add LAURABOW2 workaround for uninit read in museum
Prevents a warning that frequently occurs during most of the game
as actors walk around the museum.
2021-11-26 21:30:06 -07:00
sluicebox
ff357137b0 SCI: Apply workarounds to Mac games without object names
Restore object names in QFG1VGA workarounds that were removed to
accommodate the Mac version. Instead, don't match object names
on games that are known to not have them, since there are several.

Fixes workarounds not being applied to HOYLE4 Mac and LSL6 Mac.
2021-11-26 21:30:05 -07:00
sluicebox
b44afb45e6 GUI: Don't apply values from disabled subtitle toggle
When the subtitle toggle controls are disabled for a game, don't
read the value and then set config values based on it.
This caused "Override global audio settings" to always set "subtitles"
and "mute_speech" even when the controls were disabled.

Fixes bug #13007 where "Override global audio settings" always
mutes the speech clips in Hoyle4.
2021-11-26 21:30:05 -07:00
sluicebox
11d1088298 SCI: Remove redundant check 2021-11-26 21:30:05 -07:00
sluicebox
5bbf5bd603 SCI: Remove GUIO_NOSPEECH from HOYLE4
HOYLE4 has speech. Bug #13007
2021-11-26 21:30:05 -07:00
sluicebox
a1edf88adb SCI: Fix kSetPort return value
SSCI doesn't return zero; it doesn't return anything. This shouldn't
affect any games since no scripts should depend on a non-existent
return value, but this discrepancy came up while investigating a
fan script that accidentally relies on this.
2021-11-26 21:30:05 -07:00
sluicebox
7468a2e17f CLOUD: Fix crash on HTTP request with unparsed path
Occurred during an nmap scan. Fixes bug #12997
2021-11-26 21:30:05 -07:00
Martin Gerhardy
85f1c96fb5 TWINE: No music in FLA movie
the original code only stops the samples - not the midi or cd music
2021-11-26 20:59:37 +01:00
Le Philousophe
d7fc4b472b RASPBERRYPI: Don't make use of obsolete Broadcom libraries 2021-11-21 19:01:07 +01:00
Paul Gilbert
2dd1f938ef GLK: ALAN3: Added detection 2021-11-16 20:38:46 -08:00
Benoit Pierre
52afe03607 XEEN: fix possible crash in exchange dialog
Don't try to exchange a character with themself...
2021-11-16 20:05:43 -08:00
Benoit Pierre
3db56999e0 XEEN: fix "backpack is full" dialog string
Use the destination character's name.
2021-11-16 20:03:31 -08:00
athrxx
06aedde33e KYRA: (LoK) - fix invalid mem access when quitting after being turned to stone 2021-11-17 01:52:42 +01:00
Martin Gerhardy
3c7932d740 TWINE: Game is slow when VSYNC is ON
https://bugs.scummvm.org/ticket/13066

I'm still not 100% sure on the speed of the game. I've compared with videos like this one:
  https://www.youtube.com/watch?v=YdTCwx9hAvo
2021-11-16 20:07:36 +01:00
Eugene Sandulenko
029e3fe637
DOCS: Fix iOS branch version in the docs
In general, we'd better rewrite this part and drop hard-coded version branch
2021-11-16 11:40:43 +01:00
antoniou79
20b86b59fd BLADERUNNER: RC - Move line about real dogs
Use it as banter talk (low random chance) with photographer
2021-11-14 21:06:34 +02:00
antoniou79
a7fcc38af7 BLADERUNNER: Fix broken Leary talk animations
Should fix bug #13072

The code for Leary's AI script ChangeAnimationMode() was re-checked against the c file produced from our dissassembly of the AI-ACT1-23 dll.
2021-11-14 20:36:14 +02:00
neuromancer
eaf0b1ff5b PRIVATE: added detection of french demo 2021-11-14 09:36:58 +01:00
Martin Gerhardy
facc67184b TWINE: added support for spanish cd release
https://bugs.scummvm.org/ticket/13064
2021-11-12 09:21:07 +01:00
Martin Gerhardy
b0bf6876f0 TWINE: Add support for Asian release of Little Big Adventure
https://bugs.scummvm.org/ticket/13008
2021-11-12 09:21:07 +01:00
sluicebox
60aa46f302 GUI: Fix crash when enabling auto save
"engineid" isn't present on all games. Games that predate the "engineid"
feature and haven't been run since it was introduced don't have it yet.

Fixes bug #13038
2021-11-11 22:43:55 +00:00
sluicebox
e6ed1dee5b CREATE_PROJECT: Update MSVC jpeg debug lib name
Required for CI; libjpeg-turbo debug builds no longer have a "d"
suffix when building with vcpkg.
2021-11-11 14:28:39 -06:00
sluicebox
116e58a76f CI: Update vcpkg to fix PCRE downloads
PCRE changed their download server.

https://github.com/microsoft/vcpkg/issues/21201
2021-11-11 14:28:33 -06:00
Lothar Serra Mari
de3aa07fe5 NEWS: Update German NEWS file 2021-11-11 20:51:23 +01:00
Torbjörn Andersson
6e76163678 NEWS: Add note about Inherit the Earth looping music 2021-11-10 20:43:36 +01:00
Torbjörn Andersson
30ac9116bb SAGA: Fix ITE digial music looping regression
When the MUSIC_DEFAULT flag was removed, the logic for looping music was
accidentally inverted: Instead of everything except tracks 13 and 19
defaulting to looping, now only tracks 13 and 19 would default to
looping.

See b14a2599bc (SAGA: Get rid of the MUSIC_DEFAULT flag, 2014-07-20)
2021-11-10 20:42:32 +01:00
Eugene Sandulenko
4758b58fb2
COMMON: Sync punycode with JS/Python code:
* Allow [] in file names
* Process files ending with spaces or dots
2021-11-10 20:26:56 +01:00
Eugene Sandulenko
275e371c99
NEWS: Mention Punycode fix 2021-11-10 20:16:00 +01:00
Eugene Sandulenko
2d9cbf6483
COMMON: Fix punycode implementation for upper Unicode characters 2021-11-10 20:15:35 +01:00
Paul Gilbert
70369f26bf NEWS: Mention AGS detection list updates 2021-11-09 20:48:17 -08:00
Walter Agazzi
ad6aea5e39 AGS: Added some AGS games and variants 2021-11-09 20:46:41 -08:00
Paul Gilbert
120fd85368 NEWS: Add Xeen fixes 2021-11-09 20:40:31 -08:00
Benoit Pierre
f70391ca2d XEEN: fix caster selection during non-combat spell casting 2021-11-09 20:39:36 -08:00
Christophe Branchereau
edb731a8d5 OPENDINGUX: Add support for Opendingux Beta
OD Beta is a mips linux OS based on buildroot, that runs on ingenic gaming handhelds
like the gcw0, rg350 and many more.

There was a previous GCW0 port, that was running on legacy opendingux, but that
OS is not maintained since 2014 and has an outdated kernel and toolchain.

Od Beta on the other hand, runs with linux 5.15, has a GCC 10 toolchain and
an active developpment community.

This adds support for 3 flavors :

gcw0 that runs on all jz4770 cpus
lepus that runs on all jz4760 cpus
rg99 which is a jz4725 device

Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
2021-11-08 11:18:51 +01:00
Benoit Pierre
eab9052216 XEEN: fix out-of-bounds accesses 2021-11-07 14:59:51 -08:00