Skip to content

Commit

Permalink
why did geode break stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Jun 13, 2024
1 parent f116a22 commit 40f6ddd
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-noimgui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Build Geode Mod (No ImGui)

on:
workflow_dispatch:
pull_request:
push:
branches:
- "main"
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ cmake \
-DGEODE_DISABLE_FMT_CONSTEVAL=1 -G Ninja

cmake --build build-linux-deb --config RelWithDebInfo
# /SDrive/Users/Fire/Desktop/Restoration/ClarifyGDPS V.1.3/GDGeode-2.204
# /SDrive/Users/Fire/Desktop/Restoration/ClarifyGDPS V.1.3/GDGeode-2.206
cp build-linux-deb/firee.prism.geode "/SDrive/Users/Fire/Desktop/Restoration/ClarifyGDPS V.1.3/GDGeode-2.206/geode/mods/firee.prism.geode"
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# v1.7.3
- Update Russian translations
- Update Turkish translations
- Update Vietnamese translations
# v1.7.2
- Update to support Geode Alpha 3
- Update to support Geode Alpha 2
- Change about.md
# v1.7.1
- Fixed Noclip Accuracy for all platforms
Expand Down
12 changes: 12 additions & 0 deletions resources/langs/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,5 +606,17 @@
"name": "Auto Safe Mode",
"desc": "Prevents any progress from being made if certain cheats are enabled."
}
},
{
"Custom Object Bypass": {
"name": "Custom Object Bypass",
"desc": "Allows you to go beyond the 1000 object limit for custom objects."
}
},
{
"Menu Keybind": {
"name": "Menu Keybind",
"desc": "The keybind for opening the Prism Menu UI!"
}
}
]
4 changes: 2 additions & 2 deletions src/hacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class $modify(GJGameLevel) {
void proceedWithReset(LevelInfoLayer* levelInfoLayer, GJGameLevel* level, bool resetStars, bool resetCoins) {
geode::createQuickPopup(
"Final Warning",
fmt::format("Are you absolutely sure you want to <cr>reset stats</c> for <cy>{}</c>?\nYou <cr>cannot undo this</c> after it's done!\n\nPlease note that <cy>Uncomplete Level</c> is considered <cr>unstable</c>, meaning it may or may not work, or break something. Make sure to <cy>save backup</c> or save your local files before doing this. (you can blame the people who rushed me to work on this)", level->m_levelName),
fmt::format("Are you absolutely sure you want to <cr>reset stats</c> for <cy>{}</c>?\nYou <cr>cannot undo this</c> after it's done!\n\nPlease note that <cy>Uncomplete Level</c> is considered <cr>unstable</c>, meaning it may or may not work, or break something. Make sure to <cy>save backup</c> or backup your local save files before doing this.", level->m_levelName),
"I am sure.", "Cancel",
[level, levelInfoLayer, resetStars, resetCoins](auto, bool btn2) {
if (!btn2) {
Expand Down Expand Up @@ -157,7 +157,7 @@ void Hacks::resetLevel(LevelInfoLayer* levelInfoLayer, GJGameLevel* level) {
static_cast<PrismUI*>(prismUIExists)->onClose(CCNode::create());
}
#if defined(GEODE_IS_MACOS) || defined(GEODE_IS_IOS)
FLAlertLayer::create("Notice", "This currently does not work on <cy>Mac OS</c> and <cy>iOS</c>\n(you can blame the people who rushed me to work on this)", "OK")->show();
FLAlertLayer::create("Notice", "This currently does not work on <cy>Mac OS</c> and <cy>iOS</c>", "OK")->show();
#else
if (level->m_dailyID > 0) {
FLAlertLayer::create("Notice", "This currently does not work on <cy>daily</c> or <cy>weekly</c> levels.", "OK")->show();
Expand Down

0 comments on commit 40f6ddd

Please sign in to comment.