Commit Graph

554 Commits

Author SHA1 Message Date
Thanasis Antoniou
d2b8f9284c BLADERUNNER: Remove redundant call to playerGainsControl
When Steele retires Izo in RC03
2019-05-22 00:44:31 +03:00
Thanasis Antoniou
984ede6262 BLADERUNNER: Fix combat music autosaved at start of Act 3
If player clicks fast through all the dialogue at BB roof top
2019-05-22 00:44:31 +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
203d82a1a0 BLADERUNNER: Officers and combat bugfixes part 1
The debug messages and comments will all be removed after this series of fixes
2019-05-20 13:12:06 +03:00
Thanasis Antoniou
5b2e6f6dfb BLADERUNNER: Cleanup and fix for NR03 dancer 2019-05-19 21:25:26 +03:00
Thanasis Antoniou
ea3a9f211d BLADERUNNER: Cleanup of police AI and fix for rat ai 2019-05-19 14:34:01 +03:00
Thanasis Antoniou
674e44f55b BLADERUNNER: Howie Lee AI and Leary overlap fixes 2019-05-17 14:26:49 +03:00
Thanasis Antoniou
297ebb73e0 BLADERUNNER: Warning if loading restored cut content save in original mode
And vice versa. The game won't exit, it will continue loading but adjust the mode accordingly

Also added a incremental version number for the save games (as a global variable), for possible future use
2019-05-15 22:53:45 +03:00
Thanasis Antoniou
c92d20d28a BLADERUNNER: Fix freeze for MA06 elevator 2019-05-13 23:20:14 +03:00
Thanasis Antoniou
fa171732e9 BLADERUNNER: Fix broken MA06 elev when cutContent disabled 2019-05-13 22:46:57 +03:00
Thanasis Antoniou
093c18564c BLADERUNNER: Act 4 meet with Rachael polish 2019-05-13 22:29:26 +03:00
Thanasis Antoniou
a14dffbf4b BLADERUNNER: fix for homeless found cases 2019-05-13 10:26:00 +03:00
Thanasis Antoniou
c352c2ed1b BLADERUNNER: Speech when click on barkeep from HC01
Added behavior identical for similar cases (CT12, AR01)
2019-05-13 10:07:07 +03:00
Thanasis Antoniou
7f6b9750d7 BLADERUNNER: Howie restored content
Howie will now be in Chinatown in Acts 2 and 3, but won't always be in the diner

This gives him more probability to discover the homeless body if in dumpster and also enables some extra dialogue
2019-05-13 03:29:00 +03:00
Thanasis Antoniou
9207f7270b BLADERUNNER: Hit and Run dispatch clue restored 2019-05-13 03:29:00 +03:00
Thanasis Antoniou
618d48dde8 BLADERUNNER: Mainframe talkie restored 2019-05-13 03:29:00 +03:00
Thanasis Antoniou
c52cd1ea4c BLADERUNNER: Fixes for PS05
Pathfinding and spawn points fixes
2019-05-13 03:29:00 +03:00
Thanasis Antoniou
0e112b964c BLADERUNNER: cut content now loads all TLK resources
Work-around for cut content stored in wrong TLK files
2019-05-13 03:29:00 +03:00
Thanasis Antoniou
074baf9b26 BLADERUNNER: Use booleans in walk functions
And a few more (not all yet) methods that had 1, 0 instead of true, false
2019-05-09 15:15:33 +03:00
Thanasis Antoniou
6e84264735 BLADERUNNER: Fix audio clue DoorForced1 post Act 1 2019-05-09 11:51:35 +03:00
Thanasis Antoniou
36ae364b93 BLADERUNNER: Complementary fix for scorpion cage 2019-05-09 00:29:26 +03:00
Thanasis Antoniou
eb5aafa90c BLADERUNNER: Fix scorpion cage blink in and out
Original bug occurs in transitions from AR01 to AR02
2019-05-08 23:56:38 +03:00
Thanasis Antoniou
db0020c55f BLADERUNNER: Another fix for confess to Guzza 2019-05-08 22:58:04 +03:00
Thanasis Antoniou
782488f981 BLADERUNNER: Remove most of custom PS04 transition
It didn't work out quite well
2019-05-08 09:42:25 +03:00
Thierry Crozat
5a519e19c6 BLADERUNNER: Fix compilation with non-c++11 compilers 2019-05-07 23:54:40 +01:00
antoniou79
74936020ec BLADERUNNER: fix Guzza, PS03, PS04, PS01
Also, added a custom transition when Guzza calls in for favors

