diff options
author | tron <tron@openttd.org> | 2005-07-23 15:16:57 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-23 15:16:57 +0000 |
commit | 126fed74d63e8ebbabff2fa9dccf10fdd5a68333 (patch) | |
tree | 1e83d1a7e27b80f46817858872b1f46a903f1d1b /sound/null.c | |
parent | dd36a3660f77ce72f2df149fb7777834f700a0a0 (diff) | |
download | openttd-126fed74d63e8ebbabff2fa9dccf10fdd5a68333.tar.xz |
(svn r2685) -Codechange: Split the music/sound/video drivers into separate files and move them into subfolders.
This results in shorter and hopefully easier to maintain files.
Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
Diffstat (limited to 'sound/null.c')
-rw-r--r-- | sound/null.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/null.c b/sound/null.c new file mode 100644 index 000000000..e7d0c8c10 --- /dev/null +++ b/sound/null.c @@ -0,0 +1,11 @@ +#include "stdafx.h" +#include "openttd.h" +#include "sound/null.h" + +static const char *NullSoundStart(const char * const *parm) { return NULL; } +static void NullSoundStop(void) {} + +const HalSoundDriver _null_sound_driver = { + NullSoundStart, + NullSoundStop, +}; |