add sprites for weaponshop
[rofl0r-openDOW.git] / music.c
blob27f4ba67b1f9d136979255e297a1fbcd01a69323
1 #include "music.h"
2 #include "audio.h"
4 #include "music/dogsofwar.c"
6 static enum tune_index current_tune;
8 int music_play(enum tune_index track) {
9 if(track != TUNE_INVALID) current_tune = track;
10 return audio_open_music_resource(dogsofwar_dw, dogsofwar_dw_size, current_tune);
13 int music_restart(void) {
14 return music_play(TUNE_INVALID);