Commit Graph
99 Commits
Author SHA1 Message Date
David Fioramonti e859a6f13e BLADERUNNER: Update cos/sin table constructor change
They now take in the size rather than the power of 2 exponent.
2018-08-18 16:30:57 +02:00
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
Thomas Fach-Pedersen e3363635cb BLADERUNNER: Implement obstacle polygon merging 2018-05-07 19:17:13 +02:00
Adrian Frühwirth c3f43d0f88 BLADERUNNER: Fix typo/bug in handleMouseAction()
This was introduced when the SceneObjectOffset enum was introduced
in commit 7090841ccc.
2018-05-06 11:19:41 +02:00
Eugene Sandulenko db1b7b0e1f JANITORIAL: Fix whitespace 2018-04-07 22:22:42 +02:00
Eugene Sandulenko 25eeee8e50 BLADERUNNER: Remove dead code 2018-04-07 21:08:54 +02:00
Eugene Sandulenko d3648232fd BLADERUNNER: Implement scene jumping via bootparams.
Specify bootparam in form CTTTSSS, where C is chapter, TTT is set
and SSS is scene number. So, for RC02 it is 1016079.
2018-04-03 22:06:34 +02:00
Eugene Sandulenko b277e795aa BLADERUNNER: Support for CDFRAMES.DAT
Rename CDFRAMES.DAT into CDFRAMES1.DAT, CDFRAMES2.DAT etc
2018-04-01 14:17:48 +02:00
Eugene Sandulenko 4cce3414b6 BLADERUNNER: Initialize class variables 2018-03-29 00:08:34 +02:00
Eugene Sandulenko 3a41e5f364 BLADERUNNER: Implemented EndCredits 2018-03-27 23:44:05 +02:00
Eugene Sandulenko 084b2071a2 BLADERUNNER: Initialize Scores variable 2018-03-27 18:47:22 +02:00
Eugene Sandulenko a8efe852a8 BLADERUNNER: Added skeleton for EndCredits 2018-03-27 18:43:27 +02:00
Eugene Sandulenko 9d984549d3 BLADERUNNER: Implemented Scores::open() 2018-03-26 00:54:17 +02:00
Eugene Sandulenko cdad8a2e6b BLADERUNNER: Fully plug the Scores into the engine 2018-03-26 00:54:17 +02:00
Eugene Sandulenko 1b53cfff49 BLADERUNNER: Added skeleton for Scores class 2018-03-25 16:52:48 +02:00
Eugene Sandulenko 16e09b1f34 BLADERUNNER: Implement mouse jitter 2018-03-25 12:06:00 +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
Eugene Sandulenko 55245a8cca BLADERUNNER: Moved PoliceMaze to script/ 2018-03-24 02:45:26 +01:00
Eugene Sandulenko 740ea803bb BLADERUNNER: Added Police Maze skeleton 2018-03-24 02:45:26 +01:00
Thomas Fach-Pedersen 41592302eb BLADERUNNER: Add Game Time class
Not yet used.
2018-03-23 23:14:34 +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 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 62b75b9990 BLADERUNNER: Added Generic Walker actors
Fixed isseue of duplicating items in world
Fixed fog issue with incorrect rendering in special occasions
Added basic debugger console
Refactored looping code for better readability
2018-02-25 22:38:52 +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 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 817cb5d7e1 BLADERUNNER: More game constants 2018-02-13 23:08:37 +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 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 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 0c930b06ed BLADERUNNER: Added KIA interfaces
Crimes interface done
Suspects interface done
Added some game constants
Fixed font rendering for other languages
Fixed anoying clang warning
2018-01-29 18:32:09 +01:00
Peter Kohaut 9dffe62959 BLADERUNNER: Fix compilation issues 2018-01-28 11:14:29 +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
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05: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 a4c7992388 BLADERUNNER: Add Dialogue Menu 2017-08-22 19:02:37 +02:00
Thomas Fach-Pedersen bf45db6c58 BLADERUNNER: Add blit and blitToScreen helpers 2017-08-04 21:43:47 +02:00
Thomas Fach-Pedersen d49bddfec6 BLADERUNNER: Add Spinner support 2017-07-31 00:15:33 +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