summaryrefslogtreecommitdiff
path: root/src/audio/sound.h
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2009-04-25 17:36:10 +0200
committerxHire <xhire@tuxportal.cz>2009-05-26 01:08:37 +0200
commit9ab82c4ad5eeedd66b768db9f27bfd097d3284e8 (patch)
tree793083d28c6d7591e919307be56789b1b3d7ef5a /src/audio/sound.h
parenteab321fa21828fe1aaaa03e4be4583cb70695acf (diff)
Rewritten messages/comments in audio code
Rectified the coding style in audio code
Diffstat (limited to 'src/audio/sound.h')
-rw-r--r--src/audio/sound.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/audio/sound.h b/src/audio/sound.h
index 4c61bcd..f8cf2d3 100644
--- a/src/audio/sound.h
+++ b/src/audio/sound.h
@@ -1,12 +1,13 @@
-
#ifndef SOUND_H
-# define SOUND_H
-# ifndef NO_SOUND
-# include <SDL_mixer.h>
-# include "main.h"
+#define SOUND_H
+
+#ifndef NO_SOUND
-# define SOUND_GROUP_BASE "base"
-# define SOUND_GROUP_USER "user"
+#include <SDL_mixer.h>
+#include "main.h"
+
+#define SOUND_GROUP_BASE "base"
+#define SOUND_GROUP_USER "user"
/*
typedef struct sound_struct
@@ -24,5 +25,6 @@ extern void sound_play(char *name, char *group);
extern void sound_set_active(bool_t n);
extern bool_t sound_is_active();
extern void sound_quit();
-# endif
-#endif
+
+#endif /* NO_SOUND */
+#endif /* SOUND_H */