Skip to content

Commit

Permalink
settings and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
user95401 committed Apr 18, 2024
1 parent 071ced4 commit 6d0dbb0
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 70 deletions.
24 changes: 0 additions & 24 deletions CPM.cmake

This file was deleted.

19 changes: 4 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

u can edit:
- main levels setup (stars, song, name, difficulty)
- level pages count
- bg color for page
- songs
- pages in level select layer (here is a fake page list)

and <cr>"Load Failed!"</c> <cl>bypass</c> here

Expand All @@ -13,19 +13,8 @@ and <cr>"Load Failed!"</c> <cl>bypass</c> here
settings here is generating per hooked functions call
so play stereo madness to generate all config structure

### Copy Online Level Helper:
Open level page and push `Insert` key.
U can select stars in rate stars popup.
### Copy Editor Level Helper:
Open share level layer and push `Insert` key
U can select stars yea.
### Delete Main Level Helper:
Select level and push `Delete` key
<cr>

#### why no android release?
#### android releases is unstable i think

pages count stuff
- patch? \- i cant make patch for game on android
- programtically removal? \- BoomScrollLayer is unexplored and i tried myself but its too hard for me :>

and more stuff like functions hooks errors shit
</c>
24 changes: 14 additions & 10 deletions _Src/FakeLevelPagesScroll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class $modify(LevelSelectLayerExt, LevelSelectLayer) {
void controlAndAddStuff() {
//hide away this unexplored thing
this->m_fields->m_LevelsScrollLayer->setVisible(0);
//this->m_fields->m_LevelsScrollLayer->setTouchEnabled(0);
this->m_fields->m_LevelsScrollLayer->setTouchEnabled(0);
//add updates
this->schedule(schedule_selector(LevelSelectLayerExt::updSchedule));
this->schedule(schedule_selector(LevelSelectLayerExt::theSchedule), 0.1f);
Expand All @@ -71,16 +71,20 @@ class $modify(LevelSelectLayerExt, LevelSelectLayer) {
}
auto lvl = GJGameLevel::create();
//thetowerpage
lvl->m_levelID = -2;
auto thetowerpage = LevelPage::create(lvl);
thetowerpage->updateDynamicPage(lvl);
this->m_fields->m_shitcodingmenu->addChild(thetowerpage, i, i);
i++;
if (not Mod::get()->getSettingValue<bool>("NO_THETOWER")) {
lvl->m_levelID = -2;
auto thetowerpage = LevelPage::create(lvl);
thetowerpage->updateDynamicPage(lvl);
this->m_fields->m_shitcodingmenu->addChild(thetowerpage, i, i);
i++;
};
//cumingsoon
lvl->m_levelID = 0;
auto cumingsoon = LevelPage::create(lvl);
cumingsoon->updateDynamicPage(lvl);
this->m_fields->m_shitcodingmenu->addChild(cumingsoon, i, i);
if (not Mod::get()->getSettingValue<bool>("NO_COMINGSOON")) {
lvl->m_levelID = 0;
auto cumingsoon = LevelPage::create(lvl);
cumingsoon->updateDynamicPage(lvl);
this->m_fields->m_shitcodingmenu->addChild(cumingsoon, i, i);
};
//Layout
this->m_fields->m_shitcodingmenu->setLayout(
ColumnLayout::create()
Expand Down
1 change: 1 addition & 0 deletions _Src/controllers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ void UpdatePagesSetup() {

Ini.SaveFile(IniPath.c_str());

return;////////////////////////////////////////////////////////////////////////////////
#ifdef GEODE_IS_WINDOWS
//we at LevelSelectLayer::init(LevelSelectLayer* pClass, int initLevel)
//way: "Download the soundtrack" string, move up to sideart sprites
Expand Down
21 changes: 0 additions & 21 deletions about.md

This file was deleted.

12 changes: 12 additions & 0 deletions mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
"description": "add buttons an other stuff to control things in game",
"type": "bool",
"default": false
},
"NO_THETOWER": {
"name": "Remove The Tower Page",
"description": "dont add this page yea",
"type": "bool",
"default": false
},
"NO_COMINGSOON": {
"name": "Remove Coming Soon Page",
"description": "nothin coming",
"type": "bool",
"default": false
}
}
}

0 comments on commit 6d0dbb0

Please sign in to comment.