mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
35 lines
930 B
C
35 lines
930 B
C
//========= 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
|