diff --git a/public/eiface.h b/public/eiface.h index 83eb12fe..f53e6a21 100644 --- a/public/eiface.h +++ b/public/eiface.h @@ -456,15 +456,11 @@ public: typedef IVEngineServer IVEngineServer021; typedef IVEngineServer IVEngineServer022; -// AlliedModders - Shim until all supported mods are using the SDK Base that has this -#if 0 + #define INTERFACEVERSION_SERVERGAMEDLL_VERSION_8 "ServerGameDLL008" #define INTERFACEVERSION_SERVERGAMEDLL_VERSION_9 "ServerGameDLL009" #define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL010" #define INTERFACEVERSION_SERVERGAMEDLL_INT 10 -#else -#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL009" -#endif class IServerGCLobby; @@ -595,8 +591,6 @@ public: // Called to add output to the status command virtual void Status( void (*print) (const char *fmt, ...) ) = 0; - - // AlliedModders - Below functions require v10 of the interface. // Informs the game we would like to load this level, giving it a chance to prepare dynamic resources. // diff --git a/public/tier0/icommandline.h b/public/tier0/icommandline.h index 64d2e800..e9255372 100644 --- a/public/tier0/icommandline.h +++ b/public/tier0/icommandline.h @@ -25,6 +25,7 @@ public: // Check whether a particular parameter exists virtual const char *CheckParm( const char *psz, const char **ppszValue = 0 ) const = 0; + virtual bool HasParm( const char *parm ) const = 0; virtual void RemoveParm( const char *parm ) = 0; virtual void AppendParm( const char *pszParm, const char *pszValues ) = 0;