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>2008-06-18 21:42:38 +0000
committerStijn Buys <ingar@osirion.org>2008-06-18 21:42:38 +0000
commitfd6f22924fd0d85ee20fb1d5e4588ac441675ea9 (patch)
tree8a3db75e46390c3801a820589ffe628323bb46ab /src/client/input.cc
parentc5dddd62db3e070b89cb774abfd90cc3387a6d52 (diff)
ui sounds
Diffstat (limited to 'src/client/input.cc')
-rw-r--r--src/client/input.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/input.cc b/src/client/input.cc
index cb54e32..d3feefe 100644
--- a/src/client/input.cc
+++ b/src/client/input.cc
@@ -4,6 +4,7 @@
the terms and conditions of the GNU General Public License version 2
*/
+#include "audio/audio.h"
#include "core/core.h"
#include "client/client.h"
#include "client/input.h"
@@ -78,6 +79,7 @@ void func_ui_control(std::string const &args)
render::Camera::set_direction(0.0f);
render::Camera::set_pitch(0.0f);
}
+ audio::play("ui/control");
}
void func_ui_console(std::string const &args)
@@ -99,6 +101,7 @@ void func_ui_view(std::string const &args)
local_roll = 0;
local_pitch = 0;
local_direction = 0;
+ audio::play("ui/view");
}
}