aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-23 12:05:17 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-24 04:24:23 +0200
commitc301e3c82af4ad384f4baaa8244b3a5f26da5213 (patch)
treea23bfb49606347f678e81eb7f5fe1eef985d9d02 /src/server.cpp
parent9dd78a8a451a7200bfb68b06e034ffb88e32bcd3 (diff)
downloadminetest-c301e3c82af4ad384f4baaa8244b3a5f26da5213.tar.gz
minetest-c301e3c82af4ad384f4baaa8244b3a5f26da5213.tar.bz2
minetest-c301e3c82af4ad384f4baaa8244b3a5f26da5213.zip
celeron55's sound system initial framework
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 7afb22846..d762f2688 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -49,6 +49,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "base64.h"
#include "tool.h"
#include "utility_string.h"
+#include "sound.h" // dummySoundManager
#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
@@ -4270,6 +4271,10 @@ u16 Server::allocateUnknownNodeId(const std::string &name)
{
return m_nodedef->allocateDummy(name);
}
+ISoundManager* Server::getSoundManager()
+{
+ return &dummySoundManager;
+}
IWritableItemDefManager* Server::getWritableItemDefManager()
{