diff options
author | Stijn Buys <ingar@osirion.org> | 2010-02-25 19:28:14 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-02-25 19:28:14 +0000 |
commit | 90fbc4c5caf5afd54920894319448b74967399ba (patch) | |
tree | d4a8fe5ccdcbe94f4a3e5e1115f5baed26e8c2e3 /src/client/soundext.h | |
parent | 83757353860fa447c36d4078602efea36d7da94e (diff) |
added initial support for model sound tags,
moved sound code from client/targets.cc to client/soundext.cc,
added master volume cvar snd_volume
Diffstat (limited to 'src/client/soundext.h')
-rw-r--r-- | src/client/soundext.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/client/soundext.h b/src/client/soundext.h index a99cee0..b0fc17a 100644 --- a/src/client/soundext.h +++ b/src/client/soundext.h @@ -8,10 +8,15 @@ #define __INCLUDED_CLIENT_SOUNDEXT_H__ #include "core/extension.h" +#include "core/cvar.h" namespace client { +extern core::Cvar *snd_engines; +extern core::Cvar *snd_doppler; +extern core::Cvar *snd_volume; + /// the sound extension of an entity class SoundExt : public core::Extension { @@ -43,6 +48,12 @@ private: size_t state_engineeventsource; }; +/// render listener sound +void render_listener_sound(); + +/// render sound for a single entity +void render_entity_sound(core::Entity *entity); + } //namespace client // |