Still pending: in PS03 some actors may blink out of existence (happened to
officer Grayford)
2019-05-08 00:52:21 +03:00
antoniou79
02ac7fbfd3 BLADERUNNER: Clarification comment on Steele's ai
Steele can get a clue (officer's statement) that McCoy missed

This is so McCoy won't miss this particular clue no matter what. But McCoy
can get this clue on his own if the officer is still at the crime scene
(he might leave) even if he already got it from the mainframe via Steele.
This is intended.
2019-05-08 00:52:21 +03:00
Thanasis Antoniou
24bf47a28b BLADERUNNER: Restoring Rachael related scenes pt1
Some testing and polishing of animations pending especially with meeting in Act 4
2019-05-06 23:53:43 +03:00
Thanasis Antoniou
9a510b1c47 BLADERUNNER: Fix warning for fall-through switch case
Added a clean "fall through" comment
2019-05-06 23:53:43 +03:00
Thanasis Antoniou
258a71b060 BLADERUNNER: Restore fans comment in BB11 only
And some small preparation (comments) for restoring Rachael scenes
2019-05-06 12:43:33 +03:00
Peter Kohaut
4a2d7269f4 BLADERUNNER: Remove police officers from MA07
They are causing issues with Gaff dialogue if they are in the same scene
at the same time.
2019-05-05 23:04:44 +02:00
Peter Kohaut
d8ba527cf0 BLADERUNNER: Fix Moraji floating in DR04 2019-05-05 22:16:28 +02:00
Thanasis Antoniou
8787bbb390 BLADERUNNER: fix for Clovis being stuck at BB11
This is a possible bugfix, hopefully it will be enough

The bug occurs when skipping fast through the dialogue of Clovis with Sadik at BB11 rooftop. But it does not happen always. I've managed to capture the case when this happens a few times (_animationState == 0 switch clause), but I'm unsure if there are other unhandled _animationState values that would cause this.
2019-05-05 14:33:04 +03:00
Thanasis Antoniou
2a38562d4b BLADERUNNER: CT08 CT51 doll box fix and radiator region
Also a smalle fix for debugger (adding new region or adjusting its rectangle)
2019-05-04 23:44:30 +03:00
Thanasis Antoniou
d666eb154a BLADERUNNER: Fix rats re-spawn and UG09, UG13 bad paths
UG09 bad path allowed McCoy to teleport to the pipe top left. UG13, when elevator was up McCoy could walk in the empty chute
2019-05-04 17:25:34 +03:00
Thanasis Antoniou
c572828132 BLADERUNNER: Debugger command show maze score 2019-05-01 12:03:00 +03:00
Thanasis Antoniou
4cd7c3d19f BLADERUNNER: Fix interaction with transient about locked door 2019-05-01 08:57:43 +03:00
Thanasis Antoniou
980b1e4d95 BLADERUNNER: Restore content in UG13 2019-04-30 15:19:55 +03:00
Thanasis Antoniou
fd9cfd9604 BLADERUNNER: User choice mode should not autoselect last option 2019-04-30 15:19:55 +03:00
Thanasis Antoniou
31c79b6064 BLADERUNNER: Comments on dialogue options 2019-04-30 15:19:55 +03:00
antoniou79
d4d521b562 BLADERUNNER: Chess, keyboard, and clues bug fixes 2019-04-29 15:27:47 +03:00
Thanasis Antoniou
c72cde3149 BLADERUNNER: Fix spinner transitions post Act 1
Also restored ascenting outtake when leaving RC01 in Act 1
2019-04-28 00:21:16 +03:00
Thanasis Antoniou
346361166c BLADERUNNER: Add cut monologue from DR01 first visit 2019-04-28 00:21:16 +03:00
Thanasis Antoniou
083bfd1687 BLADERUNNER: BB01, DR01, NR01 reduce freq of intro scene
They'll play the first time, but have 33% probability to play on subsequent visits
2019-04-28 00:21:16 +03:00
Thanasis Antoniou
2858873db9 BLADERUNNER: DR01 restore cut content and randomize intro
Intro with bikes should not always play after first time in act2
2019-04-28 00:21:15 +03:00
Peter Kohaut
ee2dcf6375 BLADERUNNER: Make the cut content a runtime option
Player can choose to use or not the restored cut content.
Does not affect fixed bugs in original game.
2019-04-25 23:39:31 +02:00
Thanasis Antoniou
620864293d BLADERUNNER: remove deprecated methods from header 2019-04-24 15:31:53 +03:00
Thanasis Antoniou
ac61f0dc75 BLADERUNNER: Restore VK sessions cut content
Includes Runciter's VK session
2019-04-24 15:13:26 +03:00
Thanasis Antoniou
81575df8d9 BLADERUNNER: Debugger command for full VK sessions 2019-04-24 15:13:26 +03:00
Thanasis Antoniou
ac32d35ff4 BLADERUNNER: Restore relared VK questions mechanism 2019-04-24 15:13:26 +03:00
Thanasis Antoniou
0ba4e56168 BLADERUNNER: Named constants for model animations P02 2019-04-24 15:13:26 +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
7fba5444ee BLADERUNNER: Don't restart dialogue with offended Larry 2019-04-14 15:59:57 +03:00
Thanasis Antoniou
f8b5033680 BLADERUNNER: Remove line about Izo being in UG02 CH04 2019-04-14 15:59:57 +03:00
Thanasis Antoniou
00daee9112 BLADERUNNER: Fix McCoy's fake voice with Dektora
Also a fix for a closeArchive() warning about A.TLK not being open
2019-04-12 19:10:49 +03:00
Thanasis Antoniou
c99fbcd53b BLADERUNNER: Fix compilation when enabling some macros
Compilation was broken for BLADERUNNER_ORIGINAL_SETTINGS(1) and BLADERUNNER_ORIGINAL_BUGS(1)
2019-04-10 19:00:14 +03:00
Thanasis Antoniou
a9404284c3 BLADERUNNER: Fix Officer Leary crowd interrogation
He will now resume interrogation after McCoy interrupts him

Also used named constants for timers
2019-04-09 16:32:51 +03:00
Thanasis Antoniou
61b89613f3 BLADERUNNER: Reverted animated doors in CT01
They become annoying fast; probably the reason they were cut
2019-04-08 18:56:47 +03:00
Thanasis Antoniou
50ff57bb07 BLADERUNNER: Smoother transition in MA04-M05 in Acts 2-3 2019-04-08 18:56:47 +03:00
Thanasis Antoniou
54c1c8d220 BLADERUNNER: Fix Gordo overlap with CT01 loopIn 2019-04-07 23:14:50 +03:00
Thanasis Antoniou
603c9fd009 BLADERUNNER: Fix for AR, CT01 Spinner fly-in
AR01: Fish dealer behavior fix, AR02: music fix, CT01: Spinner may fly in (loop)
2019-04-07 22:48:10 +03:00
Thanasis Antoniou
b3e4aa1464 BLADERUNNER: Bugfix for Early Q music fadeout
And an additional bug fix for gravel footstep sounds

And I added some comments for marking the unused SFX sounds in game_constants.h
2019-04-07 17:37:40 +03:00
Thanasis Antoniou
9c0c249a96 BLADERUNNER: Cleaned up Ambient_Sounds_Add_Sound calls 2019-04-06 19:22:01 +03:00
Thanasis Antoniou
4e75b7e6b7 BLADERUNNER: Cleanup for looping sounds
Completed Add, Adjust and Remove Looping_Sound(), Pending Ambient_Sounds_Add_Sound
2019-04-06 00:02:32 +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
fecfe9ec86 BLADERUNNER: Fixes for elevator in UG13
Fixed McCoy appearing early at start of scene before disappearing

Also added sound for going down when called from button
2019-04-03 01:00:58 +03:00
Thanasis Antoniou
8a239c1c76 BLADERUNNER: Removing looping sounds after Gaff ending
Prevents sound popping between ending outtake and credits
2019-04-02 20:17:31 +03:00
Thanasis Antoniou
a7f2d26831 BLADERUNNER: Fix flash back to game between end outtake and credits
Between an ending outtake and the end credits the game did a quick flash back to the game scene
2019-04-02 19:32:16 +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
29762a6731 BLADERUNNER: Fix no music at Dektora dance outtake
Also add constants for all music tracks
2019-03-31 17:53:57 +03:00
Thanasis Antoniou
20d77710c9 BLADERUNNER: Release non-repeated and support queued overlays 2019-03-31 12:24:23 +03:00
Thanasis Antoniou
39a8235acc BLADERUNNER: Fix spelling of kVariableReplicantsSurvivorsAtMoonbus 2019-03-30 01:32:50 +02:00
Thanasis Antoniou
6e45a702a2 BLADERUNNER: Moonbus fixes (Izo and Luther)
Also fixed a typo that resulted in Izo's corpse persisting past chapter 2 at RC03
2019-03-28 01:33:24 +02:00
Thanasis Antoniou
5959d01a67 BLADERUNNER: Fixes for moonbus combat 2019-03-27 15:11:31 +02:00
Thanasis Antoniou
bb719ba87c BLADERUNNER: Fix missing sound effects in some occassions
LABBUZZ sound for the maze and Animoid sounds

Moved lab buzz in next scene's (PS10) init, and increased size of track buffer to compensate for frequently dropping sounds in places with mayne sound effects (eg Animoid Row, Izo's door and trapdoor)
2019-03-27 12:39:24 +02:00
Thanasis Antoniou
831072d809 BLADERUNNER: Fix Dektora showing up dead at moonbus 2019-03-26 16:27:18 +02:00
Thanasis Antoniou
805dc466d0 BLADERUNNER: Resolve dead end state with Zuben
McCoy should now always be able to gather enough clues to trigger Zuben throwing the soup (via the VK test question if he does not have the Lucy photo clue).
2019-03-26 02:08:22 +02:00
Thanasis Antoniou
e898ed379f BLADERUNNER: Final pass on the maze
Removed bell on enemy reveal, brought back original special targets

