From 2c7d5eb4a5d9bd725138f8119cf23db9e38f1d6f Mon Sep 17 00:00:00 2001 From: doyaGu <10153309+doyaGu@users.noreply.github.com> Date: Mon, 16 Sep 2024 10:20:18 -0400 Subject: [PATCH] Tidy up BMLMod --- src/BMLMod.cpp | 2 -- src/BMLMod.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/BMLMod.cpp b/src/BMLMod.cpp index 627e8bb..2835b95 100644 --- a/src/BMLMod.cpp +++ b/src/BMLMod.cpp @@ -4,7 +4,6 @@ #include "BML/Bui.h" #include "BML/Gui.h" -#include "BML/InputHook.h" #include "BML/ExecuteBB.h" #include "BML/ScriptHelper.h" #include "BML/Guids/Logics.h" @@ -102,7 +101,6 @@ void BMLMod::OnLoad() { m_CKContext = m_BML->GetCKContext(); m_RenderContext = m_BML->GetRenderContext(); m_TimeManager = m_BML->GetTimeManager(); - m_InputHook = m_BML->GetInputManager(); m_RenderContext->Get2dRoot(TRUE)->GetRect(m_WindowRect); ExecuteBB::Init(); diff --git a/src/BMLMod.h b/src/BMLMod.h index 655854f..a923e6a 100644 --- a/src/BMLMod.h +++ b/src/BMLMod.h @@ -4,9 +4,7 @@ #include "BML/BML.h" #include "BML/IMod.h" #include "BML/IBML.h" -#include "BML/Bui.h" -#include "Config.h" #include "HUD.h" #include "ModMenu.h" #include "MapMenu.h" @@ -96,7 +94,6 @@ class BMLMod : public IMod { CKContext *m_CKContext = nullptr; CKRenderContext *m_RenderContext = nullptr; CKTimeManager *m_TimeManager = nullptr; - InputHook *m_InputHook = nullptr; VxRect m_OldWindowRect; VxRect m_WindowRect;