Skip to content

Commit

Permalink
Tidy up BMLMod
Browse files Browse the repository at this point in the history
  • Loading branch information
doyaGu committed Sep 16, 2024
1 parent 63278b3 commit 2c7d5eb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/BMLMod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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();
Expand Down
3 changes: 0 additions & 3 deletions src/BMLMod.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2c7d5eb

Please sign in to comment.