Commit Graph
55 Commits
Author SHA1 Message Date
David Fioramonti 3922370275 BLADERUNNER: Add cos/sine table
This uses the one in Common.

The engine now contains a 10-bit cosine and sine table.
It used mostly for vector math.

This also allows two vector functions to be removed from vector.h.
2018-08-03 14:50:45 +02:00
Eugene Sandulenko aad613bab8 BLADERUNNER: Fix another warning 2018-06-29 09:23:12 +02:00
Eugene Sandulenko aeb1e2e07d BLADERUNNER: Fix warnings 2018-06-29 09:20:20 +02:00
Eugene Sandulenko 56a817d53e BLADERUNNER: Fixed bug in Actor::acquireCluesByRelations() 2018-03-30 10:14:10 +02:00
Eugene Sandulenko 7d2b9df5f2 BLADERUNNER: Initial code for acquireCluesByRelations() 2018-03-30 00:25:52 +02: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
Thomas Fach-Pedersen 2a646f8cc2 BLADERUNNER: Save game methods 2018-03-24 17:07:06 +01:00
Peter Kohaut 5b50bad5e9 BLADERUNNER: Fixed compilation warnings 2018-03-17 17:07:51 +01:00
Peter Kohaut 19d9e4cec8 BLADERUNNER: Added combat
Math cleanup
Fixed obstacle detection
2018-03-17 16:42:25 +01:00
Peter Kohaut bbe4ef4474 BLADERUNNER: Added shadows 2018-03-11 11:54:01 +01:00
Peter Kohaut 3bec5a7f9d BLADERUNNER: Added Guzzo actor
Added "pos" console command
2018-03-10 13:32:06 +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 8704207550 BLADERUNNER: McCoy script fixed
Some Coverity issues fixed
KIA script small fix to DNA evidences
Actor selection fixed (bounding box is correcly expanded)
2018-02-19 22:17:08 +01:00
Peter Kohaut fa1f426ee6 BLADERUNNER: Fixed more compilation warnings 2018-02-18 23:00:42 +01:00
Peter Kohaut 383d6f036d BLADERUNNER: Fixed compilation warnings 2018-02-18 22:44:28 +01:00
Peter Kohaut 7090841ccc BLADERUNNER: Support for running
Fixed Runciter idle state
Fixed movement track delay
Basic combat support
2018-02-18 22:20:16 +01:00
Peter Kohaut 1d9a248abe BLADERUNNER: Fixed more Coverity issues 2018-02-12 20:57:26 +01:00
Peter Kohaut 0b484d51b8 BLADERUNNER: VK interface
Code unification
Removed few memory leaks
2018-02-10 21:01:15 +01:00
Peter Kohaut 7f53a0cd31 BLADERUNNER: Fixed few Coverity issues 2018-02-01 21:38:30 +01:00
Thomas Fach-Pedersen 270b691b27 BLADERUNNER: Remove simple walking hack
Rename previously unnamed walking parameter 'interruptible'
2018-01-29 21:52:17 +01:00
Peter Kohaut a4229c9398 BLADERUNNER: Completed KIA interface
Added Diagnostic section - small button above main buttons
Added Pogo section - easter egg - write "pogo" while KIA is open
Code formatting again
2018-01-29 20:42:35 +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 1eeafb4e30 BLADERUNNER: Support for different languages
Added support for playing the game with different languages
Added Spanish language to detection tables
2018-01-14 13:36:55 +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
Thomas Fach-Pedersen 54accdffae BLADERUNNER: Call AI script when clue is received 2017-08-22 19:51:11 +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 027dc4c38c BLADERUNNER: fixed lighting cache
actors can be now partially illuminated (per slice), it iss visible in scene rc02 in the right part of the room
2017-04-02 18:19:26 +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
Peter Kohaut 96a5a1c8bb BLADERUNNER: fixed warnings 2017-03-29 02:34:22 +02:00
Peter Kohaut d42b39817d BLADERUNNER: introduced some game constants
Game script are more readable now
Fixed name of Officer Leary
2017-03-29 01:55:06 +02:00
Thomas Fach-Pedersen 5f552c9446 BLADERUNNER: Implement ZBuffer class 2017-03-28 17:50:11 +02:00
Peter Kohaut 1c083fe000 BLADERUNNER: Reorganized script files 2017-03-23 16:20:10 +01:00
Peter Kohaut 710b48a6ff BLADERUNNER: Fixed function for changing actors goal 2017-03-23 00:57:35 +01:00
Peter Kohaut 52476b0778 BLADERUNNER: Added more functionality to movement track 2017-03-23 00:25:38 +01:00
Peter Kohaut dd7498544f BLADERUNNER: added Runciter character (petshop owner) 2017-03-20 22:55:31 +01:00
Peter Kohaut 25e5143f99 BLADERUNNER: added full office leroy ai script
fix sceneobject remove
2017-03-20 00:28:51 +01:00
Thomas Fach-Pedersen e0a04a3185 BLADERUNNER: Fix out-of-bounds access in voiceover actor (multiple CIDs)
CID 1364219
CID 1364223
2016-10-24 19:40:18 +02:00
Thomas Fach-Pedersen 669e6be438 BLADERUNNER: Fix uninitialized variable accesses
Fixes a couple of issues reported by valgrind and clang
sanitizers.

In particular, the initialization of Actor::_inCombat means that McCoy
no longer randomly has his gun out at the beginning of the game. In
SliceRenderer::drawInWorld, the assert of _sliceFramePtr has been
moved to after the call to setupFrameInWorld which is the method that
initializes the field. This misplaced assert caused the game to crash
for several people.
2016-10-22 18:46:28 +02:00
Peter Kohaut 577c3b56a5 BLADERUNNER: added picking up of items
and some formatting
2016-10-12 23:00:33 +02:00
Peter Kohaut f30f3c46e3 BLADERUNNER: added item pickup effect
also added support for rendering items on screen (not in the world)
pickup effect can be tested in debug compilation by clicking on any object (not item, but object like, hydrant, or doors) in first scene
2016-10-08 21:06:22 +02:00
Peter Kohaut 5d1e1131dc BLADERUNNER: code formatting 2016-10-04 18:59:25 +02:00
Peter Kohaut 6547c35e15 BLADERUNNER: trying to figure out walking, added structures for obstacles used for pathfinding, fixed bug in searching for walkboxes 2016-10-04 18:15:57 +02:00
Eugene Sandulenko 281c19ab03 BLADERUNNER: Code formatting fixes 2016-10-03 12:38:43 +02:00
Peter Kohaut 2c15b164d7 BLADERUNNER: added support for rendering items in scenes 2016-10-02 00:20:56 +02:00
Peter Kohaut f1cb735ee0 BLADERUNNER: added rendering support for lighting and effects, but its not working correctly yet 2016-09-29 22:33:41 +02:00
Peter Kohaut cfc8ffed8a BLADERUNNER: fixed exit selection, added footstep sounds, added some debugging display (scene objects, regions, exits, walkboxes, lights?) 2016-09-29 22:33:41 +02:00
Peter Kohaut ae03eda3d1 BLADERUNNER: add more logic to actor::tick, added support for looking up scene objects 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