mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
Attempt to fix music replacement definitions again
Store per-map music replacements in a TMap, and perform the replacements after parsing the MAPINFO
This commit is contained in:
parent
f675adebbd
commit
2297c9351a
4 changed files with 24 additions and 1 deletions
|
@ -209,6 +209,8 @@ struct SummaryInfo
|
|||
extern GlobalCutscenes globalCutscenes;
|
||||
extern MapRecord *currentLevel;
|
||||
|
||||
void SetMusicReplacement(const char *mapname, const char *music);
|
||||
void ReplaceMusics(bool namehack = false);
|
||||
bool SetMusicForMap(const char* mapname, const char* music, bool namehack = false);
|
||||
|
||||
MapRecord *FindMapByName(const char *nm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue