refactor(Services): unnecessary global inclusion
This commit is contained in:
parent
842bb3617a
commit
0a16d73c1d
@ -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;
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "common.hpp"
|
|
||||||
|
|
||||||
namespace big
|
namespace big
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user