Commit Graph
42 Commits
Author SHA1 Message Date
antoniou79 84eb1eb28e BLADERUNNER: Fix swap argument so as to swap all entries 2022-09-04 18:01:56 +03:00
antoniou79 9ad0ef604d BLADERUNNER: Fix subtitles in outtakes regression 2022-07-08 08:52:33 +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 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
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
antoniou79 d925d62f4f DEVTOOLS: BLADERUNNER: Abort on unsupported optimization of PNG input
Also revert the sample pngs to the non-optimized versions.
2020-12-31 16:17:51 +02:00
antoniou79 05b42faab4 BLADERUNNER: Additional subtitles fix for accented characters 2020-12-20 22:36:36 +02:00
antoniou79 b48ffe374d BLADERUNNER: Fix missing accented glyphs from subtitles
This was introduced by the use of U32String. The default codepage (utf8) was not suitable.
2020-12-20 19:25:18 +02:00
Eugene Sandulenko 87beb98b95 GRAPHICS: Turn set of bool parameters for wordWrap() to a bitfield 2020-10-16 23:52:18 +02: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 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 602600b944 BLADERUNNER: Removed crowded startup debug messages
Subtitles credits info is now only available from the "subtitle info" command in the debugger

This is due to an issue with certain localized characters not appearing correctly from debug() output on the background console (if enabled).
2020-02-07 03:24:53 +02:00
Thanasis Antoniou 4d260ea349 BLADERUNNER: SUBTITLES: Added TB_FLY to subtitle-able videos 2020-01-19 01:28:00 +02:00
Peter Kohaut cd7e44f9f9 BLADERUNNER: Group shapes loading 2019-10-13 14:09:47 +02:00
Thanasis Antoniou cd8816428e BLADERUNNER: Make use of new text wrapping functionality
Even width length for subtitle lines, but prioritize explicit new lines if present
2019-08-02 01:59:22 +03:00
Thanasis Antoniou 286054b857 BLADERUNNER: Avoid redundant calls to wordWrapText for the same text 2019-07-21 23:19:00 +03:00
dafioram b3508245a0 BLADERUNNER: Make subtitles variable local (#1753) 2019-07-18 18:23:28 +02:00
Peter Kohaut 39e4fdb98c BLADERUNNER: Use ScummVM word wrapping algorithm 2019-07-16 21:56:33 +02:00
Peter Kohaut a767a6800d BLADERUNNER: Added TTF & UTF8 support for subtitles 2019-07-16 21:32:34 +02:00
Peter Kohaut ffbfe90afa BLADERUNNER: Ajdust font interface to ScummVM's one 2019-07-16 21:32:34 +02:00
Thanasis Antoniou a81e3add2f BLADERUNNER: JANITORIAL: Code formatting fixes 2019-06-28 15:30:44 +03:00
Thanasis Antoniou b7e1f8a9ff BLADERUNNER: Support for displaying subtitles info 2019-05-29 12:08:24 +03:00
Peter Kohaut 06629b0826 BLADERUNNER: Clean-up for subtitles initialization code 2019-03-09 23:06:35 +01:00
Thanasis Antoniou 90688204d2 BLADERUNNER: Subtitles code improvements
Allow for 4 lines of subtitles, but start from using 2 lines by default

Also added debugger command to allow for immediate text testing for subtitles
2019-03-09 20:01:29 +02:00
Eugene Sandulenko 390b243ef2 BLADERUNNER: Avoid using global objects in subtitle code 2019-02-25 09:22:39 +01:00
Eugene Sandulenko d0a88a4b5c Revert "BLADERUNNER: Possible fix for broken build"
This reverts commit 727e583b94.

Revert "BLADERUNNER: Possible fix for clang warning for subtitles"

This reverts commit 78b14649be.
2019-02-25 09:19:25 +01:00
Thanasis Antoniou 727e583b94 BLADERUNNER: Possible fix for broken build
Previous fix attempt for the clang warning "warning: declaration requires a global destructor [-Wglobal-constructors]" went awry
2019-02-25 00:05:01 +02:00
Thanasis Antoniou 78b14649be BLADERUNNER: Possible fix for clang warning for subtitles 2019-02-24 23:39:52 +02:00
antoniou79 9be700c022 BLADERUNNER: All versions have ENG for BRLOGO and WSTLGO
All game language versions have the English VQA for the logo videos

Do not append the localization suffix to those two, but use the '_E' suffix instead.
2019-01-06 17:12:02 +01:00
antoniou79 c5da2df9e8 BLADERUNNER: Remove fallback to internal font 2018-12-25 12:35:52 +01:00
antoniou79 35e248f3f4 BLADERUNNER: Clear up old TODO in subtitles.cpp 2018-12-25 12:35:52 +01:00
Thanasis Antoniou 301acd2ea3 BLADERUNNER more comments on calculatePosition workings
A bit of cleaning up of Subtitles::calculatePosition() method adding comments.
2018-12-25 12:35:52 +01:00
antoniou79 79ff97d5d9 BLADERUNNER: switch clause in fonts and style fixes 2018-12-25 12:35:52 +01:00
antoniou79 2f28926f22 BLADERUNNER: removed BLADERUNNER_SUBTITLES_EXTERNAL_FONT 2018-12-25 12:35:52 +01:00
antoniou79 6f55071c57 BLADERUNNER: SUBTITLES.MIX pack support 2018-12-25 12:35:52 +01:00
Thanasis Antoniou f101906bc2 BLADERUNNER: Removed compile time macros, added synch with GUI 2018-12-25 12:35:52 +01:00
Thanasis Antoniou a86625700f BLADERUNNER: Added subtitles support and checkbox in KIA 2018-12-25 12:35:52 +01:00