diff options
Diffstat (limited to 'gameui/EngineInterface.h')
| -rw-r--r-- | gameui/EngineInterface.h | 34 |
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 |