Commit Graph

592 Commits

Author SHA1 Message Date
antoniou79
6f38a68c11 BLADERUNNER: Use uppercase for overlay names
This is done for code consistency only
2023-07-29 14:25:41 +03:00
antoniou79
3f4767c41f BLADERUNNER: Check for nullptr _currentScript in SceneScript methods 2023-07-11 20:14:59 +03:00
antoniou79
0f7ee148ea BLADERUNNER: Methods for debugging animations 2023-07-05 14:57:58 +03:00
antoniou79
ea23048d60 BLADERUNNER: Better handling of cut overlay
Also some minor code changes (renamed a few variables and added more explanatory comments)
2023-07-05 14:29:33 +03:00
antoniou79
f15f37eb97 BLADERUNNER: RC: Restore a roach in UG15 2023-07-05 14:29:33 +03:00
antoniou79
df8b73cfa9 BLADERUNNER: Fix overlay queuing in BB07
For the computer monitor when turned on
2023-05-17 14:32:11 +03:00
antoniou79
d0f77bb43f BLADERUNNER: Fix glitch in CT01 mainloop 2023-05-05 15:06:44 +03:00
antoniou79
b60f967eaf BLADERUNNER: Don't spare Zuben if he hits McCoy
Original engine bug. Zuben could slash McCoy multiple times and McCoy would still spare him.

Re-uses the kFlagMcCoyShotAtZuben flag that prevents McCoy from sparing Zuben.
2023-05-05 10:16:38 +03:00
antoniou79
de0c1ff238 BLADERUNNER: Comment fix and notes for some Luther cues 2023-04-24 09:43:51 +03:00
antoniou79
c9016cb2f2 BLADERUNNER: Notes and minor fixes for sound
Also added a dedicated debugSound channel for debugging

Fixes include closer conformance to original code (for entering/exiting ESPER and VK), and a change in assigning a track slot to a new track with priority equal to the lowest existing (it will now take the place of the old stored track). Also Music::adjustVolume() now takes the target volume as argument and stores it in the track volume field similar to how Music::adjustPan works.
2023-04-24 09:43:51 +03:00
antoniou79
d874de2e5c BLADERUNNER: RESTOREDCONTENT: Missing quotes for Dispatch, McCoy
Dispatch is in Steele (AI) at end of Act 3, McCoy's quote is in Runciter (AI) for fake tiger

Also fixed the scene id for RC02 in chapter 4 for debugger's array (sceneList)
2023-02-02 23:45:18 +02:00
antoniou79
59ed5a0ef1 BLADERUNNER: RESTORED CONTENT: NR04 quote for DEU-ESP-ITA 2023-02-02 23:20:42 +02:00
antoniou79
001df3d1f5 BLADERUNNER: RESTOREDCONTENT: Quote for Lance in UG16
Quote does not apply in German version of the game

Also fixed UG16's setId in debugger sceneList array
2023-02-02 22:39:25 +02:00
antoniou79
873cdb5170 BLADERUNNER: Restore content and localization fixes in RC04
Also added an info note comments to cmdScene() for debugger and to enterChapter() of chapters.cpp
2023-02-02 21:42:08 +02:00
antoniou79
a2fd0afadf BLADERUNNER: RESTOREDCONTENT: Fix McCoy's inner talk if confessed 2023-02-02 15:42:53 +02:00
antoniou79
f5b7fec67c BLADERUNNER: Fix inconsistent dialogue in KIA
Includes minor restored content quotes for Zuben and McCoy dialogue about Runciter and a couple of related bug fixes
2023-02-02 15:29:22 +02:00
Hubert Maier
2ea5bfe695
BLADERUNNER: Correct spelling mistake
comming -> coming
2022-10-27 15:56:09 +02:00
antoniou79
fbdee822db BLADERUNNER: CUTCONTENT: Restore Guzza quote in UG18 2022-10-14 11:33:28 +03:00
antoniou79
3ef467dafc BLADERUNNER: Fix inconsistency for Guzza's quote in UG18
KIA clue kClueBriefcase plays this quote, but in-game dialogue was skipping it
2022-10-14 11:33:28 +03:00
antoniou79
91fb74486f BLADERUNNER: CUTCONTENT: Skip Runciter quotes 1670 and 1680 in DEU version 2022-08-07 20:59:51 +03:00
antoniou79
dc17d7e465 BLADERUNNER: Gracefully handle a case for Grigorian's arrest
Addresses bug #13727 which only happens in vanilla mode, and only when CDFRAMESx files are used instead of a single HDFRAMES

