Commit Graph
1087 Commits
Author SHA1 Message Date
Carlo Bramini 9e8809a2f3 BLADERUNNER: pre-calculate some math constants
There are some values that are read from stream and never changed by the calculations. Since they are used as parameter on expensive math functions like cos() and tan(), it would be worth to pre-calculate their values and use them when needed.
2023-01-12 15:51:02 +02:00
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 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 94adf33dd5 BLADERUNNER: Add checkbox for fixing Spanish credits 2022-11-17 19:09:18 +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
Cameron Cawley 53a70986ac BLADERUNNER: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Carlo Bramini 7fc0e2d110 BLADERUNNER: optimize math calculations.
This patch just moves the calls to sin() and cos() outside the declaration of the rotation matrix, so that those values are calculated only one time, as it has been already done in other parts of this source code.
2022-11-14 18:54:45 +02:00
Donovan Watteau 16e2068aec JANITORIAL: Fix various single-character typos 2022-11-11 20:55:56 +01:00
Hubert Maier 2ea5bfe695 BLADERUNNER: Correct spelling mistake
comming -> coming
2022-10-27 15:56:09 +02:00
Hubert Maier d45170ac55 Update bladerunner.cpp
noticable -> noticeable
2022-10-27 15:56:09 +02:00
antoniou79 fbdee822db BLADERUNNER: CUTCONTENT: Restore Guzza quote in UG18 2022-10-14 11:33:28 +03:00
antoniou79 3ef467dafc BLADERUNNER: Fix inconsistency for Guzza's quote in UG18
KIA clue kClueBriefcase plays this quote, but in-game dialogue was skipping it
2022-10-14 11:33:28 +03: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 84eb1eb28e BLADERUNNER: Fix swap argument so as to swap all entries 2022-09-04 18:01:56 +03:00
antoniou79 9a78bc339c BLADERUNNER: Get rid of -Wcast-align warning 2022-08-19 20:06:03 +03:00
antoniou79 91fb74486f BLADERUNNER: CUTCONTENT: Skip Runciter quotes 1670 and 1680 in DEU version 2022-08-07 20:59:51 +03:00
Cameron Cawley f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
antoniou79 dc17d7e465 BLADERUNNER: Gracefully handle a case for Grigorian's arrest
Addresses bug #13727 which only happens in vanilla mode, and only when CDFRAMESx files are used instead of a single HDFRAMES

This bug can happen since by (my) mistake the kClueGrigoriansResources clue could be acquired in vanilla mode in ScummVM 2.5.0, 2.5.1 and 2.6.0.
That clue is supposed to only be part of the restored content mode.
2022-07-19 23:05:12 +03:00
antoniou79 605fce57bb BLADERUNNER: CUTCONTENT: Move Grigorian's resources clue to cut content 2022-07-19 22:24:49 +03: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 ede86a6f96 BLADERUNNER: Fix bad dialogue entry for Italian localization
AUTOMOBILI should be C.C.S.R.
2022-07-13 21:47:51 +03:00
antoniou79 9ad0ef604d BLADERUNNER: Fix subtitles in outtakes regression 2022-07-08 08:52:33 +03:00
antoniou79 cbdfe3b748 BLADERUNNER: Fix potential missing of blinking led for phone message 2022-07-07 15:13:24 +03:00
antoniou79 be583aaa8b BLADERUNNER: Early subtitles queuing system
To be used for secondary subtitles, for displaying developer commentary
2022-07-06 17:19:59 +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 11bfabdfa3 BLADERUNNER: Fix Visual Studio complaining about SWAP 2022-07-06 13:53:32 +03:00
antoniou79 cb62a020d7 BLADERUNNER: Clear maze score when exiting maze 2022-07-06 13:38:04 +03:00
antoniou79 66988edf3f BLADERUNNER: Clarification comment for a case in UG18 2022-07-06 13:34:51 +03:00
antoniou79 ded1ec7840 BLADERUNNER: Fix sound localization for MA04 TV
M04 scene exists in two sets (kSetMA04 and kSetMA02_MA04)

So better to do the check based on kSetPS05
2022-07-03 16:33:47 +03:00
antoniou79 5df0b78ef5 BLADERUNNER: Add skip crawl subs option to BR:EE
This version of the game is unsupported, but let's have options parity for it
2022-06-30 17:41:45 +03:00
antoniou79 58ce14943f BLADERUNNER: Fix capitalization and add translators comment for BR:EE warning 2022-06-30 17:41:45 +03:00
antoniou79 6b202b4fd2 BLADERUNNER: Fix special case for German audio and subtitles
Two quotes need to be merged in McCoy's beginning speech
2022-06-30 01:00:06 +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
antoniou79 8ed44c4e6f BLADERUNNER: Fix subtitles encoding for internal font 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 4e636920ee BLADERUNNER: For 2x scaled VQA v2 videos fill last row and column
By basically copying the previous to last row and column pixels' color respectively
2022-05-15 12:43:31 +03: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 1bda2b5546 BLADERUNNER: Set old and new outtake filename only if container > 0 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
Torbjörn Andersson e06f3c9a5a GUI: Allow game option checkboxes to be disabled
Depending on other game option checkboxes. This is used to
enable/disable the semi-smooth scrolling checkboxes for FM Towns Loom,
since it's only used when smooth scrolling is enabled.
2022-04-21 11:07:17 +02:00
antoniou79 a199299a24 BLADERUNNER: Avoid reloading the same outtake container 2022-04-13 23:10:44 +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