X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fmusic.h;h=d8a133978beb10c1d64008c59fdbb698ef692b0d;hp=ab1d3e78868fae62e9a6b62f7cc08fa4912577e3;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=2bb81ea2565c3627c954b5c37326db89b0048472 diff --git a/src/music.h b/src/music.h index ab1d3e7..d8a1339 100644 --- a/src/music.h +++ b/src/music.h @@ -1,18 +1,35 @@ +/* Copyright (C) 2020 SovietPony + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License ONLY. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #ifndef MUSIC_H_INCLUDED #define MUSIC_H_INCLUDED -extern short mus_vol; -extern char music_random; -extern int music_time; -extern int music_fade; +#include "menu.h" +#include "system.h" + +const cfg_t *MUS_args (void); +const cfg_t *MUS_conf (void); +const menu_t *MUS_menu (void); -void S_initmusic (void); -void S_donemusic (void); -void S_startmusic (int time); -void S_stopmusic (void); -void S_volumemusic (int v); -void F_loadmus (char n[8]); -void F_freemus (void); -void S_updatemusic (void); +void MUS_init (void); +void MUS_done (void); +void MUS_start (int time); +void MUS_stop (void); +void MUS_volume (int v); +void MUS_load (char n[8]); +void MUS_free (void); +void MUS_update (void); #endif /* MUSIC_H_INCLUDED */