149047 Commits

Author SHA1 Message Date
Kaloyan Chehlarski
d6d45d4f2f DEVTOOLS: Add official nancy6/7 patches to nancy.dat
These have not been well tested, but are enabled by
default anyway (controlled via the "fix softlocks" checkbox.
2024-02-03 22:52:09 +01:00
Kaloyan Chehlarski
294a6eb015 DEVTOOLS: Add nancy8 data to create_nancy 2024-02-03 22:52:09 +01:00
Kaloyan Chehlarski
5a76920126 DEVTOOLS: Rename variable in create_nancy 2024-02-03 22:52:08 +01:00
neuromancer
e4979ab4c7 FREESCAPE: exe unpack for dos release of castle 2024-02-03 21:59:28 +01:00
neuromancer
0caf196249 FREESCAPE: enable more hardcoded sounds here and there 2024-02-03 21:59:28 +01:00
Paul Gilbert
e7384ec53a M4: Fix crash talking to mayor in room 105 2024-02-03 11:05:48 -08:00
Eugene Sandulenko
933fd7a5ab
DIRECTOR: Specify name for Xtras 'the' word 2024-02-03 18:01:31 +01:00
Eugene Sandulenko
46c57d9800
DIRECTOR: Use tail detection for safecracker-win 2024-02-03 18:01:31 +01:00
Torbjörn Andersson
24863f1496 SCUMM: Simplify startManiac() a little
Instead of using matchString(), simply check the baseName() of the game.
This is a bit more strict than before, but matches the documentation so
that should be ok.
2024-02-03 17:33:43 +01:00
Le Philousophe
917b279102 DOCS: Make grids responsive 2024-02-03 15:28:57 +01:00
Le Philousophe
c176474f1c DOCS: Update Sphinx to latest version
- Only enforce major versions and not specific versions of packages
- Replace obsolete sphinx_panels extension by sphinx_design which is
  maintained
- Remove useless sphinx_tabs.tabs (tabs from sphinx_panels were used)
- Only enforce Python 3 instead of setting the minor version
2024-02-03 15:28:57 +01:00
Le Philousophe
156e41b78b NEWS: Fix markdown indent 2024-02-03 15:28:57 +01:00
Torbjörn Andersson
cb2cc2adde SCUMM: Fix undefined va_arg() behavior
The second parameter to va_arg() needs to be "compatible with the type
of the actual next argument (as promoted according to the default
argument promotions)" or "random errors will occur".

Apparently what that means is that you can't use any integer types
smaller than a signed or unsigned int. In my case, ScummVM crashed with
an illegal instruction error.
2024-02-03 10:40:20 +01:00
Paul Gilbert
1ff6239f93 M4: Added cell console commands 2024-02-02 19:53:14 -08:00
Paul Gilbert
e153f02a51 M4: Clarify method out of index sprite errors occurs in 2024-02-02 19:53:13 -08:00
athrxx
1f8e75558f SCUMM: (INDY3/MAC) - fix music note frequency
- for certain notes, like in the catacomb song, thanks
to erictorbjorn for finding it)

- also some preparations for the lq music
2024-02-03 02:46:22 +01:00
Paul Gilbert
ae6229956e M4: Add extra setting of new memory blocks to 0 2024-02-02 07:58:26 -08:00
Le Philousophe
aceaf99816 COMMON: Fix bug #14892
When both paths were equal, suffix was incremented one char too much and
went off the string.
Add test cases to check for this.
2024-02-02 08:06:59 +01:00
athrxx
de585f5799 SCUMM: (INDY3/MAC) - fix invalid mem access
(for very low rates)
2024-02-02 04:16:18 +01:00
athrxx
445761dd69 SCUMM: (INDY3/MAC) - fix invalid mem access 2024-02-02 03:31:28 +01:00
athrxx
028db25d05 SCUMM: remove debug leftover 2024-02-02 02:52:54 +01:00
athrxx
0772833cc5 SCUMM: (INDY3/MAC) - sound player fixes
- fix Berlin track
- fix playback for certain output rate
- minor improvements
2024-02-02 02:37:53 +01:00
Walter Agazzi
8584e74f44 AGS: Add a couple new games to detection 2024-02-01 16:10:44 +01:00
Walter Agazzi
e18c486543 AGS: Disable autosave for falconcity 2024-02-01 13:26:28 +01:00
Walter Agazzi
981c202e71 AGS: Add AGSBMFontRenderer plugin stub
Just a stub for now, but at least Falcon City is playable in English
Fixes #14893
2024-02-01 13:19:01 +01:00
Scott Percival
57ff842856
DIRECTOR: Add Encyclopedia of Clamps to detection list 2024-02-01 12:32:19 +08:00
Kaloyan Chehlarski
98c9291682 NANCY: Rename incorrectly named parameter 2024-01-31 22:55:57 +01:00
Kaloyan Chehlarski
de55da6ae4 NANCY: Correctly load nancy8 LOAD chunk
In nancy8, the save/load menu got a rewrite, and its data
is incompatible with the older version. This commit
introduces a new struct type for the new LOAD data,
and makes sure it is loaded. This allows nancy8 to boot.
2024-01-31 22:55:57 +01:00
Kaloyan Chehlarski
740d69cb67 DEVTOOLS: Fix entry in nancy7 data 2024-01-31 22:55:57 +01:00
Kaloyan Chehlarski
2eda922e73 NANCY: Clip Autotext contents of PeepholePuzzle
When using an Autotext surface as a source, PeepholePuzzle
will no longer scroll past the bottom of its text contents.
This was only implemented in nancy7, but I'm leaving
it enabled in nancy6 as well, since it's a nice QOL feature.
2024-01-31 22:55:57 +01:00
Walter Agazzi
3f4d9e4a16 AGS: Fix luminance=0 being improperly set to 255
The sanity check should only be  applied for negative values,
otherwise a fully dark sprite ends up fully lit.
This is clearly noticeable in Unavowed during the
encounters and during the intro.
Fixes #14176
2024-01-31 22:36:30 +01:00
neuromancer
b92a630099 FREESCAPE: better sounds for the dos releases 2024-01-31 21:31:40 +01:00
athrxx
e1341e3afd SCUMM: fix virtual/override keywords 2024-01-31 19:46:57 +01:00
athrxx
439b8dcbd2 SCUMM: (INDY3/MAC): save/load sound state 2024-01-31 19:34:43 +01:00
Scott Percival
b4737f21ce
DIRECTOR: Fix regression with tempo selection
Restores all of the alternative "wait for" types of tempo instruction.
2024-02-01 00:23:19 +08:00
Walter Agazzi
015937d586 AGS: Add workaround for qfg2agdi to allow importing sci exported chars
Fixes TRAC #12335
2024-01-31 14:50:07 +01:00
antoniou79
231a58ee35 ANDROID: Restore LEANBACK_LAUNCHER category for splash activity
This was previously removed in commit 5cb87c1eca445ccfff4ab5bf5336c7e5d88fe2d8

