Commit Graph
86814 Commits
Author SHA1 Message Date
Peter Kohaut c6011c1349 BLADERUNNER: mccoy script completed, walking is now animated 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 2888d0b346 BLADERUNNER: forgotten script files.... 2016-09-29 22:33:40 +02:00
Peter Kohaut de7f961f48 BLADERUNNER: added implementation of more script methods added combat structure (maybe it combat mode??) 2016-09-29 22:33:40 +02:00
Peter Kohaut 479d2f5b62 BLADERUNNER: still adding structures... and implementing some of script methods... 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 a4ba609131 BLADERUNNER: Add beginnings of Actor class and move actor drawing to Scene 2016-09-29 22:33:39 +02:00
Thomas Fach-Pedersen 6715157fad BLADERUNNER: Mismatched array new and delete 2016-09-29 22:33:39 +02:00
Thomas Fach-Pedersen 02473a16c3 BLADERUNNER: Rearrange startup and shutdown a bit and document TODOs 2016-09-29 22:33:39 +02:00
Thomas Fach-Pedersen 90f879f5a8 BLADERUNNER: Implement Player_Loses_Control and Player_Gains_Control 2016-09-29 22:33:39 +02:00
Thomas Fach-Pedersen 28c55ade89 BLADERUNNER: Add newline at end of file 2016-09-29 22:33:39 +02:00
Thomas Fach-Pedersen 0fa2191b95 BLADERUNNER: Implement loading and drawing of mouse cursors. 2016-09-29 22:33:38 +02:00
Thomas Fach-Pedersen da33169b75 BLADERUNNER: Fix a couple of memory leaks 2016-09-29 22:33:38 +02:00
Thomas Fach-Pedersen eba8ed5c66 BLADERUNNER: Add audio_speech and Actor_Voice_Over 2016-09-29 22:33:38 +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 2d8f421597 BLADERUNNER: Init globals, game flags, and actor clues 2016-09-29 22:33:38 +02:00
Thomas Fach-Pedersen b83daefd08 BLADERUNNER: Stub out init script 2016-09-29 22:33:38 +02:00
Thomas Fach-Pedersen abf98fca03 BLADERUNNER: Read set objects and walkboxes 2016-09-29 22:33:37 +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 c8f5ded6d9 BLADERUNNER: SliceAnimation: Avoid using potentially uninitialized variable in destructor 2016-09-29 22:33:37 +02:00
Thomas Fach-Pedersen 4b181e4bed BLADERUNNER: First pass at slice animation renderer
Z-buffers are not being read from the VQA background yet, so z-buffer
handling is faked for now.
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
Eugene Sandulenko 7ab0985ca8 COMMON: Add ReadFloatLE to Common::ReadStream 2016-09-29 22:33:36 +02:00
Thomas Fach-Pedersen 789bb7a281 BLADERUNNER: Add Vector and Matrix classes 2016-09-29 22:33:36 +02:00
Thomas Fach-Pedersen 303aba7dd1 BLADERUNNER: tlk_id shouldn't read directly from name 2016-09-29 22:33:36 +02:00
Thomas Fach-Pedersen 86b4850d6c BLADERUNNER: Fix memory leaks in GameInfo 2016-09-29 22:33:36 +02:00
Thomas Fach-Pedersen 97207bfc53 BLADERUNNER: Fix memory leaks in Script 2016-09-29 22:33:36 +02:00
Thomas Fach-Pedersen 2a60ddfd75 BLADERUNNER: Fix memory leaks in Image 2016-09-29 22:33:35 +02:00
Thomas Fach-Pedersen d93ecabc7a BLADERUNNER: Fix memory leaks in VQADecoder 2016-09-29 22:33:35 +02:00
Thomas Fach-Pedersen eefea240c7 BLADERUNNER: Fix memory leaks in BladeRunnerEngine 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 5a12394a76 BLADERUNNER: Return an error if BladeRunnerEngine::startup() fails 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
Thomas Fach-Pedersen 70b154988a BLADERUNNER: Remove unused member variables from OuttakePlayer 2016-09-29 22:33:34 +02:00
Sven Hesse 10708f7a8d BLADERUNNER: Fix invalid read
Conditions are evaluated left to right. If you want short-
circuiting to protect from invalid read, you have to do the
range checks before the pointer dereferencing.
2016-09-29 22:33:34 +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
Sven Hesse 5b8df8cd8a BLADERUNNER: Resolve argument shadowing 2016-09-29 22:33:34 +02:00
Sven Hesse 2189721387 BLADERUNNER: ScriptBase needs a virtual destructor 2016-09-29 22:33:34 +02:00
Sven Hesse 88035e6876 BLADERUNNER: Remove unnecessary semicolon 2016-09-29 22:33:34 +02:00
Sven Hesse ff1df93e9d BLADERUNNER: Rename _vptr to _vpointer
_vptr is a reserved keyword!
2016-09-29 22:33:33 +02:00
Sven Hesse 76cfb2c8a9 BLADERUNNER: Remove extra class qualification
MSVC allows it, but it's against the standard.
2016-09-29 22:33:33 +02:00
Thomas Fach-Pedersen 25e97d2144 BLADERUNNER: First easter egg, developer commentary 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
Thomas Fach-Pedersen f0432bdf25 BLADERUNNER: Split VQA decoder into player and decoder, add Outtake player 2016-09-29 22:21:00 +02:00