Commit Graph
252 Commits
Author SHA1 Message Date
Eugene Sandulenko fb7095f5a4 COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Cameron Cawley e04000d4b0 COMMON: Move FFT, DCT, MDCT, RDFT, SineTable, CosineTable and getSineWindow into Math 2022-11-20 14:32:05 +01:00
antoniou79 94adf33dd5 BLADERUNNER: Add checkbox for fixing Spanish credits 2022-11-17 19:09:18 +02:00
Donovan Watteau 16e2068aec JANITORIAL: Fix various single-character typos 2022-11-11 20:55:56 +01:00
Hubert Maier d45170ac55 Update bladerunner.cpp
noticable -> noticeable
2022-10-27 15:56:09 +02:00
antoniou79 2b5f0c7177 BLADERUNNER: Fix regression for toggling clue privacy
This KIA hotkey was not considered when switching to the ScummVM keymapper
2022-07-15 11:08:40 +03:00
antoniou79 f64ac55443 BLADERUNNER: Support font hd and subtitles code cleanup
In preparation for subtitles v7 and queuing system
2022-07-06 14:46:57 +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 8aaee0fb4e BLADERUNNER: Add checkbox for no subtitles in intro crawl
This also covers the Blade Runner Logo and the Westwood Studios logo
2022-06-30 01:00:05 +03:00
Peter Kohaut fc98faf01a BLADERUNNER: Mark enhanced edition as unsupported 2022-06-28 23:48:22 +02:00
antoniou79 77e3979c79 BLADERUNNER: Detection and launch support for demo
Demo is the sizzle2 VQA/VQP early teaser for Blade Runner
2022-05-11 23:42:43 +03:00
antoniou79 3eeb4c9023 BLADERUNNER: Add extra conditions for canLoadGameStateCurrently() 2022-05-11 23:07:38 +03:00
antoniou79 52e283a758 BLADERUNNER: Use static const for screen dimensions
Instead of the literals 640 for width and 480 for height
2022-05-11 23:07:38 +03:00
antoniou79 d30e952802 BLADERUNNER: Mute music and sfx for on-demand outtakes 2022-05-08 19:04:49 +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 043cc1c8fb BLADERUNNER: Add extra conditions for canSaveGameStateCurrently() 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 c2aa001fbd BLADERUNNER: Add confirm and delete keymaps for KIA 2022-04-06 13:06:26 +03:00
antoniou79 6c300519b1 BLADERUNNER: Use keymapper with proper events for the game 2022-04-03 22:51:33 +03:00
antoniou79 c43abab5e8 BLADERUNNER: Spacebar key also skips cutscenes
This is the original's behavior also.

Spacebar key does not skip dialogue.
2022-03-05 22:19:25 +02:00
antoniou79 5d5fb34aa1 BLADERUNNER: Check for recoil jitter
Check if on actor click and on item click

This is the original's behavior too
2022-02-21 22:21:47 +02:00
antoniou79 2362e857a7 BLADERUNNER: Don't open KIA if McCoy is moving
This behavior is in the original engine too.
2022-02-21 22:15:13 +02:00
antoniou79 942aee68d9 BLADERUNNER: Further optimization for key input
Support for repeated input for symbols and extended ASCII keys

Also keypad return works now just like the Enter key, and SHIFT+key when spammed results in the correct key being repeated.
2022-02-15 23:44:28 +02:00
antoniou79 92393d228b BLADERUNNER: Allow for repeated keys (key spamming)
Added space, backspace and latin letters and numbers (for save game screen)

Space can also be spammed with a visible result in-game (ie. not only in KIA save screen)
2022-02-15 18:05:52 +02:00
Le Philousophe 9f84198643 ANDROIDSDL: Remove deprecated port 2022-02-06 21:34:08 +01:00
antoniou79 87108db0a1 BLADERUNNER: Disable ScummVM autosaving
Also slightly update the cases for canSaveGameStateCurrently()

The game has its own autosave mechanism (at the start of each new Act). Also currently the label for the ScummVM autosave can be in the wrong language (since it is in the ScummVM's GUI language, but not necessarily in the game's own GUI language) and in KIA it could appear illegible as "?????? ??????" for non Latin languages.
2022-01-14 00:31:40 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01: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
Orgad Shaneh fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +02:00
Paul Gilbert 0136043f09 COMMON: Revert Change Rect and Point to have int32 fields
This reverts commit 1c3e7fb4e9.
2021-07-06 20:35:42 -07:00
Paul Gilbert 1c3e7fb4e9 COMMON: Change Rect and Point to have int32 fields 2021-07-04 18:24:26 -07:00
antoniou79 2055810930 BLADERUNNER: Restore original UI slider for ambient volume
Using the Mixer's kPlainSoundType for ambient sounds
2021-07-02 17:20:37 +03:00
antoniou79 95b14a9ab6 BLADERUNNER: Fix KIA blink at Esc on last line spoken
Also restore dual skip funtionality for Esc and Return keys down (video and spoken non-queued dialogue)

Previous behavior restored as a quality of life feature, that is quite practical on eg. Android port (easy access to "Esc", not so easy to "Return"). The issues that led to reverting previous to the original behavior (only Esc key for video, only Return key for dialogue) should be resolved now by the intermediate commits.
2021-06-16 21:45:01 +03:00
antoniou79 647e3e3b15 BLADERUNNER: Fix for resuming while a special loop plays
This is a better fix for the Zuben soup dump glitch (no exits) if user holds Esc down
2021-06-16 18:25:25 +03:00
antoniou79 486d0da5d9 BLADERUNNER: Only use Return key to skip dialogue
Also only use Esc key to skip video cutscenes

This is replicating the original's behavior and at least for the dialogue skipping, it fixes a few glitches (KIA screen blinking if skipping the last dialogue line with Esc key, and Zuben throwing the soup leading to a dead end, if user presses Esc fast during that sequence).
2021-06-15 15:20:25 +03:00
sluicebox 8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
antoniou79 f3113cf45d BLADERUNNER: More precise naming for time delay vars and parameters
Also use u suffix for unsigned int literal parameters (WIP)
2021-06-14 16:27:19 +03:00
ysj1173886760 a5bb79d6fd BLADERUNNER: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02: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
Eugene Sandulenko b981e34cc8 JANITORIAL: Remove trailing spaces 2021-04-17 15:04:36 +02: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 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 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
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 463cde371d BLADERUNNER: Tidy up shutdown code a bit 2020-03-05 22:28:35 +02:00