raze-gles/source/core/raze_music.h

22 lines
593 B
C
Raw Normal View History

2019-11-10 22:58:51 +00:00
#pragma once
#include "zstring.h"
#include "tarray.h"
#include "name.h"
typedef TMap<FName, FName> MusicAliasMap;
extern MusicAliasMap MusicAliases;
2019-11-10 22:58:51 +00:00
// Totally minimalistic interface - should be all the game modules need.
void Mus_InitMusic();
void Mus_UpdateMusic();
int Mus_Play(const char *mapname, const char *fn, bool loop);
2019-11-10 22:58:51 +00:00
void Mus_Stop();
bool Mus_IsPlaying();
void Mus_Fade(double seconds);
2019-11-10 22:58:51 +00:00
void Mus_SetPaused(bool on);
void Mus_ResumeSaved();
FString G_SetupFilenameBasedMusic(const char* fileName, const char *defaultfn);
class FSerializer;
void Mus_Serialize(FSerializer& arc);