Skip to content

Commit

Permalink
its just not worth it
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Nov 5, 2024
1 parent 31632e8 commit 9f22311
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- Added **Legacy Upside Down Physics**
- Added **Icon Kit in Pause Menu**
- Added **Unlock Gauntlets**
- Added **End Screen Cheat Indicator**

# 1.7.3

Expand Down
2 changes: 1 addition & 1 deletion src/Client/ClientSetup.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class ClientUtils
bypass->modules.push_back(new Module("Unlock All Gauntlets", "unlock-gauntlets", "Allows you to open any level in the gauntlet"));

bypass->modules.push_back(new Module("December Menu Snow", "december-snow", "Shows snow on the main menu during <cc>december</c>.", true));

bypass->modules.push_back(new Module("End Screen Cheat Indicator", "end-screen-cheat-indicator", "Shows the cheat indicator on the <cc>end screen</c>.", true));
Client::instance->windows.push_back(bypass);

auto tps = new InputModule("Ticks:", "tps-bypass-value", "240");
Expand Down
24 changes: 24 additions & 0 deletions src/Hacks/EndScreenCheatIndicator.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include <Geode/Geode.hpp>
#include <Geode/modify/EndLevelLayer.hpp>
#include "../Client/Client.h"
#include "SafeMode/SafeMode.hpp"

using namespace geode::prelude;

class $modify (EndLevelLayer)
{
virtual void customSetup()
{
EndLevelLayer::customSetup();

auto ind = CCSprite::createWithSpriteFrameName("uiDot_001.png");
ind->setColor(SafeMode::get()->colourForState());
ind->setOpacity(150);
ind->setScale(1.5f);
ind->setPosition(CCDirector::get()->getWinSize() / 2 + ccp(-167, 100));

m_mainLayer->addChild(ind, 42069);
}

QOLMOD_MOD_HOOK("end-screen-cheat-indicator", "EndLevelLayer::customSetup")
};

0 comments on commit 9f22311

Please sign in to comment.