Commit Graph
906 Commits
Author SHA1 Message Date
antoniou79 9efcf016a6 BLADERUNNER: CUTCONTENT: Restore comment on monitors in TB05 2020-11-30 23:37:33 +02:00
antoniou79 9666bc355f BLADERUNNER: Fix McCoy threatening Gordo by aiming his gun
Also restore a line and slightly tweak behavior in dialogue for restored content
2020-11-27 12:09:45 +02: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 9b20f12b5e BLADERUNNER: RESTOREDCONTENT: Tweak Rachael conversation
At MA06 (Elevator). For interrupted speech.
2020-11-18 17:48:15 +02:00
antoniou79 a8b7c9598f BLADERUNNER: RESTOREDCONTENT: Fix Rachael travelling in Act4
She should not be moving or walking

She could still be waling when teleporting her to kSetFreeSlotG and subsequently when we put her in MA06 (elevator)
2020-11-18 17:16:13 +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
Torbjörn Andersson ba37c52047 JANITORIAL: Remove some unnecessary semicolons 2020-11-17 07:22:49 +01:00
Eugene Sandulenko 561a0a61be BLADERUNNER: Fix warnings 2020-11-14 19:27:08 +01:00
Eugene Sandulenko 5936026209 ALL: Clarify POTFILES, remove redundant common/translations.h includes 2020-11-10 03:03:49 +01:00
Eugene Sandulenko ab3ad6e1fe BLADERUNNER: Disable Siberian Studio Russian fan translations 2020-11-10 02:15:03 +01:00
Eugene Sandulenko 87beb98b95 GRAPHICS: Turn set of bool parameters for wordWrap() to a bitfield 2020-10-16 23:52:18 +02:00
Fiodar Stryzhniou 6a7340f744 SYMBIAN: sync with 2.2.0 release.
Added new project files, build fixes.
2020-10-16 17:06:05 +02:00
Eugene Sandulenko 7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko 7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
aryanrawlani28 d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28 29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28 8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28 de141e7826 BLADERUNNER: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
antoniou79 96df8c91b5 BLADERUNNER: Minor cleanup, comments update and a spelling fix 2020-09-10 00:51:22 +03:00
antoniou79 9dcc3ec7a1 BLADERUNNER: Fix for ActorClues::getModifier and minor cleanup
The weight var is supposed to be from the otherActor (2nd argument)

Also removed a redundant function and did some minor readbility changes
2020-09-10 00:51:22 +03:00
antoniou79 0e4e3354bd BLADERUNNER: Fix Hanoi throwing McCoy out
Addresses most of the issues in bug #11293

Does not address the "Hanoi is not facing McCoy when speaking to him" bullet, which only occurs on specific banter talk
2020-09-04 23:35:34 +03: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
antoniou79 2704847e65 BLADERUNNER: Add script function Player_Has_Control() 2020-09-04 23:35:34 +03:00
antoniou79 9708afdbae BLADERUNNER: Use float suffix specifier in Vector init 2020-09-04 23:35:34 +03:00
antoniou79 46fe41db32 BLADERUNNER: Easier get up when McCoy is drugged
It was impossible when max frame limit option was enabled
2020-09-04 23:35:34 +03:00
antoniou79 5d8ee54f65 BLADERUNNER: Remove UI language selection
Since it's not ready for production yet for 2.2.0
2020-09-02 23:52:03 +03:00
antoniou79 1be2092c9b BLADERUNNER: Use unsigned difference for robust behavior
For the emulation of repeated key firing while holding Esc or Return keys pressed
2020-09-02 23:25:55 +03:00
antoniou79 6dfcb3e558 BLADERUNNER: Allow Esc and Return keys to fire repeatedly (emulated)
Should resolve ticket #11407

