Project include cleanup (#3404)

This commit is contained in:
gir489 2024-07-23 07:40:30 -04:00 committed by GitHub
parent 4695f621e5
commit f66f96295b
208 changed files with 99 additions and 526 deletions

View File

@ -14,8 +14,6 @@
#include "services/vehicle/vehicle_control_service.hpp"
#include "services/vehicle/xml_vehicles_service.hpp"
#include "services/xml_maps/xml_map_service.hpp"
#include "thread_pool.hpp"
namespace big
{

View File

@ -1,5 +1,4 @@
#include "backend/command.hpp"
#include "natives.hpp"
namespace big
{

View File

@ -1,8 +1,5 @@
#include "backend/bool_command.hpp"
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "gta_util.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include <network/Network.hpp>

View File

@ -1,8 +1,5 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "gta_util.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include <network/Network.hpp>

View File

@ -1,7 +1,5 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/scripts.hpp"
namespace big

View File

@ -1,9 +1,5 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "packet.hpp"
#include "pointers.hpp"
#include "util/scripts.hpp"
#include <network/snSession.hpp>

View File

@ -1,7 +1,5 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/scripts.hpp"
namespace big

View File

@ -1,8 +1,4 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "script.hpp"
namespace big
{

View File

@ -1,6 +1,4 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/globals.hpp"
namespace big

View File

@ -1,8 +1,6 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/misc.hpp"
#include <script/globals/GPBD_FM.hpp>
#include <script/globals/GlobalPlayerBD.hpp>

View File

@ -1,8 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "services/pickups/pickup_service.hpp"
#include "util/globals.hpp"
namespace big
{

View File

@ -1,8 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "services/pickups/pickup_service.hpp"
#include "util/globals.hpp"
namespace big
{

View File

@ -1,8 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "services/pickups/pickup_service.hpp"
#include "util/globals.hpp"
namespace big
{

View File

@ -1,7 +1,4 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "script_function.hpp"
namespace big

View File

@ -1,6 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/ped.hpp"
namespace big

View File

@ -1,6 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/ped.hpp"
namespace big

View File

@ -1,7 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "packet.hpp"
#include "pointers.hpp"
namespace big
{

View File

@ -1,6 +1,5 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include <script/globals/GPBD_FM_3.hpp>

View File

@ -1,6 +1,4 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/toxic.hpp"
namespace big

View File

@ -1,6 +1,4 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
namespace big

View File

@ -1,6 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "script.hpp"
#include "services/gta_data/gta_data_service.hpp"

View File

@ -2,7 +2,6 @@
#include "natives.hpp"
#include "pointers.hpp"
#include "services/gta_data/gta_data_service.hpp"
#include "util/pathfind.hpp"
#include "util/string_operations.hpp"
#include "util/teleport.hpp"
#include "util/vehicle.hpp"

View File

@ -1,6 +1,5 @@
#include "backend/player_command.hpp"
#include "gta/net_object_mgr.hpp"
#include "natives.hpp"
#include "pointers.hpp"
namespace big

View File

@ -1,5 +1,4 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
namespace big

View File

@ -1,5 +1,4 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
namespace big

View File

@ -1,6 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "services/gta_data/gta_data_service.hpp"
namespace big

View File

@ -1,10 +1,6 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include <script/globals/GPBD_FM_3.hpp>
namespace big
{
class send_fake_ban_message : player_command

View File

@ -1,10 +1,6 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include <script/globals/GPBD_FM_3.hpp>
namespace big
{
static constexpr auto strippers = std::to_array({"HCH", "INF", "JUL", "NIK", "SAP", "TXI"});

View File

@ -1,6 +1,4 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "services/squad_spawner/squad_spawner.hpp"
namespace big

View File

@ -1,6 +1,4 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
namespace big

View File

@ -1,6 +1,4 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
namespace big

View File

@ -1,12 +1,9 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "script.hpp"
#include "util/globals.hpp"
#include <script/globals/GlobalPlayerBD.hpp>
namespace big
{
class set_wanted_level : player_command

View File

@ -1,6 +1,5 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include <script/globals/GPBD_FM_3.hpp>

View File

@ -1,12 +1,6 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "script.hpp"
#include "util/scripts.hpp"
#include <script/globals/GPBD_FM_3.hpp>
namespace big
{
template<rage::joaat_t script_hash>

View File

@ -1,5 +1,4 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
namespace big

View File

@ -1,7 +1,6 @@
#include "backend/player_command.hpp"
#include "core/scr_globals.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/scripts.hpp"
namespace big

View File

@ -1,7 +1,5 @@
#include "backend/player_command.hpp"
#include "fiber_pool.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
namespace big

View File

@ -1,7 +1,5 @@
#include "backend/bool_command.hpp"
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/troll.hpp"
namespace big

View File

@ -1,8 +1,5 @@
#include "util/teleport.hpp"
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
namespace big
{

View File

@ -1,6 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
namespace big

View File

@ -1,7 +1,6 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util\entity.hpp"
namespace big
{

View File

@ -2,7 +2,6 @@
#include "gta/net_game_event.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
namespace big
{

View File

@ -1,7 +1,6 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
namespace big
{

View File

@ -1,7 +1,7 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
namespace big
{
class close_doors : player_command

View File

@ -1,6 +1,4 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/entity.hpp"
namespace big

View File

@ -1,7 +1,6 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
namespace big
{

View File

@ -1,7 +1,6 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
namespace big
{

View File

@ -1,7 +1,6 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
namespace big
{

View File

@ -1,7 +1,7 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
namespace big
{
class kill_engine : player_command

View File

@ -1,7 +1,7 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
#include "gta/enums.hpp"
namespace big
{

View File

@ -1,7 +1,6 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
namespace big
{

View File

@ -1,6 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/vehicle.hpp"
namespace big

View File

@ -1,7 +1,6 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
namespace big
{

View File

@ -1,7 +1,6 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
namespace big
{

View File

@ -1,7 +1,7 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
namespace big
{
class stop_vehicle : player_command

View File

@ -1,7 +1,7 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/entity.hpp"
#include "gta/enums.hpp"
namespace big
{

View File

@ -1,7 +1,5 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/vehicle.hpp"
namespace big

View File

@ -1,8 +1,7 @@
#include "backend/player_command.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/teleport.hpp"
#include "util/vehicle.hpp"
#include "util/entity.hpp"
#include "gta/vehicle_values.hpp"
namespace big
{

View File

@ -1,7 +1,5 @@
#include "backend/command.hpp"
#include "network/CNetworkPlayerMgr.hpp"
#include "pointers.hpp"
#include "services/players/player_service.hpp"
#include "socialclub/FriendRegistry.hpp"
#include "services/player_database/player_database_service.hpp"
#include "services/api/api_service.hpp"

View File

@ -1,6 +1,5 @@
#pragma once
#include "core/enums.hpp"
#include "services/players/player_service.hpp"
namespace big
{

View File

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

View File

@ -5,7 +5,6 @@
#include "gta_util.hpp"
#include "natives.hpp"
#include "script_global.hpp"
#include "services/players/player_service.hpp"
// Credits: QuickNET
namespace big

View File

@ -1,7 +1,6 @@
#include "backend/looped/looped.hpp"
#include "fiber_pool.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "util/entity.hpp"
namespace big

View File

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

View File

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

View File

@ -1,5 +1,4 @@
#include "backend/looped_command.hpp"
#include "natives.hpp"
#include "util/entity.hpp"
namespace big

View File

@ -2,7 +2,6 @@
#include "natives.hpp"
#include "script_function.hpp"
#include "services/script_patcher/script_patcher_service.hpp"
#include "util/entity.hpp"
#include "util/scripts.hpp"
namespace big

View File

@ -1,4 +1,3 @@
#include "backend/looped/looped.hpp"
#include "backend/looped_command.hpp"
#include "util/misc.hpp"
#include "core/scr_globals.hpp"

View File

@ -1,6 +1,4 @@
#include "backend/looped/looped.hpp"
#include "backend/looped_command.hpp"
#include "natives.hpp"
namespace big
{

View File

@ -1,5 +1,4 @@
#include "backend/looped_command.hpp"
#include "gta/enums.hpp"
#include "natives.hpp"
namespace big

View File

@ -1,5 +1,4 @@
#include "backend/looped/looped.hpp"
#include "core/data/hud_component_names.hpp"
#include "natives.hpp"
namespace big

View File

@ -1,12 +1,7 @@
#include "backend/looped/looped.hpp"
#include "backend/looped_command.hpp"
#include "core/scr_globals.hpp"
#include "fiber_pool.hpp"
#include "natives.hpp"
#include "services/script_patcher/script_patcher_service.hpp"
#include <script/globals/GlobalPlayerBD.hpp>
namespace big
{
class invisibility : looped_command

View File

@ -1,7 +1,4 @@
#include "backend/looped/looped.hpp"
#include "backend/looped_command.hpp"
#include "fiber_pool.hpp"
#include "natives.hpp"
#include <base/phArchetype.hpp>
#include <base/phBoundComposite.hpp>

View File

@ -1,6 +1,4 @@
#include "backend/looped/looped.hpp"
#include "backend/looped_command.hpp"
#include "fiber_pool.hpp"
#include "natives.hpp"
namespace big

View File

@ -1,7 +1,4 @@
#include "backend/looped/looped.hpp"
#include "backend/looped_command.hpp"
#include "fiber_pool.hpp"
#include "natives.hpp"
namespace big
{

View File

@ -1,6 +1,4 @@
#include "backend/looped/looped.hpp"
#include "backend/looped_command.hpp"
#include "fiber_pool.hpp"
#include "gta/enums.hpp"
#include "natives.hpp"
#include "services/orbital_drone/orbital_drone.hpp"

View File

@ -2,9 +2,7 @@
#include "core/scr_globals.hpp"
#include "file_manager.hpp"
#include "gta/enums.hpp"
#include "logger/logger.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "services/outfit/outfit_service.hpp"
#include "services/tunables/tunables_service.hpp"

View File

@ -1,5 +1,4 @@
#include "backend/looped_command.hpp"
#include "core/data/ptfx_effects.hpp"
#include "gta/enums.hpp"
#include "natives.hpp"

View File

@ -5,7 +5,6 @@
#include "natives.hpp"
#include "util/entity.hpp"
#include "util/math.hpp"
#include "util/notify.hpp"
#include "util/ped.hpp"
#include "util/vehicle.hpp"

View File

@ -1,5 +1,4 @@
#include "backend/looped_command.hpp"
#include "natives.hpp"
#include <ped/CPedIntelligence.hpp>

View File

@ -1,15 +1,10 @@
#include "backend/int_command.hpp"
#include "backend/looped_command.hpp"
#include "gta/enums.hpp"
#include "hooking/hooking.hpp"
#include "natives.hpp"
#include "util/entity.hpp"
#include "util/math.hpp"
#include "util/misc.hpp"
#include "util/pools.hpp"
#include <numbers>
namespace big
{
bool_command g_aimbot_only_on_player("aimonlyatplayer", "BACKEND_LOOPED_WEAPONS_AIM_ONLY_AT_PLAYER", "BACKEND_LOOPED_WEAPONS_AIM_ONLY_AT_PLAYER_DESC",

View File

@ -1,8 +1,6 @@
#include "player_command.hpp"
#include "fiber_pool.hpp"
#include "util/math.hpp"
#include "util/string_operations.hpp"
namespace big
{

View File

@ -1,10 +1,4 @@
#include "interloper_reaction.hpp"
#include "backend/player_command.hpp"
#include "fiber_pool.hpp"
#include "hooking/hooking.hpp"
#include "pointers.hpp"
#include "script.hpp"
#include "util/chat.hpp"
namespace big

View File

@ -2,9 +2,6 @@
#include "backend/player_command.hpp"
#include "fiber_pool.hpp"
#include "hooking/hooking.hpp"
#include "pointers.hpp"
#include "script.hpp"
#include "services/player_database/player_database_service.hpp"
#include "util/chat.hpp"

View File

@ -1,7 +1,6 @@
#include "byte_patch_manager.hpp"
#include "gta/net_array.hpp"
#include "hooking/hooking.hpp"
#include "memory/byte_patch.hpp"
#include "pointers.hpp"
#include "util/explosion_anti_cheat_bypass.hpp"

View File

@ -1,6 +1,5 @@
#include "fiber_pool.hpp"
#include "common.hpp"
#include "script.hpp"
#include "script_mgr.hpp"
#include <script/tlsContext.hpp>

View File

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

View File

@ -1,6 +1,4 @@
#include "file.hpp"
#include "common.hpp"
#include "file_manager.hpp"
namespace big

View File

@ -1,7 +1,5 @@
#include "folder.hpp"
#include "file_manager.hpp"
namespace big
{
folder::folder(const std::filesystem::path& folder_path) :

View File

@ -69,9 +69,6 @@ namespace big::functions
using trigger_script_event = void (*)(int event_group, int64_t* args, int arg_count, int player_bits, int event_id);
using increment_stat_event = bool (*)(uint64_t net_event_struct, int64_t sender, int64_t a3);
using ptr_to_handle = Entity (*)(void*);
using handle_to_ptr = rage::CDynamicEntity* (*)(Entity);

View File

@ -1,6 +1,5 @@
#include "fidevice.hpp"
#include "hooking/hooking.hpp"
#include "pointers.hpp"
namespace rage

View File

@ -1,6 +1,5 @@
#include "gui.hpp"
#include "common.hpp"
#include "natives.hpp"
#include "renderer/renderer.hpp"
#include "script.hpp"

View File

@ -1,4 +1,3 @@
#include "fonts/fonts.hpp"
#include "gui/components/components.hpp"
namespace big

View File

@ -1,4 +1,3 @@
#include "fonts/fonts.hpp"
#include "gui/components/components.hpp"
namespace big

View File

@ -1,7 +1,6 @@
#include "fiber_pool.hpp"
#include "gui/components/components.hpp"
#include "misc/cpp/imgui_stdlib.h"
#include "natives.hpp"
namespace big
{

View File

@ -1,7 +1,6 @@
#include "fiber_pool.hpp"
#include "gui/components/components.hpp"
#include "misc/cpp/imgui_stdlib.h"
#include "natives.hpp"
namespace big
{

View File

@ -1,4 +1,3 @@
#include "fonts/fonts.hpp"
#include "gui/components/components.hpp"
namespace big

View File

@ -1,4 +1,3 @@
#include "fonts/fonts.hpp"
#include "gui/components/components.hpp"
namespace big

View File

@ -1,4 +1,3 @@
#include "fonts/fonts.hpp"
#include "gui/components/components.hpp"
namespace big

View File

@ -1,6 +1,4 @@
#include "../current_profile/current_profile_tabs.hpp"
#include "fiber_pool.hpp"
#include "script.hpp"
#include "services/vehicle/handling_service.hpp"
#include "thread_pool.hpp"
#include "views/view.hpp"

Some files were not shown because too many files have changed in this diff Show More