summaryrefslogtreecommitdiff
path: root/src/sound_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_func.h')
-rw-r--r--src/sound_func.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/sound_func.h b/src/sound_func.h
new file mode 100644
index 000000000..d60822ca5
--- /dev/null
+++ b/src/sound_func.h
@@ -0,0 +1,22 @@
+/* $Id$ */
+
+/** @file sound_func.h Functions related to sound. */
+
+#ifndef SOUND_FUNC_H
+#define SOUND_FUNC_H
+
+#include "sound_type.h"
+#include "vehicle_type.h"
+#include "tile_type.h"
+
+extern MusicFileSettings msf;
+
+bool SoundInitialize(const char *filename);
+uint GetNumOriginalSounds();
+
+void SndPlayTileFx(SoundFx sound, TileIndex tile);
+void SndPlayVehicleFx(SoundFx sound, const Vehicle *v);
+void SndPlayFx(SoundFx sound);
+void SndCopyToPool();
+
+#endif /* SOUND_FUNC_H */