Skip to content

Commit

Permalink
v1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
OmgRod committed Nov 19, 2024
1 parent 3655966 commit 991fe89
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v1.5.1

- Ported to Geode v4.0.0 release

# v1.5.0

- Fixes
Expand Down
4 changes: 2 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"geode": "4.0.0-beta.1",
"geode": "4.0.0",
"gd": {
"android": "2.2074",
"win": "2.2074",
"mac": "2.2074"
},
"version": "v1.4.1",
"version": "v1.5.1",
"id": "omgrod.geodify",
"name": "Geodify",
"developers": ["OmgRod", "Viper"],
Expand Down
24 changes: 24 additions & 0 deletions src/modify/geode.loader/ModsLayer.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include <Geode/Geode.hpp>
#include "../../SwelvyBG.hpp"
#include "../../Hooks/Hooker.hpp"

using namespace geode::prelude;

class ModsLayer : public Betterhook::HookBetter {
void init(CCNode* _This) override {
if (auto bg = _This->getChildByID("bg")) {
bg->setVisible(false);
}

SwelvyBG* swelvyBG = SwelvyBG::create();
swelvyBG->setZOrder(-1);
swelvyBG->setID("swelvy-background");
_This->addChild(swelvyBG);
}

const char* PutLayer() const override { return "ModsLayer"; }
};


REGISTER_HookBetter(ModsLayer);

0 comments on commit 991fe89

Please sign in to comment.