From 0a130c1a1fb46e029a44dff632593563a1a208b3 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Fri, 13 Dec 2013 11:08:21 -0500 Subject: [PATCH] Updated IServerGameDLL, added new convar flag. --- public/eiface.h | 2 ++ public/tier1/iconvar.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/eiface.h b/public/eiface.h index 9803e674..906c846a 100644 --- a/public/eiface.h +++ b/public/eiface.h @@ -542,6 +542,8 @@ public: // Give the list of datatable classes to the engine. The engine matches class names from here with // edict_t::classname to figure out how to encode a class's data for networking virtual ServerClass* GetAllServerClasses( void ) = 0; + + virtual const char *GetAddonName( void ) const = 0; // Returns string describing current .dll. e.g., TeamFortress 2, Half-Life 2. // Hey, it's more descriptive than just the name of the game directory diff --git a/public/tier1/iconvar.h b/public/tier1/iconvar.h index 722960b7..2048032d 100644 --- a/public/tier1/iconvar.h +++ b/public/tier1/iconvar.h @@ -79,9 +79,9 @@ class CCommand; // Note: IVEngineClient::ClientCmd_Unrestricted can run any client command. #define FCVAR_ACCESSIBLE_FROM_THREADS (1<<25) // used as a debugging tool necessary to check material system thread convars +#define FCVAR_VCONSOLE_SET_FOCUS (1<<31) // #define FCVAR_AVAILABLE (1<<26) // #define FCVAR_AVAILABLE (1<<27) -// #define FCVAR_AVAILABLE (1<<31) #define FCVAR_MATERIAL_THREAD_MASK ( FCVAR_RELOAD_MATERIALS | FCVAR_RELOAD_TEXTURES | FCVAR_MATERIAL_SYSTEM_THREAD )