about summary refs log tree commit diff stats
path: root/src/sounds.h
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-07 04:10:17 -0400
committerCharadon <dev@iotib.net>2022-06-07 04:10:17 -0400
commite3daf6b1f38d6934ec85d78a2cad9d58dbe8d3ac (patch)
tree2e76f9a9fc6c60ee437f46246ec84a5561dc0d60 /src/sounds.h
parentf9448aa3ecbe76d80992982cb84aa42102e7c951 (diff)
downloadPong-C-e3daf6b1f38d6934ec85d78a2cad9d58dbe8d3ac.tar.gz
Beginning migration to SDL for sound
Diffstat (limited to 'src/sounds.h')
-rw-r--r--src/sounds.h15
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