Add more spoofing options and added clang-format (#1020)

* feat(Spoofing): add spoofing
* feat(Spoofing): prepare code for player attach
* remove(PlayerAttach): isn't going to work due to netsync architecture
* fix(GUI): fix scaling
* feat(Project): add clang-format file
* feat(Classes): update classes
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(clang-format): Set tab width and 1 space before comment

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
This commit is contained in:
maybegreat48
2023-03-01 21:27:15 +00:00
committed by GitHub
parent 92aea20cd6
commit 97a8c5d60b
466 changed files with 55224 additions and 35596 deletions

View File

@ -1,10 +1,11 @@
#include "backend.hpp"
#include "script.hpp"
#include "thread_pool.hpp"
#include "looped/looped.hpp"
#include "services/context_menu/context_menu_service.hpp"
#include "script_patches.hpp"
#include "looped_command.hpp"
#include "script.hpp"
#include "script_patches.hpp"
#include "services/context_menu/context_menu_service.hpp"
#include "thread_pool.hpp"
namespace big
{
@ -15,7 +16,7 @@ namespace big
register_script_patches();
while (g_running)
while (g_running)
{
looped::system_self_globals();
looped::system_update_pointers();
@ -169,7 +170,6 @@ namespace big
while (g_running)
{
looped::custom_gun_disable_control_action();
context_menu_service::disable_control_action_loop();
@ -183,7 +183,6 @@ namespace big
while (g_running)
{
looped::world_spawn_ped();
script::get_current()->yield();
}