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

@ -542,6 +542,8 @@ public:
// Give the list of datatable classes to the engine. The engine matches class names from here with // 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 // edict_t::classname to figure out how to encode a class's data for networking
virtual ServerClass* GetAllServerClasses( void ) = 0; virtual ServerClass* GetAllServerClasses( void ) = 0;
virtual const char *GetAddonName( void ) const = 0;
// Returns string describing current .dll. e.g., TeamFortress 2, Half-Life 2. // 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 // Hey, it's more descriptive than just the name of the game directory

View File

@ -79,9 +79,9 @@ class CCommand;
// Note: IVEngineClient::ClientCmd_Unrestricted can run any client command. // 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_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<<26)
// #define FCVAR_AVAILABLE (1<<27) // #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 ) #define FCVAR_MATERIAL_THREAD_MASK ( FCVAR_RELOAD_MATERIALS | FCVAR_RELOAD_TEXTURES | FCVAR_MATERIAL_SYSTEM_THREAD )