- moved the OpenGL fog properties to FLevelLocals to simplify their handling.
- added access to the glow properties for ZSCript and ACS.
This commit is contained in:
parent
72ecaba50a
commit
44a087554f
22 changed files with 248 additions and 200 deletions
|
|
@ -1216,6 +1216,28 @@ DEFINE_MAP_OPTION(hazardflash, true)
|
|||
info->hazardflash = V_GetColor(NULL, parse.sc);
|
||||
}
|
||||
|
||||
DEFINE_MAP_OPTION(fogdensity, false)
|
||||
{
|
||||
parse.ParseAssign();
|
||||
parse.sc.MustGetNumber();
|
||||
info->fogdensity = clamp(parse.sc.Number, 0, 512) >> 1;
|
||||
}
|
||||
|
||||
DEFINE_MAP_OPTION(outsidefogdensity, false)
|
||||
{
|
||||
parse.ParseAssign();
|
||||
parse.sc.MustGetNumber();
|
||||
info->outsidefogdensity = clamp(parse.sc.Number, 0, 512) >> 1;
|
||||
}
|
||||
|
||||
DEFINE_MAP_OPTION(skyfog, false)
|
||||
{
|
||||
parse.ParseAssign();
|
||||
parse.sc.MustGetNumber();
|
||||
info->skyfog = parse.sc.Number;
|
||||
}
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// All flag based map options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue