#pragma once #include #include #include #include #include #include #include #include #include "Utils.h" #include #include #include "Defines.h" #include "Error.h" // gMod no longer subclasses the D3D9 interfaces; it hooks their vtable slots and // keeps per-object side-state in lookups (see D3D9State.h / D3D9Hooks.h). #include "D3D9State.h" #pragma warning(disable : 4477) extern unsigned int gl_ErrorState; extern HINSTANCE gl_hThisInstance; inline std::filesystem::path gmod_dll_path;