Team Fortress 2 Source Code as on 22/4/2020
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.

34 lines
930 B

  1. //========= Copyright 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 "icvar.h"
  20. // engine interface singleton accessors
  21. extern IVEngineClient *engine;
  22. extern class IGameUIFuncs *gameuifuncs;
  23. extern class IEngineSound *enginesound;
  24. extern class IMatchmaking *matchmaking;
  25. extern class IXboxSystem *xboxsystem;
  26. extern class IAchievementMgr *achievementmgr;
  27. extern class CSteamAPIContext *steamapicontext;
  28. #endif // ENGINEINTERFACE_H