75207 Commits

Author SHA1 Message Date
Eugene Sandulenko
7d61637afd
SLUDGE: Renamed debug channels and disabled the pre-enabled ones 2021-05-12 23:19:19 +02:00
Paul Gilbert
59c9d26963 AGS: Fix Kathy Rain demo detection entry 2021-05-11 22:10:01 -07:00
Paul Gilbert
f13617f3e3 NUVIE: Add back missing check for skip_intro 2021-05-11 21:41:10 -07:00
Thierry Crozat
43e4991a97 AGS: Move Kathy Rain detections to commercial games section 2021-05-11 12:42:52 +01:00
Thierry Crozat
cc5d78b957 AGS: Use modified agsspritefont plugin for the Kathy Rain demo 2021-05-11 12:42:52 +01:00
Eugene Sandulenko
991b579fce
PINK: Switch whole engine to MemoryReadStream 2021-05-10 18:30:33 +02:00
Eugene Sandulenko
a2b1164fe9
PINK: Preload sounds to avoid race condition.
Since we were reading directly from the ORB file, during video playback
we were reading both sound and video which often was leading to
the incorrect reads
2021-05-10 16:01:23 +02:00
Eugene Sandulenko
84cc106cc5
SLUDGE: Plug memory leak 2021-05-10 13:58:25 +02:00
Eugene Sandulenko
77bfebb317
SLUDGE: Fix potential NULL dereference 2021-05-10 13:58:25 +02:00
Eugene Sandulenko
6dcf0939bf
SLUDGE: Fix potential buffer overrun 2021-05-10 13:58:25 +02:00
Matthew Duggan
f7e07c0eb0 ULTIMA8: Fix uninitialized members identified by Coverity 2021-05-10 14:54:16 +09:00
Matthew Duggan
ebbfb88174 ULTIMA8: Fix array size, thanks Coverity. 2021-05-10 14:51:37 +09:00
Matthew Duggan
b73d04844e ULTIMA8: Avoid small leak on invalid data 2021-05-10 14:51:05 +09:00
Matthew Duggan
f456e268ec ULTIMA8: Avoid potential null reference 2021-05-10 14:50:36 +09:00
Matthew Duggan
927e7ca3b0 ULTIMA8: Add comments about some Remorse intrinsics 2021-05-10 11:47:51 +09:00
Matthew Duggan
4cb6c0a087 ULTIMA8: Add a TODO for No Regret 2021-05-10 11:47:51 +09:00
Eugene Sandulenko
ef4f019125
SAGA: Added support for Russian ITE fan-translation 2021-05-10 01:26:21 +02:00
Matthew Duggan
3febff9639 ULTIMA8: Fix off-by-one glob egg calculation for Crusader
This caused elevator doors to not close properly as the poles either side were
off by 1 pixel and blocked the creation of the door objects.
2021-05-09 17:41:31 +09:00
Matthew Duggan
47d8b281c7 ULTIMA8: Only move Crusader camera if position is valid.
This avoids strange results if you try to move the camera while the avatar has
temporarily been moved to 0,0,0.
2021-05-09 17:41:05 +09:00
Matthew Duggan
cf7ae46475 ULTIMA8: Adjust Crusader step tests to match original 2021-05-09 13:09:08 +09:00
Matthew Duggan
6f5538ab4d ULTIMA8: Fix actor anim speed in Crusader 2021-05-09 12:04:25 +09:00
Matthew Duggan
26f936510f ULTIMA8: Implement "cruStasis", stops some key events
The main bugs that this fixes are when using a remote camera:
* Z should not recenter camera on avatar
* Escape should close remote viewing, not open menu
2021-05-09 09:08:31 +09:00
Matthew Duggan
bda1466e0a ULTIMA8: Fix Crusader items reappearing after exploding 2021-05-09 08:17:01 +09:00
Matthew Duggan
137fa8ea29 ULTIMA8: Implement 'grab' operation for Crusader games
Since it only works on loose items and not for searching boxes etc, it's
actually not so useful, but implemented for completeness.
2021-05-09 07:48:26 +09:00
Matthew Duggan
cf085788c2 ULTIMA8: Add Crusader key for using energy cube
Had to reassign the "paint editor items" debug key because it was using 'e',
which we need.
2021-05-09 07:31:43 +09:00
Matthew Duggan
d83ccb7e9b ULTIMA8: Default to no mouse cursor in Crusader 2021-05-09 07:31:43 +09:00
Matthew Duggan
f5c4374888 ULTIMA8: Refactor so all Crusader movies get subtitles
Previously there was a bit of duplication, and Weasel and the intro movies
didn't get subtitles.  Cleaned up the code a bit and now all are treated
consistently.
2021-05-09 07:31:43 +09:00
Matthew Duggan
531ed6865b ULTIMA8: Add comment about iteration order
This function looks tempting to "optimize", by changing the order, so add a
warning for new adventurers.
2021-05-09 07:31:43 +09:00
Eugene Sandulenko
62dc0ff8bd
SLUDGE: Fix zbuffer ordering 2021-05-08 13:43:29 +02:00
Eugene Sandulenko
8880eceaa7
SLUDGE: Reduce header dependency 2021-05-08 13:43:29 +02:00
Eugene Sandulenko
9759e9d131
SLUDGE: Dump zbuffer data 2021-05-08 13:43:29 +02:00
Eugene Sandulenko
ef02391959
SLUDGE: Properly dump floor data 2021-05-08 13:43:29 +02:00
Eugene Sandulenko
f06c1764af
SLUDGE: Remove another unneeded include 2021-05-08 13:43:29 +02:00
Kaloyan Chehlarski
742edc40ec NANCY: Add detection for Russian variant of Secrets Can Kill
Added a detection entry for the Russian translation of Nancy Drew:
Secrets Can Kill.
2021-05-07 23:09:53 +03:00
Kaloyan Chehlarski
de43aa79c1 NANCY: Disable sticky cursor in The Vampire Diaries
TVD doesn't have a sticky cursor when clicking the viewport edges,
and the feature is now disabled for that game.
2021-05-07 23:09:52 +03:00
Kaloyan Chehlarski
805d7615a0 NANCY: Show correct exit cursor
In TVD the exit cursor gets replaced when holding an item, whereas
nancy1 always shows it. This commit makes both games follow their
respective correct behavior.
2021-05-07 23:09:52 +03:00
Kaloyan Chehlarski
1876fd745a NANCY: Fix disabled input after state change
Fixed an edge case where input would stay disabled after changing the
game state, rendering the game unplayable.
2021-05-07 23:09:52 +03:00
Kaloyan Chehlarski
9ede2f3c91 NANCY: Fix single frame with wrong palette in The Vampire Diaries
Fixed an issue where the screen would render with an incorrect
palette once before switching to the correct one in TVD.
2021-05-07 23:09:52 +03:00
Kaloyan Chehlarski
913f4502a6 NANCY: Implement palette change action record types
Implemented the PaletteThisScene and PaletteNextScene action record
types, which change the viewport video's palette in TVD.
2021-05-07 23:09:52 +03:00
Kaloyan Chehlarski
7ac4cb807a NANCY: Fix PlayDigiSoundAndDie action record in The Vampire Diaries
PlayDigiSoundAndDie now loads correctly in The Vampire Diaries.
2021-05-07 23:09:51 +03:00
Kaloyan Chehlarski
3013d07e81 NANCY: Implement PlaySoundPanFrameAnchorAndDie action record
Implemented the PlaySoundPanFrameAnchorAndDie action record
type and added support for panning audio to the sound manager.
2021-05-07 23:09:51 +03:00
Torbjörn Andersson
40a7ebcc81 SCUMM: Add Macintosh variant of Monkey Island 1
For detection purposes, the Mac variant is the same as the CD variant
except without audio tracks. Otherwise, ScummVM will warn about the
"missing" audio files when the game starts.

