Commit Graph
91 Commits
Author SHA1 Message Date
Thanasis Antoniou caa4578add BLADERUNNER: Use unsigned 32bit diff for time durations 2019-07-17 19:09:15 +03:00
Thanasis Antoniou a81e3add2f BLADERUNNER: JANITORIAL: Code formatting fixes 2019-06-28 15:30:44 +03:00
Thanasis Antoniou b4ee8fe294 BLADERUNNER: VK both Runciter and Grigorian is now possible
For restored content version
2019-06-25 01:54:51 +03:00
Thanasis Antoniou f3cdbd2ea9 BLADERUNNER: _playerActorIdle should affect McCoy only
Should be set or cleared only when McCoy is the actor who is walking and affect only McCoy
2019-06-22 11:01:39 +03:00
Thanasis Antoniou d78dd5c058 BLADERUNNER: Fix NR11 pathfinding
Added new method to "remove" bad objects in a scene/nr11

Removed objects, and still there, but they are renamed to "REMOVEDxx" and they won't affect obstacles and paths
2019-05-23 15:06:29 +03:00
Thanasis Antoniou d4855a64b3 BLADERUNNER: Add methods to skip screen effects
Also enhanced functionality for debugger's cmdDraw, allowing to draw isolated objects
2019-05-21 22:13:45 +03:00
Thanasis Antoniou 618d48dde8 BLADERUNNER: Mainframe talkie restored 2019-05-13 03:29:00 +03:00
Thanasis Antoniou db0020c55f BLADERUNNER: Another fix for confess to Guzza 2019-05-08 22:58:04 +03:00
Thanasis Antoniou fd9cfd9604 BLADERUNNER: User choice mode should not autoselect last option 2019-04-30 15:19:55 +03:00
Thanasis Antoniou a663930dd0 BLADERUNNER: Named constants for animationIds P01
Part one of using named constants for model animations
2019-04-20 17:33:39 +03:00
Thanasis Antoniou 5354c1b764 BLADERUNNER: Minor fix for Random_Query 2019-04-05 22:21:27 +03:00
Thanasis Antoniou a0beaa6f4e BLADERUNNER: SFX named constants and MissSound fix
Still pending cleaning up Ambient_Sounds_Add_Sound and Ambient_Sounds_Add_Looping_Sound calls
2019-04-05 21:35:55 +03:00
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