- status screen fully scriptified but not active yet.
This commit is contained in:
parent
9a10a0f136
commit
a2f2be17ef
18 changed files with 1137 additions and 41 deletions
|
|
@ -1893,6 +1893,30 @@ void FLevelLocals::AddScroller (int secnum)
|
|||
}
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void FLevelLocals::SetInterMusic(const char *nextmap)
|
||||
{
|
||||
auto mus = level.info->MapInterMusic.CheckKey(nextmap);
|
||||
if (mus != nullptr)
|
||||
S_ChangeMusic(mus->first, mus->second);
|
||||
else if (level.info->InterMusic.IsNotEmpty())
|
||||
S_ChangeMusic(level.info->InterMusic, level.info->intermusicorder);
|
||||
else
|
||||
S_ChangeMusic(gameinfo.intermissionMusic.GetChars(), gameinfo.intermissionOrder);
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(FLevelLocals, SetInterMusic)
|
||||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FLevelLocals);
|
||||
PARAM_STRING(map);
|
||||
self->SetInterMusic(map);
|
||||
return 0;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue