#pragma once #pragma warning(disable:4503 4244 4005) #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 #ifndef GTA3 #include #include #endif #ifdef GTASA #include #include #include #include #include #include #include #include #include #endif #include "../depend/fla/IDaccess.h" #include "../depend/imgui/imgui.h" #include "defines.h" #include "log.h" #include "datastore.h" #include "hotkeys.h" #include "resourcestore.h" #include "fontmgr.h" #include "locale.h" #include "util.h" #define TEXT(x) Locale::GetText(x).c_str() #define TEXT_S(x) Locale::GetText(x) using namespace plugin; enum eRenderer { Render_DirectX9, Render_DirectX11, Render_Unknown }; extern eRenderer gRenderer; extern DataStore gConfig; typedef void(*ArgCallback3)(std::string&, std::string&, std::string&); typedef void(*ArgCallback)(std::string&); typedef std::string(*ArgCallbackRtn)(std::string&); typedef bool(*ArgCallbackRtnBool)(std::string&); #ifdef GTASA extern const char* taskNames[1802]; #endif extern Hotkey aimSkinChanger; extern Hotkey freeCam; extern Hotkey freeCamForward; extern Hotkey freeCamBackward; extern Hotkey freeCamLeft; extern Hotkey freeCamRight; extern Hotkey freeCamTeleport; extern Hotkey commandWindow; extern Hotkey fixVeh; extern Hotkey unflipVeh; extern Hotkey godMode; extern Hotkey menuOpen; extern Hotkey quickSceenShot; extern Hotkey quickTeleport; extern Hotkey teleportMarker; extern Hotkey vehEngine; extern Hotkey vehInstantStart; extern Hotkey vehInstantStop; extern ResourceStore gTextureList;