Also reverted to original fast targets even though they are probably unfair. And commented out the score subtitle.
2019-03-23 03:26:10 +02:00
Thanasis Antoniou
a03dbae1f0 BLADERUNNER: All maze targets normalized
Max achievable score is verified 80 as it should be if all targets were normal

Since there are special targets (to be restored in the next commit) the max score with be above 80 and it's not a fixed value known in advance.
2019-03-22 23:59:21 +02:00
Thanasis Antoniou
d15a5d4578 BLADERUNNER: More fixes for the shooting range
Special targets not yet restored. Fixed a target overlap on PS13, and bad orientation of a target in PS11 and one in PS13.

Special ding sound will be removed in the final pass of the maze code, when special targets will be restored too, and also fast targets will be restore to being fast or faster than they are now.
2019-03-21 19:19:52 +02:00
Thanasis Antoniou
120955b9a2 BLADERUNNER: Fixes and cleanup for Police Maze C
First pass of all rooms is complete. A second pass is pending where the special targets will be restored
2019-03-20 14:06:18 +02:00
Thanasis Antoniou
c785512f2a BLADERUNNER: Fixes and cleanup for Police Maze B
Mainly PS12. Also added some early info on how maze score works

The special target cases are marked as bugs and will be restored on a second pass. For now we need to verify that the highest score of 80 points is achievable if all targets are normal ones.
2019-03-19 15:34:50 +02: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
e7641d51b5 BLADERUNNER: Fixes for Russian version 2019-03-17 22:01:16 +01:00
Peter Kohaut
1e6720b8be BLADERUNNER: Clean-up of PS13 target scripts 2019-03-11 21:36:16 +01:00
Peter Kohaut
2a86725d17 BLADERUNNER: Better formatting for police targets instructions 2019-03-11 21:36:16 +01:00
Peter Kohaut
e9b229b6e6 BLADERUNNER: Clean-up of PS12 target scripts 2019-03-11 00:13:52 +01:00
Peter Kohaut
dbe3043aa9 BLADERUNNER: Clean-up of PS10 & PS11 target scripts 2019-03-11 00:13:52 +01:00
Thanasis Antoniou
1c6905217e BLADERUNNER: Marking cut content with BLADERUNNER_RESTORED_CUT_CONTENT macro
Enabled by default.

