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 <[email protected]>
This commit is contained in:
maybegreat48andYimura authored and GitHub committed 2023-03-01 21:27:15 +00:00
1 parent 92aea20cd6
commit 97a8c5d60b
466 files changed
+55224 -35596

No files matched your search

+4 -3
View File
@@ -1,11 +1,12 @@
#include "script_global.hpp"
#include "common.hpp"
#include "pointers.hpp"
#include "script_global.hpp"
namespace big
{
script_global::script_global(std::size_t index) :
m_index(index)
m_index(index)
{
}
@@ -19,7 +20,7 @@ namespace big
return script_global(m_index + 1 + (index * size));
}
void *script_global::get()
void* script_global::get()
{
return g_pointers->m_script_globals[m_index >> 0x12 & 0x3F] + (m_index & 0x3FFFF);
}