mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-15 15:09:30 +00:00
29 lines
592 B
C++
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;
|