Added LightningSound MAPINFO property.
Also added a tempSound parameter to ForceLightning(). Allowing for changing the specific sound that particular thunderbolt makes when it hits.
This commit is contained in:
parent
ecdf6f7cb2
commit
ce2a0c9295
8 changed files with 41 additions and 12 deletions
|
|
@ -250,6 +250,7 @@ void level_info_t::Reset()
|
|||
else
|
||||
flags2 = LEVEL2_LAXMONSTERACTIVATION;
|
||||
flags3 = 0;
|
||||
LightningSound = "world/thunder";
|
||||
Music = "";
|
||||
LevelName = "";
|
||||
AuthorName = "";
|
||||
|
|
@ -997,6 +998,13 @@ DEFINE_MAP_OPTION(next, true)
|
|||
parse.ParseNextMap(info->NextMap);
|
||||
}
|
||||
|
||||
DEFINE_MAP_OPTION(lightningsound, true)
|
||||
{
|
||||
parse.ParseAssign();
|
||||
parse.sc.MustGetString();
|
||||
info->LightningSound = parse.sc.String;
|
||||
}
|
||||
|
||||
DEFINE_MAP_OPTION(author, true)
|
||||
{
|
||||
parse.ParseAssign();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue