ADD: Cheat - Current Mission Score Editor

This commit is contained in:
PurpleHato
2024-12-18 05:57:37 +01:00
committed by Lywx
parent 299f6541a2
commit 74b056fa45
2 changed files with 15 additions and 0 deletions
+7
View File
@@ -471,6 +471,13 @@ void DrawCheatsMenu() {
UIWidgets::CVarCheckbox("Start with Peppy dead", "gHit64PeppyDead", {
.tooltip = "Start the level with with Peppy dead."
});
UIWidgets::CVarCheckbox("Score Editor", "gScoreEditor", { .tooltip = "Enable the score editor" });
if (CVarGetInteger("gScoreEditor", 0) == 1) {
UIWidgets::CVarSliderInt("Score: %d", "gScoreEditValue", 0, 999, 0,
{ .tooltip = "Increase or decrease the current mission score number" });
}
ImGui::EndMenu();
}