Commit Graph
319 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
Eugene Sandulenko 63a2962735 BLADERUNNER: Fix another signed vs unsigned warning 2018-06-29 09:28:59 +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
Adrian Frühwirth cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Adrian Frühwirth c7f3416daa JANITORIAL: Remove trailing whitespace 2018-05-20 23:40:20 +02:00
Thomas Fach-Pedersen aabd5b2ec8 BLADERUNNER: Fix build 2018-05-07 19:31:53 +02:00
Thomas Fach-Pedersen e3363635cb BLADERUNNER: Implement obstacle polygon merging 2018-05-07 19:17:13 +02:00
Adrian Frühwirth 4be77793a4 BLADERUNNER: Fix typo in DialogueMenu::queryInput()
Confirmed by madmoose.
2018-05-07 18:59:49 +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
Adrian Frühwirth a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +02:00
Adrian Frühwirth 9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +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 21ef072c11 BLADERUNNER: Fix memory leaks 2018-04-04 22:41:12 +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 c395c5f619 BLADERUNNER: Added 'draw actors' debug command.
Implemented as a hack on top of 'draw obj' with skipping all other
scene objects.
2018-04-02 23:50:47 +02:00
Eugene Sandulenko 6a0f56f40c BLADERUNNER: Remove leftover debug output 2018-04-01 22:30:44 +02:00
Eugene Sandulenko 506ed95cdc BLADERUNNER: Fix chapter switching with CDFRAMES.DAT 2018-04-01 14:41:23 +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 235dd6089f BLADERUNNER: Implemented ActorClues::getModifier().
This completes implementation of the automatic clue exchange
2018-03-31 00:10:26 +02:00
Eugene Sandulenko a91d7ec44b BLADERUNNER: Implemented ActorClues::acquireCluesByRelations() 2018-03-30 22:57:48 +02:00
Eugene Sandulenko 658b58419b BLADERUNNER: Further work on acquireCluesByRelations() 2018-03-30 19:07:44 +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
Eugene Sandulenko 21a56c7297 BLADERUNNER: Remove unnecessary returns 2018-03-29 00:08:34 +02:00
Eugene Sandulenko 0201979c55 BLADERUNNER: Fix buffer overflow in PoliceMaze 2018-03-29 00:08:34 +02:00
Eugene Sandulenko bfa00a02b1 BLADERUNNER: Fix incorrect loop end check 2018-03-29 00:08:34 +02:00
Eugene Sandulenko 0d241c200b BLADERUNNER: Added clarifying comment for a bug in original 2018-03-29 00:08:34 +02:00
Eugene Sandulenko 4cce3414b6 BLADERUNNER: Initialize class variables 2018-03-29 00:08:34 +02:00
Eugene Sandulenko 5416e640a3 BLADERUNNER: Switch to doubles in AudStream::getLength() calculations
Since we have everything in samples, and we have 44kHz, we easily
get overflows. Use doubles for calculating the length in
milliseconds more accurately.
2018-03-28 00:42:26 +02:00
Eugene Sandulenko 5d8ff054f2 BLADERUNNER: Allow quit credits on windows closing 2018-03-28 00:41:56 +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 53371ed2f7 BLADERUNNER: Complete Scores functionality 2018-03-27 01:07:38 +02:00
Eugene Sandulenko 20c8b949a9 BLADERUNNER: Implement Scores::tick() 2018-03-27 01:07:38 +02:00
Eugene Sandulenko 168ef83866 BLADERUNNER: Implemented Scores closing 2018-03-26 00:54:31 +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
Peter Kohaut 3693be69e8 BLADERUNNER: Added missing initializon of scene objects 2018-03-25 15:10:55 +02:00
Peter Kohaut b991123e83 BLADERUNNER: Fixed compilation warnings 2018-03-25 15:10:42 +02:00
Eugene Sandulenko 16e09b1f34 BLADERUNNER: Implement mouse jitter 2018-03-25 12:06:00 +02:00
Peter Kohaut 3b06ac7b1e BLADERUNNER: Fixed another compilation warning 2018-03-24 18:00:49 +01:00
Peter Kohaut 85b4561fe9 BLADERUNNER: Fixed compilation warning 2018-03-24 17:37:09 +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
Thomas Fach-Pedersen 2a646f8cc2 BLADERUNNER: Save game methods 2018-03-24 17:07:06 +01:00
Peter Kohaut a70c59f90d BLADERUNNER: PoliceMaze fix & constants 2018-03-24 16:52:09 +01:00