Skip to content

Commit

Permalink
some bug fix update
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Apr 20, 2024
1 parent 9d6cfef commit 0608ce3
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 11 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build-noimgui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ jobs:
config:
- name: Windows
os: windows-latest

- name: Android32
os: ubuntu-latest
target: Android32

- name: Android64
os: ubuntu-latest
target: Android64


name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (DEFINED ENV{LOCAL})
add_definitions(-DDEV_BUILD)
endif()

if (DEFINED ENV{NO_IMGUI} OR APPLE)
if (DEFINED ENV{NO_IMGUI} OR APPLE OR ANDROID)
message("Not compiling with ImGui")
add_definitions(-DNO_IMGUI)
endif()
Expand Down
10 changes: 10 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# v1.6.3
- Fixed issue where macros with no input would crash.
- Fixed issue with Uncomplete Level not working in ImGui style.
- Updated Turkish Translations.
- Updated Russian Translations.
- Removed ImGui support for Android (because it's not good!)
# v1.6.2
- Removed loadFromCheckpoint hook that caused Mac OS to crash (sorry Mac users :<)
# v1.6.1
- Fixed Macro Author name
# v1.6.0
- Added Quartz Bot (A replay bot)
- Added TPS Bypass (for all platforms)
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "2.0.0-beta.24",
"version": "v1.6.2",
"version": "v1.6.3",
"gd": {
"win": "2.204",
"mac": "2.200",
Expand Down
6 changes: 6 additions & 0 deletions resources/langs/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,5 +600,11 @@
"name": "Wave Pulse Size",
"desc": "How big the pulse should be for the wave."
}
},
{
"Auto Safe Mode": {
"name": "Auto Safe Mode",
"desc": "Prevents any progress from being made if certain cheats are enabled."
}
}
]
6 changes: 6 additions & 0 deletions src/ImGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,12 @@ class $modify(MenuLayer) {
#else
FLAlertLayer::create("Error", "This option can only be used on <cy>Android</c>!", "OK")->show();
#endif
} else if (name == "Uncomplete Level") {
if (auto levelInfoLayer = getChildOfType<LevelInfoLayer>(CCScene::get(), 0)) {
Hacks::resetLevel(levelInfoLayer, levelInfoLayer->m_level);
} else {
FLAlertLayer::create("Error", "You are not <cy>currently in the level page</c>! Please enter in a level page in order to <cg>reset the stats</c>.", "OK")->show();
}
} else { // how will this happen
FLAlertLayer::create("unimplemented", "this button is not implemented", "okay")->show();
}
Expand Down

0 comments on commit 0608ce3

Please sign in to comment.