mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 04:20:45 +00:00
fc1fbfe8b3
This was incomplete and just ignored Duke's special music, and the levelnum generation used an outdated formula so that it never managed to assign any music to the maps.
22 lines
659 B
C++
22 lines
659 B
C++
#pragma once
|
|
|
|
#include "zstring.h"
|
|
#include "tarray.h"
|
|
#include "name.h"
|
|
|
|
typedef TMap<FName, FName> MusicAliasMap;
|
|
extern MusicAliasMap MusicAliases;
|
|
extern TArray<FString> specialmusic;
|
|
|
|
// 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_SetPaused(bool on);
|
|
void Mus_ResumeSaved();
|
|
FString G_SetupFilenameBasedMusic(const char* fileName, const char *defaultfn);
|
|
class FSerializer;
|
|
void Mus_Serialize(FSerializer& arc);
|
|
int LookupMusic(const char* fn, bool onlyextended = false);
|