From 4d64744df51fffba96510ee9d67f4f65d375ad85 Mon Sep 17 00:00:00 2001 From: FireMario211 <17692105+FireMario211@users.noreply.github.com> Date: Sat, 20 Jan 2024 16:55:37 -0500 Subject: [PATCH] made the warning more apparent, also fix these stupid ifdef issues --- src/main.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 74c416b..95a23b1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -384,12 +384,12 @@ class $modify(MenuLayer) { const char* version = "V1.1.0 (Geode)"; #ifdef GEODE_IS_WINDOWS ImGui::Text("%s - Windows", version); - #elif GEODE_IS_ANDROID32 - ImGui::Text("%s - Android (32)", version); - #elif GEODE_IS_ANDROID32 - ImGui::Text("%s - Android (64)", version); - #elif GEODE_IS_ANDROID - ImGui::Text("%s - Android", version); + #else // why does android not like elif + #ifdef GEODE_IS_ANDROID + ImGui::Text("%s - Android", version); + #else + ImGui::Text("%s - HOW by Spu7nix", version); + #endif #endif ImGui::Separator(); break; @@ -488,6 +488,9 @@ class $modify(MenuLayer) { prismButton->setVisible(hack->value.boolValue); // TODO: add a check to see if currently on MenuLayer } + if (name == "Instant Complete" && hack->value.boolValue) { + FLAlertLayer::create(nullptr, "Cheater!", "Just a warning, you will be banned off leaderboards if you use this on rated levels. Consider this your warning.", "OK", nullptr)->show(); + } if (Hacks::isHackEnabled("Enable Patching") && !opcodes.empty()) { #ifdef GEODE_IS_WINDOWS Hacks::applyPatches(name, opcodes, hack->value.boolValue);