remove video subtitles preference
This commit is contained in:
@@ -267,27 +267,6 @@ class Preferences
|
||||
return value;
|
||||
}
|
||||
|
||||
#if FEATURE_VIDEO_SUBTITLES
|
||||
/**
|
||||
* If enabled, subtitles will be shown on video cutscenes.
|
||||
* @default `true`
|
||||
*/
|
||||
public static var videoSubtitles(get, set):Bool;
|
||||
|
||||
static function get_videoSubtitles():Bool
|
||||
{
|
||||
return Save?.instance?.options?.videoSubtitles ?? true;
|
||||
}
|
||||
|
||||
static function set_videoSubtitles(value:Bool):Bool
|
||||
{
|
||||
var save:Save = Save.instance;
|
||||
save.options.videoSubtitles = value;
|
||||
save.flush();
|
||||
return value;
|
||||
}
|
||||
#end
|
||||
|
||||
/**
|
||||
* If enabled, the game will automatically launch in fullscreen on startup.
|
||||
* @default `true`
|
||||
|
||||
@@ -186,7 +186,7 @@ class VideoCutscene
|
||||
final fileOptions:Array<String> = [];
|
||||
|
||||
#if FEATURE_VIDEO_SUBTITLES
|
||||
if (Preferences.videoSubtitles)
|
||||
if (Preferences.subtitles)
|
||||
{
|
||||
fileOptions.push(':sub-language=$DEFAULT_LANGUAGE');
|
||||
}
|
||||
|
||||
@@ -128,7 +128,6 @@ class Save implements ConsoleClass
|
||||
hapticsMode: 'All',
|
||||
hapticsIntensityMultiplier: 1,
|
||||
autoPause: true,
|
||||
videoSubtitles: true,
|
||||
vsyncMode: 'Off',
|
||||
strumlineBackgroundOpacity: 0,
|
||||
autoFullscreen: false,
|
||||
@@ -1643,12 +1642,6 @@ typedef SaveDataOptions =
|
||||
*/
|
||||
var autoPause:Bool;
|
||||
|
||||
/**
|
||||
* If enabled, subtitles will be shown on video cutscenes.
|
||||
* @default `true`
|
||||
*/
|
||||
var videoSubtitles:Bool;
|
||||
|
||||
/**
|
||||
* If enabled, the game will utilize VSync (or adaptive VSync) on startup.
|
||||
* @default `Off`
|
||||
|
||||
Reference in New Issue
Block a user