mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
Updated ISoundEmitterSystemBase (bug 5452).
This commit is contained in:
parent
77b5b65e80
commit
3e517c314a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user