119 Commits

Author SHA1 Message Date
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
Cameron Cawley
3fdb8e6542 BLADERUNNER: Replace use of sprintf with Common::String::format 2019-09-30 03:59:22 +01:00
Thanasis Antoniou
7c20b07ffb BLADERUNNER: Add engine gui option to avoid use of delayMillis() 2019-09-16 12:00:25 +03:00
Cameron Cawley
c786b139db BLADERUNNER: Remove use of unaligned memory access (#1839) 2019-09-12 22:02:52 +02:00
Cameron Cawley
d8820de8b0
BLADERUNNER: Fix -Wsign-compare warning 2019-09-10 22:36:22 +01:00
Thanasis Antoniou
f5b79a4cdf BLADERUNNER: Play full exit KIA sound before quit via KIA 2019-09-09 21:09:36 +03:00
Peter Kohaut
94b9304014 BLADERUNNER: Improved support for Russian translations
Adds support for Home Systems, Inc. + Siberian Studio R4 translation
patch.
Added name scrambling algorithm from R4 patch.
Fixed R3 support (previously was not named).

closes #11102
2019-09-07 21:18:20 +02:00
Thanasis Antoniou
ac912a5023 BLADERUNNER: Revert previous changes in clues listing
Keep the important bug fix which was in KIASectionSuspects::populateAcquiredClues

Some of the changes in the previous commit were due to confusing the role of the getClueIdByIndex method
2019-09-05 13:17:53 +03:00
Thanasis Antoniou
5941ab7858 BLADERUNNER: Fix displaying of clues in KIA
Fixes bug where clues with no type would appear in KIA sections

"End of Act 2" would appear in Sadik's and Clovis' suspect pages, and in Bradbury crime page, whereas Sadik's photo would not appear in Sadik's page.
2019-09-05 10:39:51 +03:00
Peter Kohaut
89384b9124 BLADERUNNER: Framelimiter simplification 2019-09-04 21:26:37 +02:00
Thanasis Antoniou
fd7fd3a18b BLADERUNNER: Isolate new frame limiter code in new class 2019-09-01 16:39:36 +03:00
Peter Kohaut
a7399c5111 BLADERUNNER: Use best pixel format on every platform
Updated all drawing routines to be pixel format agnostic.
Might decrease performance.
2019-08-31 23:09:19 +02:00
Thanasis Antoniou
85fbb3ad08 BLADERUNNER: Addendum for removal of delayMillis 2019-08-31 20:06:37 +03:00
Thanasis Antoniou
a99e8d7bab BLADERUNNER: Replace delayMillis(10) calls with software timers 2019-08-31 19:19:32 +03:00
Thanasis Antoniou
c8a23cc401 BLADERUNNER: Fix unsorted args for getRandomNumberRng
Fix for bug #11034
2019-07-29 13:57:56 +03:00
Thanasis Antoniou
8f9927608b BLADERUNNER: prevent seg fault when opening KIA
Only if a restored content save was loaded in original game mode
2019-07-28 22:52:18 +03:00
Thanasis Antoniou
4b482b2d3e BLADERUNNER: prevent seg fault in ESPER
Also added CLIP to all getBasePtr() calls where it would seem appropriate/safer to do so
2019-07-28 14:06:26 +03:00
Thanasis Antoniou
e232d57855 BLADERUNNER: Restore KIA 3d model descriptions 2019-07-23 18:46:17 +03:00
Cameron Cawley
b594d04cd1 BLADERUNNER: Fix compilation on AmigaOS 4 2019-07-17 19:05:16 +01:00
Thanasis Antoniou
caa4578add BLADERUNNER: Use unsigned 32bit diff for time durations 2019-07-17 19:09:15 +03:00
Peter Kohaut
ffbfe90afa BLADERUNNER: Ajdust font interface to ScummVM's one 2019-07-16 21:32:34 +02:00
Peter Kohaut
e67ec0dbe1 BLADERUNNER: Fix slider artifacts in Android port
Alpha was set incorrectly to 0 and previous GLES was visible
2019-07-12 21:57:00 +02:00
Thanasis Antoniou
a81e3add2f BLADERUNNER: JANITORIAL: Code formatting fixes 2019-06-28 15:30:44 +03:00
Thanasis Antoniou
e60aac53b1 BLADERUNNER: Fix waiting time for targets in Maze
Applies only for normal and hard mode. Easy mode keeps the original more relaxed behavior.
2019-06-26 15:21:55 +03:00
Peter Kohaut
4cd58f2fba BLADERUNNER: Switch all keyUp events to keyDown
With keyDown events some parts of the game feels more responsive.
This wasn't working before because of a issue in SDL library.
Also added ability to skip talking with ESC key.
2019-06-22 11:40:47 +02:00
Thanasis Antoniou
d9c84440f2 BLADERUNNER: Fix F5 key behavior for KIA 2019-06-18 08:22:48 +03:00
Peter Kohaut
a3eeebb4d4 BLADERUNNER: Fix invalid rect in ESPER zoom
In some cornenr case when photo selection is ajdusted the final
rectangle might end up invalid and assert will occur.
This fixes this issue by correctly setting rect dimensions.
2019-05-30 23:27:34 +02:00
David Fioramonti
9bf2b5d03e BLADERUNNER: Show saved game creation date and add play time
Bumped saved game version to 2 to add play time.

Can load version 1 saves and save/load version 2 saves.
2019-05-27 06:54:40 -04: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
b6f7ff77d3 BLADERUNNER: GPS talkie does not disable controls 2019-05-13 03:29:00 +03:00
Thanasis Antoniou
96660273fd BLADERUNNER: Fix bad new game pos for player 2019-05-09 19:18:08 +03:00
Thanasis Antoniou
1b4a520140 BLADERUNNER: Fix disabled mouse hover GPS speech 2019-05-09 11:51:35 +03:00
antoniou79
1b93862891 BLADERUNNER: Vk show stats debugger command 2019-05-08 00:52:21 +03:00
Thanasis Antoniou
4cbe0a6fe6 BLADERUNNER: Fix disabled mouse hover image blinking issues 2019-05-06 23:53:43 +03:00
Thanasis Antoniou
5b18aee743 BLADERUNNER: Spinner GPS Talkie restored 2019-04-30 17:54:09 +03:00
Thanasis Antoniou
81575df8d9 BLADERUNNER: Debugger command for full VK sessions 2019-04-24 15:13:26 +03:00
Thanasis Antoniou
ac32d35ff4 BLADERUNNER: Restore relared VK questions mechanism 2019-04-24 15:13:26 +03:00
Thanasis Antoniou
efcb3a4921 BLADERUNNER: Proper Subtitles option translation for RUS 2019-04-21 18:29:57 +03:00