diff --git a/public/SoundEmitterSystem/isoundemittersystembase.h b/public/SoundEmitterSystem/isoundemittersystembase.h index 46bd4b2b..db9b4bf1 100644 --- a/public/SoundEmitterSystem/isoundemittersystembase.h +++ b/public/SoundEmitterSystem/isoundemittersystembase.h @@ -25,6 +25,7 @@ typedef short HSOUNDSCRIPTHANDLE; #define SOUNDEMITTER_INVALID_HANDLE (HSOUNDSCRIPTHANDLE)-1 +class IFileList; //----------------------------------------------------------------------------- // Purpose: @@ -253,13 +254,15 @@ public: // Called from both client and server (single player) or just one (server only in dedicated server and client only if connected to a remote server) // Called by LevelInitPreEntity to override sound scripts for the mod with level specific overrides based on custom mapnames, etc. - virtual void AddSoundOverrides( char const *scriptfile ) = 0; + virtual void AddSoundOverrides( char const *scriptfile, bool bUnknown ) = 0; // Called by either client or server in LevelShutdown to clear out custom overrides virtual void ClearSoundOverrides() = 0; virtual bool GetParametersForSoundEx( const char *soundname, HSOUNDSCRIPTHANDLE& handle, CSoundParameters& params, gender_t gender, bool isbeingemitted = false ) = 0; virtual soundlevel_t LookupSoundLevelByHandle( char const *soundname, HSOUNDSCRIPTHANDLE& handle ) = 0; + + virtual void ReloadSoundEntriesInList( IFileList *pFileList ) = 0; }; #endif // ISOUNDEMITTERSYSTEMBASE_H