Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Nov 5, 2024
1 parent 9f22311 commit b9bf045
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- Added opacity slider to label events
- Added run info to labels
- Fixed Unlock Buttons ungreyscaling some wrong buttons
- Optimised blur background
- Temporarily disabled blur bg because i broke it :broken_heart:
- Added **Editor Reset Percentage on Save**
- Added **Hitbox Multiplier**
- Added **Freeze Attempts**
Expand Down
2 changes: 2 additions & 0 deletions src/Client/ClientSetup.h
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,8 @@ class ClientUtils
Client::GetModule("all-plat")->setIncompatible("This mod has <cr>not yet</c> been ported to <cl>2.206</c>.");
#endif

Client::GetModule("menu-bg-blur")->setIncompatible("Blur BG is temporarily disabled because i broke it :(.");

if (!Loader::get()->getInstalledMod("geode.node-ids") || !Loader::get()->getInstalledMod("geode.node-ids")->isEnabled())
Client::GetModule("unlock-gauntlets")->setIncompatible("This mod requires the <cc>Node IDs</c> mod to be installed!");
}
Expand Down
8 changes: 8 additions & 0 deletions src/UI/BlurLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ bool BlurLayer::init()
if (!CCLayerColor::init())
return false;

return true;

rtex = CCRenderTexture::create(569, 320);
node = CCNode::create();
this->addChild(node);
Expand Down Expand Up @@ -92,11 +94,15 @@ bool BlurLayer::init()

BlurLayer::~BlurLayer()
{
return;

std::erase(instances, this);
}

void BlurLayer::visit()
{
return;

CCLayerColor::visit();
}

Expand All @@ -105,6 +111,8 @@ BlurLayer* __blurlayer__being__drawn__ = nullptr;

void BlurLayer::draw()
{
return;

if (this != instances[instances.size() - 1])
return;

Expand Down

0 comments on commit b9bf045

Please sign in to comment.