mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
Add Mod menu and move Katina tweak there
This commit is contained in:
parent
7e53e72246
commit
4a8fe23177
@ -446,10 +446,6 @@ void DrawEnhancementsMenu() {
|
||||
.tooltip = "Character heads are displayed inside Arwings in all cutscenes",
|
||||
.defaultValue = true
|
||||
});
|
||||
UIWidgets::CVarCheckbox("Score penalty on Katina Friendly Fire", "gKatinaPunishFF", {
|
||||
.tooltip = "Shooting down a friendly fighter on Katina reduces your score.",
|
||||
.defaultValue = false
|
||||
});
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
@ -506,6 +502,18 @@ void DrawCheatsMenu() {
|
||||
}
|
||||
}
|
||||
|
||||
void DrawModsMenu() {
|
||||
if (UIWidgets::BeginMenu("Mods")) {
|
||||
UIWidgets::CVarCheckbox("Score penalty on Katina Friendly Fire", "gKatinaPunishFF", {
|
||||
.tooltip = "Shooting down a friendly fighter on Katina reduces your score.",
|
||||
.defaultValue = false
|
||||
});
|
||||
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
}
|
||||
|
||||
static const char* debugInfoPages[6] = {
|
||||
"Object",
|
||||
"Check Surface",
|
||||
@ -646,6 +654,8 @@ void GameMenuBar::DrawElement() {
|
||||
|
||||
ImGui::SetCursorPosY(0.0f);
|
||||
|
||||
DrawModsMenu();
|
||||
|
||||
ImGui::SetCursorPosY(0.0f);
|
||||
|
||||
DrawDebugMenu();
|
||||
|
Loading…
Reference in New Issue
Block a user