Commit graph

26 commits

Author SHA1 Message Date
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
Peter Kohaut
fc98faf01a BLADERUNNER: Mark enhanced edition as unsupported 2022-06-28 23:48:22 +02: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
9c1dbba83d BLADERUNNER: JANITORIAL: Fix spacing for commented out debug() 2021-06-17 08:44:20 +03:00
antoniou79
f3113cf45d BLADERUNNER: More precise naming for time delay vars and parameters
Also use u suffix for unsigned int literal parameters (WIP)
2021-06-14 16:27:19 +03: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
caa4578add BLADERUNNER: Use unsigned 32bit diff for time durations 2019-07-17 19:09:15 +03:00
Thanasis Antoniou
12b5dde457 BLADERUNNER: Fix max volume in VQAs with audio stream
Closes #10987
2019-06-21 16:09:58 +03:00
Thanasis Antoniou
bb719ba87c BLADERUNNER: Fix missing sound effects in some occassions
LABBUZZ sound for the maze and Animoid sounds

Moved lab buzz in next scene's (PS10) init, and increased size of track buffer to compensate for frequently dropping sounds in places with mayne sound effects (eg Animoid Row, Izo's door and trapdoor)
2019-03-27 12:39:24 +02: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
b14fbaa72b BLADERUNNER: Cleanup of audio code
Separated audio cache.
Fixed bug in the audio cache where still used sound might get freed.
Fixes crashes when engine is unloading which were caused
by a race condition between the timer code and engine teardown code.
2019-02-11 22:48:07 +01:00
Peter Kohaut
1384afd0f6 BLADERUNNER: Use ScummVM functionality for audio volume management 2019-02-10 16:55:38 +01:00
Peter Kohaut
a0e9b09cd9 BLADERUNNER: Removed unnecessary debugging code 2019-02-08 21:00:52 +01:00
Peter Kohaut
5e9985bd6e BLADERUNNER: Load game methods
save methods update
replaced few char* with Common::String
changed few pointers to references
2018-03-24 17:28:34 +01:00
Peter Kohaut
0b484d51b8 BLADERUNNER: VK interface
Code unification
Removed few memory leaks
2018-02-10 21:01:15 +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
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
Eugene Sandulenko
281c19ab03 BLADERUNNER: Code formatting fixes 2016-10-03 12:38:43 +02:00
Eugene Sandulenko
7e7cf4e748 BLADERUNNER: Fix compilation 2016-09-29 22:33:41 +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
35ea84935f BLADERUNNER: Split aud_decoder into aud_stream and adpcm_decoder 2016-09-29 22:33:38 +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