neuromancer
f8a9cde697
FREESCAPE: clean up usage of spaces/tab in unlock.cpp
2024-02-05 15:37:11 +01:00
neuromancer
5b791014bb
FREESCAPE: more code for dos releases of eclipse
2024-02-05 14:28:36 +01:00
Eugene Sandulenko
ab790486e5
SCUMM: Fix warning
...
The enum has range restriction, which could lead to an undefined
behavior when using as a variadic parameter. This is indicated
by the following wanring:
passing an object that undergoes default argument promotion to 'va_start' has undefined behavior
Switching it to 'int' type solves the problem while keeping
the functionality
2024-02-05 12:38:10 +01:00
Eugene Sandulenko
c2fe238f20
FREESCAPE: Remove 'register' variable qualifier
2024-02-05 12:38:10 +01:00
Paul Gilbert
dbc231d6d9
M4: Fixes for playing footstep sounds
2024-02-04 15:50:40 -08:00
Paul Gilbert
e7a0adcae2
M4: Clarifying Digi code for loading and playing footsteps
2024-02-04 14:12:46 -08:00
Kaloyan Chehlarski
c49c10432c
NANCY: Respect text end marker
...
It appears the <e> marker also expects the text
renderer to ignore everything past it. Doing so fixes the
broken string in nancy7 scene 5770.
2024-02-04 16:29:55 +01:00
Kaloyan Chehlarski
1483cb1834
NANCY: Fix switching between item scenes
...
When inside an item's scene, opening another item's
scene no longer softlocks the game.
2024-02-04 16:29:55 +01:00
Kaloyan Chehlarski
5b15c4c6f0
NANCY: Fix incorrect navigation AR name
2024-02-04 16:29:55 +01:00
Kaloyan Chehlarski
898903f535
NANCY: Fix reading of SetVolume AR
2024-02-04 16:29:55 +01:00
Kaloyan Chehlarski
140a8a209b
NANCY: Get rid of PlaySecondaryVideo parameter
...
Was completely functionless, and multiple channels don't
seem to be used after TVD anyway.
2024-02-04 16:29:55 +01:00
Eugene Sandulenko
5963aeed14
JANITORIAL: Fix code formatting
2024-02-04 10:42:13 +01:00
Paul Gilbert
68127e8fd1
M4: Fix background monitors animation in room 801
2024-02-03 21:26:39 -08:00
Paul Gilbert
9331e68f1c
M4: Change field to _wilburMode in room 801
2024-02-03 21:23:35 -08:00
Paul Gilbert
41848a6b91
M4: Fix looking at field/island from the bridge
2024-02-03 20:21:47 -08:00
Paul Gilbert
375ba813a5
M4: Fix using Escape key to abort intro cutscenes
2024-02-03 20:13:12 -08:00
Paul Gilbert
33cfcd0f22
M4: Added anim enum to room 602
2024-02-03 18:43:19 -08:00
athrxx
4958fa03ea
SCUMM: (INDY3/MAC) - disable sample interpolation for music
...
It was meant as a feature, but seems not to be suitable for high notes.
Disabling it improves the playback quality.
2024-02-04 03:18:15 +01:00
athrxx
a680509332
SCUMM: (INDY3/MAC) - add internal 16 bit handling to sound player
...
(could improve the music slightly, but probably more in
theory than in practice)
2024-02-04 03:18:05 +01:00
Paul Gilbert
0710f13636
M4: Fix hampster wheel crash in test 2
2024-02-03 17:34:37 -08:00
Paul Gilbert
7b0f5dbac3
M4: Fixes for Vera and Burl in the diner
2024-02-03 17:15:34 -08:00
Kaloyan Chehlarski
283dcbb2f5
NANCY: Support nancy7 RippedLetterPuzzle
...
The puzzle got some changes in nancy7, allowing it to
only rotate 180 degrees or skip rotation entirely, and just
reorder elements instead. Also, a custom pick up graphic
can be used instead of the individual elements; this is used
in the folder reordering puzzle, where a picked up folder
is shown in full.
2024-02-04 01:30:30 +01:00
Kaloyan Chehlarski
fde77e4312
NANCY: Implement custom cursors
...
Added support for the two (four) custom cursor types.
It's unclear where exactly these get used, but it's most likely
in some puzzles.
2024-02-04 00:32:40 +01:00
Kaloyan Chehlarski
1357331fb0
NANCY: Accurately set sound flags in nancy8
...
In nancy8 the point at which flags in sounds got moved,
so now the flag is set at the beginning of the sound
instead of at the end.
2024-02-03 22:52:09 +01:00
Kaloyan Chehlarski
f456169631
NANCY: Implement PlaySoundEventFlagTerse
...
Used in nancy8; same as PlaySoundTerse, but also has
an event flag.
2024-02-03 22:52:09 +01:00
Kaloyan Chehlarski
358ea5a2cf
NANCY: Add "fix softlocks" option to nancy6 & 7
2024-02-03 22:52:09 +01:00
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