diff --git a/music/covert_operations.mp3 b/music/covert_operations.mp3 new file mode 100644 index 0000000..761045b Binary files /dev/null and b/music/covert_operations.mp3 differ diff --git a/src/challenges/challengeHome.c b/src/challenges/challengeHome.c index 791ab2e..43cb7d3 100644 --- a/src/challenges/challengeHome.c +++ b/src/challenges/challengeHome.c @@ -88,6 +88,8 @@ void initChallengeHome(void) getWidget("ok", "stats")->action = statsOK; endSectionTransition(); + + playMusic("music/covert_operations.mp3"); } static void unlockChallenges(void) diff --git a/src/challenges/challengeHome.h b/src/challenges/challengeHome.h index a121d7b..bd2bfb6 100644 --- a/src/challenges/challengeHome.h +++ b/src/challenges/challengeHome.h @@ -56,6 +56,7 @@ extern char *getTranslatedString(char *string); extern void blit(SDL_Texture *t, int x, int y, int centered); extern char *getBackgroundTextureName(int n); extern char *getPlanetTextureName(int n); +extern void playMusic(char *filename); extern App app; extern Battle battle;