Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphalaneous committed Nov 19, 2024
1 parent 44db011 commit 4f89298
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions src/ui/hooks/CreatorLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ class $modify(MyCreatorLayer, CreatorLayer){
minecraftButtonMenu->addChild(vaultButton);
minecraftButtonMenu->addChild(treasureButton);

convertToMCButton("super-expert-button", "Super Expert");
convertToMCButton("spaghettdev.gd-roulette/roulette-button", "Roulette");
convertToMCButton("demon-progression-button", "Demon Progression");
convertToMCButton("cvolton.betterinfo/main-button", "BetterInfo");
//convertToMCButton("super-expert-button", "Super Expert");
//convertToMCButton("spaghettdev.gd-roulette/roulette-button", "Roulette");
//convertToMCButton("demon-progression-button", "Demon Progression");
//convertToMCButton("cvolton.betterinfo/main-button", "BetterInfo");

minecraftButtonMenu->updateLayout();

Expand Down
4 changes: 2 additions & 2 deletions src/ui/hooks/PauseLayer.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <Geode/Geode.hpp>
#include <Geode/modify/PauseLayer.hpp>

class $modify(MyPauseLayer, PauseLayer){
/*class $modify(MyPauseLayer, PauseLayer){
void customSetup(){
PauseLayer::customSetup();
Expand Down Expand Up @@ -218,4 +218,4 @@ class $modify(MyPauseLayer, PauseLayer){
LevelInfoLayer* lil = LevelInfoLayer::create(playLayer->m_level, false);
lil->onLevelInfo(nullptr);
}
};
};*/
4 changes: 2 additions & 2 deletions src/ui/layers/settings/GameplaySettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ bool GameplaySettings::init(MCOptionsOuterLayer* topLayer, CCLayer* prevLayer) {
{163, "Quick Keys"}
};

CCLayer* content = Utils::convertMoreOptionsLayer(values);
//CCLayer* content = Utils/::convertMoreOptionsLayer(values);

scrollLayer->addContent(content);
//scrollLayer->addContent(content);
addChild(scrollLayer);

return true;
Expand Down
4 changes: 2 additions & 2 deletions src/ui/layers/settings/PerformanceSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ bool PerformanceSettings::init(MCOptionsOuterLayer* topLayer, CCLayer* prevLayer
{155, "No Shader Antialiasing"}
};

CCLayer* content = Utils::convertMoreOptionsLayer(values);
//CCLayer* content = Utils::convertMoreOptionsLayer(values);

scrollLayer->addContent(content);
//scrollLayer->addContent(content);

addChild(scrollLayer);

Expand Down
4 changes: 2 additions & 2 deletions src/ui/layers/settings/PracticeSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ bool PracticeSettings::init(MCOptionsOuterLayer* topLayer, CCLayer* prevLayer) {
{171, "No Player Hitbox"}
};

CCLayer* content = Utils::convertMoreOptionsLayer(values);
//CCLayer* content = Utils::convertMoreOptionsLayer(values);

scrollLayer->addContent(content);
//scrollLayer->addContent(content);

addChild(scrollLayer);

Expand Down
4 changes: 2 additions & 2 deletions src/ui/layers/settings/VideoSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ bool VideoSettings::init(MCOptionsOuterLayer* topLayer, CCLayer* prevLayer) {

};

CCLayer* content = Utils::convertMoreOptionsLayer(values);
//CCLayer* content = Utils::convertMoreOptionsLayer(values);

scrollLayer->addContent(content);
//scrollLayer->addContent(content);

addChild(scrollLayer);

Expand Down
8 changes: 4 additions & 4 deletions src/utils/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ class Utils {
}
}

static CCMenuItemToggler* convertToggler(std::string text, CCMenuItemToggler* toggler){
/*static CCMenuItemToggler* convertToggler(std::string text, CCMenuItemToggler* toggler){
CCMenuItemToggler* newToggler = nullptr;
Expand Down Expand Up @@ -325,7 +325,7 @@ class Utils {
}
return newToggler;
}
}*/

static std::wstring strToWstr(std::string string){

Expand All @@ -352,7 +352,7 @@ class Utils {
return CCNode::create();
}

static CCLayer* convertMoreOptionsLayer(std::vector<std::pair<int, std::string>> values){
/*static CCLayer* convertMoreOptionsLayer(std::vector<std::pair<int, std::string>> values){
CCLayer* content = CCLayer::create();
auto winSize = CCDirector::sharedDirector()->getWinSize();
Expand Down Expand Up @@ -398,7 +398,7 @@ class Utils {
content->addChild(moreOptionsLayer);
return content;
}
}*/

static std::string getCPUInfo() {

Expand Down

0 comments on commit 4f89298

Please sign in to comment.