Allow for user song list (#9281)

master
Drashna Jaelre 2020-07-15 23:45:50 -07:00 committed by GitHub
parent fc13315300
commit f11437aef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 132 additions and 41 deletions

3
.gitignore vendored
View File

@ -73,3 +73,6 @@ __pycache__
# prerequisites for updating ChibiOS # prerequisites for updating ChibiOS
/util/fmpp* /util/fmpp*
# Allow to exist but don't include it in the repo
user_song_list.h

View File

@ -20,6 +20,12 @@
#include "musical_notes.h" #include "musical_notes.h"
#if __GNUC__ > 5 // don't use for older gcc compilers since check isn't supported.
# if __has_include("user_song_list.h")
# include "user_song_list.h"
# endif // if file exists
#endif // __GNUC__
#define NO_SOUND #define NO_SOUND
/* Ode to Joy /* Ode to Joy
@ -146,44 +152,126 @@
* proof of permission to use them, or public domain status. * proof of permission to use them, or public domain status.
*/ */
#define CLOSE_ENCOUNTERS_5_NOTE #ifndef CLOSE_ENCOUNTERS_5_NOTE
#define DOE_A_DEER # define CLOSE_ENCOUNTERS_5_NOTE
#define IN_LIKE_FLINT #endif
#define IMPERIAL_MARCH #ifndef DOE_A_DEER
#define BASKET_CASE # define DOE_A_DEER
#define COIN_SOUND #endif
#define ONE_UP_SOUND #ifndef IN_LIKE_FLINT
#define SONIC_RING # define IN_LIKE_FLINT
#define ZELDA_PUZZLE #endif
#define ZELDA_TREASURE #ifndef IMPERIAL_MARCH
#define OVERWATCH_THEME # define IMPERIAL_MARCH
#define MARIO_THEME #endif
#define MARIO_GAMEOVER #ifndef BASKET_CASE
#define MARIO_MUSHROOM # define BASKET_CASE
#define E1M1_DOOM #endif
#define DISNEY_SONG #ifndef COIN_SOUND
#define NUMBER_ONE # define COIN_SOUND
#define CABBAGE_SONG #endif
#define OLD_SPICE #ifndef ONE_UP_SOUND
#define VICTORY_FANFARE_SHORT # define ONE_UP_SOUND
#define ALL_STAR #endif
#define RICK_ROLL #ifndef SONIC_RING
#define FF_PRELUDE # define SONIC_RING
#define TO_BOLDLY_GO #endif
#define KATAWARE_DOKI #ifndef ZELDA_PUZZLE
#define MEGALOVANIA # define ZELDA_PUZZLE
#define MICHISHIRUBE #endif
#define LIEBESLEID #ifndef ZELDA_TREASURE
#define MELODIES_OF_LIFE # define ZELDA_TREASURE
#define EYES_ON_ME #endif
#define SONG_OF_THE_ANCIENTS #ifndef OVERWATCH_THEME
#define NIER_AMUSEMENT_PARK # define OVERWATCH_THEME
#define COPIED_CITY #endif
#define VAGUE_HOPE_COLD_RAIN #ifndef MARIO_THEME
#define KAINE_SALVATION # define MARIO_THEME
#define WEIGHT_OF_THE_WORLD #endif
#define ISABELLAS_LULLABY #ifndef MARIO_GAMEOVER
#define TERRAS_THEME # define MARIO_GAMEOVER
#define RENAI_CIRCULATION #endif
#define PLATINUM_DISCO #ifndef MARIO_MUSHROOM
#define LP_NUMB # define MARIO_MUSHROOM
#endif
#ifndef E1M1_DOOM
# define E1M1_DOOM
#endif
#ifndef DISNEY_SONG
# define DISNEY_SONG
#endif
#ifndef NUMBER_ONE
# define NUMBER_ONE
#endif
#ifndef CABBAGE_SONG
# define CABBAGE_SONG
#endif
#ifndef OLD_SPICE
# define OLD_SPICE
#endif
#ifndef VICTORY_FANFARE_SHORT
# define VICTORY_FANFARE_SHORT
#endif
#ifndef ALL_STAR
# define ALL_STAR
#endif
#ifndef RICK_ROLL
# define RICK_ROLL
#endif
#ifndef FF_PRELUDE
# define FF_PRELUDE
#endif
#ifndef TO_BOLDLY_GO
# define TO_BOLDLY_GO
#endif
#ifndef KATAWARE_DOKI
# define KATAWARE_DOKI
#endif
#ifndef MEGALOVANIA
# define MEGALOVANIA
#endif
#ifndef MICHISHIRUBE
# define MICHISHIRUBE
#endif
#ifndef LIEBESLEID
# define LIEBESLEID
#endif
#ifndef MELODIES_OF_LIFE
# define MELODIES_OF_LIFE
#endif
#ifndef EYES_ON_ME
# define EYES_ON_ME
#endif
#ifndef SONG_OF_THE_ANCIENTS
# define SONG_OF_THE_ANCIENTS
#endif
#ifndef NIER_AMUSEMENT_PARK
# define NIER_AMUSEMENT_PARK
#endif
#ifndef COPIED_CITY
# define COPIED_CITY
#endif
#ifndef VAGUE_HOPE_COLD_RAIN
# define VAGUE_HOPE_COLD_RAIN
#endif
#ifndef KAINE_SALVATION
# define KAINE_SALVATION
#endif
#ifndef WEIGHT_OF_THE_WORLD
# define WEIGHT_OF_THE_WORLD
#endif
#ifndef ISABELLAS_LULLABY
# define ISABELLAS_LULLABY
#endif
#ifndef TERRAS_THEME
# define TERRAS_THEME
#endif
#ifndef RENAI_CIRCULATION
# define RENAI_CIRCULATION
#endif
#ifndef PLATINUM_DISCO
# define PLATINUM_DISCO
#endif
#ifndef LP_NUMB
# define LP_NUMB
#endif