mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-04 00:23:25 +08:00
33 lines
1.0 KiB
C
33 lines
1.0 KiB
C
//========= Copyright © 1996-2005, 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( char const *keyname, bool& isdown ) = 0;
|
|
virtual const char *Key_NameForKey( int keynum ) = 0;
|
|
virtual const char *Key_BindingForKey( int keynum ) = 0;
|
|
virtual vgui::KeyCode GetVGUI2KeyCodeForBind( const char *bind ) = 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 int GetEngineKeyCodeForBind( const char *bind ) = 0;
|
|
virtual bool IsConnectedToVACSecureServer() = 0;
|
|
};
|
|
|
|
#define VENGINE_GAMEUIFUNCS_VERSION "VENGINE_GAMEUIFUNCS_VERSION004"
|
|
|
|
#endif // IGAMEUIFUNCS_H
|