Commit Graph
96027 Commits
Author SHA1 Message Date
Kaloyan Chehlarski f0ba64cc08 NANCY: Add ciftree_export console command 2023-10-26 19:46:32 +03:00
Kaloyan Chehlarski 172984be7b NANCY: Fix nancy2 dialogue freeze
Fixed an issue in nancy2 where in the very first conversation
the scene wouldn't change after Nancy is done talking.
2023-10-26 19:46:32 +03:00
Kaloyan Chehlarski 74307deca6 NANCY: Rewrite resource handling
CifFile/CifTree classes have been completely rewritten and
moved to their own header file. ResourceManager is now
exclusively responsible for loading IFF files, making sure
loose .iff/.cif files take precedence before ones embedded
in a ciftree.
Also, completed work on the cif/ciftree exporting functions.
2023-10-26 19:46:32 +03:00
Benjamin Funke 9af37fedae GOB: Move Lost in Time non-interactive Demo to Demos 2023-10-25 22:26:41 +03:00
Benjamin Funke 126fa5498e GOB: use comma in saveloads 2023-10-25 22:25:52 +03:00
Scott Percival 076927c90f DIRECTOR: Fix rendering performance regression
BitmapCastMember::isModified would test to see if there had been a
palette change, and recommend a redraw. Because of a typo, the check
would always fail and require a redraw, meaning the presence of a
640x480 static image would require redrawing the entire screen.
2023-10-25 18:22:15 +02:00
Scott Percival 190406c8d1 DIRECTOR: Add debug timing for draw calls 2023-10-25 18:22:15 +02:00
Scott Percival eb6774fa4f DIRECTOR: Fix missing palette data in cast debugger 2023-10-25 18:22:15 +02:00
Scott Percival 1f684aaa7d DIRECTOR: Add quirk to inject save files into SearchMan
All file input/output via FileIO is written to the save game storage,
irrespective of destination path. Occasionally, some games will use the
Director file APIs (namely b_getNthFileNameInFolder) to check that a
file exists before trying to open it. This quirk allows you to specify a
path where save game files would be stored, and inserts file stubs
into CachedArchive with the filenames from the save game storage.

Fixes save game detection in The Dark Eye.
2023-10-25 18:22:15 +02:00
Scott Percival c973bc7db0 DIRECTOR: Update darkeye to use 32-bit colour 2023-10-25 18:22:15 +02:00
Scott Percival b4dd5bbace DIRECTOR: Fix b_getLast behaviour when list is empty
Fixes turning around near the front door in The Dark Eye.
2023-10-25 18:22:15 +02:00
Walter Agazzi 3fccc1e8b5 DIRECTOR: Add kommissar kugelblitz 1-2 entry 2023-10-25 16:55:36 +02:00
Little Cat 68826ce2f7 SCUMM HE: Send last update flag on game results. 2023-10-24 22:16:45 -03:00
Simon Delamarre 9258721a09 GOB: Increase the (fake) amount of free memory returned by getFreeMem in Adibou2
This unlocks a nicer intro music.
2023-10-24 23:34:31 +02:00
Simon Delamarre a7da058940 GOB: Allow to skip the "bird table" animation in Adibou2 hollow tree
This animation is CPU-bounded in the original, making it run too fast on recent machines.
In our implementation, however, there are some sleep() calls on the way making it run 
slightly too slow, so we make it skippable as a workaround.
2023-10-24 23:15:36 +02:00
Simon Delamarre 446e2a96a8 GOB: Fix formatting of some lengthy "if" clauses 2023-10-24 23:15:36 +02:00
Cameron Cawley 6ee5aad258 GRAPHICS: Remove use of TransparentSurface in NinePatch code 2023-10-24 20:16:34 +02:00
Eugene Sandulenko 7fa7f68308 SLUDGE: Fixes to ManagedSurface switch. Courtesy of ccawley2011 2023-10-24 19:48:24 +02:00
polyesterswing b292e202ce SLUDGE: Replace TransparentSurfaces with ManagedSurfaces 2023-10-24 18:31:31 +02:00
Benjamin Funke e257c23a07 GOB: add comma at the end of the line for save.inf 2023-10-24 09:52:39 +03:00
Walter Agazzi e501076c61 AGS: Add detection for new games + perfecttides 2.0.1 2023-10-23 22:13:05 +02:00
Walter Agazzi d61273277b WATCHMAKER: Add detection entry for italian version
Reported in TRAC #14677
2023-10-23 22:13:05 +02:00
Kaloyan Chehlarski ce9a9a2c0f NANCY: Fix rendering of Autotext Overlays
It appears that an Overlay's _srcRects are junk data when
the overlay is in Autotext mode. This commit makes sure
they're rendered correctly.
2023-10-23 22:32:39 +03:00
Kaloyan Chehlarski faaba2aae8 NANCY: Forcefully reactivate Autotext records when loading save
Autotext records generate surfaces that are used by other
action records. When loading from a save, the Autotext
will already be marked as "done", and thus wouldn't generate anything, resulting in a crash. This commit makes
sure this doesn't happen.
2023-10-23 22:32:39 +03:00
Kaloyan Chehlarski e2bc4a7bcd NANCY: Make sure getCurFrame() is correct for AVF videos
This fixes an edge case in SecondaryMovie where a frame
flag wouldn't fire when playing in reverse.
2023-10-23 22:32:39 +03:00
Kaloyan Chehlarski e23b573e7a NANCY: Implement BBallPuzzle
Implemented the action record type responsible for
nancy6's basketball minigame.
2023-10-23 22:32:39 +03:00
Kaloyan Chehlarski 1da8f422d2 NANCY: Prevent crash when destroying movie 2023-10-23 22:32:39 +03:00
Kaloyan Chehlarski 13d95f7bc6 NANCY: Fix SecondaryMovie reading
A recent addition to the class was missing a game version
check, ensuring nancy6 and earlier movies would always crash
2023-10-23 22:32:39 +03:00
Benjamin Funke 4c9c059175 GOB: added version numbers to Gob2 & Gob3 demos
The Demos are from https://www.scummvm.org/demos/
2023-10-23 20:57:25 +03:00
Walter Agazzi 33e7eccd04 HPL1: Fix partial detection entry, cleanup indentation 2023-10-23 13:29:41 +02:00
Walter Agazzi 74f0f5bf9b AGS: Fix loop flag not passed when loading mp3 files
Fixes a small oversight in commit
a4bf82bd35

