Kompletter Nyan cat Song
This commit is contained in:
8
main.c
8
main.c
@@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "player.h"
|
||||
|
||||
#include "song.h"
|
||||
|
||||
void shutdown(void) {
|
||||
//Diese Methode wird von beim beenden aufgerufen.
|
||||
@@ -15,6 +15,10 @@ int main(void) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
playIntro();
|
||||
//Intro
|
||||
play(intro, noteDurations, introlength);
|
||||
|
||||
//Main theme
|
||||
play(melody, melodyNoteDurations, songlength);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user