https://bugs.scummvm.org/ticket/11407
However, in our commons/events.h currently there are TODO notes about implementing support for repeated firing of keyboard keys so this could be revisited in the future to use that functionality when implemented
2020-09-01 20:13:44 +03:00
aryanrawlani28 12e4f871a3 GUI: U32: Improve u32 in all engine subsystems
- Common: add wordWrap function to ustr.cpp
- Bladerunner: Explicitly state we have a U32String in subs (same as Subtitles::loadOuttakeSubsText)
- Don't use translations for engine specific "put strings", because they might not support.
- SCI: Use const references for showScummVMDialog
- SCUMM:
-- Don't use translation in md5 warning. left comments with the translated version.
-- Remove some redundant headers in help.cpp
-- Don't use translation in handleSaveload when printing to console
-- Also, display success transaction correctly via u32::format
- TESTBED: Use fake constructor when setting label of button
- SKY: Correctly use translation when using SaveStateDescription
- ULTIMA: Don't use translations when display_string
- ENGINES:
-- GenerateUnknownGameReport correctly, with proper translations.
-- There was an error, where a function had been declared twice, in a header file. Correct this.
2020-08-30 14:43:41 +02:00
aryanrawlani28 bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
Thanasis Antoniou 5552a9eed5 BLADERUNNER: Fix comment about dropdown menu in KIA settings 2020-06-10 12:49:03 +03:00
Thanasis Antoniou 02d47a1d45 BLADERUNNER: Scrollable dropdown control for KIA (WIP)
Current purpose is for text language selection

Drop down list for language selection in KIA (early stage)
2020-06-10 12:33:05 +03:00
Thanasis Antoniou a78efc244c BLADERUNNER: Respect the No Music ScummVM setting
This refers to the Audio tab's "Music Device" set to "No Music" setting

Default ("Auto") and any other setting will result to music. Only the explicit No Music is respected now (it wasn't before).
As I note in the comments, these two first dropdowns in the Audio tab are largely irrelevant for Blade Runner
and ideally they should not appear for it (and similar engines). Maybe they could just be replaced
with a checkbox for toggling Music as enabled/disabled (which is the logic that this fix essentially follows)
2020-06-07 13:03:23 +03:00
Thanasis Antoniou f04acf5709 BLADERUNNER: Clarify naming of unused Luther flag 2020-06-06 22:04:22 +03:00
Thanasis Antoniou 0e3def5f00 BLADERUNNER: Fix logic for restored Rajif quote 2020-05-21 20:27:44 +03:00
Thanasis Antoniou 349e6f18df BLADERUNNER: Restored content: add Rajif line 2020-05-21 19:44:05 +03:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02: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 210d50c5cd BLADERUNNER: Add explanatory comment on the check of _gameJustLaunched flag 2020-05-11 15:32:41 +03:00
Thanasis Antoniou 22ee236643 BLADERUNNER: Ignore first event in gameTick() when launching game
This prevents a "hack" that was discovered by players to boot into KIA directly even when no saved games exist

We will provide in a future commit, the option to start into KIA even upon launching the game without any saved games, but that should be properly implemented to prevent bugs/ side-effects (that the current "hack" causes).
2020-05-11 00:53:11 +03:00
Thanasis Antoniou 995a44eb78 BLADERUNNER: Fix comparison between unsigned 2020-04-18 10:24:22 +03:00
Thanasis Antoniou f24da48704 BLADERUNNER: Remove bad character from izo script (in comment) 2020-04-18 10:24:22 +03:00
Thanasis Antoniou 76bc50aa95 BLADERUNNER: Fix McCoy reporting twice Lucy's VK result
When she is Replicant
2020-03-18 22:13:31 +02:00
Thanasis Antoniou 6f70d3530c BLADERUNNER: Fix a couple of Act 4 quotes 2020-03-05 23:56:30 +02:00
Thanasis Antoniou 463cde371d BLADERUNNER: Tidy up shutdown code a bit 2020-03-05 22:28:35 +02:00
Thanasis Antoniou f07c27d172 BLADERUNNER: Fix segmentation fault when missing files
Cause was deleting _shapes without _shapes being initialized to nullptr

Error occured when Bladerunner engine exited early due to missing data files. In this case the _shapes is not yet initialized, yet its deletion was calling the Shapes destruction and the array clear function leading to a segmentaiton fault. To reproduce just remove or rename one of the required files for BladeRunner and run the game (the error might not be triggered the first time).
2020-03-05 21:26:28 +02:00
Thanasis Antoniou 11adaa4f3d BLADERUNNER: Add engine option to disable stamina drain
Allows not having to constantly click the mouse to keep McCoy from slowing down

Even though this was a bug in the original game, having this option re-creates the original experience of McCoy running quite fast (still keeping the 30 fps limit) and not slowing down when the player stops clicking.
2020-02-27 20:27:29 +02:00