- allow specification of intermission music based on the destination map.
This commit is contained in:
parent
03ac816e83
commit
bb7e191208
3 changed files with 17 additions and 1 deletions
|
|
@ -915,6 +915,18 @@ DEFINE_MAP_OPTION(intermusic, true)
|
|||
parse.ParseMusic(info->InterMusic, info->intermusicorder);
|
||||
}
|
||||
|
||||
DEFINE_MAP_OPTION(mapintermusic, true)
|
||||
{
|
||||
parse.ParseAssign();
|
||||
parse.sc.MustGetString();
|
||||
FString mapname = parse.sc.String;
|
||||
FString music;
|
||||
int order;
|
||||
parse.ParseComma();
|
||||
parse.ParseMusic(music, order);
|
||||
info->MapInterMusic[FName(mapname)] = std::make_pair(music, order);
|
||||
}
|
||||
|
||||
DEFINE_MAP_OPTION(fadetable, true)
|
||||
{
|
||||
parse.ParseAssign();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue