Commit Graph
51 Commits
Author SHA1 Message Date
Peter Kohaut fc98faf01a BLADERUNNER: Mark enhanced edition as unsupported 2022-06-28 23:48:22 +02:00
antoniou79 e68142d3e6 BLADERUNNER: Add support for old v2 VQAs
These are VQAs with companion VQP files used for Blade Runner teaser (Sizzle reel)
2022-05-07 22:54:25 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
antoniou79 5f09a046d1 BLADERUNNER: Support mixer sound type for ambient sounds
And set custom sounds for RC outtake FLYTRU_E.VQA to use kSpeechSoundType as do all outtakes
2021-07-02 16:38:49 +03:00
antoniou79 647e3e3b15 BLADERUNNER: Fix for resuming while a special loop plays
This is a better fix for the Zuben soup dump glitch (no exits) if user holds Esc down
2021-06-16 18:25:25 +03:00
antoniou79 346fe3722d BLADERUNNER: Fix transition to MA05 for act 5
Pending some testing on slow devices
2021-06-12 14:58:07 +03:00
antoniou79 772a38588c BLADERUNNER: Attempt to fix video audio desynch
Should fix the issue that (queued) audio gets ahead of video if eg. window is paused by moving it around

Also added some fixes for time overflow issues for when we compare the times for the next frame to play.
2021-05-30 19:55:08 +03:00
Thanasis Antoniou cd076b26ae BLADERUNNER: Using preincrement and pre-decrease where possible
In case the compiler won't optimize such cases
2020-02-24 21:24:06 +02:00
Thanasis Antoniou c19336e469 BLADERUNNER: Prevent cause assertion fault and no subtitles for #11294
Bug #11294 is a case where output audio hardware is disabled

If the output sound device is disabled or no hardware output device is connected (eg. Windows 10 may disable output audio hardware when no output device is attached/available), then the game should still be playable. We now use the duration of the tracks (in ms) to detect a track's ending.
Also isReady is checked for mixer when playing VQA videos (it wasn't before).
2020-02-18 00:58:53 +02:00
Thanasis Antoniou 8030bbc36f BLADERUNNER: Use speech volume for VQA videos
As in original game
2020-02-16 01:33:10 +02:00
Thanasis Antoniou be9557d698 BLADERUNNER: Attempt to fix the glitch in InShot to MA05
This is a failed attempt, however I'm keeping the code for future reference and possible improvement on it
2020-02-04 17:55:27 +02:00
Thanasis Antoniou 52ab36f799 BLADERUNNER: Fix buggy smoke overlay for DR04
Smoke after Dermo labs explosion - original game bug
2020-02-04 17:55:27 +02:00
Thanasis Antoniou 12b5dde457 BLADERUNNER: Fix max volume in VQAs with audio stream
Closes #10987
2019-06-21 16:09:58 +03:00
Peter Kohaut fb26f21d04 BLADERUNNER: Fixed zbuffer in TB05
This was causing issues with walking in TB05
2019-04-30 19:14:16 +02:00
Thanasis Antoniou 20d77710c9 BLADERUNNER: Release non-repeated and support queued overlays 2019-03-31 12:24:23 +03:00
Peter Kohaut 9c25be9121 BLADERUNNER: Cleanup of TODO notes 2019-03-04 19:43:36 +01:00
Peter Kohaut 096e870b7b BLADERUNNER: Fixed quick video playback in few occasions
Overlays were played too quickly after using KIA.
After outtakes finished, scene videos were playing too quickly.
When ScummVM was not updating game and it was not paused (eg window
drag) scene videos were played too quickly.
2019-02-24 19:47:27 +01:00
Peter Kohaut f70251819a BLADERUNNER: Fixed CppCheck warnings
Rat interaction at UG15 is now working exactly as in the original game.
Before the bridge didn't break if player shot the rat on it.
2019-02-23 11:39:54 +01:00
Peter Kohaut 6854ea3ddd BLADERUNNER: Improved time management
This should fix thi issue with freezing actors after loading save game,
but works on new saves only. Game was not paused before saving
and wrong timer value got saved.
2019-02-11 22:48:55 +01:00
Peter Kohaut a0e9b09cd9 BLADERUNNER: Removed unnecessary debugging code 2019-02-08 21:00:52 +01:00
Peter Kohaut 9d5bfdd015 BLADERUNNER: Fixed scene video resume
Video in the back was always reset to the 1st frame. Now it is working
properly.
Also added game pause when the debugger is opened.
2019-01-09 23:06:10 +01:00
Peter Kohaut 824ecc0aad BLADERUNNER: Preliminary saving & loading support
Saving and loading is accessible via ScummVM dialogs.
No in-game UI support yet.

It is possible to load saves from original game via debugger console.
ScummVM saves have additional header and are incompatibile with original
game.
2018-11-24 08:39:03 +01:00
Peter Kohaut 59eeadc6ac BLADERUNNER: Added more game constants
Code formatting
2018-02-05 20:17:55 +01:00
Peter Kohaut 6e9a340640 BLADERUNNER: ESPER interface 2018-02-04 17:34:43 +01:00
Peter Kohaut 1e5f9d3078 BLADERUNNER: Added basic KIA interface
Settings works
Help works
Clue database works
Fixed code for inserting objects into scene
Reorganization of few files
Unification & code formatting of few older files
2018-01-28 10:57:16 +01:00
Peter Kohaut f79d8cc1fe BLADERUNNER: Added music support & added Maggie
added async walking
named some of the game flags & variables
renamed aesc to screen effects
2017-09-10 20:55:30 +02:00
Thomas Fach-Pedersen 9bf07073fb BLADERUNNER: Add Overlay videos 2017-08-27 22:39:36 +02:00
Peter Kohaut a97fe8f89f BLADERUNNER: Support for AESC 2017-08-26 23:00:54 +02:00
Peter Kohaut 0da18320af BLADERUNNER: Added audio mixer & various fixes
Audio mixer is supporting fading and pan animation
Added support for skipping speech by pressing Return
Added proper support for ambient sounds
Added more code to the dialogue menu
Added tooltips to the Spinner
Fixed calculation of volume and pan of walk steps
Code cleanup & formatting
2017-08-24 23:43:47 +02:00
Thomas Fach-Pedersen d67e06c7b2 BLADERUNNER: Add support for elevators 2017-08-24 22:34:50 +02:00
Thomas Fach-Pedersen d3e64544b3 BLADERUNNER: Move surfaces out of VQA player
Rename the surfaces to more meaningful names and move ownership out
of the VQA classes. This means that the VQA classes no longer
create their own internal surfaces but instead draw on externally
provided surfaces.
2017-07-31 00:15:33 +02:00
Peter Kohaut 1740c490d7 BLADERUNNER: improvements to the walking code
path finding is still missing
video player has audio preloading
small fixes
2017-04-01 08:57:57 +02:00
Peter Kohaut 5f36e65855 BLADERUNNER: zbuffer is now updated between scene changes
updated vqa player udpate code
fixed some warnings
audio preloading still needs some work
2017-03-29 18:48:46 +02:00
Thomas Fach-Pedersen 5f552c9446 BLADERUNNER: Implement ZBuffer class 2017-03-28 17:50:11 +02:00
Paul Gilbert 2ba3ebb15b BLADERUNNER: Another compilation fix 2017-03-26 17:37:24 -04:00
Paul Gilbert b88d898b37 BLADERUNNER: Fix compilation in Visual Studio 2015
It won't let the function pointer parameters in the debug calls to
be cast to void *. Hopefully the alternate uint cast I've changed
it to won't be a problem with any other compiler
2017-03-26 17:20:06 -04:00
Peter Kohaut f5ebf4d680 BLADERUNNER: Added correct video looping and loop switching 2017-03-26 22:09:29 +02:00
Peter Kohaut 1b40c5bf55 BLADERUNNER: fixed memory leaks & overflows
fixed few memory leaks
fixed overflows
prepared more logic for looping but its not yet working correctly - still figuring out original code for vqadecoder
2016-10-28 22:34:04 +02:00
Eugene Sandulenko 281c19ab03 BLADERUNNER: Code formatting fixes 2016-10-03 12:38:43 +02:00
Peter Kohaut af70a90cbc BLADERUNNER: fixed loading of new set/scene, fixed memoryleak in lights 2016-09-29 22:33:42 +02:00
Peter Kohaut bf44e97d79 BLADERUNNER: added all scene scripts, esper script, kia script, vk script, completed init script. Added decoding of lights from VQA. Moved view from scene. 2016-09-29 22:33:41 +02:00
Peter Kohaut b67bca20b5 BLADERUNNER: Pull in changes from madmoose 2016-09-29 22:33:40 +02:00
Peter Kohaut 6672e443a8 BLADERUNNER: just basic objects description scene stuff - lightning and effects movement track actor clues db actor walking info moved view from vqa decoder, because its needed elsewhere
does not compile, because new files are not in makefile...
2016-09-29 22:33:40 +02:00
Thomas Fach-Pedersen 74a8b530f1 BLADERUNNER: Add support for ambient sounds, game flags and variables, and use VQA z-buffer when rendering. 2016-09-29 22:33:37 +02:00
Thomas Fach-Pedersen d9453057ab BLADERUNNER: Add View matrix loading 2016-09-29 22:33:37 +02:00
Sven Hesse 7b6159e095 BLADERUNNER: Fix invalid delete[]
delete[] -> delete. It's a single pointer, not an array.
2016-09-29 22:33:34 +02:00
Thomas Fach-Pedersen 5cb4ba9a9b BLADERUNNER: Add basic Scene, Set, and Script support. 2016-09-29 22:33:28 +02:00
Thomas Fach-Pedersen d260f993aa BLADERUNNER: No semicolon after namespace closing brace 2016-09-29 22:33:23 +02:00
Thomas Fach-Pedersen 8217ed6065 BLADERUNNER: Don't base VQADecoder on Video::VideoDecoder anyway
VideoDecoder doesn't handle audio underflow very well,
and Blade Runner's VQA files don't have any audio prebuffer.

VQAPlayer doesn't handle it perfectly either, but underflow
happens a lot less. To be improved.
2016-09-29 22:33:17 +02:00
Thomas Fach-Pedersen a67e9e16bd BLADERUNNER: Rebuild VQADecoder on top of Video::VideoDecoder 2016-09-29 22:33:11 +02:00