Skip to content

Commit 6780216

Browse files
committed
More mac tests
1 parent e2c254e commit 6780216

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/ui/hooks/CreatorLayer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ class $modify(MyCreatorLayer, CreatorLayer){
5555

5656
MCButton* questsButton = MCButton::create("Quests", 38.1f, this, menu_selector(CreatorLayer::onChallenge));
5757
MCButton* gauntletsButton = MCButton::create("Gauntlets", 38.1f, this, menu_selector(CreatorLayer::onGauntlets));
58-
MCButton* pathsButton = MCButton::create("Paths", 38.1f, this, menu_selector(CreatorLayer::onPaths));
58+
MCButton* pathsButton = MCButton::create("Paths", 38.1f, this, menu_selector(CreatorLayer::onGauntlets));//(CreatorLayer::onPaths));
5959
MCButton* listsButton = MCButton::create("Lists", 38.1f, this, menu_selector(CreatorLayer::onTopLists));
60-
MCButton* mapPacksButton = MCButton::create("Map Packs", 38.1f, this, menu_selector(CreatorLayer::onMapPacks));
60+
MCButton* mapPacksButton = MCButton::create("Map Packs", 38.1f, this, menu_selector(CreatorLayer::onGauntlets));//(CreatorLayer::onMapPacks));
6161
MCButton* vaultButton = MCButton::create("Vault", 38.1f, this, menu_selector(CreatorLayer::onSecretVault));
6262
MCButton* treasureButton = MCButton::create("Treasure", 38.1f, this, menu_selector(CreatorLayer::onTreasureRoom));
6363

@@ -122,7 +122,7 @@ class $modify(MyCreatorLayer, CreatorLayer){
122122
content->addChild(importantButtonMenu);
123123

124124

125-
MCButton* doneButton = MCButton::create("Done", 49.1f, this, menu_selector(CreatorLayer::onBack));
125+
MCButton* doneButton = MCButton::create("Done", 49.1f, this, menu_selector(CreatorLayer::onGauntlets));//(CreatorLayer::onBack));
126126

127127
doneButton->setPosition({winSize.width/2, 16});
128128
doneButton->setID("done-button"_spr);

src/ui/hooks/LoadingLayer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class $modify(MyLoadingLayer, LoadingLayer){
7272

7373
MyLoadingLayer* myself = static_cast<MyLoadingLayer*>(this);
7474

75-
#ifndef GEODE_IS_ANDROID
75+
#ifdef GEODE_IS_WINDOWS
7676

7777
auto hwnd = FindWindowW(NULL, L"Geometry Dash");
7878
SetWindowTextA(hwnd, "Minecraft* 2.2");

src/ui/hooks/MenuLayer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ class $modify(MyMenuLayer, MenuLayer) {
8585
CCMenu* menu = CCMenu::create();
8686

8787
MCButton* playButton = MCButton::create("Singleplayer", 49.1f, this, menu_selector(MenuLayer::onPlay));
88-
MCButton* editButton = MCButton::create("Online Levels", 49.1f, this, menu_selector(MenuLayer::onCreator));
88+
MCButton* editButton = MCButton::create("Online Levels", 49.1f, this, menu_selector(MenuLayer::onPlay));//(MenuLayer::onCreator));
8989
MCButton* modsButton = MCButton::create("Mods", 24.0f, this, menu_selector(MyMenuLayer::onMods));
9090
MCButton* skinButton = MCButton::create("Skins", 24.0f, this, menu_selector(MenuLayer::onGarage));
9191

92-
MCButton* optionsButton = MCButton::create("Options...", 24.0f, this, menu_selector(MyMenuLayer::onOptions));
92+
MCButton* optionsButton = MCButton::create("Options...", 24.0f, this, menu_selector(MenuLayer::onPlay));//(MyMenuLayer::onOptions));
9393
MCButton* quitButton = MCButton::create("Quit Game", 24.0f, this, menu_selector(MyMenuLayer::onExit));
9494

9595
MCButton* profileButton = MCButton::create("", 5.0f, this, menu_selector(MyMenuLayer::onMyProfile));
@@ -364,7 +364,7 @@ class $modify(MyMenuLayer, MenuLayer) {
364364

365365
createQuickPopup("Quit Game", "Are you sure you want to <cr>quit</c>?", "Cancel", "Yes", [this](FLAlertLayer*, bool button2){
366366
if(button2){
367-
endGame();
367+
//endGame();
368368
}
369369
});
370370
}

src/ui/hooks/PlayLayer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <Geode/modify/PlayLayer.hpp>
33
#include <Geode/modify/CCKeyboardDispatcher.hpp>
44

5-
#ifndef GEODE_IS_ANDROID
5+
#ifdef GEODE_IS_WINDOWS
66
#include "psapi.h"
77
#endif
88

0 commit comments

Comments
 (0)