53 Commits

Author SHA1 Message Date
antoniou79
4e636920ee BLADERUNNER: For 2x scaled VQA v2 videos fill last row and column
By basically copying the previous to last row and column pixels' color respectively
2022-05-15 12:43:31 +03: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
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
54ecf13bdd BLADERUNNER: Another minor possible optimization
Really minor, but maybe there's gain in low performing devices since the function is called very often
2021-06-12 14:58:07 +03:00
antoniou79
86d023931e BLADERUNNER: Minor optimizations for vqa decoder
To be tested on ports. Might not make any difference whatsoever.
2021-06-02 00:39:56 +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
Peter Kohaut
4355c42044 BLADERUNNER: Performance fixes
Pixel format functions and CLIP functions are too slow in debug builds,
replacing them with static code makes debug builds faster.
2019-09-04 17:59:29 +02:00
Peter Kohaut
a7399c5111 BLADERUNNER: Use best pixel format on every platform
Updated all drawing routines to be pixel format agnostic.
Might decrease performance.
2019-08-31 23:09:19 +02:00
Thanasis Antoniou
4b482b2d3e BLADERUNNER: prevent seg fault in ESPER
Also added CLIP to all getBasePtr() calls where it would seem appropriate/safer to do so
2019-07-28 14:06:26 +03:00
Peter Kohaut
dd0c030278 BLADERUNNER: Fixed alpha channel issues
Alpha channel is inverted in the game assets and that lead to issues in
OpenGL renderer. E.g. screenshot of savegames were partly black or
showing artifacts

closes #10983
2019-06-24 21:45:56 +02:00
Cameron Cawley
afefb38617 BLADERUNNER: Replace strTag with tag2str 2019-06-17 23:11:20 +03:00
Peter Kohaut
e86ee33999 BLADERUNNER: Abstraction from 555 pixel format
Removing hardcoded 555 pixel format to support Android
2019-04-17 22:51:18 +02:00
Thanasis Antoniou
b2c79fdf4b BLADERUNNER: Fix static noise instead of proper audio in VQAs 2019-03-25 10:34:58 +02:00
Peter Kohaut
bba7ab786b BLADERUNNER: Fixed integer underflow for Russian videos 2019-03-17 22:01:16 +01:00
Peter Kohaut
05dcd7ff23 BLADERUNNER: Fixed zbuffer warning in NR01
Game was trying to decode zbuf when there was none.
2019-03-09 22:16:38 +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
a0e9b09cd9 BLADERUNNER: Removed unnecessary debugging code 2019-02-08 21:00:52 +01:00
Peter Kohaut
7183f368dc BLADERUNNER: Fixed BB51 video
Packet CBPZ was not supported.
2019-01-24 22:59:49 +01:00
Peter Kohaut
e232f13f5d BLADERUNNER: Added Zuben actor
Fixed animation position update
Added goal & anim commands to console
2018-03-06 00:29:20 +01:00
Peter Kohaut
1d9a248abe BLADERUNNER: Fixed more Coverity issues 2018-02-12 20:57:26 +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
7ec2a3aad2 BLADERUNNER: Fix build 2017-08-27 22:46:55 +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
Torbjörn Andersson
0c6496b111 BLADERUNNER: Fix potential memory leak (CppCheck warning) 2017-08-13 16:20: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
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
D G Turner
68de00b367 BLADERUNNER: Fix Unused Variable Compiler Warnings. 2017-01-11 15:10:01 +00:00
Kirben
ef99a71d2a BLADERUNNER: Avoid using alloca, which might not be available on all systems. 2016-11-12 20:09:18 +11:00
Eugene Sandulenko
281c19ab03 BLADERUNNER: Code formatting fixes 2016-10-03 12:38:43 +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
da33169b75 BLADERUNNER: Fix a couple of memory leaks 2016-09-29 22:33:38 +02:00
Thomas Fach-Pedersen
420d7f9ecc BLADERUNNER: Remove commented out code 2016-09-29 22:33:37 +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
Thomas Fach-Pedersen
d93ecabc7a BLADERUNNER: Fix memory leaks in VQADecoder 2016-09-29 22:33:35 +02:00
Thomas Fach-Pedersen
691d0f9888 BLADERUNNER: Avoid global constructor for pixelformat 2016-09-29 22:33:35 +02:00
Thomas Fach-Pedersen
8cbfd9ab50 BLADERUNNER: Unshadow variable size in VQADecoder::readMSCI 2016-09-29 22:33:35 +02:00
Sven Hesse
ff1df93e9d BLADERUNNER: Rename _vptr to _vpointer
_vptr is a reserved keyword!
2016-09-29 22:33:33 +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
Thomas Fach-Pedersen
5fd05a41d7 BLADERUNNER: Damn copy/paste... 2016-09-29 22:33:04 +02:00