95803 Commits

Author SHA1 Message Date
Eugene Sandulenko
17a480f1c5
NANCY: Fix potentially uninitialized variable 2023-10-10 23:55:06 +02:00
AndywinXp
b1950ac1b7 SWORD1: Avoid nullptr access 2023-10-10 21:49:16 +02:00
grisenti
93a03242e3 HPL1: Fix environment reflect shader 2023-10-10 19:14:17 +02:00
grisenti
16f5a32a3a HPL1: Add workaround for sliding door bug 2023-10-09 23:27:12 +02:00
Benjamin Funke
a60069a77f
GOB: Added version numbers to lit & playtoons game entries 2023-10-09 23:45:58 +03:00
AndywinXp
e7e18b79f7 SWORD1: Allow for immediate object look and combine
This stops George from walking or beginning its rest animation
when we perform an object look or combine on the top menu.
This is on the original code but we never implemented it...
2023-10-08 23:04:15 +02:00
AndywinXp
730af6eae6 SWORD1: Improve accuracy of menu bars handling
More specifically:
- Improve handling of menu bar fading during a palette fade;
- Fix _getOff not being handled if top menu was disabled.
2023-10-08 22:47:39 +02:00
grisenti
083a3f9211 HPL1: Disable non-portable features in AS library 2023-10-08 22:21:36 +02:00
grisenti
426609e01d HPL1: backport changes from newer AS library release
allows for non-portable features to be disabled
2023-10-08 22:19:10 +02:00
AndywinXp
772df43094 SCUMM: Fix post load fixes for v3 games
This prevents higher than 1 values for _userPut and
_cursor.state on reload.
2023-10-08 20:03:29 +02:00
AndywinXp
066ffdba60 SCUMM: Fix previous commit on inventory slots 2023-10-08 19:35:07 +02:00
AndywinXp
1091e82ed3 SCUMM: Do not fill inventory gaps before v4
Verified from INDY3 and ZAK disasms
2023-10-08 12:04:19 +02:00
Ralph Caraveo
e9b8394750 SCI: Provide additional errorString context on crash 2023-10-08 08:32:14 +02:00
Simon Delamarre
43b0e79864 GOB: Fix a long standing bug in "cleanupStr"
Because of bug introduced in 2009, the cleaned-up string was emptied
instead of being just normalized - a bit radical !