Fixes TRAC #13757
2023-10-22 23:27:09 +02:00
grisenti 8d51b5726b HPL1: Add game variants to detection 2023-10-22 23:02:36 +02:00
Benjamin Funke 0f3b602b90 GOB: added version numbers to playtoons 4 & 5 2023-10-22 20:58:12 +03:00
Scott Percival 3a3db20267 DIRECTOR: Mark Wrath of the Gods as supported 2023-10-22 17:19:54 +02:00
Scott Percival e9ba46db1b DIRECTOR: Add kTheVideoForWindowsPresent 2023-10-22 17:19:54 +02:00
Scott Percival b1a180739e DIRECTOR: Add patch to fix boar hunt in Wrath of the Gods 2023-10-22 17:19:54 +02:00
Scott Percival 490cc0aeb9 DIRECTOR: Add more debug output to preprocessor 2023-10-22 17:19:54 +02:00
Scott Percival bf546a5afb DIRECTOR: Add support for factory methods to debugger 2023-10-22 17:19:54 +02:00
Scott Percival d493c0beaa DIRECTOR: Make TextCastMember::formatInfo load in the STXT data 2023-10-22 17:19:54 +02:00
Scott Percival ac597ab95e DIRECTOR: Add factory methods to disassembler 2023-10-22 17:19:54 +02:00
Scott Percival 5f3ebad4d2 DIRECTOR: Add workaround for blank SCVW chunks 2023-10-22 17:19:54 +02:00
Scott Percival 432d2b07b7 DIRECTOR: XOBJ: Add WinInfo stub 2023-10-22 17:19:54 +02:00
Athanasios Antoniou c9c03d6995 KINGDOM: Fix skipping and quitting demo movie (#5372)
The detection that the demo movie was skipped is done by the external flag _demoMovieSkipped

This is not as clean as it would be updating a reference parameter variable from within playMovie()
but that would require changing the signature of playMovie and all of its calls
2023-10-22 02:34:30 +02:00
Kaloyan Chehlarski 23e58fc250 SLUDGE: Fix another crash when drawing text
This is a more complete fix for the crash that happens
when attempting to draw a sprite with a dimension of
size 0 (e.g. the space character in Out of Order's font). This
fix targets the other two functions that can draw text,
pasteSpriteToBackDrop() and burnSpriteToBackDrop().
2023-10-22 00:25:56 +03:00
Matthew Jimenez 8b9cb4e63c ULTIMA8: Add Box::isBelow for position checking 2023-10-21 14:35:03 -05:00
Kaloyan Chehlarski 0622b3c341 SLUDGE: Fix crash when drawing text
The space character in Out of Order has a height of 0,
which caused a divide by zero error further down the chain
in the blitting code.  Instead of attempting to draw,
fontSprite() now simply skips them.
2023-10-21 20:36:01 +03:00
Matthew Jimenez f74b687969 ULTIMA8: Remove unneeded version of surface search 2023-10-21 12:24:25 -05:00
Matthew Jimenez 02c5a49090 ULTIMA8: Fix logical OR usage in ChunkOnScreen 2023-10-21 12:24:25 -05:00
Matthew Jimenez 9e45e7b31f ULTIMA8: Add overlapsXY to box similar to item class. 2023-10-21 12:24:25 -05:00
Matthew Jimenez efb44fc2d1 ULTIMA8: Replace use of rect with box for world coordinate checks.
These rect usages may be the cause of previous issues attempting to replace Ultima8::Rect with Common::Rect.
2023-10-20 19:30:36 -05:00