Skip to content

Commit

Permalink
please
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Jul 11, 2024
1 parent 49b99e9 commit 30ecda5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 24 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v1.8.2
- Removed "No Transition" as it's not required anymore.
- Disabled Solid Wave Trail for Mac as it caused issues.
- (hopefully) Fixed both M1 Mac and Android32 issues.
# v1.8.1
- Added Mac Support
- Added "No Rotate" to the cheat list
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "3.2.0",
"version": "v1.8.1",
"version": "v1.8.2",
"gd": {
"win": "2.206",
"mac": "2.206",
Expand Down
5 changes: 0 additions & 5 deletions resources/hacks/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@
"desc": "Hides all objects in the level.",
"type": "bool"
},
{
"name": "No Transition",
"desc": "Shorterns scene transition time to 0s.",
"type": "bool"
},
{
"name": "Cheat Indicator",
"desc": "Shows an icon to tell whether or not you are using mods that may be considered cheating!",
Expand Down
14 changes: 0 additions & 14 deletions src/Hacks/Global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ using namespace geode::prelude;
#include <Geode/modify/PlayLayer.hpp>
#include <Geode/modify/GameObject.hpp>
#include <Geode/modify/GJGameLevel.hpp>
#include <Geode/modify/CCTransitionFade.hpp>
#include <Geode/modify/FMODAudioEngine.hpp>
#include <Geode/modify/CCScheduler.hpp>
#include <Geode/modify/CCSprite.hpp>
Expand All @@ -30,7 +29,6 @@ class $modify(GameStatsManager) {
// *coding sounds* creditos a sillydoggo para esto https://github.com/TheSillyDoggo/GeodeMenu/blob/38ef8f48a3d52b1eefb09ee29dd5b985928edfd2/src/Hacks/Speedhack.cpp
// y xdbot

#ifndef GEODE_IS_MACOS
int syncCooldown = 0;

class $modify(CCScheduler) {
Expand Down Expand Up @@ -100,7 +98,6 @@ class $modify(GameObject) {
}
}
};
#endif

// Safe Mode (a just incase)
class $modify(GJGameLevel) {
Expand All @@ -111,17 +108,6 @@ class $modify(GJGameLevel) {
}
};

// No Transition
class $modify(CCTransitionFade) {
bool initWithDuration(float t, cocos2d::CCScene* scene, cocos2d::ccColor3B const& color) {
if (!Hacks::isHackEnabled("No Transition") || Hacks::isHackEnabled("Enable Patching")) {
return CCTransitionFade::initWithDuration(t, scene, color);
} else {
return CCTransitionFade::initWithDuration(0.0F, scene, color);
}
}
};

// Physics Bypass (TPS)
// dVar3 = 0.004166666883975267;
// which (dVar3 * 240 = 1) lol, so 1.F / TPS?
Expand Down
2 changes: 0 additions & 2 deletions src/Hacks/Misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ void drawPlayerHitboxes(CCDrawNode* drawNode, PlayerObject* player) {
);
}

#ifndef GEODE_IS_MACOS
class $modify(LevelEditorLayer) {
struct Fields {
bool lastShowHitboxes = false;
Expand All @@ -73,7 +72,6 @@ class $modify(LevelEditorLayer) {
m_fields->lastShowHitboxes = showHitboxes;
}
};
#endif

class $modify(PlayLayer) {
void updateVisibility(float p0) {
Expand Down
2 changes: 0 additions & 2 deletions src/Hacks/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ using namespace geode::prelude;
#include <Geode/modify/CCDrawNode.hpp>
#include <Geode/modify/GJEffectManager.hpp>

#ifndef GEODE_IS_MACOS
class $modify(PlayerObject) {
struct Fields {
bool isActuallyDart;
Expand Down Expand Up @@ -106,7 +105,6 @@ class $modify(HardStreak) {
HardStreak::updateStroke(dt);
}
};
#endif

// yeah no this will make the game lag
class $modify(MenuGameLayer) {
Expand Down
4 changes: 4 additions & 0 deletions src/hacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ void Hacks::resetLevel(LevelInfoLayer* levelInfoLayer, GJGameLevel* level) {
FLAlertLayer::create("Notice", "This currently does not work on <cy>Platformer Levels</c>\nThis will be implemented in a future update.", "OK")->show();
return;
}
if (level->m_gauntletLevel || level->m_gauntletLevel2) {
FLAlertLayer::create("Notice", "This currently does not work on <cy>Gauntlet Levels</c>\nThis will be implemented in a future update.", "OK")->show();
return;
}
// up to 3
if (level->m_normalPercent < 100) {
geode::createQuickPopup(
Expand Down

0 comments on commit 30ecda5

Please sign in to comment.