Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-02-25 19:28:14 +0000
committerStijn Buys <ingar@osirion.org>2010-02-25 19:28:14 +0000
commit90fbc4c5caf5afd54920894319448b74967399ba (patch)
treed4a8fe5ccdcbe94f4a3e5e1115f5baed26e8c2e3 /src/client/soundext.h
parent83757353860fa447c36d4078602efea36d7da94e (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.h11
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
//