aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/sound.h')
-rw-r--r--engines/sludge/sound.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/engines/sludge/sound.h b/engines/sludge/sound.h
index 61f834ba90..5bb3f9d3c9 100644
--- a/engines/sludge/sound.h
+++ b/engines/sludge/sound.h
@@ -19,13 +19,19 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
-#include "variable.h"
+
+#ifndef SLUDGE_SOUND_H
+#define SLUDGE_SOUND_H
+
#ifdef _WIN32
#include <windows.h>
#else
#define HWND void *
#endif
+#include "variable.h"
+
+namespace Sludge {
// Sound list stuff
struct soundList {
@@ -38,8 +44,6 @@ struct soundList {
soundList *deleteSoundFromList(soundList *s);
void playSoundList(soundList *s);
-
-
// GENERAL...
bool initSoundStuff(HWND);
void killSoundStuff();
@@ -69,3 +73,7 @@ void saveSounds(FILE *fp);
#endif
unsigned int getSoundSource(int index);
+
+} // End of namespace Sludge
+
+#endif