Also added missing file size for one of the Mac verions. I have that
version, so this should be correct.
2021-05-07 13:18:49 +03:00
Matthew Duggan
6f483eb53b ULTIMA8: Don't reset FIRSTSTEP on non-step animations
Confirmed in both U8 and Crusader, single steps should alternate left foot /
right foot, even when there is a stand animation in-between.
2021-05-07 18:52:16 +09:00
Matthew Duggan
7338e7ab02 ULTIMA8: Fix animations used for Crusader combat rolls 2021-05-07 18:52:11 +09:00
Matthew Duggan
dc8a9487ec ULTIMA8: Return area search items in same order as original
For most situations this should make no difference, but Crusader: No Remorse
has some behavior where it relies on the items being returned in x/y scan
order, not y/x.

Particularly, in Mission 2 there is a camera which searches for an event
trigger with qlo == 5.  There are 2 triggers on the map with that qlo, but the
code previously returned them in the wrong order so the correct event would not
be triggered and the game could not be continued.

This may have previously caused other subtle bugs too.
2021-05-07 12:41:51 +09:00
Matthew Duggan
a00ec35068 ULTIMA8: Fix Crusader detpac usage. 2021-05-07 10:56:37 +09:00
Matthew Duggan
014ad8f23a ULTIMA8: Avoid possible assertion on avatar death 2021-05-07 10:56:37 +09:00
Matthew Duggan
764f310f8a ULTIMA8: Crusader camera centre button improvement
The "centre on avatar" button should use the centre of the avatar, not his
feet.
2021-05-07 10:56:37 +09:00
Matthew Duggan
a1880b8220 ULTIMA8: Remove text from inventory gump when Crusader dies 2021-05-07 10:56:37 +09:00
Paul Gilbert
6a9f01fbd6 AGS: Mark other game detection macros as testing 2021-05-06 18:16:50 -07:00