Commit Graph
91 Commits
Author SHA1 Message Date
antoniou79 ffe65087a8 BLADERUNNER: Include flag id 0 for cmdFlag()
This is for the debugger. Flag 0 is not really used, but it exists and should be included.

We might re-use it for restored content in the future.
2022-10-14 11:33:28 +03:00
antoniou79 42a0025aed BLADERUNNER: Support secondary subtitles
Main for debugging and fun stats in shooting range and VK test for now
2022-06-30 01:00:06 +03:00
antoniou79 8ed44c4e6f BLADERUNNER: Fix subtitles encoding for internal font 2022-06-30 01:00:05 +03:00
antoniou79 e68142d3e6 BLADERUNNER: Add support for old v2 VQAs
These are VQAs with companion VQP files used for Blade Runner teaser (Sizzle reel)
2022-05-07 22:54:25 +03:00
antoniou79 7145c863be BLADERUNNER: Add an outtake command to debugger 2022-04-13 22:50:59 +03:00
antoniou79 4bd2a36ba9 BLADERUNNER: Allow use of beta crosshairs and additive draw
This is only through the debugger mouse command
2022-02-21 22:46:48 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 6965dd663e BLADERUNNER: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Alexandre Detiste 6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
antoniou79 fd45d6cca7 BLADERUNNER: Fix map from 5bit color to 8bit
This fixes a bug with Izo's flash not entirely hiding McCoy, Izo and NPCs

White value was previously calculated as r,g,b (248,248,248) instead of (255,255,255)
2021-07-03 19:31:48 +03:00
antoniou79 7a2a53b9ff BLADERUNNER: RESTORED CONTENT: Start some music at random second 2021-06-14 16:27:19 +03:00
antoniou79 d92880d7b1 BLADERUNNER: Fix syntax for help info for a few commands 2021-05-29 18:56:45 +03:00
Eugene Sandulenko 901f05fca3 BLADERUNNER: Save full size thumbnails into saves. This bumps the save version to 4.
The original format compatibility quirks should stay working
2021-04-17 15:04:36 +02:00
antoniou79 3c61365692 BLADERUNNER: Fix bad boundbox for corpses
Some of these issues were caused by commit 186de62ffb

Others were original bugs (mutants 2 and 3), and both rats.
This commit includes a fix for Grayford's death animation when shot (in Act 4)
2021-04-17 01:45:38 +03:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
antoniou79 eada332807 BLADERUNNER: Fix crash when given folder to load legacy save
If the debugger load command was given a folder path instead of a path to a file, the game would crash

Also, legacy save (debugger) command should not accept a folder path. The code supports only a full path to a filename. It will not provide an automatically generated name for the legacy save when given a folder -- maybe a tweak to consider for the future, but probably not a thing to bother with.
2021-03-31 09:39:58 +03:00
Torbjörn Andersson c873f0e94a BLADERUNNER: Fix debugPrintf() in cmdMusic() 2020-11-23 13:16:22 +01:00
antoniou79 04e77fac7a BLADERUNNER: DEBUGGER: Minor help text and comments edit 2020-11-23 13:57:49 +02:00
antoniou79 ffd9fe95bb BLADERUNNER: DEBUGGER: Minor tweaks for music command
More informative messages, better syntax validation
2020-11-18 16:05:17 +02:00
antoniou79 9b00952561 BLADERUNNER: DEBUGGER: More correct track name
for the Arcane Dance tracks
2020-11-18 14:30:05 +02:00
antoniou79 45ec2a7a9d BLADERUNNER: DEBUGGER: Add music command 2020-11-18 13:48:52 +02:00
antoniou79 186de62ffb BLADERUNNER: Clean up and synch screenRectangle and bbox
For actors and their corresponding screenObjects

This should fix the issue with Sadik's remnant hitbox in the middle of the bridge at UG18
2020-09-04 23:35:34 +03:00
Thanasis Antoniou a772bbb3e1 BLADERUNNER: Validation of boot params and skip of KIA screen
KIA screen should be skipped when save games exist, but a valid boot param has been specified

The boot param validation uses existing code in the debugger to ensure valid combination of chapter, set and scene
2020-05-11 22:28:54 +03:00
Thanasis Antoniou cd076b26ae BLADERUNNER: Using preincrement and pre-decrease where possible
In case the compiler won't optimize such cases
2020-02-24 21:24:06 +02:00
Thanasis Antoniou 602600b944 BLADERUNNER: Removed crowded startup debug messages
Subtitles credits info is now only available from the "subtitle info" command in the debugger

This is due to an issue with certain localized characters not appearing correctly from debug() output on the background console (if enabled).
2020-02-07 03:24:53 +02:00
Thanasis Antoniou d4c659610d BLADERUNNER: Fixes for McCoy's stamina system and drain
The original game had broken stamina system we have it fixed.

This means that in vanilla mode, McCoy's stamina will drain fast if the player does not click the mouse, but he will increase speed up to a max, if the player keeps clicking the mouse.
In Restored Content, we allow McCoy to keep his speed (so that the player does not have to keep clicking); the stamina drain will still kick in but it will be at a slower rate and practically won't be noticeable most of the time.
2020-02-05 18:28:46 +02:00
Thanasis Antoniou b96479c58b BLADERUNNER: Added bbox and screenRectangle info for list actors
Also fixed the width / height reversed order in item list id command
2020-02-04 17:55:27 +02:00
Thanasis Antoniou eb0c4526fd BLADERUNNER: Debugger get or set game difficulty 2019-12-11 14:10:04 +02:00
D G Turner 522c5b6548 BLADERUNNER: Add Some Missing Switch Default Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-04 01:34:31 +01:00
Cameron Cawley 3fdb8e6542 BLADERUNNER: Replace use of sprintf with Common::String::format 2019-09-30 03:59:22 +01:00
antoniou79 0aa82a099f BLADERUNNER: Merge code for clues in PS07 original/cut versions 2019-08-17 21:58:21 +03:00
Thanasis Antoniou b7d1099658 BLADERUNNER: Fix minor code quality issues (codacy) 2019-07-23 14:51:27 +03:00
Thanasis Antoniou af9ec2f691 BLADERUNNER: Revert uint32 vars to int32 if they could be init to -1 2019-07-22 01:09:23 +03:00
Thanasis Antoniou caa4578add BLADERUNNER: Use unsigned 32bit diff for time durations 2019-07-17 19:09:15 +03:00
Peter Kohaut a767a6800d BLADERUNNER: Added TTF & UTF8 support for subtitles 2019-07-16 21:32:34 +02:00
Peter Kohaut ffbfe90afa BLADERUNNER: Ajdust font interface to ScummVM's one 2019-07-16 21:32:34 +02:00
Thanasis Antoniou a81e3add2f BLADERUNNER: JANITORIAL: Code formatting fixes 2019-06-28 15:30:44 +03:00
Thanasis Antoniou b7e1f8a9ff BLADERUNNER: Support for displaying subtitles info 2019-05-29 12:08:24 +03:00
Thanasis Antoniou a041a29111 BLADERUNNER: Added click debugger command
Shows mouse click pos (x,y,z) and detected clickable region/actor/item/object id underneath
2019-05-29 12:08:24 +03:00
Thanasis Antoniou e6f0c5e8a7 BLADERUNNER: Expose info for view in debugger list obj 2019-05-27 00:11:12 +03:00
Thanasis Antoniou 93768c3307 BLADERUNNER: Item spin command in Debugger 2019-05-26 17:17:05 +03:00
Thanasis Antoniou e4b8c0f4e3 BLADERUNNER: Debugger health command
Needed mostly to heal McCoy, or un-retire some actors
2019-05-23 02:16:50 +03:00
Thanasis Antoniou 479a1d12ca BLADERUNNER: debugger anim command sets the dmgflagifmoving too
Mostly to compensate with some awry save games
2019-05-23 00:30:03 +03:00
Thanasis Antoniou 0def58f802 BLADERUNNER: Fixes for debugger draw command
More intuitive functionality when drawing singled out objects
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 b1a0ed0d93 BLADERUNNER: debugger includes McCoy id for list act 2019-05-09 15:37:13 +03:00
Thanasis Antoniou d8b1c1a340 BLADERUNNER: debugger fixes, added list actor by id 2019-05-08 09:42:25 +03: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 1b93862891 BLADERUNNER: Vk show stats debugger command 2019-05-08 00:52:21 +03:00