diff options
| author | Kiloku <mateus.sateles@protonmail.com> | 2025-01-04 23:57:13 -0300 |
|---|---|---|
| committer | Alejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com> | 2025-01-08 14:28:49 -0500 |
| commit | 0deeddf8cb31ce07c525a1ec8a08159c26bc8eaf (patch) | |
| tree | 1526c929a31188e3739c70d4b8e6ec6717f4d1a6 /src/port/ui/ImguiUI.cpp | |
| parent | 76dab3e20dc0ddb6b07031be28584367f422db4f (diff) | |
Add specific charge button option
Diffstat (limited to 'src/port/ui/ImguiUI.cpp')
| -rw-r--r-- | src/port/ui/ImguiUI.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/port/ui/ImguiUI.cpp b/src/port/ui/ImguiUI.cpp index 4e4d5852..d77e40d4 100644 --- a/src/port/ui/ImguiUI.cpp +++ b/src/port/ui/ImguiUI.cpp @@ -501,6 +501,13 @@ void DrawCheatsMenu() { UIWidgets::CVarCheckbox("Rapid-fire mode", "gRapidFire", { .tooltip = "Hold A to keep firing. Release A to start charging a shot." }); + if (CVarGetInteger("gRapidFire", 0) == 1) { + ImGui::Dummy(ImVec2(22.0f, 0.0f)); + ImGui::SameLine(); + UIWidgets::CVarCheckbox("Hold L to Charge", "gLtoCharge", { + .tooltip = "If you prefer to not have auto-charge." + }); + } UIWidgets::CVarCheckbox("Self destruct button", "gHit64SelfDestruct", { .tooltip = "Press Down on the D-PAD to instantly self destruct." }); |
