mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-30 15:41:30 +00:00
cf3d416967
Textures now load up to 2x faster when "mix textures and flats" flag is set in game configuration. TEXTUREx/TEXTURES: texture will now be created if at least one of it's patches is loaded. Visual mode: fixed a crash when "Slope floor to here" (9500) or "Slope ceiling to here" (9501) things were not inside sector. Fixed: flats were not loaded form wads inside Directory and PK3/PK7 resources. Sector Info Panel, Linedef Info Panel: texture size was shown for unknown textures.
42 lines
983 B
C#
42 lines
983 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,
|
|
}
|
|
}
|