mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-09-13 22:52:19 +00:00
49 lines
1.2 KiB
C
49 lines
1.2 KiB
C
//========= Copyright © 1996-2005, 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 "eiface.h"
|
|
#include "icvar.h"
|
|
#include "tier2/tier2.h"
|
|
#include "matchmaking/imatchframework.h"
|
|
|
|
#ifdef SWARM_DLL
|
|
#include "matchmaking/swarm/imatchext_swarm.h"
|
|
extern class IMatchExtSwarm *g_pMatchExtSwarm;
|
|
#endif
|
|
|
|
|
|
|
|
// engine interface singleton accessors
|
|
extern IVEngineClient *engine;
|
|
extern class IBik *bik;
|
|
extern class IEngineVGui *enginevguifuncs;
|
|
extern class IGameUIFuncs *gameuifuncs;
|
|
extern class IEngineSound *enginesound;
|
|
extern class IXboxSystem *xboxsystem;
|
|
#ifdef _X360
|
|
extern class IXOnline *xonline;
|
|
#endif
|
|
extern class IAchievementMgr *achievementmgr;
|
|
extern class CSteamAPIContext *steamapicontext;
|
|
|
|
#endif // ENGINEINTERFACE_H
|