mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
Skip briefing developer option
This commit is contained in:
parent
b3ad7e8ab8
commit
bda925b33f
@ -112,7 +112,7 @@ void Map_LevelSelect(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Bypass briefing
|
// Bypass briefing
|
||||||
#if DEBUG_SKIP_BRIEFING
|
if (CVarGetInteger("gSkipBriefing", 0) == 1) {
|
||||||
if ((timer == 0) && (startLevel == 1)) {
|
if ((timer == 0) && (startLevel == 1)) {
|
||||||
if ((sMapState == 2) && (sMapSubState > 0)) {
|
if ((sMapState == 2) && (sMapSubState > 0)) {
|
||||||
if (sCurrentPlanetId == PLANET_VENOM) {
|
if (sCurrentPlanetId == PLANET_VENOM) {
|
||||||
@ -134,5 +134,5 @@ void Map_LevelSelect(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
}
|
||||||
}
|
}
|
||||||
|
@ -485,6 +485,10 @@ void DrawDebugMenu() {
|
|||||||
.tooltip = "Allows you to select any level from the main menu"
|
.tooltip = "Allows you to select any level from the main menu"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
UIWidgets::CVarCheckbox("Skip Briefing", "gSkipBriefing", {
|
||||||
|
.tooltip = "Allows you to skip the briefing sequence in level select"
|
||||||
|
});
|
||||||
|
|
||||||
UIWidgets::CVarCheckbox("Enable Expert Mode", "gForceExpertMode", {
|
UIWidgets::CVarCheckbox("Enable Expert Mode", "gForceExpertMode", {
|
||||||
.tooltip = "Allows you to force expert mode"
|
.tooltip = "Allows you to force expert mode"
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user