Upgrading the normal sound hook for games like CS:GO

This commit is contained in:
Anthony
2015-01-20 15:08:57 -08:00
parent ff27484527
commit cddae6f456
2 changed files with 100 additions and 3 deletions
+5 -1
View File
@@ -307,6 +307,8 @@ typedef AmbientSHook = function Action (
* @param level Sound level.
* @param pitch Sound pitch.
* @param flags Sound flags.
* @param soundEntry Game sound entry name. (Used in engines newer than Portal 2)
* @param seed Sound seed. (Used in engines newer than Portal 2)
* @return Plugin_Continue to allow the sound to be played, Plugin_Stop to block it,
* Plugin_Changed when any parameter has been modified.
*/
@@ -319,7 +321,9 @@ typedef NormalSHook = function Action (
float &volume,
int &level,
int &pitch,
int &flags
int &flags,
char soundEntry[PLATFORM_MAX_PATH],
int &seed
);
/**