UltimateZoneBuilder/Source/Core/GZBuilder/Data/DynamicLight.cs
MaxED 15b2adfe30 Texture Browser Form: swapped foreground and background colors of texture size labels.
Fixed, Texture Browser Form: well, I broke "Tab" key functionality again (in previous commit)...
Maintenance: changed curly braces style to match DB2 one (hopefully not breaking anything in the process...).
Maintenance: changed private method names casing to match DB2 one.
2014-12-03 23:15:26 +00:00

44 lines
819 B
C#

using SlimDX;
namespace CodeImp.DoomBuilder.GZBuilder.Data
{
public sealed class DynamicLightData
{
public DynamicLightType Type; //holds DynamicLightType
public Color3 Color;
public int PrimaryRadius;
public int SecondaryRadius;
public int Interval;
public Vector3 Offset;
public bool Subtractive;
public bool DontLightSelf;
public DynamicLightData()
{
Color = new Color3();
Offset = new Vector3();
}
}
public enum DynamicLightType
{
NONE = -1,
NORMAL = 0,
PULSE = 1,
FLICKER = 2,
SECTOR = 3,
RANDOM = 4,
VAVOOM = 1502,
VAVOOM_COLORED = 1503,
}
//divide these by 100 to get light color alpha
public enum DynamicLightRenderStyle
{
NONE = 0,
NORMAL = 99,
VAVOOM = 50,
ADDITIVE = 25,
NEGATIVE = 100,
}
}