BLADERUNNER: SUBTITLES: Added TB_FLY to subtitle-able videos

This commit is contained in:
Thanasis Antoniou 2020-01-19 00:51:51 +02:00
parent 1b11def7bf
commit 4d260ea349
4 changed files with 5 additions and 4 deletions

View File

@ -174,7 +174,7 @@ bool AIScriptHolloway::GoalChanged(int currentGoalNumber, int newGoalNumber) {
Ambient_Sounds_Remove_All_Looping_Sounds(1);
Player_Gains_Control();
Outtake_Play(kOuttakeInterrogation, 0, 1);
Outtake_Play(kOuttakeInterrogation, false, 1);
if (Global_Variable_Query(kVariableHollowayArrest) == 1) {
Actor_Set_Goal_Number(kActorDektora, kGoalDektoraNR08ReadyToRun);

View File

@ -34,7 +34,7 @@ void SceneScriptTB02::InitializeScene() {
} else {
Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);
Ambient_Sounds_Remove_All_Looping_Sounds(1);
Outtake_Play(kOuttakeTyrellBuildingFly, false, -1);
Outtake_Play(kOuttakeTyrellBuildingFly, false, -1); // TB_FLY_#.VQA Note: this is the only fly-through scene that is localized!
Setup_Scene_Information(-304.0f, -81.46f, 1434.0f, 250);
}
if (Global_Variable_Query(kVariableChapter) > 3) {

View File

@ -92,7 +92,8 @@ const char *Subtitles::SUBTITLES_FILENAME_PREFIXES[kMaxTextResourceEntries] = {
"END01D", // 22
"END01E", // 23
"END01F", // 24
"END03" // 25
"END03", // 25
"TB_FLY" // 26
};
/**

View File

@ -45,7 +45,7 @@ class Subtitles {
static const uint kPreferedLine = 2; // Prefer drawing from this line (the bottom-most of available subtitle lines index is 0) by default
static const int kMarginBottom = 12; // In pixels. This is the bottom margin beneath the subtitles space
static const int kTextMaxWidth = 610; // In pixels
static const int kMaxTextResourceEntries = 1 + 25; // Support in-game subs (1) and all possible VQAs (25) with spoken dialogue or translatable text
static const int kMaxTextResourceEntries = 27; // Support in-game subs (1) and all possible VQAs (26) with spoken dialogue or translatable text
static const char *SUBTITLES_FILENAME_PREFIXES[kMaxTextResourceEntries];
static const char *SUBTITLES_FONT_FILENAME_EXTERNAL;
static const char *SUBTITLES_VERSION_TRENAME;