Commit graph

79 commits

Author SHA1 Message Date
Thanasis Antoniou
f04705084c BLADERUNNER: Support wait for dialogue queues to finish
Fixes a Crazylegs bug where he can interrupt himself

Could probably be used elsewhere if there are any other such cases.
2019-04-04 21:03:10 +03:00
Thanasis Antoniou
65166efb22 BLADERUNNER: Fix for corrupt incomplete autosaves
Autosaving overrides other conditions that don't allow proper saving
2019-04-02 15:46:14 +03:00
Thanasis Antoniou
717705f7c9 BLADERUNNER: Fixes and cleanup for Police Maze A
Only fixes for rooms PS10, PS11. A few cases may need revising.

There are a few cases that a target may reset after being shot and they seem buggy but they could also be intended. So, that's for a second pass to decide.
2019-03-18 17:07:10 +02:00
Peter Kohaut
d4e7e957b0 BLADERUNNER: Fixed panning of speech
Cleanup of other sound pannings
2019-03-06 20:41:02 +01:00
Peter Kohaut
f70251819a BLADERUNNER: Fixed CppCheck warnings
Rat interaction at UG15 is now working exactly as in the original game.
Before the bridge didn't break if player shot the rat on it.
2019-02-23 11:39:54 +01:00
Peter Kohaut
916221dc56 BLADERUNNER: Added original logic for speech skipping
And some small cleanup of unnecessary comments.
2019-02-11 22:49:18 +01:00
Peter Kohaut
b14fbaa72b BLADERUNNER: Cleanup of audio code
Separated audio cache.
Fixed bug in the audio cache where still used sound might get freed.
Fixes crashes when engine is unloading which were caused
by a race condition between the timer code and engine teardown code.
2019-02-11 22:48:07 +01:00
Peter Kohaut
dbfc657a2c BLADERUNNER: Added sitcom mode
Available via ScummVM game options
2019-02-10 19:47:22 +01:00
Peter Kohaut
eb5f454881 BLADERUNNER: Added auto save feature
Also fixed a bug in KIA save screen, where not selecting a save slot can
lead to overwriting other save game.
2019-02-10 18:10:25 +01:00
Peter Kohaut
315100861c BLADERUNNER: Fixed issue with untargeting objects 2019-02-02 00:50:16 +01:00
Peter Kohaut
cd43b7a11a BLADERUNNER: Cleanup of walking code
Fixed missing "must reach" in a actorwalk::tick
2019-02-02 00:50:16 +01:00
Peter Kohaut
7f421be835 BLADERUNNER: Fixed small issue in combat calculation
Better variable names in actor combat classes.
2019-01-28 20:45:59 +01:00
Peter Kohaut
364a2aa0fb BLADERUNNER: More game constants
Added Region_Check functionality
Code cleanup
2019-01-21 22:03:01 +01:00
Peter Kohaut
0c7077cab9 BLADERUNNER: Added debugging output for scripts
Also added last few missing script commands.
2019-01-12 18:16:52 +01:00
Peter Kohaut
2f0fb70a27 BLADERUNNER: Fixed enabling combat mode in scripts
Fixed Zuben chase.
Added name of some flags used in the China town.
2019-01-12 18:16:52 +01:00
Peter Kohaut
2f242a10da BLADERUNNER: Added time control and game pausing 2018-12-15 23:02:58 +01:00
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