#ifndef COMMON_INC #define COMMON_INC // clang-format off #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "logger/logger.hpp" #include "core/globals.hpp" #include "gta/natives.hpp" #include "ped/CPed.hpp" #include "services/notifications/notification_service.hpp" #include "services/translation_service/translation_service.hpp" // clang-format on namespace big { using namespace std::chrono_literals; inline HMODULE g_hmodule{}; inline HANDLE g_main_thread{}; inline DWORD g_main_thread_id{}; inline std::atomic_bool g_running{false}; inline CPed* g_local_player; } namespace self { inline Ped ped; inline Player id; inline Vector3 pos; inline Vehicle veh; } template struct template_str { constexpr template_str(const char (&str)[N]) { std::copy_n(str, N, value); } char value[N]; }; #endif