-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bd34e5
commit 05fa64f
Showing
13 changed files
with
141 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"geode": "3.2.0", | ||
"version": "v1.4.8", | ||
"version": "v1.4.9", | ||
"gd": { | ||
"win": "2.206", | ||
"android": "2.206" | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/*#include <Geode/Geode.hpp> | ||
#include <Geode/modify/PlayLayer.hpp> | ||
#include <Geode/modify/GJBaseGameLayer.hpp> | ||
#include "../../Client/Client.h" | ||
using namespace geode::prelude; | ||
bool enabled() | ||
{ | ||
return CCKeyboardDispatcher::get()->getShiftKeyPressed(); | ||
} | ||
class $modify (GJBaseGameLayer) | ||
{ | ||
virtual void update(float p0) | ||
{ | ||
if (enabled()) | ||
return GJBaseGameLayer::update(p0); | ||
} | ||
};*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#include <Geode/Geode.hpp> | ||
#include <Geode/modify/PlayLayer.hpp> | ||
#include "../Client/Client.h" | ||
|
||
using namespace geode::prelude; | ||
|
||
class $modify (PlayLayer) | ||
{ | ||
struct Fields | ||
{ | ||
bool hasRespawnedWithCheckpoint; | ||
}; | ||
|
||
void resetLevel() | ||
{ | ||
m_fields->hasRespawnedWithCheckpoint = false; | ||
|
||
PlayLayer::resetLevel(); | ||
} | ||
|
||
void loadFromCheckpoint(CheckpointObject* cp) | ||
{ | ||
m_fields->hasRespawnedWithCheckpoint = true; | ||
|
||
PlayLayer::loadFromCheckpoint(cp); | ||
} | ||
|
||
void levelComplete() | ||
{ | ||
if (m_isPracticeMode) | ||
m_isPracticeMode = m_fields->hasRespawnedWithCheckpoint; | ||
|
||
PlayLayer::levelComplete(); | ||
} | ||
|
||
QOLMOD_MOD_HOOK("practice-complete", "PlayLayer::levelComplete") | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters