mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-18 08:01:36 +00:00
16b97e1c83
Dynamic lights defined in GLDEFS are now rendered in Visual modes (currently only one light per Thing is supported). Several values from (Z)MAPINFO are now used in Visual modes. Added "Reload GLDEFS", "Reload (Z)MAPINFO" and "Reload MODELDEF" menu options (in "Tools" section). MODELDEF parser now checks which model(s) is/are used in first frame. Dynamic lights are now created with more meaningful default parameters. Added errors and warnings indicator to main window.
27 lines
718 B
C#
27 lines
718 B
C#
using System;
|
|
using SlimDX;
|
|
using SlimDX.Direct3D9;
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.Data {
|
|
public 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 bool EvenLighting;
|
|
public bool SmoothLighting;
|
|
public int VertWallShade;
|
|
public int HorizWallShade;
|
|
|
|
public MapInfo() {
|
|
VertWallShade = 16;
|
|
HorizWallShade = -16;
|
|
}
|
|
}
|
|
}
|