We removed it when nearing the (then) upcoming 2.7.1 release, Play Store blocked the apk publishing because of this category's inclusion.
At the time, Play Store's error message was:
 The app is published as an apk that supports TV. In other words, it contains <category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
 under one of the intent-filter of the main activity . It must be published as an app bundle instead.

Which was due to "Following June 30, 2023, Google Play will no longer support TV app updates in APK. All TV app updates must be published with Android App Bundles (AAB)."

Since 2.8.0 we publish to the Play Store in app bundle format, so it should be ok to restore the category. However, this does not necessarily mean
that the app will work on Android / Google TVs without issues. More testing and user feedback might be required.
2024-01-31 14:52:20 +02:00
Orgad Shaneh
9e8cdd0769 SCUMM: Fix GCC warnings
* warning: comparison of integer expressions of different signedness
* memset clearing an object of non-trivial type
2024-01-31 05:56:25 +02:00
Scott Percival
9d7fc01ba0
DIRECTOR: Re-add sprite copy before applying delta frames 2024-01-31 11:31:28 +08:00
Walter Agazzi
eba4a86797 AGS: Disable autosave for a few games
* order of the thorne  /  * quest for infamy
* projector face / * puzzle bots
* heroine's quest

+  add a couple new games
2024-01-30 23:37:46 +01:00
Walter Agazzi
6865844bf9 AGS: Fix fallback detection attempting to open empty path 2024-01-30 23:37:46 +01:00
Scott Percival
c4fe1add55 DIRECTOR: Persist editable status on sprites if cast is the same
Fixes text box deselecting when talking to the cops in Spaceship
Warlock.
2024-01-30 23:30:11 +01:00
Scott Percival
5d69024aa4 DIRECTOR: Clean up Score methods that previously needed frameId 2024-01-30 23:30:11 +01:00
Scott Percival
b50ed6ace4 DIRECTOR: Don't render transitions when movie is paused
Fixes rendering of menu screen on Cosmology of Kyoto.
2024-01-30 23:30:11 +01:00
Scott Percival
27f0e8f8bb DIRECTOR: Rework event ordering to be closer to original
Confirmed to work with:
- darkeye (race condition when viewing cutscenes or switching scenes in
  the menu)
- gadget (race condition after climbing the stairs in GA28)
- the7colors (intro cutscene timed with b_delay)
- wallobee (hotspot select gated with b_delay)
2024-01-30 23:30:11 +01:00
Scott Percival
2d1094a091 DIRECTOR: LINGO: Allow reversed bound args to b_spriteBox
Fixes the targeting lines in the storm chasing minigame of Team Xtreme:
Operation Weather Disaster.
2024-01-30 23:30:11 +01:00
Scott Percival
bfb10b7187 DIRECTOR: Fix bounds of kTransPushUp
Fixes artifacting when changing the dials in scene03 of Team Xtreme:
Operation Weather Disaster.
2024-01-30 23:30:11 +01:00
Scott Percival
5e18b53e93 DIRECTOR: Fix use-after-free in EXE loader 2024-01-30 23:30:11 +01:00
Scott Percival
b1e4e92ed2 DIRECTOR: Remove channel copying bodge
It is unclear what problem it was intended to solve, but it no longer
works now that 04cd1dccf9458e75fb146bffe1545fbfa5ed1862 has fixed the
frame loader to not reload if the frame hasn't changed.

Fixes movie playback in The Dark Eye.
2024-01-30 23:30:11 +01:00
Scott Percival
b23b084232 DIRECTOR: Add property breakpoints to debugger 2024-01-30 23:30:11 +01:00