diff --git a/public/eiface.h b/public/eiface.h index abaeb7ff..5cc8c0c3 100644 --- a/public/eiface.h +++ b/public/eiface.h @@ -353,9 +353,6 @@ public: // Cleans up the cluster list virtual void CleanUpEntityClusterList( PVSInfo_t *pPVSInfo ) = 0; - virtual void SetAchievementMgr( IAchievementMgr *pAchievementMgr ) =0; - virtual IAchievementMgr *GetAchievementMgr() = 0; - virtual int GetAppID() = 0; virtual bool IsLowViolence() = 0; @@ -429,10 +426,17 @@ public: virtual void RefreshScreenIfNecessary() = 0; // Tells the engine to allocate paint surfaces - virtual bool HasPaintMap() = 0; - virtual void PaintSurface( const model_t *model, const Vector& position, const Color& color, float radius ) = 0; - virtual void TracePaintSurface( const model_t *model, const Vector& position, float radius, CUtlVector& surfColor ) = 0; + virtual bool HasPaintmap() = 0; + + // Calls ShootPaintSphere + virtual bool SpherePaintSurface( const model_t *pModel, const Vector &, unsigned char, float, float ) = 0; + + virtual void SphereTracePaintSurface( const model_t *pModel, const Vector &, const Vector &, float, CUtlVector> & ) = 0; + virtual void RemoveAllPaint() = 0; + + virtual void PaintAllSurfaces( unsigned char ) = 0; + virtual void RemovePaint( const model_t *pModel ) = 0; // Send a client command keyvalues // keyvalues are deleted inside the function @@ -441,6 +445,16 @@ public: // Returns the XUID of the specified player. It'll be NULL if the player hasn't connected yet. virtual uint64 GetClientXUID( edict_t *pPlayerEdict ) = 0; virtual bool IsActiveApp() = 0; + + virtual void SetNoClipEnabled( bool bEnabled ) = 0; + + virtual void GetPaintmapDataRLE( CUtlVector> &mapdata ) = 0; + virtual void LoadPaintmapDataRLE( CUtlVector> &mapdata ) = 0; + virtual void SendPaintmapDataToClient( edict_t *pEdict ) = 0; + + virtual float GetLatencyForChoreoSounds() = 0; + + virtual int GetClientCrossPlayPlatform( int client_index ) = 0; }; #define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL005" @@ -563,15 +577,7 @@ public: virtual void ServerHibernationUpdate( bool bHibernating ) = 0; - virtual void GetMatchmakingGameData( char *buf, size_t bufSize ) = 0; - virtual bool ShouldPreferSteamAuth() = 0; - - // does this game support randomly generated maps? - virtual bool SupportsRandomMaps() = 0; - - // return true to disconnect client due to timeout (used to do stricter timeouts when the game is sure the client isn't loading a map) - virtual bool ShouldTimeoutClient( int nUserID, float flTimeSinceLastReceived ) = 0; }; //----------------------------------------------------------------------------- diff --git a/public/filesystem.h b/public/filesystem.h index 7375b4c2..a2337cc9 100644 --- a/public/filesystem.h +++ b/public/filesystem.h @@ -538,6 +538,12 @@ public: FileFindHandle_t *pHandle ) = 0; + virtual void FindFileAbsoluteList( + CUtlVector> &output, + const char *pWildCard, + const char *pPathID + ) = 0; + //-------------------------------------------------------- // File name and directory operations //-------------------------------------------------------- diff --git a/public/filesystem_passthru.h b/public/filesystem_passthru.h index 57810584..182e6c3f 100644 --- a/public/filesystem_passthru.h +++ b/public/filesystem_passthru.h @@ -165,6 +165,11 @@ public: const char *pPathID, FileFindHandle_t *pHandle ) { return m_pFileSystemPassThru->FindFirstEx( pWildCard, pPathID, pHandle ); } + virtual void FindFileAbsoluteList( + CUtlVector> &output, + const char *pWildCard, + const char *pPathID + ) { m_pFileSystemPassThru->FindFileAbsoluteList( output, pWildCard, pPathID ); } virtual void MarkPathIDByRequestOnly( const char *pPathID, bool bRequestOnly ) { m_pFileSystemPassThru->MarkPathIDByRequestOnly( pPathID, bRequestOnly ); } virtual bool AddPackFile( const char *fullpath, const char *pathID ) { return m_pFileSystemPassThru->AddPackFile( fullpath, pathID ); } virtual FSAsyncStatus_t AsyncAppend(const char *pFileName, const void *pSrc, int nSrcBytes, bool bFreeMemory, FSAsyncControl_t *pControl ) { return m_pFileSystemPassThru->AsyncAppend( pFileName, pSrc, nSrcBytes, bFreeMemory, pControl); } diff --git a/public/iclient.h b/public/iclient.h index 510555d4..9133994e 100644 --- a/public/iclient.h +++ b/public/iclient.h @@ -98,6 +98,8 @@ public: virtual int GetNumPlayers() = 0; virtual bool IsHumanPlayer() const = 0; + + virtual int GetClientPlatform() const = 0; }; #endif // ICLIENT_H