From cfedc34bf7a3ce30fd54305370ac1015bc783a1a Mon Sep 17 00:00:00 2001 From: Yimura Date: Thu, 20 May 2021 15:52:29 +0200 Subject: [PATCH] refactor(Globals): Removed old include from files --- BigBaseV2/src/backend/backend.cpp | 1 - BigBaseV2/src/backend/looped/self/godmode.cpp | 1 - BigBaseV2/src/backend/looped/self/noclip.cpp | 1 - BigBaseV2/src/backend/looped/vehicle/speedo_meter.cpp | 1 - BigBaseV2/src/backend/looped/weapons/gravity_gun.cpp | 1 - BigBaseV2/src/core/globals.cpp | 3 --- BigBaseV2/src/gui/window/main/tab_self.cpp | 1 - BigBaseV2/src/gui/window/main/tab_vehicle.cpp | 1 - BigBaseV2/src/gui/window/main/tab_weapons.cpp | 1 - 9 files changed, 11 deletions(-) delete mode 100644 BigBaseV2/src/core/globals.cpp diff --git a/BigBaseV2/src/backend/backend.cpp b/BigBaseV2/src/backend/backend.cpp index d038de4e..efea1c35 100644 --- a/BigBaseV2/src/backend/backend.cpp +++ b/BigBaseV2/src/backend/backend.cpp @@ -2,7 +2,6 @@ #include "fiber_pool.hpp" #include "script.hpp" #include "looped/looped.hpp" -#include "core/globals.hpp" namespace big { diff --git a/BigBaseV2/src/backend/looped/self/godmode.cpp b/BigBaseV2/src/backend/looped/self/godmode.cpp index ffac0f4e..3ec1356b 100644 --- a/BigBaseV2/src/backend/looped/self/godmode.cpp +++ b/BigBaseV2/src/backend/looped/self/godmode.cpp @@ -1,5 +1,4 @@ #include "backend/looped/looped.hpp" -#include "core/globals.hpp" #include "natives.hpp" namespace big diff --git a/BigBaseV2/src/backend/looped/self/noclip.cpp b/BigBaseV2/src/backend/looped/self/noclip.cpp index 12b26883..9f30ec3c 100644 --- a/BigBaseV2/src/backend/looped/self/noclip.cpp +++ b/BigBaseV2/src/backend/looped/self/noclip.cpp @@ -2,7 +2,6 @@ #include "fiber_pool.hpp" #include "natives.hpp" #include "script.hpp" -#include "core/globals.hpp" #include "util/entity.hpp" namespace big diff --git a/BigBaseV2/src/backend/looped/vehicle/speedo_meter.cpp b/BigBaseV2/src/backend/looped/vehicle/speedo_meter.cpp index bce74451..6a707abd 100644 --- a/BigBaseV2/src/backend/looped/vehicle/speedo_meter.cpp +++ b/BigBaseV2/src/backend/looped/vehicle/speedo_meter.cpp @@ -1,6 +1,5 @@ #include "backend/looped/looped.hpp" #include "core/data/speedo_meters.hpp" -#include "core/globals.hpp" #include "natives.hpp" namespace big diff --git a/BigBaseV2/src/backend/looped/weapons/gravity_gun.cpp b/BigBaseV2/src/backend/looped/weapons/gravity_gun.cpp index c89433a6..09214c51 100644 --- a/BigBaseV2/src/backend/looped/weapons/gravity_gun.cpp +++ b/BigBaseV2/src/backend/looped/weapons/gravity_gun.cpp @@ -1,6 +1,5 @@ #include "backend/looped/looped.hpp" #include "core/enums.hpp" -#include "core/globals.hpp" #include "util/entity.hpp" #include "util/math.hpp" #include "util/notify.hpp" diff --git a/BigBaseV2/src/core/globals.cpp b/BigBaseV2/src/core/globals.cpp deleted file mode 100644 index 195bf21e..00000000 --- a/BigBaseV2/src/core/globals.cpp +++ /dev/null @@ -1,3 +0,0 @@ -#include "globals.hpp" - -struct globals g = { }; \ No newline at end of file diff --git a/BigBaseV2/src/gui/window/main/tab_self.cpp b/BigBaseV2/src/gui/window/main/tab_self.cpp index 129bf630..ca2a8c38 100644 --- a/BigBaseV2/src/gui/window/main/tab_self.cpp +++ b/BigBaseV2/src/gui/window/main/tab_self.cpp @@ -1,5 +1,4 @@ #include "tabs.hpp" -#include "core/globals.hpp" namespace big { diff --git a/BigBaseV2/src/gui/window/main/tab_vehicle.cpp b/BigBaseV2/src/gui/window/main/tab_vehicle.cpp index f8669a1f..6746790a 100644 --- a/BigBaseV2/src/gui/window/main/tab_vehicle.cpp +++ b/BigBaseV2/src/gui/window/main/tab_vehicle.cpp @@ -1,5 +1,4 @@ #include "core/data/speedo_meters.hpp" -#include "core/globals.hpp" #include "gui/window/main/tabs.hpp" namespace big diff --git a/BigBaseV2/src/gui/window/main/tab_weapons.cpp b/BigBaseV2/src/gui/window/main/tab_weapons.cpp index 435a2745..49f99fee 100644 --- a/BigBaseV2/src/gui/window/main/tab_weapons.cpp +++ b/BigBaseV2/src/gui/window/main/tab_weapons.cpp @@ -1,5 +1,4 @@ #include "core/data/custom_weapons.hpp" -#include "core/globals.hpp" #include "gui/window/main/tabs.hpp" namespace big