mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-21 11:20:58 +00:00
Added new flags for internal dynamic lights (reported by Nash)
This commit is contained in:
parent
7603e5fa30
commit
f14a4bd64a
3 changed files with 6 additions and 6 deletions
|
@ -61,11 +61,11 @@ namespace CodeImp.DoomBuilder.GZBuilder
|
||||||
{
|
{
|
||||||
int baseType = light % 10;
|
int baseType = light % 10;
|
||||||
int dispType = light - baseType;
|
int dispType = light - baseType;
|
||||||
if (actor.GetFlagValue("MISSILEMORE", false))
|
if (actor.GetFlagValue("MISSILEMORE", false) || actor.GetFlagValue("DYNAMICLIGHT.ADDITIVE", false))
|
||||||
dispType = 9810;
|
dispType = 9810;
|
||||||
else if (actor.GetFlagValue("MISSILEEVENMORE", false))
|
else if (actor.GetFlagValue("MISSILEEVENMORE", false) || actor.GetFlagValue("DYNAMICLIGHT.SUBTRACTIVE", false))
|
||||||
dispType = 9820;
|
dispType = 9820;
|
||||||
else if (actor.GetFlagValue("INCOMBAT", false))
|
else if (actor.GetFlagValue("INCOMBAT", false) || actor.GetFlagValue("DYNAMICLIGHT.ATTENUATE", false))
|
||||||
dispType = 9830;
|
dispType = 9830;
|
||||||
return dispType + baseType;
|
return dispType + baseType;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,6 @@ using CodeImp.DoomBuilder;
|
||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.3.0.2978")]
|
[assembly: AssemblyVersion("2.3.0.2979")]
|
||||||
[assembly: NeutralResourcesLanguageAttribute("en")]
|
[assembly: NeutralResourcesLanguageAttribute("en")]
|
||||||
[assembly: AssemblyHash("d9d8c35")]
|
[assembly: AssemblyHash("7603e5f")]
|
||||||
|
|
|
@ -29,5 +29,5 @@ using System.Resources;
|
||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.3.0.2978")]
|
[assembly: AssemblyVersion("2.3.0.2979")]
|
||||||
[assembly: NeutralResourcesLanguageAttribute("en")]
|
[assembly: NeutralResourcesLanguageAttribute("en")]
|
||||||
|
|
Loading…
Reference in a new issue