Currently, only restored content is the death rattle sound for Moraji and Zuben, and the dialogue of Guzza denying McCoy an advance
2019-03-10 18:02:05 +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
9c25be9121 BLADERUNNER: Cleanup of TODO notes 2019-03-04 19:43:36 +01:00
Thanasis Antoniou
9c562da4ed BLADERUNNER: retirement bounty exploit fix
And small dialogue bits with Guzza when reporting in now only play in Act 1 where they make sense.

Also, don't allow McCoy to get the retirement bonus twice in Act 1. Also don't allow him to get money (100 cy) from Guzza if he has enough (>=300).
2019-03-04 16:53:23 +02:00
Thanasis Antoniou
dc74061311 BLADERUNNER: Add Zuben's death rattle
Other actors are missing their death rattle's (original bug). Will be fixed at later patch on case by case basis.
2019-03-04 14:22:51 +02:00
Thanasis Antoniou
4642d1697d BLADERUNNER: Sadik dead end fix (BB09 kill)
Also fixed an flag constistency for kFlagZubenBountyPaid

It is no longer possible to kill Sadik at BB09, but shooting him will lower his health (from initial to a fixed HP), and if McCoy also shoots him at UG18 his health will be further lowered (again to a fixed HP).
2019-03-01 11:04:07 +02:00
Thanasis Antoniou
571ddf46cd BLADERUNNER: A better fix for Sebastian's doll
Use just the existing box 31. Implement a way to override object placement.

