From 617074685fd4cb13443f3f67e9d9f8dcd4d304b6 Mon Sep 17 00:00:00 2001 From: Explodingbill Date: Sun, 28 Jul 2024 11:47:16 +1000 Subject: [PATCH] g --- changelog.md | 3 ++- src/Client/ClientSetup.h | 1 + src/Hacks/NoDashFire.cpp | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 src/Hacks/NoDashFire.cpp diff --git a/changelog.md b/changelog.md index c164186..ddfe732 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,7 @@ - Fixed Crash removing checkpoints with checkpoint limit bypass enabled (thanks @hiimjustin000) - Actually fixed not being able to exit practice mode with Comfirm Practice enabled - Fixed not being able to scroll in the qolmod popup +- Added **No Dash Fire** # 1.5.1 @@ -42,7 +43,7 @@ - Added **Coins In Practice** # 1.4.8 -A + - Removed all imgui code so that wine players can use qolmod - Fixed multiple CPS Counter bugs - Added Total CPS option to CPS Counter diff --git a/src/Client/ClientSetup.h b/src/Client/ClientSetup.h index 2250f6e..c2d2f5e 100644 --- a/src/Client/ClientSetup.h +++ b/src/Client/ClientSetup.h @@ -314,6 +314,7 @@ class ClientUtils cosmetic->modules.push_back(new Module("No Spider Dash Effect", "no-spider-dash", "Hides the spider dash effect when you teleport")); cosmetic->modules.push_back(new Module("Longer Trail", "longer-trail", "Lengthens your player's trail length by a factor of 3x")); + cosmetic->modules.push_back(new Module("No Dash Fire", "no-dash-fire", "Hides the fire behind your icon when using a dash orb")); //cosmetic->modules.push_back(new Module("No Camera Movement", "no-camera", "Disables camera movements that are made with triggers")); diff --git a/src/Hacks/NoDashFire.cpp b/src/Hacks/NoDashFire.cpp new file mode 100644 index 0000000..aa2443d --- /dev/null +++ b/src/Hacks/NoDashFire.cpp @@ -0,0 +1,18 @@ +#include +#include +#include "../Client/Client.h" + +using namespace geode::prelude; + +class $modify (PlayerObject) +{ + virtual void update(float dt) + { + PlayerObject::update(dt); + + if (m_dashFireSprite) + m_dashFireSprite->setVisible(false); + } + + QOLMOD_MOD_ALL_HOOKS("no-dash-fire") +}; \ No newline at end of file