X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=sound.h;h=0162c37c72923a83a3494774e7fae5d55b6f54b6;hb=8cdb11883916f1662d816e76878fe1b3b30b91f3;hp=86839d17aba80a6c93e8a90d5c50043ee56de9a7;hpb=ff0e0fd9ea6ce001e9c2c6f9e18ecda6aef15d10;p=xonotic%2Fdarkplaces.git diff --git a/sound.h b/sound.h index 86839d17..0162c37c 100644 --- a/sound.h +++ b/sound.h @@ -72,6 +72,7 @@ float S_SoundLength(const char *name); void S_ClearUsed (void); void S_PurgeUnused (void); qboolean S_IsSoundPrecached (const sfx_t *sfx); +sfx_t *S_FindName(const char *name); // for sound() builtins #define CHANFLAG_RELIABLE 1 @@ -97,7 +98,6 @@ qboolean S_IsSoundPrecached (const sfx_t *sfx); // S_StartSound returns the channel index, or -1 if an error occurred int S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation); -int S_StartSound_StartPosition (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation, float startposition); int S_StartSound_StartPosition_Flags (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation, float startposition, int flags, float fspeed); qboolean S_LocalSound (const char *s);