Revert "remove skipTitleScreen, just use autoStart"

This reverts commit 96c0161de25ed68ddef2bb89d240671905bae944.
This commit is contained in:
JohnCorby 2022-06-07 10:33:24 -07:00
parent a25d3d19c5
commit 86cedb8d79
4 changed files with 7 additions and 3 deletions

View File

@ -337,9 +337,8 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart
Delay.RunWhen(PlayerData.IsLoaded, () => SetButtonActive(ResumeGameButton, PlayerData.LoadLoopCount() > 1));
SetButtonActive(NewGameButton, true);
if (QSBCore.DebugSettings.AutoStart)
if (QSBCore.DebugSettings.SkipTitleScreen)
{
// skip title screen
Application.runInBackground = true;
var titleScreenManager = FindObjectOfType<TitleScreenManager>();
var titleScreenAnimation = titleScreenManager._cameraController;

View File

@ -47,6 +47,10 @@ public class DebugSettings
private bool _drawGhostAI;
public bool DrawGhostAI => DebugMode && _drawGhostAI;
[JsonProperty("skipTitleScreen")]
private bool _skipTitleScreen;
public bool SkipTitleScreen => DebugMode && _skipTitleScreen;
[JsonProperty("greySkybox")]
private bool _greySkybox;
public bool GreySkybox => DebugMode && _greySkybox;

View File

@ -11,5 +11,6 @@
"drawLabels": false,
"drawQuantumVisibilityObjects": false,
"drawGhostAI": false,
"skipTitleScreen": false,
"greySkybox": false
}

View File

@ -148,13 +148,13 @@ The template for this file is this :
- instanceIdInLogs - Appends the game instance id to every log message sent.
- hookDebugLogs - Print Unity logs and warnings.
- avoidTimeSync - Disables the syncing of time.
- autoStart - Host/connect automatically, use kcp transport, and skip title 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.
- drawLabels - Draws GUI labels attached to some objects. LAGGY.
- drawQuantumVisibilityObjects - Indicates visibility objects with an orange shape.
- drawGhostAI - Draws debug lines and labels just for the ghosts.
- skipTitleScreen - Auto-skips the splash screen.
- greySkybox - Turns the skybox grey. Useful in the Eye, where it's pretty dark.
**Warning : Mod development can lead to unexpected errors in your computer system.**