mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 16:40:40 +00:00
6a8efb7520
# Conflicts: # source/core/music/music.cpp # Conflicts: # source/build/src/palette.cpp
21 lines
593 B
C++
21 lines
593 B
C++
#pragma once
|
|
|
|
#include "zstring.h"
|
|
#include "tarray.h"
|
|
#include "name.h"
|
|
|
|
typedef TMap<FName, FName> MusicAliasMap;
|
|
extern MusicAliasMap MusicAliases;
|
|
|
|
// 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);
|
|
void Mus_Stop();
|
|
bool Mus_IsPlaying();
|
|
void Mus_Fade(double seconds);
|
|
void Mus_SetPaused(bool on);
|
|
void Mus_ResumeSaved();
|
|
FString G_SetupFilenameBasedMusic(const char* fileName, const char *defaultfn);
|
|
class FSerializer;
|
|
void Mus_Serialize(FSerializer& arc);
|