Commit Graph
101 Commits
Author SHA1 Message Date
Eugene Sandulenko c08c2af410 BLADERUNNER: Fix warning about unused variable 2024-10-24 15:07:01 +02:00
antoniou79 c7b8025e4e BLADERUNNER: Add debug command to show initial random seed
Also reveals the nature of the variable characters for the game

Debug command is "cheat"
2024-08-14 14:53:26 +03:00
antoniou79 02bfbe232d BLADERUNNER: Debugger commands ammo and sound
Ammo is to show or add ammo for McCoy, sound is to play sound effects

Also made minor improvements to usability of cmdSay() and cmdMusic()
2024-01-25 22:22:35 +02:00
Le Philousophe db6fcfcc24 BLADERUNNER: Migrate engine to Path 2023-12-24 13:19:25 +01:00
antoniou79 0f7ee148ea BLADERUNNER: Methods for debugging animations 2023-07-05 14:57:58 +03:00
antoniou79 3eaebb47e2 BLADERUNNER: Custom beta cursors for exits and esper
Also fixes for the beta combat cursors (color and hotspot / target center)
2023-05-16 15:16:23 +03:00
Donovan Watteau 18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
antoniou79 d874de2e5c BLADERUNNER: RESTOREDCONTENT: Missing quotes for Dispatch, McCoy
Dispatch is in Steele (AI) at end of Act 3, McCoy's quote is in Runciter (AI) for fake tiger

Also fixed the scene id for RC02 in chapter 4 for debugger's array (sceneList)
2023-02-02 23:45:18 +02:00
antoniou79 001df3d1f5 BLADERUNNER: RESTOREDCONTENT: Quote for Lance in UG16
Quote does not apply in German version of the game

Also fixed UG16's setId in debugger sceneList array
2023-02-02 22:39:25 +02:00
antoniou79 873cdb5170 BLADERUNNER: Restore content and localization fixes in RC04
Also added an info note comments to cmdScene() for debugger and to enterChapter() of chapters.cpp
2023-02-02 21:42:08 +02:00
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