Skip to content

Commit 15ad86a

Browse files
committed
l
1 parent 0403b58 commit 15ad86a

File tree

3 files changed

+35
-5
lines changed

3 files changed

+35
-5
lines changed

about.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Join the [Discord Server](https://discord.gg/DfQSTEnQKK)
22

3-
QOLMod is The **Best** Free Mod Menu, It has a user friendly interface with over <cr>70 features</c> to help improve your <cg>Geometry Dash</c> experience such as **Speedhack**, **Show Hitboxes**, **Startpos Switcher**, **Solid Wave Trail** and **much** more.
3+
QOLMod is The **Best** Free Mod Menu, It has a user friendly interface with over <ca>70 features</c> to help improve your <cg>Geometry Dash</c> experience such as **Startpos Switcher**, **Show Hitboxes**, **Speedhack**, **Solid Wave Trail** and **much** more.
44

55
# How to use.
66
On Windows / Mac:
77
- Press **Tab** or **Insert** on your keyboard
88
- The keybinds for opening the mod menu can be changed in the Mod Settings
9+
- You can assign keybinds to mods in the **Config** category in the menu
910

1011
On Android:
1112
- Press the button on your screen to open the mod menu.

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- Fixed Transparent BG not working on apple devices
44
- Fixed the button not appearing in a new scene on apple devices
55
- Fixed Coin Collect Circle effect being the wrong colour with Gold User Coins
6-
- Added **Ball Rotation Bug**
6+
- Added **Fake Ball Rotation Bug**
77
- Added **Mod Keybinds**
88

99
# 1.5.9

src/Layers/ManageKeybindsLayer.cpp

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "ManageKeybindsLayer.hpp"
22
#include "../Keybinds/RecordKeyStruct.hpp"
3+
#include "../Client/Windows/IconEffects.hpp"
34

45
#define CELL_HEIGHT 25
56

@@ -21,15 +22,36 @@ void ManageKeybindsLayer::customSetup()
2122
{
2223
auto scroll = ScrollLayer::create(ccp(250, 170));
2324
scroll->setPosition(size / 2 - scroll->getContentSize() / 2 + ccp(0, 6));
25+
26+
auto bar = Scrollbar::create(scroll);
27+
28+
auto border = geode::ListBorders::create();
29+
border->setContentSize(scroll->getContentSize() + ccp(0, -2));
30+
border->setZOrder(69);
31+
border->setSpriteFrames("geode.loader/geode-list-top.png", "geode.loader/geode-list-side.png", 2.25f);
32+
33+
for (auto child : CCArrayExt<CCNodeRGBA*>(border->getChildren()))
34+
{
35+
child->setColor(ccc3(0, 0, 0));
36+
//child->setOpacity(100);
37+
}
38+
39+
baseLayer->addChildAtPosition(border, Anchor::Center, ccp(0, 6));
2440

2541
int count = 0;
2642

2743
for (auto window : Client::get()->windows)
2844
{
45+
if (typeinfo_cast<IconEffects*>(window))
46+
continue;
47+
2948
count++;
3049

3150
for (auto module : window->modules)
3251
{
52+
if (typeinfo_cast<SliderModule*>(module) || typeinfo_cast<InputModule*>(module))
53+
continue;
54+
3355
if (typeinfo_cast<Module*>(module))
3456
count++;
3557
}
@@ -42,17 +64,20 @@ void ManageKeybindsLayer::customSetup()
4264

4365
for (auto window : Client::get()->windows)
4466
{
67+
if (typeinfo_cast<IconEffects*>(window))
68+
continue;
69+
4570
auto bar = CCLayerColor::create(ccc4(0, 0, 0, 125));
4671
bar->setAnchorPoint(ccp(0, 1));
4772
bar->ignoreAnchorPointForPosition(false);
4873
bar->setPositionY(CELL_HEIGHT * count - (CELL_HEIGHT * i));
4974
bar->setContentSize(ccp(scroll->getContentWidth(), CELL_HEIGHT));
5075

51-
auto label = CCLabelBMFont::create(window->name.c_str(), "bigFont.fnt");
76+
auto label = CCLabelBMFont::create(window->name.c_str(), "goldFont.fnt");
5277
label->setAnchorPoint(ccp(0, 0.5f));
5378
label->setPosition(ccp(7.5f, CELL_HEIGHT / 2));
5479
label->limitLabelWidth(100, 0.6f, 0);
55-
label->setOpacity(175);
80+
//label->setOpacity(175);
5681
bar->addChild(label);
5782

5883
scroll->m_contentLayer->addChild(bar);
@@ -61,7 +86,10 @@ void ManageKeybindsLayer::customSetup()
6186
int e = 0;
6287
for (auto module : window->modules)
6388
{
64-
if (dynamic_cast<Module*>(module))
89+
if (typeinfo_cast<SliderModule*>(module) || typeinfo_cast<InputModule*>(module))
90+
continue;
91+
92+
if (typeinfo_cast<Module*>(module))
6593
{
6694
auto bar = CCLayerColor::create(ccc4(0, 0, 0, !(e % 2) ? 25 : 75));
6795
bar->setAnchorPoint(ccp(0, 1));
@@ -113,6 +141,7 @@ void ManageKeybindsLayer::customSetup()
113141
}
114142

115143
baseLayer->addChild(scroll);
144+
baseLayer->addChildAtPosition(bar, Anchor::Right, ccp(-18.5f, 6));
116145
}
117146

118147
void ManageKeybindsLayer::onSet(CCObject* sender)

0 commit comments

Comments
 (0)