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.

30 lines
938 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //===========================================================================//
  7. #ifndef IGAMEUIFUNCS_H
  8. #define IGAMEUIFUNCS_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "vgui/KeyCode.h"
  13. abstract_class IGameUIFuncs
  14. {
  15. public:
  16. virtual bool IsKeyDown( const char *keyname, bool& isdown ) = 0;
  17. virtual const char *GetBindingForButtonCode( ButtonCode_t code ) = 0;
  18. virtual ButtonCode_t GetButtonCodeForBind( const char *pBind, int userId = -1 ) = 0;
  19. virtual void GetVideoModes( struct vmode_s **liststart, int *count ) = 0;
  20. virtual void SetFriendsID( uint friendsID, const char *friendsName ) = 0;
  21. virtual void GetDesktopResolution( int &width, int &height ) = 0;
  22. virtual bool IsConnectedToVACSecureServer() = 0;
  23. };
  24. #define VENGINE_GAMEUIFUNCS_VERSION "VENGINE_GAMEUIFUNCS_VERSION005"
  25. #endif // IGAMEUIFUNCS_H