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.
31 lines
918 B
31 lines
918 B
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//===========================================================================//
|
||
|
|
||
|
#ifndef IGAMEUIFUNCS_H
|
||
|
#define IGAMEUIFUNCS_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include "vgui/KeyCode.h"
|
||
|
|
||
|
abstract_class IGameUIFuncs
|
||
|
{
|
||
|
public:
|
||
|
virtual bool IsKeyDown( const char *keyname, bool& isdown ) = 0;
|
||
|
virtual const char *GetBindingForButtonCode( ButtonCode_t code ) = 0;
|
||
|
virtual ButtonCode_t GetButtonCodeForBind( const char *pBind ) = 0;
|
||
|
virtual void GetVideoModes( struct vmode_s **liststart, int *count ) = 0;
|
||
|
virtual void SetFriendsID( uint friendsID, const char *friendsName ) = 0;
|
||
|
virtual void GetDesktopResolution( int &width, int &height ) = 0;
|
||
|
virtual bool IsConnectedToVACSecureServer() = 0;
|
||
|
};
|
||
|
|
||
|
#define VENGINE_GAMEUIFUNCS_VERSION "VENGINE_GAMEUIFUNCS_VERSION005"
|
||
|
|
||
|
#endif // IGAMEUIFUNCS_H
|