refactor: cleaned up service directory structure (#300)

This commit is contained in:
Yimura 2022-06-30 00:11:54 +02:00 committed by GitHub
parent 39056979fa
commit dba617ae9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
54 changed files with 57 additions and 71 deletions

View File

@ -1,7 +1,9 @@
#include "api/api.hpp"
#include "backend.hpp"
#include "looped/looped.hpp"
#include "script.hpp"
#include "thread_pool.hpp"
#include "api/api.hpp"
#include "looped/looped.hpp"
#include "services/context_menu/context_menu_service.hpp"
namespace big
{

View File

@ -1,8 +1,5 @@
#pragma once
#include "common.hpp"
#include "looped/looped.hpp"
#include "script.hpp"
#include "services/context_menu_service.hpp"
namespace big
{

View File

@ -1,5 +1,5 @@
#include "backend/looped/looped.hpp"
#include "services/player_service.hpp"
#include "services/players/player_service.hpp"
#include "util/globals.hpp"
namespace big

View File

@ -1,6 +1,6 @@
#include "backend/looped/looped.hpp"
#include "natives.hpp"
#include "services/player_service.hpp"
#include "services/players/player_service.hpp"
namespace big
{

View File

@ -54,7 +54,7 @@
#include "gta/natives.hpp"
#include "CPed.hpp"
#include "services/notification_service.hpp"
#include "services/notifications/notification_service.hpp"
namespace big
{

View File

@ -1,22 +1,13 @@
#include "common.hpp"
#include "fiber_pool.hpp"
#include "gta/player.hpp"
#include "gta_util.hpp"
#include "gui.hpp"
#include "logger.hpp"
#include "memory/module.hpp"
#include "memory/pattern.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "renderer.hpp"
#include "script.hpp"
#include <imgui.h>
#include "widgets/imgui_hotkey.hpp"
#include "views/view.hpp"
#include "services/notification_service.hpp"
namespace big
{

View File

@ -1,5 +1,5 @@
#include "components.hpp"
#include "services/gui_service.hpp"
#include "services/gui/gui_service.hpp"
namespace big
{
@ -28,4 +28,4 @@ namespace big
g_gui_service->increment_nav_size();
}
}
}

View File

@ -1,5 +1,5 @@
#include "current_profile/current_profile_tabs.hpp"
#include "services/vehicle_service.hpp"
#include "services/vehicle/vehicle_service.hpp"
#include "views/view.hpp"
namespace big

View File

@ -1,4 +1,4 @@
#include "services/vehicle_service.hpp"
#include "services/vehicle/vehicle_service.hpp"
#include "views/view.hpp"
namespace big

View File

@ -1,4 +1,4 @@
#include "services/vehicle_service.hpp"
#include "services/vehicle/vehicle_service.hpp"
#include "views/view.hpp"
namespace big

View File

@ -3,7 +3,7 @@
#include "natives.hpp"
#include "script.hpp"
#include "thread_pool.hpp"
#include "services/vehicle_service.hpp"
#include "services/vehicle/vehicle_service.hpp"
#include "views/view.hpp"
namespace big

View File

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

View File

@ -3,7 +3,7 @@
#include "thread_pool.hpp"
#include "natives.hpp"
#include "script.hpp"
#include "services/vehicle_service.hpp"
#include "services/vehicle/vehicle_service.hpp"
#include "views/view.hpp"
namespace big

View File

@ -3,7 +3,7 @@
#include "thread_pool.hpp"
#include "natives.hpp"
#include "script.hpp"
#include "services/vehicle_service.hpp"
#include "services/vehicle/vehicle_service.hpp"
#include "views/view.hpp"
namespace big

View File

@ -1,5 +1,5 @@
#include "hooking.hpp"
#include "services/player_service.hpp"
#include "services/players/player_service.hpp"
namespace big
{

View File

@ -1,5 +1,5 @@
#include "hooking.hpp"
#include "services/player_service.hpp"
#include "services/players/player_service.hpp"
#include "util/notify.hpp"
namespace big

View File

@ -1,5 +1,5 @@
#include "hooking.hpp"
#include "services/player_service.hpp"
#include "services/players/player_service.hpp"
namespace big
{

View File

@ -1,5 +1,5 @@
#include "hooking.hpp"
#include "services/player_service.hpp"
#include "services/players/player_service.hpp"
namespace big
{

View File

@ -11,14 +11,14 @@
#include "thread_pool.hpp"
#include "native_hooks/native_hooks.hpp"
#include "services/context_menu_service.hpp"
#include "services/globals_service.hpp"
#include "services/gui_service.hpp"
#include "services/player_service.hpp"
#include "services/mobile_service.hpp"
#include "services/notification_service.hpp"
#include "services/vehicle_preview_service.hpp"
#include "services/vehicle_service.hpp"
#include "services/context_menu/context_menu_service.hpp"
#include "services/globals/globals_service.hpp"
#include "services/gui/gui_service.hpp"
#include "services/mobile/mobile_service.hpp"
#include "services/players/player_service.hpp"
#include "services/notifications/notification_service.hpp"
#include "services/vehicle_preview/vehicle_preview_service.hpp"
#include "services/vehicle/vehicle_service.hpp"
#include "backend/backend.hpp"

View File

@ -1,6 +1,6 @@
#include "friends_service.hpp"
#include "gta_util.hpp"
#include "player_service.hpp"
#include "services/friends/friends_service.hpp"
namespace big
{

View File

@ -1,7 +1,7 @@
#include "natives.hpp"
#include "pointers.hpp"
#include "script.hpp"
#include "vehicle_helper.h"
#include "vehicle_helper.hpp"
namespace big
{

View File

@ -1,5 +1,6 @@
#include "views/view.hpp"
#include "services/gui_service.hpp"
#include "pointers.hpp"
#include "services/gui/gui_service.hpp"
namespace big
{

View File

@ -1,6 +1,5 @@
#include "services/gui_service.hpp"
#include "services/gui/gui_service.hpp"
#include "views/view.hpp"
#include "services/player_service.hpp"
namespace big
{
@ -19,4 +18,4 @@ namespace big
ImGui::End();
}
}
}
}

View File

@ -1,5 +1,5 @@
#include "pointers.hpp"
#include "views/view.hpp"
#include "services/notification_service.hpp"
namespace big
{

View File

@ -1,7 +1,7 @@
#include "view_esp.hpp"
#include "gta_util.hpp"
#include "pointers.hpp"
#include "services/player_service.hpp"
#include "services/players/player_service.hpp"
#include "util/math.hpp"
#include "util/misc.hpp"

View File

@ -1,10 +1,10 @@
#include "views/view.hpp"
#include "services/player_service.hpp"
#include "gta_util.hpp"
#include "util/misc.hpp"
#include "services/players/player_service.hpp"
#include "util/globals.hpp"
#include "util/misc.hpp"
#include "util/ped.hpp"
#include "util/teleport.hpp"
#include "views/view.hpp"
namespace big
{

View File

@ -1,5 +1,7 @@
#include "pointers.hpp"
#include "services/gui/gui_service.hpp"
#include "services/players/player_service.hpp"
#include "views/view.hpp"
#include "services/gui_service.hpp"
namespace big
{

View File

@ -1,7 +1,7 @@
#include "views/view.hpp"
#include "fiber_pool.hpp"
#include "services/mobile/mobile_service.hpp"
#include "util/mobile.hpp"
#include "services/mobile_service.hpp"
#include "views/view.hpp"
namespace big
{
@ -80,4 +80,4 @@ namespace big
ImGui::EndGroup();
}
}
}

View File

@ -1,7 +1,7 @@
#include "core/data/custom_weapons.hpp"
#include "fiber_pool.hpp"
#include "natives.hpp"
#include "gta/Weapons.h"
#include "script.hpp"
#include "core/data/special_ammo_types.hpp"
#include "views/view.hpp"

View File

@ -1,5 +1,5 @@
#include "views/view.hpp"
#include "services/context_menu_service.hpp"
#include "services/context_menu/context_menu_service.hpp"
namespace big
{

View File

@ -1,11 +1,10 @@
#include "views/view.hpp"
#include "services/globals_service.hpp"
#include "thread_pool.hpp"
#include "fiber_pool.hpp"
#include "pointers.hpp"
#include "script.hpp"
#include "util/system.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "services/globals/globals_service.hpp"
#include "thread_pool.hpp"
#include "util/system.hpp"
#include "views/view.hpp"
namespace big
{

View File

@ -1,7 +1,6 @@
#include "views/view.hpp"
#include "widgets/imgui_hotkey.hpp"
#include "script_mgr.hpp"
#include "services/notification_service.hpp"
namespace big
{

View File

@ -1,6 +1,7 @@
#include "fiber_pool.hpp"
#include "natives.hpp"
#include "services/vehicle_helper.h"
#include "script.hpp"
#include "services/vehicle_helper/vehicle_helper.hpp"
#include "views/view.hpp"
namespace big

View File

@ -1,7 +1,7 @@
#include "views/view.hpp"
#include "fiber_pool.hpp"
#include "natives.hpp"
#include "services/vehicle_preview_service.hpp"
#include "services/vehicle_preview/vehicle_preview_service.hpp"
#include "util/vehicle.hpp"
namespace big

View File

@ -1,11 +1,6 @@
#pragma once
#include "imgui.h"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/animator.hpp"
#include "gui/components/components.hpp"
#include "script.hpp"
#include "services/player_service.hpp"
#include "util/animator.hpp"
#include "views/esp/view_esp.hpp"

View File

@ -1,5 +1,5 @@
#include "view.hpp"
#include "services/context_menu_service.hpp"
#include "services/context_menu/context_menu_service.hpp"
namespace big
{