From 13bedc784c1be413cb1a5caf013b9d082b832155 Mon Sep 17 00:00:00 2001 From: 0mgRod Date: Mon, 29 Jul 2024 10:39:49 +0100 Subject: [PATCH 1/4] remember this now --- changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog.md b/changelog.md index 54793f2..8cd9a10 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# v2.1.2 + +- Fixed fatal error + # v2.1.1 - Added support for Geodify mod From c67a97c5965db1addbfcc241f1372c733d914084 Mon Sep 17 00:00:00 2001 From: Rod <89850217+OmgRod@users.noreply.github.com> Date: Tue, 20 Aug 2024 21:35:32 +0100 Subject: [PATCH 2/4] Update mod.json --- mod.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod.json b/mod.json index a2671d6..1e58e78 100644 --- a/mod.json +++ b/mod.json @@ -7,7 +7,8 @@ }, "resources": { "sprites": [ - "res/sprites/*.png" + "res/sprites/*.png", + "about-assets/*.png" ], "files": [ "res/videos/*" From 4d5c5624f4e7ed38cbe1413ed9464eb792df520b Mon Sep 17 00:00:00 2001 From: Rod <89850217+OmgRod@users.noreply.github.com> Date: Tue, 20 Aug 2024 21:38:25 +0100 Subject: [PATCH 3/4] Update mod.json --- mod.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.json b/mod.json index 1e58e78..cb46550 100644 --- a/mod.json +++ b/mod.json @@ -1,5 +1,5 @@ { - "geode": "3.3.1", + "geode": "3.4.0", "version": "v2.1.2", "gd": { "win": "2.206", From e2ef985f4ea36a465f8becd81758cb9ea52e4f66 Mon Sep 17 00:00:00 2001 From: OmgRod Date: Sun, 10 Nov 2024 18:08:05 +0000 Subject: [PATCH 4/4] update --- changelog.md | 4 ++++ mod.json | 8 ++++---- src/IconHack.cpp | 5 +++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 8cd9a10..f07d9ca 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# v2.2.2 + +- Updated to Geode v4.0.0 (GD 2.2073) + # v2.1.2 - Fixed fatal error diff --git a/mod.json b/mod.json index a2671d6..949e0a4 100644 --- a/mod.json +++ b/mod.json @@ -1,9 +1,9 @@ { - "geode": "3.3.1", - "version": "v2.1.2", + "geode": "4.0.0", + "version": "v2.2.2", "gd": { - "win": "2.206", - "android": "2.206" + "win": "2.2073", + "android": "2.2073" }, "resources": { "sprites": [ diff --git a/src/IconHack.cpp b/src/IconHack.cpp index 2b6faa0..fefb84f 100644 --- a/src/IconHack.cpp +++ b/src/IconHack.cpp @@ -1,11 +1,12 @@ #include #include +#include "../../hacks.hpp" using namespace geode::prelude; class $modify(GameManager) { bool isIconUnlocked(int _id, IconType _type) { - if (Mod::get()->getSettingValue("icon-hack")) { + if (hacks::getInstance().isHackEnabled("icon-hack")) { if (GameManager::isIconUnlocked(_id, _type)) return true; if (_id <= 0) return false; return true; @@ -16,7 +17,7 @@ class $modify(GameManager) { } bool isColorUnlocked(int _id, UnlockType _type) { - if (Mod::get()->getSettingValue("icon-hack")) { + if (hacks::getInstance().isHackEnabled("color-hack")) { if (GameManager::isColorUnlocked(_id, _type)) return true; return true; } else {