Commit graph

63 commits

Author SHA1 Message Date
Peter Kohaut
824ecc0aad BLADERUNNER: Preliminary saving & loading support
Saving and loading is accessible via ScummVM dialogs.
No in-game UI support yet.

It is possible to load saves from original game via debugger console.
ScummVM saves have additional header and are incompatibile with original
game.
2018-11-24 08:39:03 +01:00
Colin Snover
81f78d4ddf BLADERUNNER: Remove use of C99 math
C++ math functions are overloaded so operate using single-precision
when receiving a float input. The C standard library on FreeMiNT
does not fully support C99 math so use of sqrtf, sinf, etc.
instead of the C++ API does not work.
2018-08-26 15:33:44 +03:00
Eugene Sandulenko
cdad8a2e6b BLADERUNNER: Fully plug the Scores into the engine 2018-03-26 00:54:17 +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
Peter Kohaut
a70c59f90d BLADERUNNER: PoliceMaze fix & constants 2018-03-24 16:52:09 +01:00
Eugene Sandulenko
55245a8cca BLADERUNNER: Moved PoliceMaze to script/ 2018-03-24 02:45:26 +01:00
Eugene Sandulenko
05144ab3ca BLADERUNNER: Implement setting items as target 2018-03-24 02:45:26 +01:00
Eugene Sandulenko
da2c7142ce BLADERUNNER: Implement Item_Spin_In_World() 2018-03-24 02:45:26 +01:00
Eugene Sandulenko
a284213aa0 BLADERUNNER: Implement PoliceMaze hooks 2018-03-24 02:45:26 +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
Eugene Sandulenko
a656480092 BLADERUNNER: Added Izo actor (incomplete) 2018-03-15 23:44:53 +01:00
Eugene Sandulenko
d15199aef5 BLADERUNNER: Added most of Steele actor
ChangeAnimationMode is NOT done
2018-03-11 17:52:39 +01:00
Peter Kohaut
001f58ce61 BLADERUNNER: Added Klein actor
added more constants
fixed bug in checking actor scene
2018-03-07 22:28:06 +01:00
Peter Kohaut
2a0bdd7df8 BLADERUNNER: Added stairs & ladder support 2018-03-06 21:12:52 +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
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
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
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
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
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
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
d49bddfec6 BLADERUNNER: Add Spinner support 2017-07-31 00:15:33 +02:00
Peter Kohaut
5e279ac055 BLADERUNNER: added Leon AI script
Happy incept day Leon!
2017-04-10 10:49:07 +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
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
Peter Kohaut
1c083fe000 BLADERUNNER: Reorganized script files 2017-03-23 16:20:10 +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
Peter Kohaut
1b40c5bf55 BLADERUNNER: fixed memory leaks & overflows
fixed few memory leaks
fixed overflows
prepared more logic for looping but its not yet working correctly - still figuring out original code for vqadecoder
2016-10-28 22:34:04 +02: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
Eugene Sandulenko
a350cc8fd0 BLADERUNNER: Fix compilation with plugins enabled 2016-10-14 00:16:30 +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
e0efee2eba BLADERUNNER: added suspects db & fixed crimes db 2016-10-06 00:59:11 +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
89d1805b37 BLADERUNNER: added ADQ, fixed some minor memory leaks 2016-10-02 02:47:12 +02:00
Peter Kohaut
2c15b164d7 BLADERUNNER: added support for rendering items in scenes 2016-10-02 00:20:56 +02:00
Peter Kohaut
fe2add5d5f BLADERUNNER: fixed endian issue in uncompressed audio (thx madmoose), fixed some warnings, fixed some scene scripts 2016-10-01 03:20:03 +02:00