From 648cd21e92d7f1409444a998319c7d43454a8e58 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Fri, 21 Feb 2025 15:01:57 -0300 Subject: [PATCH] fine tune comments --- src/port/ui/ImguiUI.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/port/ui/ImguiUI.cpp b/src/port/ui/ImguiUI.cpp index 829b45ec..a3eac37f 100644 --- a/src/port/ui/ImguiUI.cpp +++ b/src/port/ui/ImguiUI.cpp @@ -673,7 +673,7 @@ void DrawDebugMenu() { .tooltip = "Disable starfield interpolation to increase performance on slower CPUs" }); UIWidgets::CVarCheckbox("Disable Gamma Boost (Needs reload)", "gGraphics.GammaMode", { - .tooltip = "Gamma Boost is disabled in the current build of the game", + .tooltip = "Disables the game's Built-in Gamma Boost. Useful for modders", .defaultValue = false }); @@ -711,18 +711,22 @@ void DrawDebugMenu() { }); UIWidgets::CVarCheckbox("Speed Control", "gDebugSpeedControl", { - .tooltip = "Control the Arwing speed" + .tooltip = "Arwing speed control. Use D-PAD Left and Right to Increase/Decrease the Arwing Speed, D-PAD Down to stop movement." }); UIWidgets::CVarCheckbox("Debug Ending", "gDebugEnding", { .tooltip = "Jump to credits at the main menu" }); - UIWidgets::CVarCheckbox("Press L to toggle Debug Pause", "gLToDebugPause"); - if (CVarGetInteger("gLToDebugPause", 0)){ + UIWidgets::CVarCheckbox("Debug Pause", "gLToDebugPause", { + .tooltip = "Press L to toggle Debug Pause" + }); + if (CVarGetInteger("gLToDebugPause", 0)) { ImGui::Dummy(ImVec2(22.0f, 0.0f)); ImGui::SameLine(); - UIWidgets::CVarCheckbox("Pressing L again advances one frame instead", "gLToFrameAdvance"); + UIWidgets::CVarCheckbox("Frame Advance", "gLToFrameAdvance", { + .tooltip = "Pressing L again advances one frame instead" + }); } if (CVarGetInteger(StringHelper::Sprintf("gCheckpoint.%d.Set", gCurrentLevel).c_str(), 0)) {