mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-09 02:11:16 +00:00
5cb573d938
Enhanced scripting workflow. Thing and linedef arguments can now have default value in configuration files. Fixed laggy visual camera movement on systems with big uptime. Fixed incorrect alignment of Things with "hangs" flag in GZDoom Visual mode. Fixed Editor crash when nodebuilder fails to build map. A window with error description will be shown instead. Doom light levels were used even in maps in non-doom map format. Tag Explorer plugin: Elements list wasn't updated when map element was deleted. Pugin wasn't disposed properly, which may led to Doom Builder 2 crash on map close. Fixed plugin crash after opening another map. Fixed unresponsive text entry in Filter text box. Fixed plugin crash when Doom Builder can't determmine thing category ("UNKNOWN" category will be used instead).
41 lines
950 B
C#
41 lines
950 B
C#
using System;
|
|
using SlimDX;
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.Data
|
|
{
|
|
public 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
|
|
{
|
|
NORMAL = 99,
|
|
VAVOOM = 50,
|
|
ADDITIVE = 25,
|
|
NEGATIVE = 100,
|
|
}
|
|
}
|