Revert "Revert "REMOVE skip title screen (use time saver loL!)""

This reverts commit b41e2c64bf8d1a1464f5b0321003653d34a807b7.
This commit is contained in:
JohnCorby 2022-10-06 17:57:25 -07:00
parent 42408a6377
commit 3538321f21
5 changed files with 0 additions and 26 deletions

View File

@ -512,25 +512,6 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart
Delay.RunWhen(PlayerData.IsLoaded, () => SetButtonActive(ResumeGameButton, PlayerData.LoadLoopCount() > 1));
SetButtonActive(NewGameButton, true);
if (QSBCore.DebugSettings.SkipTitleScreen)
{
Application.runInBackground = true;
var titleScreenManager = FindObjectOfType<TitleScreenManager>();
var titleScreenAnimation = titleScreenManager._cameraController;
const float small = 1 / 1000f;
titleScreenAnimation._gamepadSplash = false;
titleScreenAnimation._introPan = false;
titleScreenAnimation._fadeDuration = small;
titleScreenAnimation.Start();
var titleAnimationController = titleScreenManager._gfxController;
titleAnimationController._logoFadeDelay = small;
titleAnimationController._logoFadeDuration = small;
titleAnimationController._echoesFadeDelay = small;
titleAnimationController._optionsFadeDelay = small;
titleAnimationController._optionsFadeDuration = small;
titleAnimationController._optionsFadeSpacing = small;
}
var mainMenuFontController = GameObject.Find("MainMenu").GetComponent<FontAndLanguageController>();
mainMenuFontController.AddTextElement(HostButton.transform.GetChild(0).GetChild(1).GetComponent<Text>());
mainMenuFontController.AddTextElement(ConnectButton.transform.GetChild(0).GetChild(1).GetComponent<Text>());

View File

@ -147,7 +147,6 @@ public class QSBCore : ModBehaviour
if (DebugSettings.AutoStart)
{
DebugSettings.UseKcpTransport = true;
DebugSettings.SkipTitleScreen = true;
DebugSettings.DebugMode = true;
}

View File

@ -23,9 +23,6 @@ public class DebugSettings
[JsonProperty("autoStart")]
public bool AutoStart;
[JsonProperty("skipTitleScreen")]
public bool SkipTitleScreen;
[JsonProperty("kickEveryone")]
public bool KickEveryone;

View File

@ -5,7 +5,6 @@
"hookDebugLogs": false,
"avoidTimeSync": false,
"autoStart": false,
"skipTitleScreen": false,
"kickEveryone": false,
"debugMode": false,
"drawGui": false,

View File

@ -138,7 +138,6 @@ The template for this file is this :
"hookDebugLogs": false,
"avoidTimeSync": false,
"autoStart": false,
"skipTitleScreen": false,
"debugMode": false,
"drawGui": false,
"drawLines": false,
@ -155,7 +154,6 @@ The template for this file is this :
- hookDebugLogs - Print Unity logs and warnings.
- avoidTimeSync - Disables the syncing of time.
- autoStart - Host/connect automatically for faster testing.
- skipTitleScreen - Auto-skips the splash screen.
- debugMode - Enables debug mode. If this is set to `false`, none of the following settings do anything.
- drawGui - Draws a GUI at the top of the screen that gives information on many things.
- drawLines - Draws gizmo-esque lines around things. Indicates reference sectors/transforms, triggers, etc. LAGGY.