diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | quantum/audio/song_list.h | 170 |
2 files changed, 132 insertions, 41 deletions
diff --git a/.gitignore b/.gitignore index 20437224f..91d283e69 100644 --- a/.gitignore +++ b/.gitignore | |||
@@ -73,3 +73,6 @@ __pycache__ | |||
73 | 73 | ||
74 | # prerequisites for updating ChibiOS | 74 | # prerequisites for updating ChibiOS |
75 | /util/fmpp* | 75 | /util/fmpp* |
76 | |||
77 | # Allow to exist but don't include it in the repo | ||
78 | user_song_list.h | ||
diff --git a/quantum/audio/song_list.h b/quantum/audio/song_list.h index b20acd114..b54b397e1 100644 --- a/quantum/audio/song_list.h +++ b/quantum/audio/song_list.h | |||
@@ -20,6 +20,12 @@ | |||
20 | 20 | ||
21 | #include "musical_notes.h" | 21 | #include "musical_notes.h" |
22 | 22 | ||
23 | #if __GNUC__ > 5 // don't use for older gcc compilers since check isn't supported. | ||
24 | # if __has_include("user_song_list.h") | ||
25 | # include "user_song_list.h" | ||
26 | # endif // if file exists | ||
27 | #endif // __GNUC__ | ||
28 | |||
23 | #define NO_SOUND | 29 | #define NO_SOUND |
24 | 30 | ||
25 | /* Ode to Joy | 31 | /* Ode to Joy |
@@ -146,44 +152,126 @@ | |||
146 | * proof of permission to use them, or public domain status. | 152 | * proof of permission to use them, or public domain status. |
147 | */ | 153 | */ |
148 | 154 | ||
149 | #define CLOSE_ENCOUNTERS_5_NOTE | 155 | #ifndef CLOSE_ENCOUNTERS_5_NOTE |
150 | #define DOE_A_DEER | 156 | # define CLOSE_ENCOUNTERS_5_NOTE |
151 | #define IN_LIKE_FLINT | 157 | #endif |
152 | #define IMPERIAL_MARCH | 158 | #ifndef DOE_A_DEER |
153 | #define BASKET_CASE | 159 | # define DOE_A_DEER |
154 | #define COIN_SOUND | 160 | #endif |
155 | #define ONE_UP_SOUND | 161 | #ifndef IN_LIKE_FLINT |
156 | #define SONIC_RING | 162 | # define IN_LIKE_FLINT |
157 | #define ZELDA_PUZZLE | 163 | #endif |
158 | #define ZELDA_TREASURE | 164 | #ifndef IMPERIAL_MARCH |
159 | #define OVERWATCH_THEME | 165 | # define IMPERIAL_MARCH |
160 | #define MARIO_THEME | 166 | #endif |
161 | #define MARIO_GAMEOVER | 167 | #ifndef BASKET_CASE |
162 | #define MARIO_MUSHROOM | 168 | # define BASKET_CASE |
163 | #define E1M1_DOOM | 169 | #endif |
164 | #define DISNEY_SONG | 170 | #ifndef COIN_SOUND |
165 | #define NUMBER_ONE | 171 | # define COIN_SOUND |
166 | #define CABBAGE_SONG | 172 | #endif |
167 | #define OLD_SPICE | 173 | #ifndef ONE_UP_SOUND |
168 | #define VICTORY_FANFARE_SHORT | 174 | # define ONE_UP_SOUND |
169 | #define ALL_STAR | 175 | #endif |
170 | #define RICK_ROLL | 176 | #ifndef SONIC_RING |
171 | #define FF_PRELUDE | 177 | # define SONIC_RING |
172 | #define TO_BOLDLY_GO | 178 | #endif |
173 | #define KATAWARE_DOKI | 179 | #ifndef ZELDA_PUZZLE |
174 | #define MEGALOVANIA | 180 | # define ZELDA_PUZZLE |
175 | #define MICHISHIRUBE | 181 | #endif |
176 | #define LIEBESLEID | 182 | #ifndef ZELDA_TREASURE |
177 | #define MELODIES_OF_LIFE | 183 | # define ZELDA_TREASURE |
178 | #define EYES_ON_ME | 184 | #endif |
179 | #define SONG_OF_THE_ANCIENTS | 185 | #ifndef OVERWATCH_THEME |
180 | #define NIER_AMUSEMENT_PARK | 186 | # define OVERWATCH_THEME |
181 | #define COPIED_CITY | 187 | #endif |
182 | #define VAGUE_HOPE_COLD_RAIN | 188 | #ifndef MARIO_THEME |
183 | #define KAINE_SALVATION | 189 | # define MARIO_THEME |
184 | #define WEIGHT_OF_THE_WORLD | 190 | #endif |
185 | #define ISABELLAS_LULLABY | 191 | #ifndef MARIO_GAMEOVER |
186 | #define TERRAS_THEME | 192 | # define MARIO_GAMEOVER |
187 | #define RENAI_CIRCULATION | 193 | #endif |
188 | #define PLATINUM_DISCO | 194 | #ifndef MARIO_MUSHROOM |
189 | #define LP_NUMB | 195 | # define MARIO_MUSHROOM |
196 | #endif | ||
197 | #ifndef E1M1_DOOM | ||
198 | # define E1M1_DOOM | ||
199 | #endif | ||
200 | #ifndef DISNEY_SONG | ||
201 | # define DISNEY_SONG | ||
202 | #endif | ||
203 | #ifndef NUMBER_ONE | ||
204 | # define NUMBER_ONE | ||
205 | #endif | ||
206 | #ifndef CABBAGE_SONG | ||
207 | # define CABBAGE_SONG | ||
208 | #endif | ||
209 | #ifndef OLD_SPICE | ||
210 | # define OLD_SPICE | ||
211 | #endif | ||
212 | #ifndef VICTORY_FANFARE_SHORT | ||
213 | # define VICTORY_FANFARE_SHORT | ||
214 | #endif | ||
215 | #ifndef ALL_STAR | ||
216 | # define ALL_STAR | ||
217 | #endif | ||
218 | #ifndef RICK_ROLL | ||
219 | # define RICK_ROLL | ||
220 | #endif | ||
221 | #ifndef FF_PRELUDE | ||
222 | # define FF_PRELUDE | ||
223 | #endif | ||
224 | #ifndef TO_BOLDLY_GO | ||
225 | # define TO_BOLDLY_GO | ||
226 | #endif | ||
227 | #ifndef KATAWARE_DOKI | ||
228 | # define KATAWARE_DOKI | ||
229 | #endif | ||
230 | #ifndef MEGALOVANIA | ||
231 | # define MEGALOVANIA | ||
232 | #endif | ||
233 | #ifndef MICHISHIRUBE | ||
234 | # define MICHISHIRUBE | ||
235 | #endif | ||
236 | #ifndef LIEBESLEID | ||
237 | # define LIEBESLEID | ||
238 | #endif | ||
239 | #ifndef MELODIES_OF_LIFE | ||
240 | # define MELODIES_OF_LIFE | ||
241 | #endif | ||
242 | #ifndef EYES_ON_ME | ||
243 | # define EYES_ON_ME | ||
244 | #endif | ||
245 | #ifndef SONG_OF_THE_ANCIENTS | ||
246 | # define SONG_OF_THE_ANCIENTS | ||
247 | #endif | ||
248 | #ifndef NIER_AMUSEMENT_PARK | ||
249 | # define NIER_AMUSEMENT_PARK | ||
250 | #endif | ||
251 | #ifndef COPIED_CITY | ||
252 | # define COPIED_CITY | ||
253 | #endif | ||
254 | #ifndef VAGUE_HOPE_COLD_RAIN | ||
255 | # define VAGUE_HOPE_COLD_RAIN | ||
256 | #endif | ||
257 | #ifndef KAINE_SALVATION | ||
258 | # define KAINE_SALVATION | ||
259 | #endif | ||
260 | #ifndef WEIGHT_OF_THE_WORLD | ||
261 | # define WEIGHT_OF_THE_WORLD | ||
262 | #endif | ||
263 | #ifndef ISABELLAS_LULLABY | ||
264 | # define ISABELLAS_LULLABY | ||
265 | #endif | ||
266 | #ifndef TERRAS_THEME | ||
267 | # define TERRAS_THEME | ||
268 | #endif | ||
269 | #ifndef RENAI_CIRCULATION | ||
270 | # define RENAI_CIRCULATION | ||
271 | #endif | ||
272 | #ifndef PLATINUM_DISCO | ||
273 | # define PLATINUM_DISCO | ||
274 | #endif | ||
275 | #ifndef LP_NUMB | ||
276 | # define LP_NUMB | ||
277 | #endif | ||