2019-11-10 22:58:51 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-01-27 19:53:41 +00:00
|
|
|
#include "zstring.h"
|
|
|
|
|
2019-11-10 22:58:51 +00:00
|
|
|
// Totally minimalistic interface - should be all the game modules need.
|
|
|
|
|
2019-11-11 00:01:18 +00:00
|
|
|
void Mus_Init();
|
2019-11-11 23:43:07 +00:00
|
|
|
int Mus_Play(const char *mapname, const char *fn, bool loop);
|
2019-11-10 22:58:51 +00:00
|
|
|
void Mus_Stop();
|
2019-12-26 12:04:29 +00:00
|
|
|
bool Mus_IsPlaying();
|
2019-12-07 17:28:30 +00:00
|
|
|
void Mus_Fade(double seconds);
|
2019-11-10 22:58:51 +00:00
|
|
|
void Mus_SetPaused(bool on);
|
2019-12-26 12:04:29 +00:00
|
|
|
void Mus_ResumeSaved();
|
2020-01-27 19:53:41 +00:00
|
|
|
FString G_SetupFilenameBasedMusic(const char* fileName, const char *defaultfn);
|
2020-02-23 13:03:03 +00:00
|
|
|
class FSerializer;
|
|
|
|
void Mus_Serialize(FSerializer& arc);
|