diff options
Diffstat (limited to 'src/sounds.h')
-rw-r--r-- | src/sounds.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/sounds.h b/src/sounds.h index 5a87cb1..3f5412c 100644 --- a/src/sounds.h +++ b/src/sounds.h @@ -1,12 +1,13 @@ #ifndef SOUNDS_H #define SOUNDS_H #include "pong.h" -const int SOUND_BOUNCE = 0; -const int MUSIC_DEFEAT = 1; -const int MUSIC_VICTORY = 2; -const int MUSIC_TITLE = 3; -const int SOUND_PLAYER_SCORE = 4; -const int SOUND_ENEMY_SCORE = 5; -const int STOP_ALL_SOUNDS = 99; + +#define SOUND_BOUNCE 0 +#define MUSIC_DEFEAT 1 +#define MUSIC_VICTORY 2 +#define MUSIC_TITLE 3 +#define SOUND_PLAYER_SCORE 4 +#define SOUND_ENEMY_SCORE 5 +#define STOP_ALL_SOUNDS 99 #endif |