refactor(Services): unnecessary global inclusion

This commit is contained in:
Yimura 2022-01-08 05:31:24 +01:00
parent 842bb3617a
commit 0a16d73c1d
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682
8 changed files with 9 additions and 4 deletions

View File

@ -53,9 +53,6 @@
#include "core/globals.hpp" #include "core/globals.hpp"
#include "CPed.hpp" #include "CPed.hpp"
#include "services/globals_service.hpp"
#include "services/vehicle_service.hpp"
namespace big namespace big
{ {
using namespace std::chrono_literals; using namespace std::chrono_literals;

View File

@ -3,6 +3,7 @@
#include "thread_pool.hpp" #include "thread_pool.hpp"
#include "natives.hpp" #include "natives.hpp"
#include "script.hpp" #include "script.hpp"
#include "services/globals_service.hpp"
namespace big namespace big
{ {

View File

@ -1,5 +1,6 @@
#pragma once #pragma once
#include "current_profile/current_profile_tabs.hpp" #include "current_profile/current_profile_tabs.hpp"
#include "services/vehicle_service.hpp"
namespace big::tab_handling namespace big::tab_handling
{ {

View File

@ -3,6 +3,7 @@
#include "thread_pool.hpp" #include "thread_pool.hpp"
#include "natives.hpp" #include "natives.hpp"
#include "script.hpp" #include "script.hpp"
#include "services/vehicle_service.hpp"
namespace big namespace big
{ {

View File

@ -3,6 +3,7 @@
#include "thread_pool.hpp" #include "thread_pool.hpp"
#include "natives.hpp" #include "natives.hpp"
#include "script.hpp" #include "script.hpp"
#include "services/vehicle_service.hpp"
namespace big namespace big
{ {

View File

@ -2,6 +2,7 @@
#include "gui/window.hpp" #include "gui/window.hpp"
#include "handling/handling_tabs.hpp" #include "handling/handling_tabs.hpp"
#include "imgui.h" #include "imgui.h"
#include "services/vehicle_service.hpp"
namespace big namespace big
{ {

View File

@ -9,6 +9,10 @@
#include "script_mgr.hpp" #include "script_mgr.hpp"
#include "thread_pool.hpp" #include "thread_pool.hpp"
#include "services/globals_service.hpp"
#include "services/mobile_service.hpp"
#include "services/vehicle_service.hpp"
BOOL APIENTRY DllMain(HMODULE hmod, DWORD reason, PVOID) BOOL APIENTRY DllMain(HMODULE hmod, DWORD reason, PVOID)
{ {
using namespace big; using namespace big;

View File

@ -1,5 +1,4 @@
#pragma once #pragma once
#include "common.hpp"
namespace big namespace big
{ {