summaryrefslogtreecommitdiff
path: root/src/sound/null_s.cpp
diff options
context:
space:
mode:
authorKUDr <KUDr@openttd.org>2007-01-10 18:12:09 +0000
committerKUDr <KUDr@openttd.org>2007-01-10 18:12:09 +0000
commit07c30785ab226c4762b442f5a09ec745017cc94b (patch)
treed9abc3d9810159441bed9f82a52bd1ee52d770dd /src/sound/null_s.cpp
parentdc44d341075a525d6069bfbf935efe75ac7ff0f0 (diff)
downloadopenttd-07c30785ab226c4762b442f5a09ec745017cc94b.tar.xz
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
Diffstat (limited to 'src/sound/null_s.cpp')
-rw-r--r--src/sound/null_s.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sound/null_s.cpp b/src/sound/null_s.cpp
new file mode 100644
index 000000000..f68c4b13a
--- /dev/null
+++ b/src/sound/null_s.cpp
@@ -0,0 +1,13 @@
+/* $Id$ */
+
+#include "../stdafx.h"
+#include "../openttd.h"
+#include "null_s.h"
+
+static const char *NullSoundStart(const char * const *parm) { return NULL; }
+static void NullSoundStop(void) {}
+
+const HalSoundDriver _null_sound_driver = {
+ NullSoundStart,
+ NullSoundStop,
+};