Skip to content

Commit

Permalink
im too lazy to find bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Aug 3, 2024
1 parent c9c6a8d commit 454be60
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/Client/ClientSetup.h
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,10 @@ class ClientUtils
Client::GetModule("tps-bypass")->setIncompatible("This mod has <cr>not yet</c> been ported to <cl>ARM Mac</c>");
Client::GetModule("editor-wave-trail")->setIncompatible("This mod has <cr>not yet</c> been ported to <cl>ARM Mac</c>");
#endif

#ifndef QOLMOD_ALL_MODES_PLATFORMER
Client::GetModule("all-plat")->setIncompatible("This mod has <cr>not yet</c> been ported to <cl>2.206</c>.");
#endif
}

#pragma endregion
Expand Down
4 changes: 4 additions & 0 deletions src/Defines/Platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@

#ifndef GEODE_IS_ARM_MAC
#define QOLMOD_EDITOR_WAVE_TRAIL
#endif

#ifndef GEODE_IS_IOS
#define QOLMOD_ALL_MODES_PLATFORMER
#endif
6 changes: 5 additions & 1 deletion src/Hacks/AllModesPlatformer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include <Geode/modify/GJBaseGameLayer.hpp>
#include "../Client/Client.h"

#ifdef QOLMOD_ALL_MODES_PLATFORMER

using namespace geode::prelude;

class $modify (GJBaseGameLayer)
Expand Down Expand Up @@ -41,4 +43,6 @@ class $modify (GJBaseGameLayer)
}

QOLMOD_MOD_HOOK("all-plat", "GJBaseGameLayer::collisionCheckObjects")
};
};

#endif

0 comments on commit 454be60

Please sign in to comment.