Updated IServerGameDLL, added new convar flag.

This commit is contained in:
Nicholas Hastings 2013-12-13 11:08:21 -05:00
parent 895e77b7cd
commit 0a130c1a1f
2 changed files with 3 additions and 1 deletions

View File

@ -543,6 +543,8 @@ public:
// 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
virtual const char *GetGameDescription( void ) = 0;

View File

@ -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 )