Files
gMod/header/Main.h
T
2026-06-08 17:15:02 +07:00

29 lines
592 B
C++

#pragma once
#include <windows.h>
#include <cstdlib>
#include <cstdio>
#include <filesystem>
#include <fstream>
#include <future>
#include <map>
#include <ranges>
#include "Utils.h"
#include <d3d9.h>
#include <gsl/gsl>
#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;