Commit Graph
157 Commits
Author SHA1 Message Date
antoniou79 6b21569683 BLADERUNNER: Additional Spanish credits fixes
For Crystal (original Cristal) and Peruana (original Peru Lady)
2022-11-17 20:54:20 +02:00
antoniou79 c19584c274 BLADERUNNER: Use checkbox value for Spaninh credits fix
And also change encoding of end credits cpp file to utf-8
2022-11-17 19:41:23 +02:00
antoniou79 e079ea024b BLADERUNNER: End credits fixes
Reorganize the code, reduce some redundant computations and add fixes for localized credits
2022-11-17 18:03:19 +02:00
antoniou79 11bfabdfa3 BLADERUNNER: Fix Visual Studio complaining about SWAP 2022-07-06 13:53:32 +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 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 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 6994d79e59 BLADERUNNER: Filter Delete key press if no selected saved game
Also introduce a getValidChar() method to improve modularity and readability
2022-04-03 22:51:33 +03:00
antoniou79 b48c998d72 BLADERUNNER: Increase width of scrollable area in help KIA tab 2022-04-03 22:51:33 +03: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 ddfa41b327 BLADERUNNER: Fix for warning of adding \0 to String
This was happening in the KIA save screen's input box when attempting to encode the key pressed to Dos850 charset
2022-02-15 18:05:52 +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
antoniou79 7d0dd6cab7 BLADERUNNER: Don't allow empty save name from KIA
Made behavior similar to original game

Also the original game on attempting to overwrite a saved game with empty game, shows the confirmation dialogue if the player clicks on the save icon, but then returns back to the normal save screen even if the user clicks on the OK button or presses the Enter key.
2022-01-17 22:48:36 +02:00
antoniou79 7e28f2d643 BLADERUNNER: Add sound to buttons in KIA save
The original has sound there, so this is a ScummVM specific fix
2022-01-16 00:10:39 +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
athrxx 633f33d056 BLADERUNNER: add comment 2021-11-01 16:20:47 +01:00
athrxx df94220554 BLADERUNNER: encode ingame save description to UTF-8 2021-11-01 16:20:47 +01:00
athrxx 1f10ab5bd5 BLADERUNNER: fix encodings for save descriptions
If you type save names like e. g. "äöüß" in the GMM this will now show up correctly in the ingame save/load dialogs.

You still cannot type these characters ingame due to the current implementation of UIInputBox::charIsValid(char kc). I don't know why. If I comment out this function and simply return true it works just fine for me. So it is not a limitation of the font (although I am playing the English version).

Still, I haven't changed that behavior, since I am not familiar with the engine...If the only reason for charIsValid() was the wrong encoding it might make sense to limit or even remove it.
2021-11-01 16:20:47 +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 e2f3583738 BLADERUNNER: RESTORED CONTENT: Crazylegs letter to Dektora
CrazysInvolvement clue, connected to the ADVERTISEMENT (cut) dialogue option
2021-06-27 15:00:32 +03: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
antoniou79 7a2a53b9ff BLADERUNNER: RESTORED CONTENT: Start some music at random second 2021-06-14 16:27:19 +03:00
antoniou79 8be60bb257 BLADERUNNER: Special mark for clues shared with Mainframe
These changes are for Restored Content

The special mark is a different background color, and applies only in KIA when hacked with Bob's hack.
Also tweaked the Mainframe voiceover reporting "no clues transferred" to refer to both uploading and downloading
and only play once at the end (when applicable)
2021-05-31 13:24:05 +03:00
antoniou79 f4fed91a3e BLADERUNNER: Don't upload intangible clues to Mainframe
Change only for Restored Content mode

If KIA hacking is to be important, the player must be able to control exactly what is uploaded to Mainframe.
Intangible clues do not show up in KIA, so the player cannot control sharing them with Mainframe.
Most of them are supposed to not be shared anyway (or some are wrongly set as Intangible and will be fixed in a future bug fix).
Also in Restored Content mode, the mainframe reports (with voiced quote) if clues have been transfered,
so the player would be confused if intangible clues were transfered, since they won't appear in the KIA.
2021-05-31 02:03:11 +03:00
antoniou79 33fdc6045f BLADERUNNER: Fix alignment issues with hidden clues
Original Bug.

Hidden clues would appear left aligned without left padding, after setting them as hidden (right click),
then switching to another KIA tab and back to the clues/suspect/crime tab with the hidden clue.
All other clues appear with padding 6. Now, so do the hidden ones.
2021-05-31 01:01:52 +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
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
D G Turner b75a34e179 BLADERUNNER: Fix Set-But-Unused GCC Compiler Warning 2021-03-13 16:13:52 +00:00
antoniou79 45448f93da BLADERUNNER: Fix for when talking characters get interrupted 2020-12-20 18:10:08 +02:00
Eugene Sandulenko 561a0a61be BLADERUNNER: Fix warnings 2020-11-14 19:27:08 +01: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
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 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 d488ec3c05 BLADERUNNER: Improve simulation of original KIA quit behavior 2020-02-18 00:58:53 +02:00
Bastien Bouclet 79efd3c46e BLADERUNNER: Add override keywords 2020-02-09 12:43:14 +01:00
Thanasis Antoniou 7bf340427c BLADERUNNER: Extend max saved game's name length to 41 chars
41 is the original's name size and resolves truncated autosave names in localized versions

Fixes bug #11340
Saves version is increased to "3" (in savefile.h) now, so only new versions of the engine will be able to open the save files with the larger field for the saved game's name
2020-02-06 00:14:53 +02:00
Thanasis Antoniou 1b584ebf32 BLADERUNNER: Fix "Type a name" text in KIA save screen 2020-02-06 00:10:57 +02:00
Thanasis Antoniou 882dd06f52 BLADERUNNER: More fixes for cut or muted lines across localizations
Based on notes from IlDucci from the Spanish translation team and mine
2020-02-03 00:01:15 +02:00
Eugene Sandulenko 03fafe8cb7 BLADERUNNER: Added override keywords 2020-01-31 12:53:02 +01:00
Thanasis Antoniou 06cee1bd92 BLADERUNNER: Add the adjustment value to vk stats (debugger) 2020-01-24 12:45:36 +02:00
Thanasis Antoniou 37b8ab4d4c BLADERUNNER: Use accented i in subtitles label in KIA (Spanish version) 2020-01-18 04:28:58 +02:00
Thierry Crozat ca781b7389 BLADERUNNER: Use virtual keyboard feature in save screen
This is used on platforms that have a virtual keyboard, such
as iOS, to show/hide the virtual keyboard when we expect text
input.
2019-12-23 18:06:50 +01:00
Thanasis Antoniou 4af463476b BLADERUNNER: Fix wrong order for GPS map selection 2019-11-08 16:28:18 +02:00
Peter Kohaut cd7e44f9f9 BLADERUNNER: Group shapes loading 2019-10-13 14:09:47 +02:00