mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-24 04:41:10 +00:00
fb0db718a0
Tag Explorer: comments can now be edited properly.
42 lines
976 B
C#
42 lines
976 B
C#
using System;
|
|
using SlimDX;
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.Data
|
|
{
|
|
public sealed class GZDoomLight {
|
|
public int Type; //holds GZDoomLightType
|
|
public Color3 Color;
|
|
public int PrimaryRadius;
|
|
public int SecondaryRadius;
|
|
public int Interval;
|
|
public Vector3 Offset;
|
|
public bool Subtractive;
|
|
public bool DontLightSelf;
|
|
|
|
public GZDoomLight() {
|
|
Color = new Color3();
|
|
Offset = new Vector3();
|
|
}
|
|
}
|
|
|
|
public enum GZDoomLightType : int
|
|
{
|
|
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 GZDoomLightRenderStyle : int
|
|
{
|
|
NONE = 0,
|
|
NORMAL = 99,
|
|
VAVOOM = 50,
|
|
ADDITIVE = 25,
|
|
NEGATIVE = 100,
|
|
}
|
|
}
|