Remove the item 77 (Holden's badge) completely.
2019-02-28 15:26:35 +02:00
Thanasis Antoniou
09d3460780 BLADERUNNER: Fix for Sebastian's doll in BB06
Targeting clicking bounding box fixed. Animation weirdness minimized.

Also restored explosion animation.
2019-02-26 02:19:36 +02:00
Peter Kohaut
5f520aa386 BLADERUNNER: Small clean-up of macros 2019-02-24 00:36:41 +01:00
Thanasis Antoniou
2301cc04a3 BLADERUNNER: Fix Moraji death screams and Grayford bug
Death scream in lab changed to his own. Death scream outside lab added.

Also, original code had a bug whereby if you clicked through the conversation with Grayford about Moraji's murder, then clicking again on Moraji would restart the same conversation and this could go on infinitely.
2019-02-24 00:13:07 +02:00
Thanasis Antoniou
28551e8124 BLADERUNNER: CT01 fixed interaction with Gordo
Also corrected an original code bug for Gordo acquiring clue that McCoy is BladeRunner
2019-02-23 21:07:01 +02:00
Peter Kohaut
00b83c2ff7 BLADERUNNER: Cleanup of Zuben script 2019-02-23 11:39:55 +01:00
Peter Kohaut
29f2406f14 BLADERUNNER: Cleanup of McCoy script 2019-02-23 11:39:54 +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
4886b0581e BLADERUNNER: Fix Coverity issues 2019-02-20 23:02:05 +01:00
Peter Kohaut
daa98e408f BLADERUNNER: Fixed spinner destinations in HF01 2019-02-20 22:06:57 +01:00
Peter Kohaut
d8eb3c14a4 BLADERUNNER: Removal of memory leaks 2019-02-12 23:07:14 +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
fe25ad1a83 BLADERUNNER: Fixed Gordo animation change
He will stop properly after running
2019-02-10 09:50:16 +01:00
Peter Kohaut
a0e9b09cd9 BLADERUNNER: Removed unnecessary debugging code 2019-02-08 21:00:52 +01:00
Peter Kohaut
7061f7cb17 BLADERUNNER: Cleanup for drive away endings scripts
All ending are achievable
2019-02-07 23:45:41 +01:00
Peter Kohaut
b3b6f6eaa3 BLADERUNNER: Cleanup of Mutants scripts 2019-02-07 23:45:19 +01:00
Peter Kohaut
c99d3ea132 BLADERUNNER: Cleanup of Clovis scripts for chapter 5 2019-02-07 23:45:19 +01:00
Peter Kohaut
cafc76dcfe BLADERUNNER: Cleanup of Maggie script 2019-02-05 21:59:45 +01:00
Peter Kohaut
92774be0ae BLADERUNNER: Cleanup Steele scripts for ending 2019-02-05 21:54:50 +01:00
Peter Kohaut
6222fa443d BLADERUNNER: Gaff scripts cleanup 2019-02-05 21:54:50 +01:00
Peter Kohaut
934ba34adb BLADERUNNER: Cleanup of KP03 bomb related scripts 2019-02-03 11:44:55 +01:00
Peter Kohaut
95f42fde63 BLADERUNNER: Initial cleanup of Kipple scripts 2019-02-03 00:14:09 +01:00
Peter Kohaut
f2d76c2d71 BLADERUNNER: Cleanup of scripts at start of chapter 5 2019-02-03 00:14:09 +01:00
Peter Kohaut
cee294137a BLADERUNNER: Cleanup for scene at UG18 2019-02-03 00:14:09 +01:00
Peter Kohaut
ce3b731656 BLADERUNNER: Cleanup Luther & Lance related scripts 2019-02-03 00:14:09 +01:00
Peter Kohaut
1df1eefc3e BLADERUNNER: Fixed Rat interaction at UG15 2019-02-03 00:14:09 +01:00
Peter Kohaut
19d92484fd BLADERUNNER: Cleanup of scripts at start of chapter 4 2019-02-02 00:50:16 +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
69be535308 BLADERUNNER: Initial cleanup of underground scripts 2019-01-31 21:27:31 +01:00
Peter Kohaut
49d01c3c13 BLADERUNNER: Cleanup of Dektora chase related scripts 2019-01-31 21:27:31 +01:00
Peter Kohaut
3fc1fbb8da BLADERUNNER: Clean up of Dektora script 2019-01-31 21:27:31 +01:00
Peter Kohaut
b16b26ac72 BLADERUNNER: Clean up NR04 and related scripts 2019-01-31 21:27:31 +01:00
Peter Kohaut
2e9c4bfdc1 BLADERUNNER: Cleanup of back EarlyQ's scenes scripts 2019-01-29 23:37:09 +01:00
Peter Kohaut
2c3af4b8e9 BLADERUNNER: Cleanup of front EarlyQ's scenes scripts 2019-01-29 23:36:29 +01:00
Peter Kohaut
d776eb186d BLADERUNNER: Fixed Gordo death animation after running 2019-01-29 18:43:42 +01:00
Peter Kohaut
de527a2406 BLADERUNNER: Cleanup of Steele animation code 2019-01-28 20:45:59 +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
578d98ee12 BLADERUNNER: Cleanup of scripts for Gordo chase 2019-01-28 20:45:48 +01:00
Peter Kohaut
77adb67664 BLADERUNNER: Initial cleanup of NR01, NR02 & related scripts 2019-01-27 22:21:54 +01:00
Peter Kohaut
1ee6cf92bd BLADERUNNER: Marking few cut features 2019-01-27 21:31:29 +01:00
Peter Kohaut
1ef310db3c BLADERUNNER: Small cleanup for chapter 2 scripts 2019-01-27 20:27:45 +01:00
Peter Kohaut
5c1b8a635a BLADERUNNER: Initial cleanup of HF05 & HF06 2019-01-27 20:27:45 +01:00
Peter Kohaut
2fd99c5c1b BLADERUNNER: Police station script fixes 2019-01-27 20:27:45 +01:00
Peter Kohaut
c3a2a262d9 BLADERUNNER: Cleanup of PS06 script 2019-01-27 20:27:45 +01:00
Peter Kohaut
702d8a4d37 BLADERUNNER: Holloway script cleanup 2019-01-27 20:27:45 +01:00
Peter Kohaut
24bc52c277 BLADERUNNER: Cleanup of Steele scripts for Lucy chase 2019-01-27 11:49:00 +01:00
Peter Kohaut
de1dabd072 BLADERUNNER: Cleanup & fix of Lucy chase scripts
First wait-point in Hystersia Maze was incorrectly triggered
2019-01-27 11:49:00 +01:00
Peter Kohaut
2bea230711 BLADERUNNER: Initial cleanup of HF02 & HF03 2019-01-27 11:49:00 +01:00
Peter Kohaut
2cf1d2e3f1 BLADERUNNER: Initial cleanup of HF01 & related actors 2019-01-27 11:48:59 +01:00
Peter Kohaut
bc7713e040 BLADERUNNER: Cleanup of Police station scripts for chapter 1 & 2 2019-01-27 11:48:59 +01:00
Peter Kohaut
1ca97137ad BLADERUNNER: Fixed wrongly clickable news in DR02
They are not supposed to be clickable
2019-01-27 11:48:59 +01:00
Peter Kohaut
ace4904d39 BLADERUNNER: Cleanup of Guzza script for chapter 2 2019-01-27 11:48:59 +01:00
Peter Kohaut
783f0554ed BLADERUNNER: Cleanup of Steele scripts for chapter 1 2019-01-27 11:48:59 +01:00
Peter Kohaut
f4c5a557ac BLADERUNNER: Hawker's circle script cleanup 2019-01-27 11:48:59 +01:00
Peter Kohaut
8b849d282f BLADERUNNER: Cleanup of Gaff script for chapter 1 & 2 2019-01-27 11:48:59 +01:00
Peter Kohaut
3653703a40 BLADERUNNER: Analysed all Yukon hotel scenes 2019-01-26 14:59:16 +01:00
Peter Kohaut
71c262f881 BLADERUNNER: Analysed Leon scene at Yukon Hotel 2019-01-26 14:31:04 +01:00
Peter Kohaut
bff136ca0c BLADERUNNER: Fixed Sebastian script
Dialogue was not available
2019-01-26 10:38:53 +01:00
Peter Kohaut
80fb50423d BLADERUNNER: Added names of loops in BB01 2019-01-26 10:38:33 +01:00
Peter Kohaut
cd37d510f9 BLADERUNNER: Cleanup of actor scripts for a fight in BB11
Also named goal for McCoy arrest
2019-01-25 23:18:20 +01:00
Peter Kohaut
474e4e2f09 BLADERUNNER: Cleanup of BBxx scripts
Removed issue where McCoy went to jail for no reason at start of 3rd act
2019-01-25 23:16:24 +01:00
Peter Kohaut
f5aa8d7134 BLADERUNNER: Fixed fly-away animation in RC01 for later chapters 2019-01-25 21:32:33 +01:00
Peter Kohaut
2cc09b6b10 BLADERUNNER: Fixes for game scripts & cleanup 2019-01-24 23:05:13 +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
5e2fb6fb26 BLADERUNNER: More variable names in the game scripts
Fixed some errors as well
2019-01-19 23:15:41 +01:00
Peter Kohaut
adf741a5cb BLADERUNNER: More variable names in the game scripts 2019-01-15 08:35:46 +01:00
Peter Kohaut
eb84113222 BLADERUNNER: More variable names in the game scripts 2019-01-13 21:06:58 +01:00
Peter Kohaut
6f478f4c81 BLADERUNNER: Merged chapter & scene debugger command 2019-01-13 00:30:52 +01:00
Peter Kohaut
62541cec06 BLADERUNNER: Fixed more compilation errors 2019-01-12 19:17:41 +01:00
Peter Kohaut
c683f99192 BLADERUNNER: Fix compilation errors 2019-01-12 19:11:08 +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
03319bcc7d BLADERUNNER: Fixed Zuben death animation
Animation was not playing due to wrong switch statment
2019-01-08 20:49:59 +01:00
Peter Kohaut
3f712604a7 BLADERUNNER: Fixed item rotation
Item's angle was not update after chaning "facing".
Police maze targets are now rotated correct way.
Added debug logging for the police maze tracts.
2018-12-24 13:51:28 +01:00
Peter Kohaut
2f242a10da BLADERUNNER: Added time control and game pausing 2018-12-15 23:02:58 +01:00
Peter Kohaut
cfb46da90c BLADERUNNER: Add in-game loading screen
It is also possible to start new game from it.
2018-11-25 22:22:25 +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
D G Turner
509fe6f3c2 BLADERUNNER: Fix Fall Through Compiler Warnings
Clang and newer versions of GCC i.e. v8.2 require the comment to match
"fall through" to surpress warnings so change "no break" comments to
match.
2018-11-13 08:31:06 +00: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
Adrian Frühwirth
c7f3416daa JANITORIAL: Remove trailing whitespace 2018-05-20 23:40:20 +02:00
Thomas Fach-Pedersen
e3363635cb BLADERUNNER: Implement obstacle polygon merging 2018-05-07 19:17:13 +02:00
Adrian Frühwirth
a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +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
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
cdad8a2e6b BLADERUNNER: Fully plug the Scores into the engine 2018-03-26 00:54:17 +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
Peter Kohaut
a70c59f90d BLADERUNNER: PoliceMaze fix & constants 2018-03-24 16:52:09 +01:00
Eugene Sandulenko
cb07644877 BLADERUNNER: Fix PoliceMaze track 2018-03-24 12:42:23 +01:00
Eugene Sandulenko
94e2d51328 BLADERUNNER: Fix crash at startup of PoliceMaze 2018-03-24 11:51:30 +01:00
Eugene Sandulenko
f153da7f85 BLADERUNNER: Finished PoliceMaze implementation 2018-03-24 10:47:07 +01:00
Eugene Sandulenko
55245a8cca BLADERUNNER: Moved PoliceMaze to script/ 2018-03-24 02:45:26 +01:00
Eugene Sandulenko
ff11cee480 BLADERUNNER: Added WIP code for PoliceMazeTargetTrack::tick() 2018-03-24 02:45:26 +01:00
Eugene Sandulenko
5a94c42e80 BLADERUNNER: Implement PoliceMaze::tick() 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
Adrian Frühwirth
313eeca36a BLADERUNNER: Add missing break to switch statement
Confirmed missing by peterkohaut (and gcc7).
2018-03-23 20:25:51 +01:00
Eugene Sandulenko
98620a45c4 BLADERUNNER: Fix bug with path generator in GenericWalkerA actor 2018-03-19 19:51:11 +01:00
Eugene Sandulenko
bf798bdf80 BLADERUNNER: Mark a bug in original code 2018-03-19 19:40:27 +01:00
Thomas Fach-Pedersen
5f5cee2be3 BLADERUNNER: Round coordinates to two decimals
Also fixes a couple of typos.
2018-03-18 20:36:11 +01:00
Eugene Sandulenko
4dd0713fdd BLADERUNNER: Added FreeSlotB actor 2018-03-18 16:53:45 +01:00
Eugene Sandulenko
acdb8d055c BLADERUNNER: Added FreeSlotA actor 2018-03-18 16:53:45 +01:00
Peter Kohaut
9e341e12c8 BLADERUNNER: Actors fixes
Removed forgotten combat development hack
Clovis clovis & fix
Grayford cleanup & fixes
Hanoi small cleanup
2018-03-18 01:07:12 +01:00
Eugene Sandulenko
e91c5f3dd3 BLADERUNNER: Added Hanoi actor 2018-03-17 23:39:22 +01:00
Eugene Sandulenko
92e3abc66f BLADERUNNER: Added OfficerGrayford actor 2018-03-17 22:13:14 +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
41a35c736b BLADERUNNER: Added Hasan actor 2018-03-17 13:48:52 +01:00
Eugene Sandulenko
8b5335869d BLADERUNNER: Added EarlyQ actor 2018-03-17 13:23:15 +01:00
Eugene Sandulenko
b7e8fff99e BLADERUNNER: Added BulletBob actor 2018-03-17 11:27:08 +01:00
Eugene Sandulenko
37c2824382 BLADERUNNER: Added Luther actor 2018-03-17 11:27:08 +01:00
Eugene Sandulenko
26782415df BLADERUNNER: Added Sadik actor 2018-03-17 00:29:28 +01:00
Eugene Sandulenko
fb882a10ae BLADERUNNER: Added Mutant3 actor 2018-03-16 21:31:33 +01:00
Eugene Sandulenko
a90c1f055e BLADERUNNER: Use constants 2018-03-16 21:31:33 +01:00
Eugene Sandulenko
071619d14c BLADERUNNER: Added Mutant2 actor 2018-03-16 21:31:33 +01:00
Eugene Sandulenko
2b1f1c4947 BLADERUNNER: Fix Mutant1 aggressiveness 2018-03-16 21:31:33 +01:00
Eugene Sandulenko
041a22577a BLADERUNNER: Added Mutant1 actor 2018-03-16 21:31:33 +01:00
Eugene Sandulenko
56b3ac20e0 BLADERUNNER: Added Photographer actor 2018-03-16 21:31:33 +01:00
Eugene Sandulenko
d982eee927 BLADERUNNER: Added Holloway actor 2018-03-16 21:31:33 +01:00
Eugene Sandulenko
4be622d664 BLADERUNNER: Added GeneralDoll actor 2018-03-16 21:31:33 +01:00
Eugene Sandulenko
50003f2875 BLADERUNNER: Finished actor Izo code 2018-03-16 15:21:16 +01:00
Eugene Sandulenko
a656480092 BLADERUNNER: Added Izo actor (incomplete) 2018-03-15 23:44:53 +01:00
Eugene Sandulenko
c65a6930cb BLADERUNNER: Added mssing method for Lucy 2018-03-15 22:45:00 +01:00
Eugene Sandulenko
2ba581cd86 BLADERUNNER: Added Lucy actor 2018-03-15 22:43:02 +01:00
Eugene Sandulenko
c7755d4c46 BLADERUNNER: Added Clovis actor 2018-03-14 23:59:07 +01:00
Eugene Sandulenko
654ef04f82 BLADERUNNER: Added Dektora actor 2018-03-13 18:45:50 +01:00
Eugene Sandulenko
11e5e5d378 BLADERUNNER: Added Isabella actor 2018-03-13 15:08:44 +01:00
Eugene Sandulenko
f85899cf93 BLADERUNNER: Added Rachel actor 2018-03-13 14:30:17 +01:00
Eugene Sandulenko
d37223a9fc BLADERUNNER: Added Sebastian actor 2018-03-13 13:56:03 +01:00
Eugene Sandulenko
b45ba3102f BLADERUNNER: Added Chew actor 2018-03-13 13:00:22 +01:00
Eugene Sandulenko
19a91e60d2 BLADERUNNER: Added BlimpGuy actor 2018-03-13 00:18:53 +01:00
Eugene Sandulenko
fb9843646d BLADERUNNER: Added Taffy actor 2018-03-13 00:18:53 +01:00
Eugene Sandulenko
c2e4240f18 BLADERUNNER: Added Tyrell actor 2018-03-13 00:18:53 +01:00
Eugene Sandulenko
ca2f9487c3 BLADERUNNER: Added Teenager actor 2018-03-12 21:00:08 +01:00
Eugene Sandulenko
ca51236416 BLADERUNNER: Added LockupGuard actor 2018-03-12 20:57:35 +01:00
Eugene Sandulenko
f16e054c3a BLADERUNNER: Added TaffyPatron actor 2018-03-12 20:54:39 +01:00
Eugene Sandulenko
e1cd47baef BLADERUNNER: Added HawkersParrot actor 2018-03-12 20:35:36 +01:00
Eugene Sandulenko
b5887e1759 BLADERUNNER: Added EarlyQBartender actor 2018-03-12 20:29:56 +01:00
Eugene Sandulenko
31bf086186 BLADERUNNER: Added GovernorKolvig actor 2018-03-11 22:26:33 +01:00
Eugene Sandulenko
0c4ca50411 BLADERUNNER: Added Rajif actor 2018-03-11 22:21:30 +01:00
Eugene Sandulenko
c635f7c8d7 BLADERUNNER: Added AnsweringMachine actor 2018-03-11 22:21:30 +01:00
Eugene Sandulenko
d3cde2c16e BLADERUNNER: Added Dispatcher actor 2018-03-11 22:21:30 +01:00
Eugene Sandulenko
b530bd38df BLADERUNNER: Added TheBard actor 2018-03-11 22:21:30 +01:00
Eugene Sandulenko
edaeb0f105 BLADERUNNER: Added Moraji actor 2018-03-11 22:21:30 +01:00
Eugene Sandulenko
41ca5d2495 BLADERUNNER: Finished Steele actor 2018-03-11 19:52:33 +01:00
Eugene Sandulenko
16c7aef1d4 BLADERUNNER: Added Crazylegs actor 2018-03-11 19:28:31 +01:00