Skip to content

Commit 9f22311

Browse files
author
TheSillyDoggo
committed
its just not worth it
1 parent 31632e8 commit 9f22311

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- Added **Legacy Upside Down Physics**
1818
- Added **Icon Kit in Pause Menu**
1919
- Added **Unlock Gauntlets**
20+
- Added **End Screen Cheat Indicator**
2021

2122
# 1.7.3
2223

src/Client/ClientSetup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class ClientUtils
268268
bypass->modules.push_back(new Module("Unlock All Gauntlets", "unlock-gauntlets", "Allows you to open any level in the gauntlet"));
269269

270270
bypass->modules.push_back(new Module("December Menu Snow", "december-snow", "Shows snow on the main menu during <cc>december</c>.", true));
271-
271+
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));
272272
Client::instance->windows.push_back(bypass);
273273

274274
auto tps = new InputModule("Ticks:", "tps-bypass-value", "240");

src/Hacks/EndScreenCheatIndicator.cpp

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#include <Geode/Geode.hpp>
2+
#include <Geode/modify/EndLevelLayer.hpp>
3+
#include "../Client/Client.h"
4+
#include "SafeMode/SafeMode.hpp"
5+
6+
using namespace geode::prelude;
7+
8+
class $modify (EndLevelLayer)
9+
{
10+
virtual void customSetup()
11+
{
12+
EndLevelLayer::customSetup();
13+
14+
auto ind = CCSprite::createWithSpriteFrameName("uiDot_001.png");
15+
ind->setColor(SafeMode::get()->colourForState());
16+
ind->setOpacity(150);
17+
ind->setScale(1.5f);
18+
ind->setPosition(CCDirector::get()->getWinSize() / 2 + ccp(-167, 100));
19+
20+
m_mainLayer->addChild(ind, 42069);
21+
}
22+
23+
QOLMOD_MOD_HOOK("end-screen-cheat-indicator", "EndLevelLayer::customSetup")
24+
};

0 commit comments

Comments
 (0)