cheats & debug entries

This commit is contained in:
Sonic Dreamcaster 2024-10-17 02:00:08 -03:00
parent 74a738ea46
commit cd288a4c5b

View File

@ -416,15 +416,11 @@ void DrawEnhancementsMenu() {
UIWidgets::CVarCheckbox("No Level of Detail (LOD)", "gDisableLOD", { UIWidgets::CVarCheckbox("No Level of Detail (LOD)", "gDisableLOD", {
.tooltip = "Disable Level of Detail (LOD) to avoid models using lower poly versions at a distance" .tooltip = "Disable Level of Detail (LOD) to avoid models using lower poly versions at a distance"
}); });
UIWidgets::CVarCheckbox("Select any star from menu", "gSelectAllStars", {
.tooltip = "Let's you select any star from the menu regardless of the courses completion status." UIWidgets::CVarCheckbox("Speed Control", "gDebugSpeedControl", {
}); .tooltip = "Control the Arwing speed"
UIWidgets::CVarCheckbox("Collecting Stars Will Not Exit Level", "gStarNoExit", { }
.tooltip = "Stars act like the 100 coin star and will not take you out of the level" );
});
UIWidgets::CVarCheckbox("Avoid playing peach cutscene", "gDisablePeachCutscene", {
.tooltip = "Avoid playing the peach cutscene when starting a new game"
});
ImGui::EndMenu(); ImGui::EndMenu();
} }
@ -434,8 +430,9 @@ void DrawEnhancementsMenu() {
void DrawCheatsMenu() { void DrawCheatsMenu() {
if (UIWidgets::BeginMenu("Cheats")) { if (UIWidgets::BeginMenu("Cheats")) {
UIWidgets::CVarCheckbox("Infinite Health", "gInfiniteHealth");
UIWidgets::CVarCheckbox("Infinite Lives", "gInfiniteLives"); UIWidgets::CVarCheckbox("Infinite Lives", "gInfiniteLives");
UIWidgets::CVarCheckbox("Infinite Bombs", "gInfiniteBombs");
UIWidgets::CVarCheckbox("Hyper Laser", "gHyperLaser");
ImGui::EndMenu(); ImGui::EndMenu();
} }
@ -472,6 +469,22 @@ void DrawDebugMenu() {
.tooltip = "Disable starfield interpolation for performance" .tooltip = "Disable starfield interpolation for performance"
}); });
UIWidgets::CVarCheckbox("Jump To Map", "gDebugJumpToMap", {
.tooltip = "Press Z + R + C-UP to get back to the map"
});
UIWidgets::CVarCheckbox("L To Warp Zone", "gDebugWarpZone", {
.tooltip = "Press L to get into the Warp Zone"
});
UIWidgets::CVarCheckbox("L to Level Complete", "gDebugLevelComplete", {
.tooltip = "Press L to Level Complete"
});
UIWidgets::CVarCheckbox("Disable Collision", "gDebugNoCollision", {
.tooltip = "Disable vehicle collision"
});
UIWidgets::Spacer(0); UIWidgets::Spacer(0);
UIWidgets::WindowButton("Stats", "gStatsEnabled", GameUI::mStatsWindow, { UIWidgets::WindowButton("Stats", "gStatsEnabled", GameUI::mStatsWindow, {