Known to fix the following easter egg in Adibou2: when creating a
character with a name from the Coktel team (e.g. "Cathy"), the birth
date is automatically filled with the real world value.
2023-10-07 23:59:41 +02:00
Kaloyan Chehlarski
1c34e1c614 AGS: Fix for surface blitting-related crashes
This is a second attempt at fixing the crashes that pop up
when attempting to blit past the bottom-right corner of a
surface. The previous commit caused a bunch of surfaces
to not blit their last row, and introduced more drawing
errors in scrolling scenes. Also, made sure the size check in
AVX2 code is 8 bytes everywhere, as this was also likely to
cause issues.
2023-10-07 23:32:11 +03:00
Kaloyan Chehlarski
8fc73a36a6 Revert "AGS: Fix blitting-related crash"
This reverts commit e2720d39f327bd152a472cf41b1272fb0e866d16.
The changes were based on a wrong assumption on where
the issue actually lies, and introduced a new problem:
some surfaces' bottom rows were getting entirely skipped.
2023-10-07 23:32:11 +03:00
Kaloyan Chehlarski
d542838664 Revert "AGS: Fix clipping issue in blitting code"
This reverts commit 90beb8887ec9f593e1a9ef6a67461d95d4b9ae4b.
The changes were based on a wrong assumption on
where the issue lies, and also introduced even buggier
behavior in scrolling scenes.
2023-10-07 23:32:10 +03:00
Kaloyan Chehlarski
7f84df864d AGS: Fix incorrect format check in generic blitting code
This fixes a bunch of errors in 5 Days a Stranger (and all other
games with 16-bit surfaces), including leaked memory and
incorrectly displayed text.
2023-10-07 23:32:10 +03:00
D G Turner
614507859e SCUMM: Fix Unused Variable GCC Compiler Warning 2023-10-07 20:15:45 +01:00
Kaloyan Chehlarski
e2720d39f3 AGS: Fix blitting-related crash
Fixed an off-by-one error in the non-scaling blit code, which
would result in an attempt to draw to one row beyond the
bounds of the dest surface (affects only the optimized paths).
2023-10-07 14:45:31 +03:00
Kaloyan Chehlarski
90beb8887e AGS: Fix clipping issue in blitting code
Fixed a clipping issue that would crash ScummVM when
attempting to blit to a surface with a negative dest x
(affecting both the optimized and non-optimized paths).
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
151561e6ee NANCY: Implement KeypadTersePuzzle
Implemented the short variant of KeypadPuzzle introduced
in nancy7. Also added the new flag that marks whether
we need to check the order the buttons were pressed in.
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
4aa0727f95 NANCY: Reset textbox scrollbar when adding new line 2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
3a72322d55 NANCY: Ensure objects' last position is cleared
Added a safeguard against an issue that could pop up
when moveTo() is called multiple times between draws.
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
67d36e46b7 NANCY: Add support for nancy7 special effects
The SpecialEffect action record got some significant changes
in nancy7, including a new type of fade, and the removal
of the predefined number of frames to fade. Testing with the
original is tough, since it runs way too fast on modern PCs,
and the new fade type is never actually used properly, so
the current implementation is only an approximation. Also,
I've discovered that prior to these changes the entire screen
got crossfaded, so the screenshotViewport() function is now
entirely removed.
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
f126ac3d5f NANCY: Fix intro sound in nancy3
It seems a scene change only interrupts the execution of
the rest of the ActionRecords in a scene starting from nancy4.
Adding the version check fixes the intro of nancy3, where
the narration wouldn't start playing.
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
6ed79ba757 NANCY: Add support for Bink video
nancy7 started using Bink videos for some SecondaryMovies
2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
6475f9bf6a NANCY: Animated Overlay loop improvement
Looping Overlays no longer speed up to "catch up" to the
current frame when a slowdown happens (e.g. when the
console is opened)
2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
85b1332ab7 NANCY: Do not retain satisfied status for dependencies
Fixed all instances of dependencies that, once satisfied, stay
that way forever. This fixes more complex event flag
dependency like the one in nancy7 scene 2805.
2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
a3f1695f2d NANCY: Implement terse Overlay variants
Added the short variants of Overlay, OverlayStaticTerse,
and OverlayAnimTerse, which were introduced in nancy7.
2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
7f16ac517d NANCY: Define kNoScene constant 2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
8b7c7f9b17 NANCY: Implement SetVolume action record 2023-10-07 14:45:21 +03:00
Walter Agazzi
8ba13647c5 AGS: Marked two games as unsupported 2023-10-06 18:41:43 +02:00
Walter Agazzi
ee8b65f46b AGS: Add some missing commercial games entries
+ Smasher (Ludum Dare 53 entry)
2023-10-06 17:54:19 +02:00
Walter Agazzi
ef7a5afe1a AGS: Add detection for lost & found and a couple alt versions
TRAC 14657-14656
2023-10-06 15:12:01 +02:00
sluicebox
25a7fc6ab1 SCI: Don't create PRN file in ECO2
Ticket #14640
2023-10-05 13:46:00 -07:00
sluicebox
0ff2062cfa SCI: Update flag debugger for ECO1 floppy 1.1 2023-10-05 13:46:00 -07:00
athrxx
32daf91abe SCUMM: (v7/8) - improve fix for bug no. 14616
(make it more consistent with original code behavior)
2023-10-05 18:00:41 +02:00
AndywinXp
96c4fe3648 SWORD1: Remove hack from fnEnterSection()
This originally fixed a crash at startup, but we seem
to handle everything correctly now, so this now works
as it should. Tested on DOS, Mac and PSX versions.
2023-10-05 09:23:23 +02:00
Benjamin Funke
0098994cf7
GOB: Added version numbers to more games
Added version numbers to geisha, lit, littlered, playtoons, urban, woodruff
2023-10-05 09:50:56 +03:00
AndywinXp
85a34350d2 SWORD1: Properly init virtual mouse coordinates
This ensures that when loading a savegame the top menu bar
doesn't enter in its open state by mistake because the mouse
coordinates are wrongly set as (0,0).
2023-10-05 00:02:04 +02:00
Matthew Jimenez
757e8343b7 UTLIMA8: Found test case to support the partial in front rule.
The rules that temporarily replaced this rule appear to only work well for x & y flats
2023-10-04 15:36:12 -05:00
Matthew Jimenez
4c1f8dfc59 ULTIMA8: Check x & y flat rules before z flat rules. 2023-10-04 15:36:12 -05:00
neuromancer
ba0db4171b FREESCAPE: some fixes for the rendering of the CPC demo of eclipse 2023-10-04 12:46:47 +02:00
neuromancer
6bb49f021d FREESCAPE: refactored headers for dark and eclipse to move them into their specific folders 2023-10-04 12:46:47 +02:00
Matthew Jimenez
4d1ec7ff2b ULTIMA8: Undo sort item bounds inclusive of right screenspace edge.
This caused too many paint dependency cycles in current code.
2023-10-03 23:09:48 -05:00
Kaloyan Chehlarski
d9e0bc954a NANCY: Move inventory-related records
Moved all ActionRecords related to the inventory to their
own source file.
2023-10-03 17:58:28 +03:00
Kaloyan Chehlarski
57c9f5f203 NANCY: Implement EnableDisableInventory
Implemented an action record type responsible for making
a specific item temporarily unusable.
2023-10-03 17:58:28 +03:00
Kaloyan Chehlarski
b0bd3f1c3f NANCY: Implement viewable items in nancy7
Added support for the new type of item introduced in nancy7,
which, instead of getting picked up, transports the player to
a new scene with a close-up view of the item.
2023-10-03 17:58:28 +03:00
Kaloyan Chehlarski
cb526a5eb3 NANCY: Fix kSceneCount dependency
It seems the kSceneCount dependency type has been
broken pretty much always, and the last attempt at fixing it
was a fluke. Also added checks for nancy7, since the devs
decided that, for whatever reason, the conditions need to
be flipped, and what was before a less-than check is now a
greater-than one, and vice versa.
2023-10-03 17:58:28 +03:00