mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 17:41:09 +00:00
Visual mode: added support for "fogdensity" and "outsidefogdensity" MAPINFO properties. Sector Info panel now shows the number of sector's sidedefs as well as light and fade colors (UDMF only). UDMF: Sector and sidedef flags are now copied/pasted when using "Copy Properties" and "Paste Properties" actions. Fixed: in some cases default texture overrides were used even when corresponding option was disabled. Sector Edit form: light and fade values were not saved when a value was pasted/entered into text box. Sector Edit form: "reset value" button was not shown for light and fade values when selected sectors had different light/fade colors. Reverted Open Map form changes from previous commit (my assumption that map marker is always empty was not correct...) Updated documentation.
27 lines
744 B
C#
27 lines
744 B
C#
using SlimDX;
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.Data {
|
|
public sealed class MapInfo {
|
|
public string Sky1;
|
|
public float Sky1ScrollSpeed;
|
|
public string Sky2;
|
|
public float Sky2ScrollSpeed;
|
|
public bool DoubleSky;
|
|
public bool HasFadeColor;
|
|
public Color4 FadeColor;
|
|
public bool HasOutsideFogColor;
|
|
public Color4 OutsideFogColor;
|
|
public int FogDensity;
|
|
public int OutsideFogDensity;
|
|
|
|
public bool EvenLighting;
|
|
public bool SmoothLighting;
|
|
public int VertWallShade;
|
|
public int HorizWallShade;
|
|
|
|
public MapInfo() {
|
|
VertWallShade = 16;
|
|
HorizWallShade = -16;
|
|
}
|
|
}
|
|
}
|