X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=sound.h;h=d0c8418c311c98fef96a76a7f92d0fe4592dc62e;hp=e0ef6c73049e5a2f5acf49c71c5ed22e2b68f857;hb=2a3eff4ff6877f1302f54f814df940dbc88f5495;hpb=a0fbecb998b153b0840d5a4910e2c7b2a8df38ab diff --git a/sound.h b/sound.h index e0ef6c73..d0c8418c 100644 --- a/sound.h +++ b/sound.h @@ -46,7 +46,7 @@ typedef struct sfx_s char name[MAX_QPATH]; mempool_t *mempool; sfxcache_t *sfxcache; - int silentlymissing; // true if missing and loaded with complain = false + qboolean silentlymissing; // true if missing and loaded with complain = false } sfx_t; typedef struct @@ -100,9 +100,8 @@ void S_ExtraUpdate (void); sfx_t *S_GetCached(const char *name); sfx_t *S_PrecacheSound (char *sample, int complain); void S_TouchSound (char *sample); -void S_ClearPrecache (void); -void S_BeginPrecaching (void); -void S_EndPrecaching (void); +void S_ClearUsed (void); +void S_PurgeUnused (void); void S_PaintChannels(int endtime); void S_InitPaintChannels (void);