DEADSOFTWARE

update copyrights
[flatwaifu.git] / src / music.h
index ab1d3e78868fae62e9a6b62f7cc08fa4912577e3..d8a133978beb10c1d64008c59fdbb698ef692b0d 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
+ */
+
 #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 */