aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/subtitles.h
diff options
context:
space:
mode:
authorantoniou792018-12-16 19:45:19 +0200
committerEugene Sandulenko2018-12-25 12:35:52 +0100
commitc5da2df9e83298ad680cadec635d2a5cd223ffb7 (patch)
treeb70450086025e9147f92c9db747859cb9eef2f35 /engines/bladerunner/subtitles.h
parent35e248f3f4a5ed45a9aa849fdee4b3b2ce643bd2 (diff)
downloadscummvm-rg350-c5da2df9e83298ad680cadec635d2a5cd223ffb7.tar.gz
scummvm-rg350-c5da2df9e83298ad680cadec635d2a5cd223ffb7.tar.bz2
scummvm-rg350-c5da2df9e83298ad680cadec635d2a5cd223ffb7.zip
BLADERUNNER: Remove fallback to internal font
Diffstat (limited to 'engines/bladerunner/subtitles.h')
-rw-r--r--engines/bladerunner/subtitles.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/engines/bladerunner/subtitles.h b/engines/bladerunner/subtitles.h
index 5c6f8029c9..5169ef5eb0 100644
--- a/engines/bladerunner/subtitles.h
+++ b/engines/bladerunner/subtitles.h
@@ -48,31 +48,28 @@ class Subtitles {
// TODO Or just support the current _vm->_languageCode ? [current implementation]
static const int kMaxNumOfSubtitlesLines = 3;
static const int kMaxWidthPerLineToAutoSplitThresholdPx = 610;
- static const int kMaxTextResourceEntries = 1 + 25; // Support in-game subs (1) and all possible VQAs (26) with spoken dialogue!
+ static const int kMaxTextResourceEntries = 1 + 25; // Support in-game subs (1) and all possible VQAs (25) with spoken dialogue!
static const Common::String SUBTITLES_FILENAME_PREFIXES[kMaxTextResourceEntries];
static const Common::String SUBTITLES_FONT_FILENAME_EXTERNAL;
- static const Common::String SUBTITLES_FONT_FILENAME_INTERNAL;
BladeRunnerEngine *_vm;
TextResource *_vqaSubsTextResourceEntries[kMaxTextResourceEntries];
Font *_subsFont;
- Font *_subsBgFont; // needed for internal font to be used as a shadow effect and make subtitles more legible in certain situations
- bool _isVisible;
- Common::String _currentSubtitleTextFull;
- Common::String _subtitleLineQuote[kMaxNumOfSubtitlesLines];
+ bool _isVisible;
+ Common::String _currentSubtitleTextFull;
+ Common::String _subtitleLineQuote[kMaxNumOfSubtitlesLines];
int _subtitleLineScreenY[kMaxNumOfSubtitlesLines];
int _subtitleLineScreenX[kMaxNumOfSubtitlesLines];
int _subtitleLineSplitAtCharIndex[kMaxNumOfSubtitlesLines];
int _currentSubtitleLines;
bool _subtitlesQuoteChanged;
- bool _gameSubsResourceEntriesFound[kMaxTextResourceEntries]; // false if a TRE file did not open successfully
- bool _subsFontsExternal; // true if we are using the external font, false otherwise
- bool _subsFontsLoaded; // false if external fonts and internal fonts (fore and background) did not load
- bool _subtitlesSystemInactive; // true if the whole subtitles subsystem should be disabled (due to missing required resources)
+ bool _gameSubsResourceEntriesFound[kMaxTextResourceEntries]; // false if a TRE file did not open successfully
+ bool _subsFontsLoaded; // false if external fonts did not load
+ bool _subtitlesSystemInactive; // true if the whole subtitles subsystem should be disabled (due to missing required resources)
public:
Subtitles(BladeRunnerEngine *vm);