diff --git a/public/iclient.h b/public/iclient.h index 38a51070..9f10c41d 100644 --- a/public/iclient.h +++ b/public/iclient.h @@ -25,7 +25,7 @@ public: virtual ~IClient() {} // connect client - virtual void Connect( const char * szName, int nUserID, INetChannel *pNetChannel, bool bFakePlayer, CUtlVector< NetMessageCvar_t > *pVecCvars = NULL ) = 0; + virtual void Connect( const char * szName, int nUserID, INetChannel *pNetChannel, bool bFakePlayer, int, const CMsg_CVars *cvars ) = 0; // set the client in a pending state waiting for a new game virtual void Inactivate( void ) = 0; diff --git a/public/ihltv.h b/public/ihltv.h index b9475ffe..8d2fa7e4 100644 --- a/public/ihltv.h +++ b/public/ihltv.h @@ -19,6 +19,7 @@ class IServer; class IHLTVDirector; class IGameEvent; struct netadr_s; +class CGameInfo; //----------------------------------------------------------------------------- // Interface the HLTV module exposes to the engine @@ -43,6 +44,11 @@ public: virtual bool IsDemoPlayback( void ) = 0; // true if this is a HLTV demo virtual void BroadcastEvent(IGameEvent *event) = 0; // send a director command to all specs + + virtual bool IsRecording() = 0; + virtual const char *GetRecordingDemoFilename ( void ) = 0; + virtual void StartAutoRecording( void ) = 0; + virtual void StopAutoRecording( const CGameInfo *pInfo ) = 0; }; #endif diff --git a/public/inetchannel.h b/public/inetchannel.h index ec25525a..f7fcd2f1 100644 --- a/public/inetchannel.h +++ b/public/inetchannel.h @@ -86,13 +86,11 @@ public: virtual void SetFileTransmissionMode(bool bBackgroundMode) = 0; virtual void SetCompressionMode( bool bUseCompression ) = 0; virtual unsigned int RequestFile(const char *filename, bool isReplayDemoFile) = 0; - virtual float GetTimeSinceLastReceived( void ) const = 0; // get time since last received packet in seconds virtual void SetMaxBufferSize(bool bReliable, int nBytes, bool bVoice = false ) = 0; virtual bool IsNull() const = 0; - virtual int GetNumBitsWritten( bool bReliable ) = 0; - virtual void SetInterpolationAmount( float flInterpolationAmount ) = 0; + virtual void SetInterpolationAmount( float flInterpolationAmount, float ) = 0; virtual void SetRemoteFramerate( float flFrameTime, float flFrameTimeStdDeviation ) = 0; // Max # of payload bytes before we must split/fragment the packet @@ -105,6 +103,12 @@ public: virtual void DetachSplitPlayer( int nSplitPlayerSlot ) = 0; virtual bool IsRemoteDisconnected() const = 0; + + virtual int GetNumBitsWritten(int bufferType) = 0; + + virtual void SetUsesMaxRoutablePlayload(bool useMax) = 0; + + virtual bool WasLastMessageReliable() = 0; }; diff --git a/public/vstdlib/IKeyValuesSystem.h b/public/vstdlib/IKeyValuesSystem.h index 0c77b09c..9ebc6d72 100644 --- a/public/vstdlib/IKeyValuesSystem.h +++ b/public/vstdlib/IKeyValuesSystem.h @@ -25,7 +25,7 @@ class IKeyValuesSystem public: // allocates/frees a KeyValues object from the shared mempool virtual void *AllocKeyValuesMemory() = 0; - virtual void FreeKeyValuesMemory(void *pMem) = 0; + virtual void FreeKeyValuesMemory(KeyValues *pKV) = 0; // symbol table access (used for key names) virtual HKeySymbol GetSymbolForString( const char *name, bool bCreate = true ) = 0;