Commit Graph
145539 Commits
Author SHA1 Message Date
Kaloyan Chehlarski 73b66c60f8 BACKENDS: WII: Always retain cursor palette
Calling setMouseCursor with a non-palette cursor no longer
clears the cursor palette, allowing a subsequent call with a
paletted cursor to re-use it. This fixes Trac defect #13895.
The approach taken was to just copy what the OpenGL
backend was doing in the same situation.
2023-10-02 12:19:31 +03:00
Kaloyan Chehlarski 7aae7ec661 NANCY: Implement GotoMenu
Added support for an action record that boots the player
to the main menu.
2023-10-02 12:19:31 +03:00
Kaloyan Chehlarski 7e6d37276b NANCY: Add support for nancy7's "More Nancy Drew!"
Made changes to BSUM reading, MainMenu and Scene states
needed to support the promo button in nancy7's main menu.
2023-10-02 12:19:31 +03:00
Kaloyan Chehlarski 5ecfef2a2e NANCY: Add support for TSUM chunks
Added support for the short variant of a scene summary,
as introduced in nancy7.
2023-10-02 12:19:31 +03:00
Kaloyan Chehlarski ea1d0d2a5c NANCY: Init sound listener vector in conditional dialogue
Added default sound vectors for all conditional dialogue
and goodbyes. This _probably_ doesn't affect much, but
is still good to have.
2023-10-02 12:19:30 +03:00
Kaloyan Chehlarski a4e7dfee97 NANCY: Block SoundManager from creating Scene state
Added a check inside SoundManager that makes sure it
doesn't prematurely create a new Scene state. This fixes
the chain reaction that results in the load/save menu having
clickable Save buttons.
2023-10-02 12:19:30 +03:00
Kaloyan Chehlarski f504717f70 DEVTOOLS: Add nancy7 data to create_nancy 2023-10-02 12:19:30 +03:00
Kaloyan Chehlarski 24f1044ed3 NANCY: Implement additional save dialogs
Added support for the dialogs asking if you want to
overwrite an existing save, or load a save without saving first
(both introduced in nancy6).
2023-10-02 12:19:30 +03:00
Kaloyan Chehlarski 2d68dd87a3 NANCY: Main loop fixes
Made sure that the main loop doesn't run for a frame longer
than it should when quitting the game. Also fixed the checks
for suppressed graphics so they now actually work.
2023-10-02 12:19:30 +03:00
Benjamin Funke ea5b6b3d7a GOB: Added version numbers to gob2, gob3 and inca2 game entries (#5343) 2023-10-02 11:39:14 +03:00
Giovanni Cascione f9e91aa873 LIBRETRO: BUILD: add ps3 to gitlab CI/CD 2023-10-02 10:21:08 +02:00
Matthew Jimenez 478f821b7f ULTIMA8: Improve tolerance check when comparing Z in sort item.
Updated unit test with a better test case & solves a paint dependecy cycle.
2023-10-01 21:30:26 -05:00
shkupferandshkupfer 9fed3e40b9 SCUMM HE: Baseball '01 competitive online play mods (#5341)
* SCUMM HE: BYB01 hit power mod for online competitive play

* SCUMM HE: BYB01 pitch location hit quality mod for competitive online play

* SCUMM HE: Unindent switch case statements

* SCUMM HE: BYB01 online mod: sprint on halfspeed popup

* SCUMM HE: BYB01 online mod: fewer sprints for top speed

* SCUMM HE: Fix BYB01 online turnaround score bug

* SCUMM HE: Add break statements to ensure correct hit quality returned

---------

Co-authored-by: shkupfer <shkupfer@ncsu.edu>
2023-10-01 20:24:07 -04:00
Eugene Sandulenko e1870d6efc SLUDGE: Improved execution logs 2023-10-02 00:13:55 +02:00
Matthew Jimenez c089416b38 ULTIMA8: Fix paint order of tapestry items to match original game.
Switching to screenspace checks may change order for items we have not tested, but may also be correct now.
2023-10-01 15:00:21 -05:00
Matthew Jimenez 72e2ea8b7d ULTIMA8: Exclude translucent items from also marked as occluding. 2023-10-01 15:00:21 -05:00
Matthew Jimenez 494a05a507 ULTIMA8: Update adjoined occlusion to retain a height based on the minimal height of all included items 2023-10-01 15:00:21 -05:00
neuromancer 74cad91d12 FREESCAPE: initial support for the eclipse demo for cpc 2023-10-01 21:01:02 +02:00
Giovanni Cascione d1f15b9fd7 LIBRETRO: BUILD: add emscripten to gitlab CI/CD 2023-10-01 15:25:00 +02:00
Giovanni Cascione 4cfd17aaf4 LIBRETRO: BUILD: add wii to gitlab CI/CD 2023-10-01 15:24:47 +02:00
Walter Agazzi 43d2bbf477 AGS: Update heroinesquest entry + add a couple new games 2023-10-01 12:58:38 +02:00
Kaloyan Chehlarski 8eff5a7f43 NANCY: Disable sound in nancy6 movies 2023-10-01 13:30:05 +03:00
Kaloyan Chehlarski 7e4c4f3287 NANCY: Improve support for nancy6 TOD dependency
The time of day in nancy6 now depends on values for day
start and end found inside BSUM. We now correctly read
and use those.
2023-10-01 13:30:05 +03:00
Kaloyan Chehlarski 4e2fc958c8 NANCY: Fix inventory "can't" caption in nancy6
Like many other places, it seems the captions for item
"can't" sounds can also be broken up into sub-strings.
We now assemble these correctly, which fixes the
item 4 caption in nancy6.
2023-10-01 13:20:35 +03:00
Kaloyan Chehlarski 206a9b3285 NANCY: Add support for nancy6 AddInventoryNoHS
nancy6 added some additional functionality to the
AddInventoryNoHS record, which is now supported.
2023-10-01 13:20:35 +03:00
Kaloyan Chehlarski eca40b5401 NANCY: Remove irrelevant output in console command
Removed a debug text line which must've been the result
of an incorrect copy-paste.
2023-10-01 13:20:34 +03:00
Kaloyan Chehlarski 62ea6f4e21 NANCY: Implement MouseLightPuzzle
Implemented the ActionRecord type responsible for the
nancy6 sequence where the player holds a weak light
(which follows the cursor) in the dark and must use it
to illuminate the path ahead.
2023-10-01 13:20:34 +03:00
AndywinXp bba3e8d6ba SWORD1: Fix typo in a comment 2023-10-01 09:58:07 +02:00
AndywinXp 70b6da9211 SWORD1: Apply script patch found in executable and source
This patch is available in every executable after the
original UK one. Its purpose is to turn off scripts which
were causing issues by continuing running past their scope.
The patch, as descripted within the the original source
code, checks if the game is past the Syria section,
and if so it checks if the Market Stall section is still
alive, and if so it closes both the section (45) and
the Mega object for Duane (134), effectively terminating
their scripts.
2023-10-01 09:33:33 +02:00
Matthew Jimenez fb9cc2365b ULTIMA8: Add debug message for unexpected paint order.
This is an indication of a paint dependency cycle.
2023-09-30 16:05:21 -05:00
Matthew Jimenez ad8fee8fde ULTIMA8: Add unit test for sort item overlaps 2023-09-30 15:59:28 -05:00
Matthew Jimenez b34e683d38 ULTIMA8: Cleanup checks for X & Y flat sort items 2023-09-30 13:45:21 -05:00
Matthew Jimenez 8ad443bfb7 ULTIMA8: Update sort item tests to use multiples of footpad calculations. 2023-09-30 13:45:21 -05:00
AndywinXp abd2a3d630 SWORD1: Protect concurrent menu bar elements accesses
Still part of #14638. I have began measuring for slowdowns
caused by mutexes, on slow Virtual Machines, and luckily I
have found none for now...
2023-09-30 19:54:13 +02:00
Kaloyan Chehlarski f3fe8f251f NANCY: Increment scene counts on scene exit
The counters for how many times a scene has been
visited now get incremented only when we exit it. This
makes sure the counter is not incremented when loading a
save, and makes sure dependencies that require the
sceneCount to be equal to 0 can actually execute
(e.g. nancy6 scene 2319)
2023-09-30 17:56:27 +03:00
Kaloyan Chehlarski 3db0bcbbde NANCY: Implement TwoDialPuzzle
Added support for the TwoDialPuzzle action record, which
is an incredibly simple puzzle with two dials that need to
be rotated in the correct position.
2023-09-30 17:56:27 +03:00
Kaloyan Chehlarski 6ab03d5733 NANCY: Fix sound delay in TurningPuzzle 2023-09-30 17:56:27 +03:00
Kaloyan Chehlarski 16bfcd08e4 NANCY: Fix nancy6 alarm clock sound
Fixed an issue where the alarm clock's buttons sounds
wouldn't play in nancy6, since they were using the same
channel as the sound that should play when the alarm has
been set. Also, the alarm setting sound now actually plays.
2023-09-30 17:56:27 +03:00
Kaloyan Chehlarski d6bd820352 NANCY: Fix reading of nancy6 Raycast chunks 2023-09-30 17:56:27 +03:00
Kaloyan Chehlarski e9d63bca07 NANCY: Fix PasswordPuzzle reading in nancy6 2023-09-30 17:56:27 +03:00
Ralph Caraveo eeddc6fce2 SCI: Fix crash in Island of Dr. Brain microscope puzzle - bug 14546
When clicking "buy clue" in the microscope puzzle, the game could crash with a division by zero in
cartesian:buyClue, depending on the initialization of the puzzle itself. Because the initialization is
random and non-deterministic, this crash would only occur very rarely
2023-09-30 12:41:28 +03:00
ScummVM-Translations ff8fdf8cd7 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-09-30 09:27:01 +00:00
sluicebox e8c7f6f7e8 SCI32: Reuse DrawLists when rendering frames
When converting DrawList to use Common::Array in the previous commit,
I couldn't see a reason to not reuse them in frameOut() and avoid
the extra heap allocations on every frame.
2023-09-30 12:26:46 +03:00
sluicebox b016bcdf70 SCI32: Fix DrawList overflow with a dynamic array
This is an engine limitation that also exists in SSCI,
but it can be exceeded under normal conditions.

Fixes crash at LSL7 pool entrance, bug #14632
2023-09-30 12:26:46 +03:00
ScummVM-Translations ed8543ab69 I18N: Update translations templates 2023-09-30 07:11:17 +00:00
AndywinXp 258d61f63a SWORD1: Remove code altering live_list[]
What was I thinking when I added this?!
This code unconditionally enters sections, with the risk
of them being active throughout the whole game, without
ever being closed. I sure love hearing the Irish Pub fiddle
player from within the ending scene with the Neo-Templars. :-)
2023-09-30 09:11:03 +02:00
Matthew Jimenez 0d0555bd14 ULTIMA8: Add tolerance when comparing Z in sort item.
X & Y flats are often offset below the top of the floor they sit on but by less than the multiplier used when calculating the footpad
2023-09-29 23:02:03 -05:00
Matthew Jimenez a899156273 ULTIMA8: Move SortItem methods from the header to a cpp file. 2023-09-29 20:47:27 -05:00
Matthew Jimenez b21876bd9d ULTIMA8: Move sort item calculations to setBoxBounds 2023-09-29 18:11:42 -05:00
Matthew Jimenez 3bd21ab50c ULTIMA8: Add more sort item tests and fixes for flat items 2023-09-29 17:27:23 -05:00