This bug can happen since by (my) mistake the kClueGrigoriansResources clue could be acquired in vanilla mode in ScummVM 2.5.0, 2.5.1 and 2.6.0.
That clue is supposed to only be part of the restored content mode.
2022-07-19 23:05:12 +03:00
antoniou79
605fce57bb BLADERUNNER: CUTCONTENT: Move Grigorian's resources clue to cut content 2022-07-19 22:24:49 +03:00
antoniou79
cbdfe3b748 BLADERUNNER: Fix potential missing of blinking led for phone message 2022-07-07 15:13:24 +03:00
antoniou79
be583aaa8b BLADERUNNER: Early subtitles queuing system
To be used for secondary subtitles, for displaying developer commentary
2022-07-06 17:19:59 +03:00
antoniou79
f64ac55443 BLADERUNNER: Support font hd and subtitles code cleanup
In preparation for subtitles v7 and queuing system
2022-07-06 14:46:57 +03:00
antoniou79
cb62a020d7 BLADERUNNER: Clear maze score when exiting maze 2022-07-06 13:38:04 +03:00
antoniou79
66988edf3f BLADERUNNER: Clarification comment for a case in UG18 2022-07-06 13:34:51 +03:00
antoniou79
42a0025aed BLADERUNNER: Support secondary subtitles
Main for debugging and fun stats in shooting range and VK test for now
2022-06-30 01:00:06 +03:00
antoniou79
bf12a1ecdf BLADERUNNER: Fix pathfinding in PS05 2022-03-16 14:20:35 +02:00
antoniou79
f4a0db227f BLADERUNNER: Check Steele presence in KP03 for explosion
In the original code Steele's presence was not ensured and could potentially lead to buggy behavior
2022-01-09 15:42:18 +02:00
antoniou79
62e01630d7 BLADERUNNER: RESTOREDCONTENT: Properly set Grigorian's Note flag 2021-12-28 19:42:27 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
antoniou79
17a1c5b2cc BLADERUNNER: Use enum labels for two McCoy goals 2021-12-12 13:31:40 +02:00
antoniou79
4c8c5f12fa BLADERUNNER: Fix broken Leary talk animations
Should fix bug #13072

The code for Leary's AI script ChangeAnimationMode() was re-checked against the c file produced from our dissassembly of the AI-ACT1-23 dll.
2021-11-14 20:19:43 +02:00
antoniou79
41cd647e9e BLADERUNNER: RC: Increase likelihood of restored greeting
Refers to first meeting with Chew DR03 Act2
2021-11-08 13:02:38 +02:00
Alexandre Detiste
6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
antoniou79
16a83c4460 BLADERUNNER: RC - Move line about real dogs
Use it as banter talk (low random chance) with photographer
2021-10-27 22:34:51 +03:00
antoniou79
8749a2bb36 BLADERUNNER: RESTOREDCONTENT: Fix bugs in Crazylegs arrest
Also restore a few lines for dialogue with Runciter, and a Steele cue

And added notes for bugs to resolve in the future, the BLOND WOMAN dialogue bug with Early Q in particular
2021-08-23 00:09:51 +03:00
antoniou79
0c203f7edf BLADERUNNER: Don't keep bad uninitialized values on load
For ambient sound tracks
2021-08-02 15:41:04 +03:00
antoniou79
60b1b7eb40 BLADERUNNER: RESTOREDCONTENT: Restore dialogue in RC03
For the case when McCoy lets Izo escape

This whole sequence is still untriggered and has some glitches, which will be resolved when we restore the whole segment of catching up to Izo and then letting him go.
2021-07-31 19:13:36 +03:00
antoniou79
96e7858255 BLADERUNNER: RESTOREDCONTENT: NR07 restored cut dialogue bits
Tested animations. Still pending work on triggering some of these dialogue cases.
2021-07-31 19:08:46 +03:00
antoniou79
8199c96342 BLADERUNNER: Fix remnant clickable and target spot in NR11
For the case when McCoy allows Dektora to leave.

Also RESTORED CONTENT: a small extra dialogue with McCoy telling Dektora to call him Ray.
2021-07-27 23:01:02 +03:00
antoniou79
5656ee3c06 BLADERUNNER: RESTOREDCONTENT: Add more Maggie interactions
Also clean up Maggie's script.
2021-07-21 17:12:00 +03:00
antoniou79
39b2209a80 BLADERUNNER: Add proper balance to Maggie sounds 2021-07-10 19:15:41 +03:00
antoniou79
c35705e7bc BLADERUNNER: Fix Maggie sleep wakeup animations
Also minor cleanup of the code for Maggie's AI
2021-07-10 19:15:41 +03:00
antoniou79
fd45d6cca7 BLADERUNNER: Fix map from 5bit color to 8bit
This fixes a bug with Izo's flash not entirely hiding McCoy, Izo and NPCs

White value was previously calculated as r,g,b (248,248,248) instead of (255,255,255)
2021-07-03 19:31:48 +03:00
antoniou79
61625cc2b0 BLADERUNNER: RESTOREDCONTENT: FLYTRU_E with custom sound
Outtake FLYTRU_E is only available in Act 1

Also only when taking off from McCoy's roof or Police Station and again it's a random chance
2021-07-02 00:43:40 +03:00
antoniou79
73a7cbde44 BLADERUNNER: RESTOREDCONTENT: NR06 and MA06 extra machine voices
NR06 door announcer and MA06 elevator voice print identification

Also includes fix for bad flag for statues' comment in NR06
2021-06-30 22:42:58 +03:00
antoniou79
4dcbd07148 BLADERUNNER: Fix actor voices with wrong balance
Some voices have bad pan, because the actors are not actually in the scene/dr06

This happens because on occasion (eg. TV news) some voices will be coming from an object on screen
but the game would still calculate the actor's position (and produce an awry pan value, since there is no such actor in the scene)
Addresses report: https://bugs.scummvm.org/ticket/11339
But covers more cases than just the TV voices.
2021-06-30 22:42:58 +03:00
antoniou79
a52f2d8a75 BLADERUNNER: Introduce small delay to two targets
These both are infamous for how fast they shoot after becoming visible on screen

The delay was 0 in the original. Now it's random between 400 and 800ms, so they are still fast, but not unfair
2021-06-28 22:51:31 +03:00