Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.7 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Includes all the headers/declarations necessary to access the
  4. // engine interface
  5. //
  6. // $NoKeywords: $
  7. //=============================================================================//
  8. #ifndef ENGINEINTERFACE_H
  9. #define ENGINEINTERFACE_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. // these stupid set of includes are required to use the cdll_int interface
  14. #include "mathlib/vector.h"
  15. //#include "wrect.h"
  16. #define IN_BUTTONS_H
  17. // engine interface
  18. #include "cdll_int.h"
  19. #include "eiface.h"
  20. #include "icvar.h"
  21. #include "tier2/tier2.h"
  22. #include "matchmaking/imatchframework.h"
  23. #ifdef SWARM_DLL
  24. #include "matchmaking/swarm/imatchext_swarm.h"
  25. extern class IMatchExtSwarm *g_pMatchExt;
  26. #endif
  27. #ifdef PORTAL2
  28. class IMatchExtPortal2
  29. {
  30. public:
  31. inline KeyValues * GetAllMissions() { return NULL; }
  32. inline KeyValues * GetMapInfoByBspName( KeyValues *, char const *, KeyValues ** = NULL ) { return NULL; }
  33. inline KeyValues * GetMapInfo( KeyValues *, KeyValues ** = NULL ) { return NULL; }
  34. };
  35. extern class IMatchExtPortal2 *g_pMatchExt;
  36. #endif
  37. // engine interface singleton accessors
  38. extern IVEngineClient *engine;
  39. extern class IBik *bik;
  40. extern class IEngineVGui *enginevguifuncs;
  41. extern class IGameUIFuncs *gameuifuncs;
  42. extern class IEngineSound *enginesound;
  43. extern class IXboxSystem *xboxsystem;
  44. #ifdef _GAMECONSOLE
  45. extern class IXOnline *xonline;
  46. #endif
  47. extern class CSteamAPIContext *steamapicontext;
  48. #ifdef _PS3
  49. #include "ps3/saverestore_ps3_api_ui.h"
  50. extern class IPS3SaveRestoreToUI *ps3saveuiapi;
  51. #endif
  52. #endif // ENGINEINTERFACE_H