summaryrefslogtreecommitdiff
path: root/gameui/EngineInterface.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /gameui/EngineInterface.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'gameui/EngineInterface.h')
-rw-r--r--gameui/EngineInterface.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/gameui/EngineInterface.h b/gameui/EngineInterface.h
new file mode 100644
index 0000000..c2ad78b
--- /dev/null
+++ b/gameui/EngineInterface.h
@@ -0,0 +1,34 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Includes all the headers/declarations necessary to access the
+// engine interface
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef ENGINEINTERFACE_H
+#define ENGINEINTERFACE_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+// these stupid set of includes are required to use the cdll_int interface
+#include "mathlib/vector.h"
+//#include "wrect.h"
+#define IN_BUTTONS_H
+
+// engine interface
+#include "cdll_int.h"
+#include "icvar.h"
+
+// engine interface singleton accessors
+extern IVEngineClient *engine;
+extern class IGameUIFuncs *gameuifuncs;
+extern class IEngineSound *enginesound;
+extern class IMatchmaking *matchmaking;
+extern class IXboxSystem *xboxsystem;
+extern class IAchievementMgr *achievementmgr;
+extern class CSteamAPIContext *steamapicontext;
+
+#endif // ENGINEINTERFACE_H