Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index 6a50743..5bf783a 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -16,6 +16,7 @@
#include "client/client.h"
#include "client/video.h"
#include "client/input.h"
+#include "client/soundext.h"
#include "core/core.h"
#include "core/loader.h"
#include "core/zone.h"
@@ -86,7 +87,16 @@ void Client::init(int count, char **arguments)
cvar = core::Cvar::get("rconpassword", "", core::Cvar::Archive | core::Cvar::Info);
cvar->set_info("[string] password for remote console access");
-
+
+ snd_volume = core::Cvar::get("snd_volume", "0.8", core::Cvar::Archive);
+ snd_volume->set_info("[float] master volume from 0 (mute) to 1 (max volume)");
+
+ snd_engines = core::Cvar::get("snd_engines", "1", core::Cvar::Archive);
+ snd_engines->set_info("[bool] enable or disable engine sounds");
+
+ snd_doppler = core::Cvar::get("snd_doppler", "0", core::Cvar::Archive);
+ snd_doppler->set_info("[bool] enable or disable doppler effect");
+
// initialize SDL, but do not initialize any subsystems
SDL_Init(0);