From 0a74ca24b67b4e36d84447caa2f0ea464313bd42 Mon Sep 17 00:00:00 2001
From: biwa <6475593+biwa@users.noreply.github.com>
Date: Tue, 24 Oct 2023 15:51:49 +0200
Subject: [PATCH 1/2] Added ability to enable/disable controls in the UDMF map
element editing dialogs based on UDMF fields specified in the game
configurations (#953)
---
.../Includes/Eternity_common.cfg | 6 -
.../Configurations/Includes/Eternity_misc.cfg | 280 +-
Build/Configurations/Includes/ZDoom_misc.cfg | 564 +--
Source/Core/Builder.csproj | 1 -
Source/Core/BuilderMono.csproj | 1 -
Source/Core/Config/GameConfiguration.cs | 53 +-
Source/Core/Config/UniversalFieldInfo.cs | 3 +
Source/Core/Controls/FieldsEditorControl.cs | 6 +-
.../Core/Controls/SidedefPartLightControl.cs | 8 -
Source/Core/IO/UniversalMapSetIO.cs | 60 +-
Source/Core/Resources/UDMF_UI.cfg | 104 -
.../Windows/LinedefEditFormUDMF.Designer.cs | 33 +-
Source/Core/Windows/LinedefEditFormUDMF.cs | 71 +-
.../Windows/SectorEditFormUDMF.Designer.cs | 4018 +++++++++--------
Source/Core/Windows/SectorEditFormUDMF.cs | 47 +-
.../Windows/ThingEditFormUDMF.Designer.cs | 24 +
Source/Core/Windows/ThingEditFormUDMF.cs | 33 +
17 files changed, 2802 insertions(+), 2510 deletions(-)
delete mode 100755 Source/Core/Resources/UDMF_UI.cfg
diff --git a/Build/Configurations/Includes/Eternity_common.cfg b/Build/Configurations/Includes/Eternity_common.cfg
index bd636a08..24c1253a 100755
--- a/Build/Configurations/Includes/Eternity_common.cfg
+++ b/Build/Configurations/Includes/Eternity_common.cfg
@@ -388,12 +388,6 @@ mapformat_udmf
include("Eternity_misc.cfg", "thingflags_udmf");
}
- // THING RENSERSTYLES
- thingrenderstyles
- {
- include("UDMF_misc.cfg", "thingrenderstyles");
- }
-
// How to compare thing flags (for the stuck things error checker)
thingflagscompare
{
diff --git a/Build/Configurations/Includes/Eternity_misc.cfg b/Build/Configurations/Includes/Eternity_misc.cfg
index 5a61ef36..30b9084c 100755
--- a/Build/Configurations/Includes/Eternity_misc.cfg
+++ b/Build/Configurations/Includes/Eternity_misc.cfg
@@ -55,16 +55,30 @@ universalfields
type = 2;
default = "";
}
-/* FIXME: should I add renderstyle and alpha? */
+
+ renderstyle
+ {
+ type = 2;
+ default = "";
+ }
+
+ alpha
+ {
+ type = 1;
+ default = 1.0;
+ }
+
tranmap
{
type = 2;
default = "";
+ managed = false;
}
portal
{
type = 0;
default = 0;
+ managed = false;
}
}
@@ -76,40 +90,16 @@ universalfields
default = "";
}
- offsetx_top
+ light
{
- type = 1;
- default = 0.0;
+ type = 0;
+ default = 0;
}
- offsety_bottom
+ lightabsolute
{
- type = 1;
- default = 0.0;
- }
-
- offsetx_bottom
- {
- type = 1;
- default = 0.0;
- }
-
- offsetx_mid
- {
- type = 1;
- default = 0.0;
- }
-
- offsety_top
- {
- type = 1;
- default = 0.0;
- }
-
- offsety_mid
- {
- type = 1;
- default = 0.0;
+ type = 3;
+ default = false;
}
light_top
@@ -153,6 +143,7 @@ universalfields
type = 16;
enum = "skew_type";
default = "none";
+ managed = false;
}
skew_middle_type
@@ -160,6 +151,7 @@ universalfields
type = 16;
enum = "skew_type";
default = "none";
+ managed = false;
}
skew_bottom_type
@@ -167,6 +159,43 @@ universalfields
type = 16;
enum = "skew_type";
default = "none";
+ managed = false;
+ }
+
+ offsetx_bottom
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsetx_mid
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsetx_top
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsety_bottom
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsety_mid
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsety_top
+ {
+ type = 1;
+ default = 0.0;
}
}
@@ -177,6 +206,12 @@ universalfields
type = 2;
default = "";
}
+
+ health
+ {
+ type = 1;
+ default = 1.0;
+ }
}
sector
@@ -186,48 +221,133 @@ universalfields
type = 2;
default = "";
}
+
friction
{
type = 0;
default = -1;
}
-/* FIXME: should I add damagetype? Or lightfloor, lightceiling,
-floorterain, ceilingterrain, floor/ceiling panning/rotation */
+
+ ceilingterrain
+ {
+ type = 2;
+ default = "";
+ }
+
+ floorterrain
+ {
+ type = 2;
+ default = "";
+ }
+
+ soundsequence
+ {
+ type = 2;
+ default = "";
+ }
+
+ lightceiling
+ {
+ type = 0;
+ default = 0;
+ }
+
+ lightceilingabsolute
+ {
+ type = 3;
+ default = false;
+ }
+
+ lightfloor
+ {
+ type = 0;
+ default = 0;
+ }
+
+ lightfloorabsolute
+ {
+ type = 3;
+ default = false;
+ }
+
+ rotationfloor
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ rotationceiling
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ damagetype
+ {
+ type = 2;
+ default = "";
+ }
+
+ damageamount
+ {
+ type = 0;
+ default = 0;
+ }
+
+ damageinterval
+ {
+ type = 0;
+ default = 32;
+ }
+
+ leakiness
+ {
+ type = 0;
+ default = 0;
+ }
+
colormaptop
{
type = 2;
default = "@default";
}
+
colormapmid
{
type = 2;
default = "@default";
}
+
colormapbottom
{
type = 2;
default = "@default";
}
+
portal_ceil_overlaytype
{
type = 2;
default = "none";
}
+
alphaceiling
{
type = 1;
- default = 1;
+ default = 1.0;
}
+
portal_floor_overlaytype
{
type = 2;
default = "none";
}
+
alphafloor
{
type = 1;
- default = 1;
+ default = 1.0;
}
+
portalfloor
{
type = 0;
@@ -251,6 +371,7 @@ floorterain, ceilingterrain, floor/ceiling panning/rotation */
}
}
}
+
portalceiling
{
type = 0;
@@ -294,6 +415,7 @@ floorterain, ceilingterrain, floor/ceiling panning/rotation */
}
}
}
+
ceilingid
{
type = 0;
@@ -315,6 +437,7 @@ floorterain, ceilingterrain, floor/ceiling panning/rotation */
}
}
}
+
attachfloor
{
type = 0;
@@ -350,6 +473,7 @@ floorterain, ceilingterrain, floor/ceiling panning/rotation */
}
}
}
+
attachceiling
{
type = 0;
@@ -385,35 +509,89 @@ floorterain, ceilingterrain, floor/ceiling panning/rotation */
}
}
}
+
scroll_ceil_x
{
type = 1;
}
+
scroll_ceil_y
{
type = 1;
}
+
scroll_ceil_type
{
type = 2;
default = "none";
tooltip = "Available options: none, visual. Controls whether to scroll the texture. Currently thing transporting is not supported for ceiling scrollers.";
}
+
scroll_floor_x
{
type = 1;
}
+
scroll_floor_y
{
type = 1;
}
+
scroll_floor_type
{
type = 2;
default = "none";
tooltip = "Available options: none, visual, physical or both. Controls whether to scroll the texture and/or transport the things";
}
-
+
+ xpanningceiling
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ ypanningceiling
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ xscaleceiling
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ yscaleceiling
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ xpanningfloor
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ xpanningfloor
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ xscalefloor
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ yscalefloor
+ {
+ type = 1;
+ default = 1.0;
+ }
+
}
}
@@ -703,39 +881,39 @@ enums
front_ceiling = "Skew to front-sector ceiling slope";
back_floor = "Skew to back-sector floor slope";
back_ceiling = "Skew to back-sector ceiling slope";
- }
+ }
}
// Default thing filters
// (these are not required, just useful for new users)
thingsfilters_udmf
{
-
+
filter0
{
name = "Keys only";
category = "keys";
type = -1;
}
-
+
filter1
{
name = "Deathmatch";
category = "";
type = -1;
-
+
fields
{
dm = true;
}
}
-
+
filter2
{
name = "Cooperative";
category = "";
type = -1;
-
+
fields
{
coop = true;
@@ -747,55 +925,55 @@ thingsfilters_udmf
name = "Skill 1";
category = "";
type = -1;
-
+
fields
{
skill1 = true;
}
}
-
+
filter4
{
name = "Skill 2";
category = "";
type = -1;
-
+
fields
{
skill2 = true;
}
}
-
+
filter5
{
name = "Skill 3";
category = "";
type = -1;
-
+
fields
{
skill3 = true;
}
}
-
+
filter6
{
name = "Skill 4";
category = "";
type = -1;
-
+
fields
{
skill4 = true;
}
}
-
+
filter7
{
name = "Skill 5";
category = "";
type = -1;
-
+
fields
{
skill5 = true;
diff --git a/Build/Configurations/Includes/ZDoom_misc.cfg b/Build/Configurations/Includes/ZDoom_misc.cfg
index aeda05a0..a5a037c2 100755
--- a/Build/Configurations/Includes/ZDoom_misc.cfg
+++ b/Build/Configurations/Includes/ZDoom_misc.cfg
@@ -298,38 +298,18 @@ universalfields
{
linedef
{
- comment
+ alpha
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ arg0str
{
type = 2;
default = "";
}
-
- health
- {
- type = 0;
- default = 0;
- }
-
- healthgroup
- {
- type = 0;
- default = 0;
- }
-
- // Should be moved to flags eventually
- damagespecial
- {
- type = 3;
- default = false;
- }
-
- // Should be moved to flags eventually
- deathspecial
- {
- type = 3;
- default = false;
- }
-
+
automapstyle
{
type = 11;
@@ -351,19 +331,44 @@ universalfields
12 = "Unexplored secret wall";
13 = "Portal line";
}
+ managed = false;
}
- arg0str
+ comment
{
type = 2;
default = "";
}
-
- alpha
+
+ // Should be moved to flags eventually
+ damagespecial
{
- type = 1;
- default = 1.0;
+ type = 3;
+ default = false;
+ managed = false;
}
+
+ // Should be moved to flags eventually
+ deathspecial
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ health
+ {
+ type = 0;
+ default = 0;
+ managed = false;
+ }
+
+ healthgroup
+ {
+ type = 0;
+ default = 0;
+ managed = false;
+ }
locknumber
{
@@ -381,25 +386,35 @@ universalfields
{
type = 0;
default = 0;
+ managed = false;
}
lm_sampledist_top
{
type = 0;
default = 0;
+ managed = false;
}
lm_sampledist_mid
{
type = 0;
default = 0;
+ managed = false;
}
lm_sampledist_bot
{
type = 0;
default = 0;
+ managed = false;
}
+
+ renderstyle
+ {
+ type = 2;
+ default = "";
+ }
}
sidedef
@@ -410,88 +425,16 @@ universalfields
default = "";
}
- scalex_mid
- {
- type = 1;
- default = 1.0;
- }
-
- lightabsolute
- {
- type = 3;
- default = false;
- }
-
- offsetx_top
- {
- type = 1;
- default = 0.0;
- }
-
- scalex_bottom
- {
- type = 1;
- default = 1.0;
- }
-
- offsety_bottom
- {
- type = 1;
- default = 0.0;
- }
-
- offsetx_bottom
- {
- type = 1;
- default = 0.0;
- }
-
- scaley_bottom
- {
- type = 1;
- default = 1.0;
- }
-
light
{
type = 0;
default = 0;
}
- offsetx_mid
+ lightabsolute
{
- type = 1;
- default = 0.0;
- }
-
- offsety_top
- {
- type = 1;
- default = 0.0;
- }
-
- scaley_top
- {
- type = 1;
- default = 1.0;
- }
-
- scaley_mid
- {
- type = 1;
- default = 1.0;
- }
-
- offsety_mid
- {
- type = 1;
- default = 0.0;
- }
-
- scalex_top
- {
- type = 1;
- default = 1.0;
+ type = 3;
+ default = false;
}
light_top
@@ -528,6 +471,78 @@ universalfields
{
type = 3;
default = false;
+ }
+
+ offsetx_bottom
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsetx_mid
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsetx_top
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsety_bottom
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsety_mid
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ offsety_top
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ scalex_bottom
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ scalex_mid
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ scalex_top
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ scaley_bottom
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ scaley_mid
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ scaley_top
+ {
+ type = 1;
+ default = 1.0;
}
lm_sampledist
@@ -557,16 +572,194 @@ universalfields
thing
{
+ alpha
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ arg0str
+ {
+ type = 2;
+ default = "";
+ }
+
+ class6
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class7
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class8
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class9
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class10
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class11
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class12
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class13
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class14
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class15
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
+ class16
+ {
+ type = 3;
+ default = false;
+ managed = false;
+ }
+
comment
{
type = 2;
default = "";
}
+
+ conversation
+ {
+ type = 0;
+ default = 0;
+ }
+
+ fillcolor
+ {
+ type = 0;
+ default = 0;
+ }
+
+ floatbobphase
+ {
+ type = 0;
+ default = -1;
+ }
+
+ gravity
+ {
+ type = 1;
+ default = 0.0;
+ }
+
+ health
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ lm_gridsize
+ {
+ type = 1;
+ default = 32.0;
+ thingtypespecific = true;
+ managed = false;
+ }
+
+ lm_sampledistance
+ {
+ type = 0;
+ default = 8;
+ thingtypespecific = true;
+ managed = false;
+ }
+
+ lm_suncolor
+ {
+ type = 10;
+ default = 16777215;
+ thingtypespecific = true;
+ managed = false;
+ }
+
+ pitch
+ {
+ type = 0;
+ }
+
+ renderstyle
+ {
+ type = 2;
+ default = "";
+ }
+
+ roll
+ {
+ type = 0;
+ }
+
+ scalex
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ scaley
+ {
+ type = 1;
+ default = 1.0;
+ }
+
+ score
+ {
+ type = 0;
+ default = 0;
+ }
skill6
{
type = 3;
default = false;
+
}
skill7
@@ -585,195 +778,57 @@ universalfields
{
type = 3;
default = false;
+ managed = false;
}
skill10
{
type = 3;
default = false;
+ managed = false;
}
skill11
{
type = 3;
default = false;
+ managed = false;
}
skill12
{
type = 3;
default = false;
+ managed = false;
}
skill13
{
type = 3;
default = false;
+ managed = false;
}
skill14
{
type = 3;
default = false;
+ managed = false;
}
skill15
{
type = 3;
default = false;
+ managed = false;
}
skill16
{
type = 3;
default = false;
+ managed = false;
}
-
- class6
- {
- type = 3;
- default = false;
- }
-
- class7
- {
- type = 3;
- default = false;
- }
-
- class8
- {
- type = 3;
- default = false;
- }
-
- class9
- {
- type = 3;
- default = false;
- }
-
- class10
- {
- type = 3;
- default = false;
- }
-
- class11
- {
- type = 3;
- default = false;
- }
-
- class12
- {
- type = 3;
- default = false;
- }
-
- class13
- {
- type = 3;
- default = false;
- }
-
- class14
- {
- type = 3;
- default = false;
- }
-
- class15
- {
- type = 3;
- default = false;
- }
-
- class16
- {
- type = 3;
- default = false;
- }
-
- score
- {
- type = 0;
- default = 0;
- }
-
- renderstyle
- {
- type = 2;
- default = "";
- }
-
- gravity
- {
- type = 1;
- default = 0.0;
- }
-
- floatbobphase
- {
- type = 0;
- default = -1;
- }
-
- alpha
- {
- type = 1;
- default = 1.0;
- }
-
- health
- {
- type = 1;
- default = 1.0;
- }
-
- arg0str
- {
- type = 2;
- default = "";
- }
-
- fillcolor
- {
- type = 0;
- default = 0;
- }
-
- conversation
- {
- type = 0;
- default = 0;
- }
-
- scalex
- {
- type = 1;
- default = 1.0;
- }
-
- scaley
- {
- type = 1;
- default = 1.0;
- }
-
- lm_suncolor
- {
- type = 10;
- default = 16777215;
- thingtypespecific = true;
- }
-
- lm_sampledist
- {
- type = 0;
- default = 16;
- thingtypespecific = true;
- }
}
sector
@@ -788,6 +843,7 @@ universalfields
{
type = 0;
default = 0;
+ managed = false;
}
healthceiling
diff --git a/Source/Core/Builder.csproj b/Source/Core/Builder.csproj
index 2780ba3e..23a52fcd 100644
--- a/Source/Core/Builder.csproj
+++ b/Source/Core/Builder.csproj
@@ -1428,7 +1428,6 @@
-
diff --git a/Source/Core/BuilderMono.csproj b/Source/Core/BuilderMono.csproj
index c6df9fb3..cd64feac 100644
--- a/Source/Core/BuilderMono.csproj
+++ b/Source/Core/BuilderMono.csproj
@@ -1417,7 +1417,6 @@
-
diff --git a/Source/Core/Config/GameConfiguration.cs b/Source/Core/Config/GameConfiguration.cs
index f3dee270..9d322f54 100755
--- a/Source/Core/Config/GameConfiguration.cs
+++ b/Source/Core/Config/GameConfiguration.cs
@@ -1381,7 +1381,58 @@ namespace CodeImp.DoomBuilder.Config
return supported;
}
-
+
+ ///
+ /// Checks if a MapElement type has a UDMF field or flag defined.
+ ///
+ /// Type inherited from MapElement
+ /// Name of the UDMF field or flag
+ /// true if the field or flag exists, false if it doesn't
+ public bool HasUniversalFieldOrFlag(string name) where T : MapElement
+ {
+ Type type = typeof(T);
+ List ufi;
+ Dictionary flags;
+
+ if (type == typeof(Thing))
+ {
+ ufi = thingfields;
+ flags = thingflags;
+ }
+ else if (type == typeof(Linedef))
+ {
+ ufi = linedeffields;
+ flags = linedefflags;
+ }
+ else if (type == typeof(Sidedef))
+ {
+ ufi = sidedeffields;
+ flags = sidedefflags;
+ }
+ else if (type == typeof(Sector))
+ {
+ ufi = sectorfields;
+ flags = sectorflags;
+ }
+ else if (type == typeof(Vertex))
+ {
+ ufi = vertexfields;
+ flags = new Dictionary(); // Vertices don't have flags
+ }
+ else
+ throw new NotSupportedException("Unsupported MapElement type: " + type.Name);
+
+ // Check for regular UDMF fields
+ if (ufi.Where(f => f.Name == name).FirstOrDefault() != null)
+ return true;
+
+ // Check for flags
+ if (flags.ContainsKey(name))
+ return true;
+
+ return false;
+ }
+
#endregion
}
}
diff --git a/Source/Core/Config/UniversalFieldInfo.cs b/Source/Core/Config/UniversalFieldInfo.cs
index 24f2715e..c56fd9c8 100755
--- a/Source/Core/Config/UniversalFieldInfo.cs
+++ b/Source/Core/Config/UniversalFieldInfo.cs
@@ -61,6 +61,7 @@ namespace CodeImp.DoomBuilder.Config
private int type;
private object defaultvalue;
private bool thingtypespecific;
+ private bool managed;
private EnumList enumlist;
private Dictionary associations;
@@ -72,6 +73,7 @@ namespace CodeImp.DoomBuilder.Config
public int Type { get { return type; } }
public object Default { get { return defaultvalue; } }
public bool ThingTypeSpecific { get { return thingtypespecific; } }
+ public bool Managed { get { return managed; } }
public EnumList Enum { get { return enumlist; } }
public Dictionary Associations { get { return associations; } }
@@ -92,6 +94,7 @@ namespace CodeImp.DoomBuilder.Config
type = cfg.ReadSetting(setting + ".type", int.MinValue);
defaultvalue = cfg.ReadSettingObject(setting + ".default", null);
thingtypespecific = cfg.ReadSetting(setting + ".thingtypespecific", false);
+ managed = cfg.ReadSetting(setting + ".managed", true);
// Read enum
object enumsetting = cfg.ReadSettingObject(setting + ".enum", null);
diff --git a/Source/Core/Controls/FieldsEditorControl.cs b/Source/Core/Controls/FieldsEditorControl.cs
index 2f2bbdee..d4aa5e3e 100755
--- a/Source/Core/Controls/FieldsEditorControl.cs
+++ b/Source/Core/Controls/FieldsEditorControl.cs
@@ -130,8 +130,10 @@ namespace CodeImp.DoomBuilder.Controls
// Add all fields
foreach(UniversalFieldInfo uf in list)
{
- if(uifields.ContainsKey(uf.Name)) continue; //mxd
- fieldslist.Rows.Add(new FieldsEditorRow(fieldslist, uf));
+ //if(uifields.ContainsKey(uf.Name)) continue; //mxd
+ // Only add fields that are not managed by the UI
+ if(!uf.Managed)
+ fieldslist.Rows.Add(new FieldsEditorRow(fieldslist, uf));
}
// Sort fields
diff --git a/Source/Core/Controls/SidedefPartLightControl.cs b/Source/Core/Controls/SidedefPartLightControl.cs
index 44d40e37..80255c2d 100644
--- a/Source/Core/Controls/SidedefPartLightControl.cs
+++ b/Source/Core/Controls/SidedefPartLightControl.cs
@@ -138,14 +138,6 @@ namespace CodeImp.DoomBuilder.Controls
{
reset.Visible = (cbAbsolute.CheckState != CheckState.Unchecked || light.GetResult(0) != 0);
- if (!General.Map.Config.DistinctSidedefPartBrightness)
- {
- lbLight.Enabled = false;
- light.Enabled = false;
- cbAbsolute.Enabled = false;
- reset.Enabled = false;
- }
-
preventchanges = false;
}
diff --git a/Source/Core/IO/UniversalMapSetIO.cs b/Source/Core/IO/UniversalMapSetIO.cs
index cfe2fe91..6a9db4e2 100755
--- a/Source/Core/IO/UniversalMapSetIO.cs
+++ b/Source/Core/IO/UniversalMapSetIO.cs
@@ -23,6 +23,8 @@ using System.IO;
using CodeImp.DoomBuilder.Map;
using System.Collections;
using CodeImp.DoomBuilder.Types;
+using CodeImp.DoomBuilder.Config;
+using System.Linq;
#endregion
@@ -30,13 +32,6 @@ namespace CodeImp.DoomBuilder.IO
{
internal class UniversalMapSetIO : MapSetIO
{
- #region ================== Constants
-
- // Name of the UDMF configuration file
- private const string UDMF_UI_CONFIG_NAME = "UDMF_UI.cfg";
-
- #endregion
-
#region ================== Constructor / Disposer
// Constructor
@@ -44,48 +39,19 @@ namespace CodeImp.DoomBuilder.IO
{
if((manager != null) && (manager.Config != null))
{
- // Make configuration
- Configuration config = new Configuration();
-
- //mxd. Find a resource named UDMF_UI.cfg
- string[] resnames = General.ThisAssembly.GetManifestResourceNames();
- foreach(string rn in resnames)
+ // Build the dictionary of UDMF fields that are managed by the UI and should not be shown in the custom UDMF field dialog
+ foreach ((MapElementType type, List data) in new[] {
+ (MapElementType.LINEDEF, General.Map.Config.LinedefFields),
+ (MapElementType.SECTOR, General.Map.Config.SectorFields),
+ (MapElementType.SIDEDEF, General.Map.Config.SidedefFields),
+ (MapElementType.THING, General.Map.Config.ThingFields),
+ (MapElementType.VERTEX, General.Map.Config.VertexFields)
+ })
{
- // Found it?
- if(rn.EndsWith(UDMF_UI_CONFIG_NAME, StringComparison.OrdinalIgnoreCase))
- {
- // Get a stream from the resource
- Stream udmfcfg = General.ThisAssembly.GetManifestResourceStream(rn);
- StreamReader udmfcfgreader = new StreamReader(udmfcfg, Encoding.ASCII);
-
- // Load configuration from stream
- config.InputConfiguration(udmfcfgreader.ReadToEnd());
- Dictionary elements = new Dictionary
- {
- { "vertex", MapElementType.VERTEX },
- { "linedef", MapElementType.LINEDEF },
- { "sidedef", MapElementType.SIDEDEF },
- { "sector", MapElementType.SECTOR },
- { "thing", MapElementType.THING }
- };
+ uifields[type] = new Dictionary(StringComparer.Ordinal);
- foreach(KeyValuePair group in elements)
- {
- IDictionary dic = config.ReadSetting("uifields." + group.Key, new Hashtable());
-
- Dictionary values = new Dictionary(StringComparer.Ordinal);
- foreach(DictionaryEntry de in dic)
- {
- values.Add(de.Key.ToString(), (UniversalType)de.Value);
- }
-
- uifields.Add(group.Value, values);
- }
-
- // Done
- udmfcfgreader.Dispose();
- break;
- }
+ foreach (UniversalFieldInfo ufi in data.Where(o => o.Managed))
+ uifields[type].Add(ufi.Name, (UniversalType)ufi.Type);
}
}
}
diff --git a/Source/Core/Resources/UDMF_UI.cfg b/Source/Core/Resources/UDMF_UI.cfg
deleted file mode 100755
index 731dc078..00000000
--- a/Source/Core/Resources/UDMF_UI.cfg
+++ /dev/null
@@ -1,104 +0,0 @@
-/********************************************************************\
- Configuration for UDMF map reader/writer (UniversalMapSetIO)
-\********************************************************************/
-
-//mxd. These are the fields, which are managed by GZDoom Builder's UI, but are still stored as UniversalFields. Values are UniversalType. I should turn all of these into properties one day. But not today.
-uifields
-{
- linedef
- {
- alpha = 1;
- renderstyle = 2;
- arg0str = 2;
- locknumber = 0;
- comment = 2;
- }
-
- sidedef
- {
- scalex_top = 1;
- scaley_top = 1;
- scalex_mid = 1;
- scaley_mid = 1;
- scalex_bottom = 1;
- scaley_bottom = 1;
- offsetx_top = 1;
- offsety_top = 1;
- offsetx_mid = 1;
- offsety_mid = 1;
- offsetx_bottom = 1;
- offsety_bottom = 1;
- light = 0;
- lightabsolute = 3;
- light_top = 0;
- lightabsolute_top = 3;
- light_mid = 0;
- lightabsolute_mid = 3;
- light_bottom = 0;
- lightabsolute_bottom = 3;
- }
-
- sector
- {
- xpanningfloor = 1;
- ypanningfloor = 1;
- xpanningceiling = 1;
- ypanningceiling = 1;
- xscalefloor = 1;
- yscalefloor = 1;
- xscaleceiling = 1;
- yscaleceiling = 1;
- rotationfloor = 1;
- rotationceiling = 1;
- lightfloor = 0;
- lightfloorabsolute = 3;
- lightceiling = 0;
- lightceilingabsolute = 3;
- alphafloor = 1;
- alphaceiling = 1;
- renderstylefloor = 2;
- renderstyleceiling = 2;
- gravity = 1;
- lightcolor = 0;
- fadecolor = 0;
- desaturation = 1;
- soundsequence = 2;
- comment = 2;
- damageamount = 0;
- damagetype = 2;
- damageinterval = 0;
- leakiness = 0;
- floorterrain = 2;
- ceilingterrain = 2;
- portal_ceil_overlaytype = 2;
- portal_floor_overlaytype = 2;
- floor_reflect = 1;
- ceiling_reflect = 1;
- floorglowcolor = 0;
- floorglowheight = 1;
- ceilingglowcolor = 0;
- ceilingglowheight = 1;
- fogdensity = 0;
- color_ceiling = 0;
- color_walltop = 0;
- color_sprites = 0;
- color_wallbottom = 0;
- color_floor = 0;
- }
-
- thing
- {
- arg0str = 2;
- conversation = 0;
- gravity = 1;
- health = 1;
- fillcolor = 0;
- alpha = 1;
- score = 0;
- renderstyle = 2;
- floatbobphase = 0;
- comment = 2;
- scalex = 1;
- scaley = 1;
- }
-}
\ No newline at end of file
diff --git a/Source/Core/Windows/LinedefEditFormUDMF.Designer.cs b/Source/Core/Windows/LinedefEditFormUDMF.Designer.cs
index ebdbb9df..c62a5434 100755
--- a/Source/Core/Windows/LinedefEditFormUDMF.Designer.cs
+++ b/Source/Core/Windows/LinedefEditFormUDMF.Designer.cs
@@ -193,6 +193,7 @@ namespace CodeImp.DoomBuilder.Windows
label6.Name = "label6";
label6.Size = new System.Drawing.Size(37, 13);
label6.TabIndex = 17;
+ label6.Tag = "alpha";
label6.Text = "Alpha:";
//
// labelrenderstyle
@@ -202,6 +203,7 @@ namespace CodeImp.DoomBuilder.Windows
this.labelrenderstyle.Name = "labelrenderstyle";
this.labelrenderstyle.Size = new System.Drawing.Size(69, 13);
this.labelrenderstyle.TabIndex = 11;
+ this.labelrenderstyle.Tag = "renderstyle";
this.labelrenderstyle.Text = "Render style:";
//
// labellockpick
@@ -211,6 +213,7 @@ namespace CodeImp.DoomBuilder.Windows
this.labellockpick.Name = "labellockpick";
this.labellockpick.Size = new System.Drawing.Size(72, 13);
this.labellockpick.TabIndex = 15;
+ this.labellockpick.Tag = "locknumber";
this.labellockpick.Text = "Lock number:";
//
// labelLightFront
@@ -219,7 +222,7 @@ namespace CodeImp.DoomBuilder.Windows
this.labelLightFront.Name = "labelLightFront";
this.labelLightFront.Size = new System.Drawing.Size(80, 14);
this.labelLightFront.TabIndex = 25;
- this.labelLightFront.Tag = "";
+ this.labelLightFront.Tag = "light";
this.labelLightFront.Text = "Brightness:";
this.labelLightFront.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
@@ -402,6 +405,7 @@ namespace CodeImp.DoomBuilder.Windows
this.resetalpha.Name = "resetalpha";
this.resetalpha.Size = new System.Drawing.Size(23, 23);
this.resetalpha.TabIndex = 70;
+ this.resetalpha.Tag = "alpha";
this.tooltip.SetToolTip(this.resetalpha, "Reset");
this.resetalpha.UseVisualStyleBackColor = true;
this.resetalpha.Click += new System.EventHandler(this.resetalpha_Click);
@@ -413,6 +417,7 @@ namespace CodeImp.DoomBuilder.Windows
this.lockpick.Name = "lockpick";
this.lockpick.Size = new System.Drawing.Size(115, 21);
this.lockpick.TabIndex = 19;
+ this.lockpick.Tag = "locknumber";
//
// alpha
//
@@ -431,6 +436,7 @@ namespace CodeImp.DoomBuilder.Windows
this.alpha.Size = new System.Drawing.Size(65, 24);
this.alpha.StepValues = null;
this.alpha.TabIndex = 18;
+ this.alpha.Tag = "alpha";
this.alpha.WhenTextChanged += new System.EventHandler(this.alpha_WhenTextChanged);
//
// renderStyle
@@ -441,6 +447,7 @@ namespace CodeImp.DoomBuilder.Windows
this.renderStyle.Name = "renderStyle";
this.renderStyle.Size = new System.Drawing.Size(86, 21);
this.renderStyle.TabIndex = 12;
+ this.renderStyle.Tag = "renderstyle";
this.renderStyle.SelectedIndexChanged += new System.EventHandler(this.cbRenderStyle_SelectedIndexChanged);
//
// activationGroup
@@ -576,7 +583,7 @@ namespace CodeImp.DoomBuilder.Windows
this.labelFrontScaleBottom.Name = "labelFrontScaleBottom";
this.labelFrontScaleBottom.Size = new System.Drawing.Size(80, 14);
this.labelFrontScaleBottom.TabIndex = 42;
- this.labelFrontScaleBottom.Tag = "";
+ this.labelFrontScaleBottom.Tag = "scalex_bottom";
this.labelFrontScaleBottom.Text = "Lower scale:";
this.labelFrontScaleBottom.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
@@ -586,7 +593,7 @@ namespace CodeImp.DoomBuilder.Windows
this.labelFrontScaleMid.Name = "labelFrontScaleMid";
this.labelFrontScaleMid.Size = new System.Drawing.Size(80, 14);
this.labelFrontScaleMid.TabIndex = 41;
- this.labelFrontScaleMid.Tag = "";
+ this.labelFrontScaleMid.Tag = "scalex_mid";
this.labelFrontScaleMid.Text = "Middle scale:";
this.labelFrontScaleMid.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
@@ -596,7 +603,7 @@ namespace CodeImp.DoomBuilder.Windows
this.labelFrontScaleTop.Name = "labelFrontScaleTop";
this.labelFrontScaleTop.Size = new System.Drawing.Size(80, 14);
this.labelFrontScaleTop.TabIndex = 28;
- this.labelFrontScaleTop.Tag = "";
+ this.labelFrontScaleTop.Tag = "scalex_top";
this.labelFrontScaleTop.Text = "Upper scale:";
this.labelFrontScaleTop.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
@@ -617,6 +624,7 @@ namespace CodeImp.DoomBuilder.Windows
this.pfcFrontScaleTop.Name = "pfcFrontScaleTop";
this.pfcFrontScaleTop.Size = new System.Drawing.Size(186, 26);
this.pfcFrontScaleTop.TabIndex = 38;
+ this.pfcFrontScaleTop.Tag = "scalex_top";
this.pfcFrontScaleTop.OnValuesChanged += new System.EventHandler(this.pfcFrontScaleTop_OnValuesChanged);
//
// pfcFrontScaleBottom
@@ -636,6 +644,7 @@ namespace CodeImp.DoomBuilder.Windows
this.pfcFrontScaleBottom.Name = "pfcFrontScaleBottom";
this.pfcFrontScaleBottom.Size = new System.Drawing.Size(186, 26);
this.pfcFrontScaleBottom.TabIndex = 40;
+ this.pfcFrontScaleBottom.Tag = "scalex_bottom";
this.pfcFrontScaleBottom.OnValuesChanged += new System.EventHandler(this.pfcFrontScaleBottom_OnValuesChanged);
//
// pfcFrontScaleMid
@@ -655,6 +664,7 @@ namespace CodeImp.DoomBuilder.Windows
this.pfcFrontScaleMid.Name = "pfcFrontScaleMid";
this.pfcFrontScaleMid.Size = new System.Drawing.Size(186, 26);
this.pfcFrontScaleMid.TabIndex = 39;
+ this.pfcFrontScaleMid.Tag = "scalex_mid";
this.pfcFrontScaleMid.OnValuesChanged += new System.EventHandler(this.pfcFrontScaleMid_OnValuesChanged);
//
// groupBox6
@@ -690,7 +700,7 @@ namespace CodeImp.DoomBuilder.Windows
this.labelFrontOffsetBottom.Name = "labelFrontOffsetBottom";
this.labelFrontOffsetBottom.Size = new System.Drawing.Size(80, 14);
this.labelFrontOffsetBottom.TabIndex = 45;
- this.labelFrontOffsetBottom.Tag = "";
+ this.labelFrontOffsetBottom.Tag = "offsetx_bottom";
this.labelFrontOffsetBottom.Text = "Lower offset:";
this.labelFrontOffsetBottom.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
@@ -713,7 +723,7 @@ namespace CodeImp.DoomBuilder.Windows
this.labelFrontOffsetMid.Name = "labelFrontOffsetMid";
this.labelFrontOffsetMid.Size = new System.Drawing.Size(80, 14);
this.labelFrontOffsetMid.TabIndex = 44;
- this.labelFrontOffsetMid.Tag = "";
+ this.labelFrontOffsetMid.Tag = "offsetx_mid";
this.labelFrontOffsetMid.Text = "Middle offset:";
this.labelFrontOffsetMid.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
@@ -734,6 +744,7 @@ namespace CodeImp.DoomBuilder.Windows
this.pfcFrontOffsetTop.Name = "pfcFrontOffsetTop";
this.pfcFrontOffsetTop.Size = new System.Drawing.Size(186, 26);
this.pfcFrontOffsetTop.TabIndex = 35;
+ this.pfcFrontOffsetTop.Tag = "offsetx_top";
this.pfcFrontOffsetTop.OnValuesChanged += new System.EventHandler(this.pfcFrontOffsetTop_OnValuesChanged);
//
// labelFrontOffsetTop
@@ -742,7 +753,7 @@ namespace CodeImp.DoomBuilder.Windows
this.labelFrontOffsetTop.Name = "labelFrontOffsetTop";
this.labelFrontOffsetTop.Size = new System.Drawing.Size(80, 14);
this.labelFrontOffsetTop.TabIndex = 43;
- this.labelFrontOffsetTop.Tag = "";
+ this.labelFrontOffsetTop.Tag = "offsetx_top";
this.labelFrontOffsetTop.Text = "Upper offset:";
this.labelFrontOffsetTop.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
@@ -763,6 +774,7 @@ namespace CodeImp.DoomBuilder.Windows
this.pfcFrontOffsetMid.Name = "pfcFrontOffsetMid";
this.pfcFrontOffsetMid.Size = new System.Drawing.Size(186, 26);
this.pfcFrontOffsetMid.TabIndex = 36;
+ this.pfcFrontOffsetMid.Tag = "offsetx_mid";
this.pfcFrontOffsetMid.OnValuesChanged += new System.EventHandler(this.pfcFrontOffsetMid_OnValuesChanged);
//
// pfcFrontOffsetBottom
@@ -782,6 +794,7 @@ namespace CodeImp.DoomBuilder.Windows
this.pfcFrontOffsetBottom.Name = "pfcFrontOffsetBottom";
this.pfcFrontOffsetBottom.Size = new System.Drawing.Size(186, 26);
this.pfcFrontOffsetBottom.TabIndex = 37;
+ this.pfcFrontOffsetBottom.Tag = "offsetx_bottom";
this.pfcFrontOffsetBottom.OnValuesChanged += new System.EventHandler(this.pfcFrontOffsetBottom_OnValuesChanged);
//
// groupBox5
@@ -808,6 +821,7 @@ namespace CodeImp.DoomBuilder.Windows
this.lightfrontlower.Name = "lightfrontlower";
this.lightfrontlower.Size = new System.Drawing.Size(262, 29);
this.lightfrontlower.TabIndex = 29;
+ this.lightfrontlower.Tag = "light_bottom";
//
// lightfrontmiddle
//
@@ -815,6 +829,7 @@ namespace CodeImp.DoomBuilder.Windows
this.lightfrontmiddle.Name = "lightfrontmiddle";
this.lightfrontmiddle.Size = new System.Drawing.Size(262, 29);
this.lightfrontmiddle.TabIndex = 29;
+ this.lightfrontmiddle.Tag = "light_mid";
//
// lightfrontupper
//
@@ -822,6 +837,7 @@ namespace CodeImp.DoomBuilder.Windows
this.lightfrontupper.Name = "lightfrontupper";
this.lightfrontupper.Size = new System.Drawing.Size(262, 29);
this.lightfrontupper.TabIndex = 29;
+ this.lightfrontupper.Tag = "light_top";
//
// resetfrontlight
//
@@ -830,6 +846,7 @@ namespace CodeImp.DoomBuilder.Windows
this.resetfrontlight.Name = "resetfrontlight";
this.resetfrontlight.Size = new System.Drawing.Size(23, 23);
this.resetfrontlight.TabIndex = 28;
+ this.resetfrontlight.Tag = "light";
this.tooltip.SetToolTip(this.resetfrontlight, "Reset Front Brightness");
this.resetfrontlight.UseVisualStyleBackColor = true;
this.resetfrontlight.Click += new System.EventHandler(this.resetfrontlight_Click);
@@ -879,7 +896,7 @@ namespace CodeImp.DoomBuilder.Windows
this.lightFront.Size = new System.Drawing.Size(62, 24);
this.lightFront.StepValues = null;
this.lightFront.TabIndex = 26;
- this.lightFront.Tag = "";
+ this.lightFront.Tag = "light";
this.lightFront.WhenTextChanged += new System.EventHandler(this.lightFront_WhenTextChanged);
//
// cbLightAbsoluteFront
diff --git a/Source/Core/Windows/LinedefEditFormUDMF.cs b/Source/Core/Windows/LinedefEditFormUDMF.cs
index 04d138d7..b9238423 100755
--- a/Source/Core/Windows/LinedefEditFormUDMF.cs
+++ b/Source/Core/Windows/LinedefEditFormUDMF.cs
@@ -19,6 +19,7 @@
using System;
using System.Collections.Generic;
using System.Drawing;
+using System.Linq;
using System.Windows.Forms;
using CodeImp.DoomBuilder.Config;
using CodeImp.DoomBuilder.Controls;
@@ -137,8 +138,12 @@ namespace CodeImp.DoomBuilder.Windows
// Initialize
InitializeComponent();
+ DoUDMFControls(tabproperties, General.Map.Config.LinedefFields);
+ DoUDMFControls(tabfront, General.Map.Config.SidedefFields);
+ DoUDMFControls(tabback, General.Map.Config.SidedefFields);
+
// Widow setup
- if(General.Settings.StoreSelectedEditTab)
+ if (General.Settings.StoreSelectedEditTab)
{
int activetab = General.Settings.ReadSetting("windows." + configname + ".activetab", 0);
@@ -179,8 +184,6 @@ namespace CodeImp.DoomBuilder.Windows
lockpick.Items.Add(item);
}
}
- lockpick.Enabled = (keynumbers.Count > 0);
- labellockpick.Enabled = (keynumbers.Count > 0);
// Initialize image selectors
fronthigh.Initialize();
@@ -227,38 +230,6 @@ namespace CodeImp.DoomBuilder.Windows
lightbackupper.Setup(VisualModes.VisualGeometryType.WALL_UPPER);
lightbackmiddle.Setup(VisualModes.VisualGeometryType.WALL_MIDDLE);
lightbacklower.Setup(VisualModes.VisualGeometryType.WALL_LOWER);
-
- // Disable top/mid/bottom texture offset controls?
- if (!General.Map.Config.UseLocalSidedefTextureOffsets)
- {
- pfcFrontOffsetTop.Enabled = false;
- pfcFrontOffsetMid.Enabled = false;
- pfcFrontOffsetBottom.Enabled = false;
-
- pfcBackOffsetTop.Enabled = false;
- pfcBackOffsetMid.Enabled = false;
- pfcBackOffsetBottom.Enabled = false;
-
- labelFrontOffsetTop.Enabled = false;
- labelFrontOffsetMid.Enabled = false;
- labelFrontOffsetBottom.Enabled = false;
-
- labelBackOffsetTop.Enabled = false;
- labelBackOffsetMid.Enabled = false;
- labelBackOffsetBottom.Enabled = false;
- }
-
- // Diable brightness controls?
- if(!General.Map.Config.DistinctWallBrightness)
- {
- lightFront.Enabled = false;
- cbLightAbsoluteFront.Enabled = false;
- resetfrontlight.Enabled = false;
-
- lightBack.Enabled = false;
- cbLightAbsoluteBack.Enabled = false;
- resetbacklight.Enabled = false;
- }
}
#endregion
@@ -707,6 +678,36 @@ namespace CodeImp.DoomBuilder.Windows
OnValuesChanged?.Invoke(this, EventArgs.Empty);
}
+ ///
+ /// Enables or disables controls depending on if their tag is one of the UDMF fields set in the game config.
+ ///
+ /// Control to process
+ private void DoUDMFControls(Control control, List info)
+ {
+ if (control.Tag is string name && !string.IsNullOrWhiteSpace(name))
+ {
+ EnableDisableControlAndChildren(control, info.Any(f => f.Name == name));
+ }
+ else
+ {
+ foreach (Control c in control.Controls)
+ DoUDMFControls(c, info);
+ }
+ }
+
+ ///
+ /// Enables or disables a control and all its children.
+ ///
+ /// Control the enable or disable
+ /// If to enable or disable
+ private void EnableDisableControlAndChildren(Control control, bool state)
+ {
+ control.Enabled = state;
+
+ foreach (Control c in control.Controls)
+ EnableDisableControlAndChildren(c, state);
+ }
+
#endregion
#region ================== Events
diff --git a/Source/Core/Windows/SectorEditFormUDMF.Designer.cs b/Source/Core/Windows/SectorEditFormUDMF.Designer.cs
index e6f1cfcd..00af98d2 100755
--- a/Source/Core/Windows/SectorEditFormUDMF.Designer.cs
+++ b/Source/Core/Windows/SectorEditFormUDMF.Designer.cs
@@ -28,2003 +28,2055 @@
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.Windows.Forms.GroupBox groupaction;
- System.Windows.Forms.GroupBox groupeffect;
- System.Windows.Forms.Label label4;
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SectorEditFormUDMF));
- System.Windows.Forms.Label label14;
- System.Windows.Forms.Label label9;
- System.Windows.Forms.Label label2;
- System.Windows.Forms.Label label8;
- System.Windows.Forms.GroupBox groupfloorceiling;
- System.Windows.Forms.Label label15;
- System.Windows.Forms.Label label6;
- System.Windows.Forms.Label label5;
- System.Windows.Forms.Label label17;
- System.Windows.Forms.Label label16;
- System.Windows.Forms.Label label18;
- System.Windows.Forms.Label label19;
- System.Windows.Forms.Label label13;
- this.tagsselector = new CodeImp.DoomBuilder.Controls.TagsSelector();
- this.fogdensity = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.soundsequence = new System.Windows.Forms.ComboBox();
- this.resetsoundsequence = new System.Windows.Forms.Button();
- this.brightness = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.gravity = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.browseeffect = new System.Windows.Forms.Button();
- this.effect = new CodeImp.DoomBuilder.Controls.ActionSelectorControl();
- this.heightoffset = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.ceilingheight = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.sectorheightlabel = new System.Windows.Forms.Label();
- this.sectorheight = new System.Windows.Forms.Label();
- this.floorheight = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.tabs = new System.Windows.Forms.TabControl();
- this.tabproperties = new System.Windows.Forms.TabPage();
- this.groupdamage = new System.Windows.Forms.GroupBox();
- this.leakiness = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.damageinterval = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.resetdamagetype = new System.Windows.Forms.Button();
- this.damageamount = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.damagetype = new System.Windows.Forms.ComboBox();
- this.groupBox3 = new System.Windows.Forms.GroupBox();
- this.flags = new CodeImp.DoomBuilder.Controls.CheckboxArrayControl();
- this.tabColors = new System.Windows.Forms.TabPage();
- this.groupBox11 = new System.Windows.Forms.GroupBox();
- this.floorGlowEnabled = new System.Windows.Forms.CheckBox();
- this.floorglowheightrequired = new System.Windows.Forms.PictureBox();
- this.resetfloorglowheight = new System.Windows.Forms.Button();
- this.floorglowheightlabel = new System.Windows.Forms.Label();
- this.floorglowheight = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.floorglowcolor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
- this.groupBox10 = new System.Windows.Forms.GroupBox();
- this.ceilingGlowEnabled = new System.Windows.Forms.CheckBox();
- this.ceilingglowheightrequired = new System.Windows.Forms.PictureBox();
- this.resetceilingglowheight = new System.Windows.Forms.Button();
- this.ceilingglowheightlabel = new System.Windows.Forms.Label();
- this.ceilingglowheight = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.ceilingglowcolor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
- this.groupBox9 = new System.Windows.Forms.GroupBox();
- this.thingsColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
- this.lowerWallColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
- this.upperWallColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
- this.floorColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
- this.ceilingColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
- this.groupBox8 = new System.Windows.Forms.GroupBox();
- this.desaturation = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.lightColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
- this.fadeColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
- this.tabSurfaces = new System.Windows.Forms.TabPage();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.reset_floor_reflect = new System.Windows.Forms.Button();
- this.label23 = new System.Windows.Forms.Label();
- this.floor_reflect = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.resetfloorterrain = new System.Windows.Forms.Button();
- this.label3 = new System.Windows.Forms.Label();
- this.floorterrain = new System.Windows.Forms.ComboBox();
- this.resetfloorlight = new System.Windows.Forms.Button();
- this.labelFloorOffsets = new System.Windows.Forms.Label();
- this.labelFloorScale = new System.Windows.Forms.Label();
- this.cbUseFloorLineAngles = new System.Windows.Forms.CheckBox();
- this.floorAngleControl = new CodeImp.DoomBuilder.Controls.AngleControlEx();
- this.labelfloorrenderstyle = new System.Windows.Forms.Label();
- this.label11 = new System.Windows.Forms.Label();
- this.floorRotation = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.floorLightAbsolute = new System.Windows.Forms.CheckBox();
- this.label12 = new System.Windows.Forms.Label();
- this.floorBrightness = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.floorRenderStyle = new System.Windows.Forms.ComboBox();
- this.floorScale = new CodeImp.DoomBuilder.Controls.PairedFieldsControl();
- this.floorOffsets = new CodeImp.DoomBuilder.Controls.PairedFieldsControl();
- this.floortex = new CodeImp.DoomBuilder.Controls.FlatSelectorControl();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.reset_ceiling_reflect = new System.Windows.Forms.Button();
- this.label20 = new System.Windows.Forms.Label();
- this.ceiling_reflect = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.resetceilterrain = new System.Windows.Forms.Button();
- this.label7 = new System.Windows.Forms.Label();
- this.ceilterrain = new System.Windows.Forms.ComboBox();
- this.resetceillight = new System.Windows.Forms.Button();
- this.labelCeilOffsets = new System.Windows.Forms.Label();
- this.labelCeilScale = new System.Windows.Forms.Label();
- this.cbUseCeilLineAngles = new System.Windows.Forms.CheckBox();
- this.ceilAngleControl = new CodeImp.DoomBuilder.Controls.AngleControlEx();
- this.labelceilrenderstyle = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
- this.ceilRotation = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.ceilLightAbsolute = new System.Windows.Forms.CheckBox();
- this.labelLightFront = new System.Windows.Forms.Label();
- this.ceilBrightness = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.ceilRenderStyle = new System.Windows.Forms.ComboBox();
- this.ceilScale = new CodeImp.DoomBuilder.Controls.PairedFieldsControl();
- this.ceilOffsets = new CodeImp.DoomBuilder.Controls.PairedFieldsControl();
- this.ceilingtex = new CodeImp.DoomBuilder.Controls.FlatSelectorControl();
- this.tabslopes = new System.Windows.Forms.TabPage();
- this.groupBox7 = new System.Windows.Forms.GroupBox();
- this.resetalphafloor = new System.Windows.Forms.Button();
- this.floorportalflags = new CodeImp.DoomBuilder.Controls.CheckboxArrayControl();
- this.label22 = new System.Windows.Forms.Label();
- this.alphafloor = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.floorportalrenderstylelabel = new System.Windows.Forms.Label();
- this.floorportalrenderstyle = new System.Windows.Forms.ComboBox();
- this.groupBox6 = new System.Windows.Forms.GroupBox();
- this.resetalphaceiling = new System.Windows.Forms.Button();
- this.ceilportalflags = new CodeImp.DoomBuilder.Controls.CheckboxArrayControl();
- this.label21 = new System.Windows.Forms.Label();
- this.alphaceiling = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
- this.ceilportalrenderstylelabel = new System.Windows.Forms.Label();
- this.ceilportalrenderstyle = new System.Windows.Forms.ComboBox();
- this.groupBox5 = new System.Windows.Forms.GroupBox();
- this.floorslopecontrol = new CodeImp.DoomBuilder.Controls.SectorSlopeControl();
- this.groupBox4 = new System.Windows.Forms.GroupBox();
- this.ceilingslopecontrol = new CodeImp.DoomBuilder.Controls.SectorSlopeControl();
- this.tabcomment = new System.Windows.Forms.TabPage();
- this.commenteditor = new CodeImp.DoomBuilder.Controls.CommentEditor();
- this.tabcustom = new System.Windows.Forms.TabPage();
- this.fieldslist = new CodeImp.DoomBuilder.Controls.FieldsEditorControl();
- this.cancel = new System.Windows.Forms.Button();
- this.apply = new System.Windows.Forms.Button();
- this.tooltip = new System.Windows.Forms.ToolTip(this.components);
- groupaction = new System.Windows.Forms.GroupBox();
- groupeffect = new System.Windows.Forms.GroupBox();
- label4 = new System.Windows.Forms.Label();
- label14 = new System.Windows.Forms.Label();
- label9 = new System.Windows.Forms.Label();
- label2 = new System.Windows.Forms.Label();
- label8 = new System.Windows.Forms.Label();
- groupfloorceiling = new System.Windows.Forms.GroupBox();
- label15 = new System.Windows.Forms.Label();
- label6 = new System.Windows.Forms.Label();
- label5 = new System.Windows.Forms.Label();
- label17 = new System.Windows.Forms.Label();
- label16 = new System.Windows.Forms.Label();
- label18 = new System.Windows.Forms.Label();
- label19 = new System.Windows.Forms.Label();
- label13 = new System.Windows.Forms.Label();
- groupaction.SuspendLayout();
- groupeffect.SuspendLayout();
- groupfloorceiling.SuspendLayout();
- this.tabs.SuspendLayout();
- this.tabproperties.SuspendLayout();
- this.groupdamage.SuspendLayout();
- this.groupBox3.SuspendLayout();
- this.tabColors.SuspendLayout();
- this.groupBox11.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.floorglowheightrequired)).BeginInit();
- this.groupBox10.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ceilingglowheightrequired)).BeginInit();
- this.groupBox9.SuspendLayout();
- this.groupBox8.SuspendLayout();
- this.tabSurfaces.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.groupBox1.SuspendLayout();
- this.tabslopes.SuspendLayout();
- this.groupBox7.SuspendLayout();
- this.groupBox6.SuspendLayout();
- this.groupBox5.SuspendLayout();
- this.groupBox4.SuspendLayout();
- this.tabcomment.SuspendLayout();
- this.tabcustom.SuspendLayout();
- this.SuspendLayout();
- //
- // groupaction
- //
- groupaction.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.GroupBox groupaction;
+ System.Windows.Forms.GroupBox groupeffect;
+ System.Windows.Forms.Label label4;
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SectorEditFormUDMF));
+ System.Windows.Forms.Label label14;
+ System.Windows.Forms.Label label9;
+ System.Windows.Forms.Label label2;
+ System.Windows.Forms.Label label8;
+ System.Windows.Forms.GroupBox groupfloorceiling;
+ System.Windows.Forms.Label label15;
+ System.Windows.Forms.Label label6;
+ System.Windows.Forms.Label label5;
+ System.Windows.Forms.Label label17;
+ System.Windows.Forms.Label label16;
+ System.Windows.Forms.Label label18;
+ System.Windows.Forms.Label label19;
+ System.Windows.Forms.Label label13;
+ this.tagsselector = new CodeImp.DoomBuilder.Controls.TagsSelector();
+ this.fogdensity = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.soundsequence = new System.Windows.Forms.ComboBox();
+ this.resetsoundsequence = new System.Windows.Forms.Button();
+ this.brightness = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.gravity = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.browseeffect = new System.Windows.Forms.Button();
+ this.effect = new CodeImp.DoomBuilder.Controls.ActionSelectorControl();
+ this.heightoffset = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.ceilingheight = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.sectorheightlabel = new System.Windows.Forms.Label();
+ this.sectorheight = new System.Windows.Forms.Label();
+ this.floorheight = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.tabs = new System.Windows.Forms.TabControl();
+ this.tabproperties = new System.Windows.Forms.TabPage();
+ this.groupdamage = new System.Windows.Forms.GroupBox();
+ this.leakiness = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.damageinterval = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.resetdamagetype = new System.Windows.Forms.Button();
+ this.damageamount = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.damagetype = new System.Windows.Forms.ComboBox();
+ this.groupBox3 = new System.Windows.Forms.GroupBox();
+ this.flags = new CodeImp.DoomBuilder.Controls.CheckboxArrayControl();
+ this.tabColors = new System.Windows.Forms.TabPage();
+ this.groupBox11 = new System.Windows.Forms.GroupBox();
+ this.floorGlowEnabled = new System.Windows.Forms.CheckBox();
+ this.floorglowheightrequired = new System.Windows.Forms.PictureBox();
+ this.resetfloorglowheight = new System.Windows.Forms.Button();
+ this.floorglowheightlabel = new System.Windows.Forms.Label();
+ this.floorglowheight = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.floorglowcolor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
+ this.groupBox10 = new System.Windows.Forms.GroupBox();
+ this.ceilingGlowEnabled = new System.Windows.Forms.CheckBox();
+ this.ceilingglowheightrequired = new System.Windows.Forms.PictureBox();
+ this.resetceilingglowheight = new System.Windows.Forms.Button();
+ this.ceilingglowheightlabel = new System.Windows.Forms.Label();
+ this.ceilingglowheight = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.ceilingglowcolor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
+ this.groupBox9 = new System.Windows.Forms.GroupBox();
+ this.thingsColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
+ this.lowerWallColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
+ this.upperWallColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
+ this.floorColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
+ this.ceilingColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
+ this.groupBox8 = new System.Windows.Forms.GroupBox();
+ this.desaturation = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.lightColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
+ this.fadeColor = new CodeImp.DoomBuilder.Controls.ColorFieldsControl();
+ this.tabSurfaces = new System.Windows.Forms.TabPage();
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.reset_floor_reflect = new System.Windows.Forms.Button();
+ this.label23 = new System.Windows.Forms.Label();
+ this.floor_reflect = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.resetfloorterrain = new System.Windows.Forms.Button();
+ this.label3 = new System.Windows.Forms.Label();
+ this.floorterrain = new System.Windows.Forms.ComboBox();
+ this.resetfloorlight = new System.Windows.Forms.Button();
+ this.labelFloorOffsets = new System.Windows.Forms.Label();
+ this.labelFloorScale = new System.Windows.Forms.Label();
+ this.cbUseFloorLineAngles = new System.Windows.Forms.CheckBox();
+ this.floorAngleControl = new CodeImp.DoomBuilder.Controls.AngleControlEx();
+ this.labelfloorrenderstyle = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.floorRotation = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.floorLightAbsolute = new System.Windows.Forms.CheckBox();
+ this.label12 = new System.Windows.Forms.Label();
+ this.floorBrightness = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.floorRenderStyle = new System.Windows.Forms.ComboBox();
+ this.floorScale = new CodeImp.DoomBuilder.Controls.PairedFieldsControl();
+ this.floorOffsets = new CodeImp.DoomBuilder.Controls.PairedFieldsControl();
+ this.floortex = new CodeImp.DoomBuilder.Controls.FlatSelectorControl();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.reset_ceiling_reflect = new System.Windows.Forms.Button();
+ this.label20 = new System.Windows.Forms.Label();
+ this.ceiling_reflect = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.resetceilterrain = new System.Windows.Forms.Button();
+ this.label7 = new System.Windows.Forms.Label();
+ this.ceilterrain = new System.Windows.Forms.ComboBox();
+ this.resetceillight = new System.Windows.Forms.Button();
+ this.labelCeilOffsets = new System.Windows.Forms.Label();
+ this.labelCeilScale = new System.Windows.Forms.Label();
+ this.cbUseCeilLineAngles = new System.Windows.Forms.CheckBox();
+ this.ceilAngleControl = new CodeImp.DoomBuilder.Controls.AngleControlEx();
+ this.labelceilrenderstyle = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.ceilRotation = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.ceilLightAbsolute = new System.Windows.Forms.CheckBox();
+ this.labelLightFront = new System.Windows.Forms.Label();
+ this.ceilBrightness = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.ceilRenderStyle = new System.Windows.Forms.ComboBox();
+ this.ceilScale = new CodeImp.DoomBuilder.Controls.PairedFieldsControl();
+ this.ceilOffsets = new CodeImp.DoomBuilder.Controls.PairedFieldsControl();
+ this.ceilingtex = new CodeImp.DoomBuilder.Controls.FlatSelectorControl();
+ this.tabslopes = new System.Windows.Forms.TabPage();
+ this.groupBox7 = new System.Windows.Forms.GroupBox();
+ this.resetalphafloor = new System.Windows.Forms.Button();
+ this.floorportalflags = new CodeImp.DoomBuilder.Controls.CheckboxArrayControl();
+ this.label22 = new System.Windows.Forms.Label();
+ this.alphafloor = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.floorportalrenderstylelabel = new System.Windows.Forms.Label();
+ this.floorportalrenderstyle = new System.Windows.Forms.ComboBox();
+ this.groupBox6 = new System.Windows.Forms.GroupBox();
+ this.resetalphaceiling = new System.Windows.Forms.Button();
+ this.ceilportalflags = new CodeImp.DoomBuilder.Controls.CheckboxArrayControl();
+ this.label21 = new System.Windows.Forms.Label();
+ this.alphaceiling = new CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox();
+ this.ceilportalrenderstylelabel = new System.Windows.Forms.Label();
+ this.ceilportalrenderstyle = new System.Windows.Forms.ComboBox();
+ this.gbFloorSlope = new System.Windows.Forms.GroupBox();
+ this.floorslopecontrol = new CodeImp.DoomBuilder.Controls.SectorSlopeControl();
+ this.gbCeilingSLope = new System.Windows.Forms.GroupBox();
+ this.ceilingslopecontrol = new CodeImp.DoomBuilder.Controls.SectorSlopeControl();
+ this.tabcomment = new System.Windows.Forms.TabPage();
+ this.commenteditor = new CodeImp.DoomBuilder.Controls.CommentEditor();
+ this.tabcustom = new System.Windows.Forms.TabPage();
+ this.fieldslist = new CodeImp.DoomBuilder.Controls.FieldsEditorControl();
+ this.cancel = new System.Windows.Forms.Button();
+ this.apply = new System.Windows.Forms.Button();
+ this.tooltip = new System.Windows.Forms.ToolTip(this.components);
+ groupaction = new System.Windows.Forms.GroupBox();
+ groupeffect = new System.Windows.Forms.GroupBox();
+ label4 = new System.Windows.Forms.Label();
+ label14 = new System.Windows.Forms.Label();
+ label9 = new System.Windows.Forms.Label();
+ label2 = new System.Windows.Forms.Label();
+ label8 = new System.Windows.Forms.Label();
+ groupfloorceiling = new System.Windows.Forms.GroupBox();
+ label15 = new System.Windows.Forms.Label();
+ label6 = new System.Windows.Forms.Label();
+ label5 = new System.Windows.Forms.Label();
+ label17 = new System.Windows.Forms.Label();
+ label16 = new System.Windows.Forms.Label();
+ label18 = new System.Windows.Forms.Label();
+ label19 = new System.Windows.Forms.Label();
+ label13 = new System.Windows.Forms.Label();
+ groupaction.SuspendLayout();
+ groupeffect.SuspendLayout();
+ groupfloorceiling.SuspendLayout();
+ this.tabs.SuspendLayout();
+ this.tabproperties.SuspendLayout();
+ this.groupdamage.SuspendLayout();
+ this.groupBox3.SuspendLayout();
+ this.tabColors.SuspendLayout();
+ this.groupBox11.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.floorglowheightrequired)).BeginInit();
+ this.groupBox10.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.ceilingglowheightrequired)).BeginInit();
+ this.groupBox9.SuspendLayout();
+ this.groupBox8.SuspendLayout();
+ this.tabSurfaces.SuspendLayout();
+ this.groupBox2.SuspendLayout();
+ this.groupBox1.SuspendLayout();
+ this.tabslopes.SuspendLayout();
+ this.groupBox7.SuspendLayout();
+ this.groupBox6.SuspendLayout();
+ this.gbFloorSlope.SuspendLayout();
+ this.gbCeilingSLope.SuspendLayout();
+ this.tabcomment.SuspendLayout();
+ this.tabcustom.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // groupaction
+ //
+ groupaction.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- groupaction.Controls.Add(this.tagsselector);
- groupaction.Location = new System.Drawing.Point(7, 445);
- groupaction.Name = "groupaction";
- groupaction.Size = new System.Drawing.Size(557, 80);
- groupaction.TabIndex = 2;
- groupaction.TabStop = false;
- groupaction.Text = " Identification ";
- //
- // tagsselector
- //
- this.tagsselector.Location = new System.Drawing.Point(6, 15);
- this.tagsselector.Name = "tagsselector";
- this.tagsselector.Size = new System.Drawing.Size(545, 60);
- this.tagsselector.TabIndex = 0;
- //
- // groupeffect
- //
- groupeffect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ groupaction.Controls.Add(this.tagsselector);
+ groupaction.Location = new System.Drawing.Point(7, 445);
+ groupaction.Name = "groupaction";
+ groupaction.Size = new System.Drawing.Size(557, 80);
+ groupaction.TabIndex = 2;
+ groupaction.TabStop = false;
+ groupaction.Text = " Identification ";
+ //
+ // tagsselector
+ //
+ this.tagsselector.Location = new System.Drawing.Point(6, 15);
+ this.tagsselector.Name = "tagsselector";
+ this.tagsselector.Size = new System.Drawing.Size(545, 60);
+ this.tagsselector.TabIndex = 0;
+ //
+ // groupeffect
+ //
+ groupeffect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- groupeffect.Controls.Add(this.fogdensity);
- groupeffect.Controls.Add(label4);
- groupeffect.Controls.Add(this.soundsequence);
- groupeffect.Controls.Add(this.resetsoundsequence);
- groupeffect.Controls.Add(this.brightness);
- groupeffect.Controls.Add(label14);
- groupeffect.Controls.Add(label9);
- groupeffect.Controls.Add(this.gravity);
- groupeffect.Controls.Add(label2);
- groupeffect.Controls.Add(this.browseeffect);
- groupeffect.Controls.Add(this.effect);
- groupeffect.Controls.Add(label8);
- groupeffect.Location = new System.Drawing.Point(7, 330);
- groupeffect.Name = "groupeffect";
- groupeffect.Size = new System.Drawing.Size(557, 109);
- groupeffect.TabIndex = 1;
- groupeffect.TabStop = false;
- groupeffect.Text = " Effects ";
- //
- // fogdensity
- //
- this.fogdensity.AllowDecimal = false;
- this.fogdensity.AllowExpressions = false;
- this.fogdensity.AllowNegative = false;
- this.fogdensity.AllowRelative = false;
- this.fogdensity.ButtonStep = 8;
- this.fogdensity.ButtonStepBig = 16F;
- this.fogdensity.ButtonStepFloat = 1F;
- this.fogdensity.ButtonStepSmall = 1F;
- this.fogdensity.ButtonStepsUseModifierKeys = true;
- this.fogdensity.ButtonStepsWrapAround = false;
- this.fogdensity.Location = new System.Drawing.Point(350, 74);
- this.fogdensity.Name = "fogdensity";
- this.fogdensity.Size = new System.Drawing.Size(81, 24);
- this.fogdensity.StepValues = null;
- this.fogdensity.TabIndex = 10;
- this.fogdensity.WhenTextChanged += new System.EventHandler(this.fogdensity_WhenTextChanged);
- //
- // label4
- //
- label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- label4.ForeColor = System.Drawing.SystemColors.HotTrack;
- label4.Location = new System.Drawing.Point(270, 79);
- label4.Name = "label4";
- label4.Size = new System.Drawing.Size(74, 14);
- label4.TabIndex = 9;
- label4.Text = "Fog density:";
- label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
- this.tooltip.SetToolTip(label4, resources.GetString("label4.ToolTip"));
- //
- // soundsequence
- //
- this.soundsequence.FormattingEnabled = true;
- this.soundsequence.Location = new System.Drawing.Point(350, 48);
- this.soundsequence.Name = "soundsequence";
- this.soundsequence.Size = new System.Drawing.Size(167, 21);
- this.soundsequence.TabIndex = 12;
- this.soundsequence.TextChanged += new System.EventHandler(this.soundsequence_TextChanged);
- this.soundsequence.MouseDown += new System.Windows.Forms.MouseEventHandler(this.soundsequence_MouseDown);
- //
- // resetsoundsequence
- //
- this.resetsoundsequence.Image = ((System.Drawing.Image)(resources.GetObject("resetsoundsequence.Image")));
- this.resetsoundsequence.Location = new System.Drawing.Point(523, 46);
- this.resetsoundsequence.Name = "resetsoundsequence";
- this.resetsoundsequence.Size = new System.Drawing.Size(28, 25);
- this.resetsoundsequence.TabIndex = 13;
- this.resetsoundsequence.Text = " ";
- this.tooltip.SetToolTip(this.resetsoundsequence, "Reset");
- this.resetsoundsequence.UseVisualStyleBackColor = true;
- this.resetsoundsequence.Click += new System.EventHandler(this.resetsoundsequence_Click);
- //
- // brightness
- //
- this.brightness.AllowDecimal = false;
- this.brightness.AllowExpressions = false;
- this.brightness.AllowNegative = false;
- this.brightness.AllowRelative = true;
- this.brightness.ButtonStep = 8;
- this.brightness.ButtonStepBig = 16F;
- this.brightness.ButtonStepFloat = 1F;
- this.brightness.ButtonStepSmall = 1F;
- this.brightness.ButtonStepsUseModifierKeys = true;
- this.brightness.ButtonStepsWrapAround = false;
- this.brightness.Location = new System.Drawing.Point(89, 46);
- this.brightness.Name = "brightness";
- this.brightness.Size = new System.Drawing.Size(81, 24);
- this.brightness.StepValues = null;
- this.brightness.TabIndex = 4;
- this.brightness.WhenTextChanged += new System.EventHandler(this.brightness_WhenTextChanged);
- //
- // label14
- //
- label14.AutoSize = true;
- label14.Location = new System.Drawing.Point(253, 52);
- label14.Name = "label14";
- label14.Size = new System.Drawing.Size(91, 13);
- label14.TabIndex = 11;
- label14.Text = "Sound sequence:";
- //
- // label9
- //
- label9.AutoSize = true;
- label9.Location = new System.Drawing.Point(21, 51);
- label9.Name = "label9";
- label9.Size = new System.Drawing.Size(59, 13);
- label9.TabIndex = 3;
- label9.Text = "Brightness:";
- //
- // gravity
- //
- this.gravity.AllowDecimal = true;
- this.gravity.AllowExpressions = false;
- this.gravity.AllowNegative = true;
- this.gravity.AllowRelative = true;
- this.gravity.ButtonStep = 1;
- this.gravity.ButtonStepBig = 1F;
- this.gravity.ButtonStepFloat = 0.1F;
- this.gravity.ButtonStepSmall = 0.01F;
- this.gravity.ButtonStepsUseModifierKeys = true;
- this.gravity.ButtonStepsWrapAround = false;
- this.gravity.Location = new System.Drawing.Point(89, 74);
- this.gravity.Name = "gravity";
- this.gravity.Size = new System.Drawing.Size(81, 24);
- this.gravity.StepValues = null;
- this.gravity.TabIndex = 6;
- //
- // label2
- //
- label2.Location = new System.Drawing.Point(9, 79);
- label2.Name = "label2";
- label2.Size = new System.Drawing.Size(74, 14);
- label2.TabIndex = 5;
- label2.Text = "Gravity:";
- label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // browseeffect
- //
- this.browseeffect.Image = ((System.Drawing.Image)(resources.GetObject("browseeffect.Image")));
- this.browseeffect.Location = new System.Drawing.Point(523, 16);
- this.browseeffect.Name = "browseeffect";
- this.browseeffect.Size = new System.Drawing.Size(28, 25);
- this.browseeffect.TabIndex = 2;
- this.browseeffect.Text = " ";
- this.browseeffect.UseVisualStyleBackColor = true;
- this.browseeffect.Click += new System.EventHandler(this.browseeffect_Click);
- //
- // effect
- //
- this.effect.BackColor = System.Drawing.Color.Transparent;
- this.effect.Cursor = System.Windows.Forms.Cursors.Default;
- this.effect.Empty = false;
- this.effect.GeneralizedCategories = null;
- this.effect.GeneralizedOptions = null;
- this.effect.Location = new System.Drawing.Point(89, 18);
- this.effect.Name = "effect";
- this.effect.Size = new System.Drawing.Size(428, 21);
- this.effect.TabIndex = 1;
- this.effect.Value = 402;
- //
- // label8
- //
- label8.AutoSize = true;
- label8.Location = new System.Drawing.Point(35, 22);
- label8.Name = "label8";
- label8.Size = new System.Drawing.Size(45, 13);
- label8.TabIndex = 0;
- label8.Text = "Special:";
- //
- // groupfloorceiling
- //
- groupfloorceiling.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ groupeffect.Controls.Add(this.fogdensity);
+ groupeffect.Controls.Add(label4);
+ groupeffect.Controls.Add(this.soundsequence);
+ groupeffect.Controls.Add(this.resetsoundsequence);
+ groupeffect.Controls.Add(this.brightness);
+ groupeffect.Controls.Add(label14);
+ groupeffect.Controls.Add(label9);
+ groupeffect.Controls.Add(this.gravity);
+ groupeffect.Controls.Add(label2);
+ groupeffect.Controls.Add(this.browseeffect);
+ groupeffect.Controls.Add(this.effect);
+ groupeffect.Controls.Add(label8);
+ groupeffect.Location = new System.Drawing.Point(7, 330);
+ groupeffect.Name = "groupeffect";
+ groupeffect.Size = new System.Drawing.Size(557, 109);
+ groupeffect.TabIndex = 1;
+ groupeffect.TabStop = false;
+ groupeffect.Text = " Effects ";
+ //
+ // fogdensity
+ //
+ this.fogdensity.AllowDecimal = false;
+ this.fogdensity.AllowExpressions = false;
+ this.fogdensity.AllowNegative = false;
+ this.fogdensity.AllowRelative = false;
+ this.fogdensity.ButtonStep = 8;
+ this.fogdensity.ButtonStepBig = 16F;
+ this.fogdensity.ButtonStepFloat = 1F;
+ this.fogdensity.ButtonStepSmall = 1F;
+ this.fogdensity.ButtonStepsUseModifierKeys = true;
+ this.fogdensity.ButtonStepsWrapAround = false;
+ this.fogdensity.Location = new System.Drawing.Point(350, 74);
+ this.fogdensity.Name = "fogdensity";
+ this.fogdensity.Size = new System.Drawing.Size(81, 24);
+ this.fogdensity.StepValues = null;
+ this.fogdensity.TabIndex = 10;
+ this.fogdensity.Tag = "fogdensity";
+ this.fogdensity.WhenTextChanged += new System.EventHandler(this.fogdensity_WhenTextChanged);
+ //
+ // label4
+ //
+ label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ label4.ForeColor = System.Drawing.SystemColors.HotTrack;
+ label4.Location = new System.Drawing.Point(270, 79);
+ label4.Name = "label4";
+ label4.Size = new System.Drawing.Size(74, 14);
+ label4.TabIndex = 9;
+ label4.Tag = "fogdensity";
+ label4.Text = "Fog density:";
+ label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ this.tooltip.SetToolTip(label4, resources.GetString("label4.ToolTip"));
+ //
+ // soundsequence
+ //
+ this.soundsequence.FormattingEnabled = true;
+ this.soundsequence.Location = new System.Drawing.Point(350, 48);
+ this.soundsequence.Name = "soundsequence";
+ this.soundsequence.Size = new System.Drawing.Size(167, 21);
+ this.soundsequence.TabIndex = 12;
+ this.soundsequence.Tag = "soundsequence";
+ this.soundsequence.TextChanged += new System.EventHandler(this.soundsequence_TextChanged);
+ this.soundsequence.MouseDown += new System.Windows.Forms.MouseEventHandler(this.soundsequence_MouseDown);
+ //
+ // resetsoundsequence
+ //
+ this.resetsoundsequence.Image = ((System.Drawing.Image)(resources.GetObject("resetsoundsequence.Image")));
+ this.resetsoundsequence.Location = new System.Drawing.Point(523, 46);
+ this.resetsoundsequence.Name = "resetsoundsequence";
+ this.resetsoundsequence.Size = new System.Drawing.Size(28, 25);
+ this.resetsoundsequence.TabIndex = 13;
+ this.resetsoundsequence.Tag = "soundsequence";
+ this.resetsoundsequence.Text = " ";
+ this.tooltip.SetToolTip(this.resetsoundsequence, "Reset");
+ this.resetsoundsequence.UseVisualStyleBackColor = true;
+ this.resetsoundsequence.Click += new System.EventHandler(this.resetsoundsequence_Click);
+ //
+ // brightness
+ //
+ this.brightness.AllowDecimal = false;
+ this.brightness.AllowExpressions = false;
+ this.brightness.AllowNegative = false;
+ this.brightness.AllowRelative = true;
+ this.brightness.ButtonStep = 8;
+ this.brightness.ButtonStepBig = 16F;
+ this.brightness.ButtonStepFloat = 1F;
+ this.brightness.ButtonStepSmall = 1F;
+ this.brightness.ButtonStepsUseModifierKeys = true;
+ this.brightness.ButtonStepsWrapAround = false;
+ this.brightness.Location = new System.Drawing.Point(89, 46);
+ this.brightness.Name = "brightness";
+ this.brightness.Size = new System.Drawing.Size(81, 24);
+ this.brightness.StepValues = null;
+ this.brightness.TabIndex = 4;
+ this.brightness.WhenTextChanged += new System.EventHandler(this.brightness_WhenTextChanged);
+ //
+ // label14
+ //
+ label14.AutoSize = true;
+ label14.Location = new System.Drawing.Point(253, 52);
+ label14.Name = "label14";
+ label14.Size = new System.Drawing.Size(91, 13);
+ label14.TabIndex = 11;
+ label14.Tag = "soundsequence";
+ label14.Text = "Sound sequence:";
+ //
+ // label9
+ //
+ label9.AutoSize = true;
+ label9.Location = new System.Drawing.Point(21, 51);
+ label9.Name = "label9";
+ label9.Size = new System.Drawing.Size(59, 13);
+ label9.TabIndex = 3;
+ label9.Text = "Brightness:";
+ //
+ // gravity
+ //
+ this.gravity.AllowDecimal = true;
+ this.gravity.AllowExpressions = false;
+ this.gravity.AllowNegative = true;
+ this.gravity.AllowRelative = true;
+ this.gravity.ButtonStep = 1;
+ this.gravity.ButtonStepBig = 1F;
+ this.gravity.ButtonStepFloat = 0.1F;
+ this.gravity.ButtonStepSmall = 0.01F;
+ this.gravity.ButtonStepsUseModifierKeys = true;
+ this.gravity.ButtonStepsWrapAround = false;
+ this.gravity.Location = new System.Drawing.Point(89, 74);
+ this.gravity.Name = "gravity";
+ this.gravity.Size = new System.Drawing.Size(81, 24);
+ this.gravity.StepValues = null;
+ this.gravity.TabIndex = 6;
+ this.gravity.Tag = "gravity";
+ //
+ // label2
+ //
+ label2.Location = new System.Drawing.Point(9, 79);
+ label2.Name = "label2";
+ label2.Size = new System.Drawing.Size(74, 14);
+ label2.TabIndex = 5;
+ label2.Tag = "gravity";
+ label2.Text = "Gravity:";
+ label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // browseeffect
+ //
+ this.browseeffect.Image = ((System.Drawing.Image)(resources.GetObject("browseeffect.Image")));
+ this.browseeffect.Location = new System.Drawing.Point(523, 16);
+ this.browseeffect.Name = "browseeffect";
+ this.browseeffect.Size = new System.Drawing.Size(28, 25);
+ this.browseeffect.TabIndex = 2;
+ this.browseeffect.Text = " ";
+ this.browseeffect.UseVisualStyleBackColor = true;
+ this.browseeffect.Click += new System.EventHandler(this.browseeffect_Click);
+ //
+ // effect
+ //
+ this.effect.BackColor = System.Drawing.Color.Transparent;
+ this.effect.Cursor = System.Windows.Forms.Cursors.Default;
+ this.effect.Empty = false;
+ this.effect.GeneralizedCategories = null;
+ this.effect.GeneralizedOptions = null;
+ this.effect.Location = new System.Drawing.Point(89, 18);
+ this.effect.Name = "effect";
+ this.effect.Size = new System.Drawing.Size(428, 21);
+ this.effect.TabIndex = 1;
+ this.effect.Value = 402;
+ //
+ // label8
+ //
+ label8.AutoSize = true;
+ label8.Location = new System.Drawing.Point(35, 22);
+ label8.Name = "label8";
+ label8.Size = new System.Drawing.Size(45, 13);
+ label8.TabIndex = 0;
+ label8.Text = "Special:";
+ //
+ // groupfloorceiling
+ //
+ groupfloorceiling.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- groupfloorceiling.Controls.Add(label15);
- groupfloorceiling.Controls.Add(label6);
- groupfloorceiling.Controls.Add(label5);
- groupfloorceiling.Controls.Add(this.heightoffset);
- groupfloorceiling.Controls.Add(this.ceilingheight);
- groupfloorceiling.Controls.Add(this.sectorheightlabel);
- groupfloorceiling.Controls.Add(this.sectorheight);
- groupfloorceiling.Controls.Add(this.floorheight);
- groupfloorceiling.Location = new System.Drawing.Point(7, 186);
- groupfloorceiling.Name = "groupfloorceiling";
- groupfloorceiling.Size = new System.Drawing.Size(254, 138);
- groupfloorceiling.TabIndex = 0;
- groupfloorceiling.TabStop = false;
- groupfloorceiling.Text = " Heights ";
- //
- // label15
- //
- label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- label15.ForeColor = System.Drawing.SystemColors.HotTrack;
- label15.Location = new System.Drawing.Point(9, 83);
- label15.Name = "label15";
- label15.Size = new System.Drawing.Size(74, 14);
- label15.TabIndex = 4;
- label15.Text = "Height offset:";
- label15.TextAlign = System.Drawing.ContentAlignment.TopRight;
- this.tooltip.SetToolTip(label15, "Changes floor and ceiling height by given value.\r\nUse \"++\" to raise by sector hei" +
+ groupfloorceiling.Controls.Add(label15);
+ groupfloorceiling.Controls.Add(label6);
+ groupfloorceiling.Controls.Add(label5);
+ groupfloorceiling.Controls.Add(this.heightoffset);
+ groupfloorceiling.Controls.Add(this.ceilingheight);
+ groupfloorceiling.Controls.Add(this.sectorheightlabel);
+ groupfloorceiling.Controls.Add(this.sectorheight);
+ groupfloorceiling.Controls.Add(this.floorheight);
+ groupfloorceiling.Location = new System.Drawing.Point(7, 186);
+ groupfloorceiling.Name = "groupfloorceiling";
+ groupfloorceiling.Size = new System.Drawing.Size(254, 138);
+ groupfloorceiling.TabIndex = 0;
+ groupfloorceiling.TabStop = false;
+ groupfloorceiling.Text = " Heights ";
+ //
+ // label15
+ //
+ label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ label15.ForeColor = System.Drawing.SystemColors.HotTrack;
+ label15.Location = new System.Drawing.Point(9, 83);
+ label15.Name = "label15";
+ label15.Size = new System.Drawing.Size(74, 14);
+ label15.TabIndex = 4;
+ label15.Text = "Height offset:";
+ label15.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ this.tooltip.SetToolTip(label15, "Changes floor and ceiling height by given value.\r\nUse \"++\" to raise by sector hei" +
"ght.\r\nUse \"--\" to lower by sector height.");
- //
- // label6
- //
- label6.Location = new System.Drawing.Point(9, 23);
- label6.Name = "label6";
- label6.Size = new System.Drawing.Size(74, 14);
- label6.TabIndex = 0;
- label6.Text = "Ceiling height:";
- label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // label5
- //
- label5.Location = new System.Drawing.Point(9, 53);
- label5.Name = "label5";
- label5.Size = new System.Drawing.Size(74, 14);
- label5.TabIndex = 2;
- label5.Text = "Floor height:";
- label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // heightoffset
- //
- this.heightoffset.AllowDecimal = false;
- this.heightoffset.AllowExpressions = true;
- this.heightoffset.AllowNegative = true;
- this.heightoffset.AllowRelative = true;
- this.heightoffset.ButtonStep = 8;
- this.heightoffset.ButtonStepBig = 16F;
- this.heightoffset.ButtonStepFloat = 1F;
- this.heightoffset.ButtonStepSmall = 1F;
- this.heightoffset.ButtonStepsUseModifierKeys = true;
- this.heightoffset.ButtonStepsWrapAround = false;
- this.heightoffset.Location = new System.Drawing.Point(89, 78);
- this.heightoffset.Name = "heightoffset";
- this.heightoffset.Size = new System.Drawing.Size(81, 24);
- this.heightoffset.StepValues = null;
- this.heightoffset.TabIndex = 5;
- this.heightoffset.WhenTextChanged += new System.EventHandler(this.heightoffset_WhenTextChanged);
- //
- // ceilingheight
- //
- this.ceilingheight.AllowDecimal = false;
- this.ceilingheight.AllowExpressions = true;
- this.ceilingheight.AllowNegative = true;
- this.ceilingheight.AllowRelative = true;
- this.ceilingheight.ButtonStep = 8;
- this.ceilingheight.ButtonStepBig = 16F;
- this.ceilingheight.ButtonStepFloat = 1F;
- this.ceilingheight.ButtonStepSmall = 1F;
- this.ceilingheight.ButtonStepsUseModifierKeys = true;
- this.ceilingheight.ButtonStepsWrapAround = false;
- this.ceilingheight.Location = new System.Drawing.Point(89, 18);
- this.ceilingheight.Name = "ceilingheight";
- this.ceilingheight.Size = new System.Drawing.Size(81, 24);
- this.ceilingheight.StepValues = null;
- this.ceilingheight.TabIndex = 1;
- this.ceilingheight.WhenTextChanged += new System.EventHandler(this.ceilingheight_WhenTextChanged);
- //
- // sectorheightlabel
- //
- this.sectorheightlabel.Location = new System.Drawing.Point(9, 113);
- this.sectorheightlabel.Name = "sectorheightlabel";
- this.sectorheightlabel.Size = new System.Drawing.Size(74, 14);
- this.sectorheightlabel.TabIndex = 6;
- this.sectorheightlabel.Text = "Sector height:";
- this.sectorheightlabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // sectorheight
- //
- this.sectorheight.AutoSize = true;
- this.sectorheight.Location = new System.Drawing.Point(89, 114);
- this.sectorheight.Name = "sectorheight";
- this.sectorheight.Size = new System.Drawing.Size(13, 13);
- this.sectorheight.TabIndex = 7;
- this.sectorheight.Text = "0";
- //
- // floorheight
- //
- this.floorheight.AllowDecimal = false;
- this.floorheight.AllowExpressions = true;
- this.floorheight.AllowNegative = true;
- this.floorheight.AllowRelative = true;
- this.floorheight.ButtonStep = 8;
- this.floorheight.ButtonStepBig = 16F;
- this.floorheight.ButtonStepFloat = 1F;
- this.floorheight.ButtonStepSmall = 1F;
- this.floorheight.ButtonStepsUseModifierKeys = true;
- this.floorheight.ButtonStepsWrapAround = false;
- this.floorheight.Location = new System.Drawing.Point(89, 48);
- this.floorheight.Name = "floorheight";
- this.floorheight.Size = new System.Drawing.Size(81, 24);
- this.floorheight.StepValues = null;
- this.floorheight.TabIndex = 3;
- this.floorheight.WhenTextChanged += new System.EventHandler(this.floorheight_WhenTextChanged);
- //
- // label17
- //
- label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- label17.ForeColor = System.Drawing.SystemColors.HotTrack;
- label17.Location = new System.Drawing.Point(10, 51);
- label17.Name = "label17";
- label17.Size = new System.Drawing.Size(74, 14);
- label17.TabIndex = 3;
- label17.Text = "Amount:";
- label17.TextAlign = System.Drawing.ContentAlignment.TopRight;
- this.tooltip.SetToolTip(label17, "Amount of damage inflicted by this sector.\r\nIf this is 0, all other damage proper" +
+ //
+ // label6
+ //
+ label6.Location = new System.Drawing.Point(9, 23);
+ label6.Name = "label6";
+ label6.Size = new System.Drawing.Size(74, 14);
+ label6.TabIndex = 0;
+ label6.Text = "Ceiling height:";
+ label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // label5
+ //
+ label5.Location = new System.Drawing.Point(9, 53);
+ label5.Name = "label5";
+ label5.Size = new System.Drawing.Size(74, 14);
+ label5.TabIndex = 2;
+ label5.Text = "Floor height:";
+ label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // heightoffset
+ //
+ this.heightoffset.AllowDecimal = false;
+ this.heightoffset.AllowExpressions = true;
+ this.heightoffset.AllowNegative = true;
+ this.heightoffset.AllowRelative = true;
+ this.heightoffset.ButtonStep = 8;
+ this.heightoffset.ButtonStepBig = 16F;
+ this.heightoffset.ButtonStepFloat = 1F;
+ this.heightoffset.ButtonStepSmall = 1F;
+ this.heightoffset.ButtonStepsUseModifierKeys = true;
+ this.heightoffset.ButtonStepsWrapAround = false;
+ this.heightoffset.Location = new System.Drawing.Point(89, 78);
+ this.heightoffset.Name = "heightoffset";
+ this.heightoffset.Size = new System.Drawing.Size(81, 24);
+ this.heightoffset.StepValues = null;
+ this.heightoffset.TabIndex = 5;
+ this.heightoffset.WhenTextChanged += new System.EventHandler(this.heightoffset_WhenTextChanged);
+ //
+ // ceilingheight
+ //
+ this.ceilingheight.AllowDecimal = false;
+ this.ceilingheight.AllowExpressions = true;
+ this.ceilingheight.AllowNegative = true;
+ this.ceilingheight.AllowRelative = true;
+ this.ceilingheight.ButtonStep = 8;
+ this.ceilingheight.ButtonStepBig = 16F;
+ this.ceilingheight.ButtonStepFloat = 1F;
+ this.ceilingheight.ButtonStepSmall = 1F;
+ this.ceilingheight.ButtonStepsUseModifierKeys = true;
+ this.ceilingheight.ButtonStepsWrapAround = false;
+ this.ceilingheight.Location = new System.Drawing.Point(89, 18);
+ this.ceilingheight.Name = "ceilingheight";
+ this.ceilingheight.Size = new System.Drawing.Size(81, 24);
+ this.ceilingheight.StepValues = null;
+ this.ceilingheight.TabIndex = 1;
+ this.ceilingheight.WhenTextChanged += new System.EventHandler(this.ceilingheight_WhenTextChanged);
+ //
+ // sectorheightlabel
+ //
+ this.sectorheightlabel.Location = new System.Drawing.Point(9, 113);
+ this.sectorheightlabel.Name = "sectorheightlabel";
+ this.sectorheightlabel.Size = new System.Drawing.Size(74, 14);
+ this.sectorheightlabel.TabIndex = 6;
+ this.sectorheightlabel.Text = "Sector height:";
+ this.sectorheightlabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // sectorheight
+ //
+ this.sectorheight.AutoSize = true;
+ this.sectorheight.Location = new System.Drawing.Point(89, 114);
+ this.sectorheight.Name = "sectorheight";
+ this.sectorheight.Size = new System.Drawing.Size(13, 13);
+ this.sectorheight.TabIndex = 7;
+ this.sectorheight.Text = "0";
+ //
+ // floorheight
+ //
+ this.floorheight.AllowDecimal = false;
+ this.floorheight.AllowExpressions = true;
+ this.floorheight.AllowNegative = true;
+ this.floorheight.AllowRelative = true;
+ this.floorheight.ButtonStep = 8;
+ this.floorheight.ButtonStepBig = 16F;
+ this.floorheight.ButtonStepFloat = 1F;
+ this.floorheight.ButtonStepSmall = 1F;
+ this.floorheight.ButtonStepsUseModifierKeys = true;
+ this.floorheight.ButtonStepsWrapAround = false;
+ this.floorheight.Location = new System.Drawing.Point(89, 48);
+ this.floorheight.Name = "floorheight";
+ this.floorheight.Size = new System.Drawing.Size(81, 24);
+ this.floorheight.StepValues = null;
+ this.floorheight.TabIndex = 3;
+ this.floorheight.WhenTextChanged += new System.EventHandler(this.floorheight_WhenTextChanged);
+ //
+ // label17
+ //
+ label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ label17.ForeColor = System.Drawing.SystemColors.HotTrack;
+ label17.Location = new System.Drawing.Point(10, 51);
+ label17.Name = "label17";
+ label17.Size = new System.Drawing.Size(74, 14);
+ label17.TabIndex = 3;
+ label17.Tag = "damageamount";
+ label17.Text = "Amount:";
+ label17.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ this.tooltip.SetToolTip(label17, "Amount of damage inflicted by this sector.\r\nIf this is 0, all other damage proper" +
"ties will be ignored.\r\nSetting this to a negative value will create a healing se" +
"ctor.");
- //
- // label16
- //
- label16.Location = new System.Drawing.Point(10, 23);
- label16.Name = "label16";
- label16.Size = new System.Drawing.Size(74, 14);
- label16.TabIndex = 0;
- label16.Text = "Type:";
- label16.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // label18
- //
- label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- label18.ForeColor = System.Drawing.SystemColors.HotTrack;
- label18.Location = new System.Drawing.Point(10, 81);
- label18.Name = "label18";
- label18.Size = new System.Drawing.Size(74, 14);
- label18.TabIndex = 5;
- label18.Text = "Interval:";
- label18.TextAlign = System.Drawing.ContentAlignment.TopRight;
- this.tooltip.SetToolTip(label18, "Interval in tics between damage application.");
- //
- // label19
- //
- label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- label19.ForeColor = System.Drawing.SystemColors.HotTrack;
- label19.Location = new System.Drawing.Point(10, 111);
- label19.Name = "label19";
- label19.Size = new System.Drawing.Size(74, 14);
- label19.TabIndex = 7;
- label19.Text = "Leakiness:";
- label19.TextAlign = System.Drawing.ContentAlignment.TopRight;
- this.tooltip.SetToolTip(label19, "Probability of leaking through radiation suit\r\n(0 = never, 256 = always)");
- //
- // label13
- //
- label13.Location = new System.Drawing.Point(35, 83);
- label13.Name = "label13";
- label13.Size = new System.Drawing.Size(74, 14);
- label13.TabIndex = 18;
- label13.Text = "Desaturation:";
- label13.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // tabs
- //
- this.tabs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ //
+ // label16
+ //
+ label16.Location = new System.Drawing.Point(10, 23);
+ label16.Name = "label16";
+ label16.Size = new System.Drawing.Size(74, 14);
+ label16.TabIndex = 0;
+ label16.Tag = "damagetype";
+ label16.Text = "Type:";
+ label16.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // label18
+ //
+ label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ label18.ForeColor = System.Drawing.SystemColors.HotTrack;
+ label18.Location = new System.Drawing.Point(10, 81);
+ label18.Name = "label18";
+ label18.Size = new System.Drawing.Size(74, 14);
+ label18.TabIndex = 5;
+ label18.Text = "Interval:";
+ label18.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ this.tooltip.SetToolTip(label18, "Interval in tics between damage application.");
+ //
+ // label19
+ //
+ label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ label19.ForeColor = System.Drawing.SystemColors.HotTrack;
+ label19.Location = new System.Drawing.Point(10, 111);
+ label19.Name = "label19";
+ label19.Size = new System.Drawing.Size(74, 14);
+ label19.TabIndex = 7;
+ label19.Text = "Leakiness:";
+ label19.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ this.tooltip.SetToolTip(label19, "Probability of leaking through radiation suit\r\n(0 = never, 256 = always)");
+ //
+ // label13
+ //
+ label13.Location = new System.Drawing.Point(35, 83);
+ label13.Name = "label13";
+ label13.Size = new System.Drawing.Size(74, 14);
+ label13.TabIndex = 18;
+ label13.Tag = "desaturation";
+ label13.Text = "Desaturation:";
+ label13.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // tabs
+ //
+ this.tabs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.tabs.Controls.Add(this.tabproperties);
- this.tabs.Controls.Add(this.tabColors);
- this.tabs.Controls.Add(this.tabSurfaces);
- this.tabs.Controls.Add(this.tabslopes);
- this.tabs.Controls.Add(this.tabcomment);
- this.tabs.Controls.Add(this.tabcustom);
- this.tabs.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
- this.tabs.Location = new System.Drawing.Point(10, 10);
- this.tabs.Margin = new System.Windows.Forms.Padding(1);
- this.tabs.Name = "tabs";
- this.tabs.Padding = new System.Drawing.Point(20, 3);
- this.tabs.SelectedIndex = 0;
- this.tabs.Size = new System.Drawing.Size(578, 552);
- this.tabs.TabIndex = 1;
- //
- // tabproperties
- //
- this.tabproperties.Controls.Add(this.groupdamage);
- this.tabproperties.Controls.Add(this.groupBox3);
- this.tabproperties.Controls.Add(groupaction);
- this.tabproperties.Controls.Add(groupeffect);
- this.tabproperties.Controls.Add(groupfloorceiling);
- this.tabproperties.Cursor = System.Windows.Forms.Cursors.Arrow;
- this.tabproperties.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.tabproperties.Location = new System.Drawing.Point(4, 24);
- this.tabproperties.Name = "tabproperties";
- this.tabproperties.Padding = new System.Windows.Forms.Padding(3);
- this.tabproperties.Size = new System.Drawing.Size(570, 524);
- this.tabproperties.TabIndex = 0;
- this.tabproperties.Text = "Properties";
- this.tabproperties.UseVisualStyleBackColor = true;
- //
- // groupdamage
- //
- this.groupdamage.Controls.Add(label19);
- this.groupdamage.Controls.Add(this.leakiness);
- this.groupdamage.Controls.Add(label18);
- this.groupdamage.Controls.Add(this.damageinterval);
- this.groupdamage.Controls.Add(label16);
- this.groupdamage.Controls.Add(label17);
- this.groupdamage.Controls.Add(this.resetdamagetype);
- this.groupdamage.Controls.Add(this.damageamount);
- this.groupdamage.Controls.Add(this.damagetype);
- this.groupdamage.Location = new System.Drawing.Point(267, 186);
- this.groupdamage.Name = "groupdamage";
- this.groupdamage.Size = new System.Drawing.Size(297, 138);
- this.groupdamage.TabIndex = 4;
- this.groupdamage.TabStop = false;
- this.groupdamage.Text = " Sector damage ";
- //
- // leakiness
- //
- this.leakiness.AllowDecimal = false;
- this.leakiness.AllowExpressions = false;
- this.leakiness.AllowNegative = false;
- this.leakiness.AllowRelative = true;
- this.leakiness.ButtonStep = 8;
- this.leakiness.ButtonStepBig = 16F;
- this.leakiness.ButtonStepFloat = 1F;
- this.leakiness.ButtonStepSmall = 1F;
- this.leakiness.ButtonStepsUseModifierKeys = true;
- this.leakiness.ButtonStepsWrapAround = false;
- this.leakiness.Location = new System.Drawing.Point(90, 106);
- this.leakiness.Name = "leakiness";
- this.leakiness.Size = new System.Drawing.Size(81, 24);
- this.leakiness.StepValues = null;
- this.leakiness.TabIndex = 8;
- //
- // damageinterval
- //
- this.damageinterval.AllowDecimal = false;
- this.damageinterval.AllowExpressions = false;
- this.damageinterval.AllowNegative = false;
- this.damageinterval.AllowRelative = true;
- this.damageinterval.ButtonStep = 8;
- this.damageinterval.ButtonStepBig = 16F;
- this.damageinterval.ButtonStepFloat = 1F;
- this.damageinterval.ButtonStepSmall = 1F;
- this.damageinterval.ButtonStepsUseModifierKeys = true;
- this.damageinterval.ButtonStepsWrapAround = false;
- this.damageinterval.Location = new System.Drawing.Point(90, 76);
- this.damageinterval.Name = "damageinterval";
- this.damageinterval.Size = new System.Drawing.Size(81, 24);
- this.damageinterval.StepValues = null;
- this.damageinterval.TabIndex = 6;
- //
- // resetdamagetype
- //
- this.resetdamagetype.Image = ((System.Drawing.Image)(resources.GetObject("resetdamagetype.Image")));
- this.resetdamagetype.Location = new System.Drawing.Point(263, 17);
- this.resetdamagetype.Name = "resetdamagetype";
- this.resetdamagetype.Size = new System.Drawing.Size(28, 25);
- this.resetdamagetype.TabIndex = 2;
- this.resetdamagetype.Text = " ";
- this.tooltip.SetToolTip(this.resetdamagetype, "Reset");
- this.resetdamagetype.UseVisualStyleBackColor = true;
- this.resetdamagetype.Click += new System.EventHandler(this.resetdamagetype_Click);
- //
- // damageamount
- //
- this.damageamount.AllowDecimal = false;
- this.damageamount.AllowExpressions = false;
- this.damageamount.AllowNegative = true;
- this.damageamount.AllowRelative = true;
- this.damageamount.ButtonStep = 8;
- this.damageamount.ButtonStepBig = 16F;
- this.damageamount.ButtonStepFloat = 1F;
- this.damageamount.ButtonStepSmall = 1F;
- this.damageamount.ButtonStepsUseModifierKeys = true;
- this.damageamount.ButtonStepsWrapAround = false;
- this.damageamount.Location = new System.Drawing.Point(90, 46);
- this.damageamount.Name = "damageamount";
- this.damageamount.Size = new System.Drawing.Size(81, 24);
- this.damageamount.StepValues = null;
- this.damageamount.TabIndex = 4;
- //
- // damagetype
- //
- this.damagetype.FormattingEnabled = true;
- this.damagetype.Location = new System.Drawing.Point(90, 19);
- this.damagetype.Name = "damagetype";
- this.damagetype.Size = new System.Drawing.Size(167, 21);
- this.damagetype.TabIndex = 1;
- this.damagetype.TextChanged += new System.EventHandler(this.damagetype_TextChanged);
- this.damagetype.MouseDown += new System.Windows.Forms.MouseEventHandler(this.damagetype_MouseDown);
- //
- // groupBox3
- //
- this.groupBox3.Controls.Add(this.flags);
- this.groupBox3.Location = new System.Drawing.Point(7, 6);
- this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(557, 174);
- this.groupBox3.TabIndex = 0;
- this.groupBox3.TabStop = false;
- this.groupBox3.Text = " Flags ";
- //
- // flags
- //
- this.flags.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ this.tabs.Controls.Add(this.tabproperties);
+ this.tabs.Controls.Add(this.tabColors);
+ this.tabs.Controls.Add(this.tabSurfaces);
+ this.tabs.Controls.Add(this.tabslopes);
+ this.tabs.Controls.Add(this.tabcomment);
+ this.tabs.Controls.Add(this.tabcustom);
+ this.tabs.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+ this.tabs.Location = new System.Drawing.Point(10, 10);
+ this.tabs.Margin = new System.Windows.Forms.Padding(1);
+ this.tabs.Name = "tabs";
+ this.tabs.Padding = new System.Drawing.Point(20, 3);
+ this.tabs.SelectedIndex = 0;
+ this.tabs.Size = new System.Drawing.Size(578, 552);
+ this.tabs.TabIndex = 1;
+ //
+ // tabproperties
+ //
+ this.tabproperties.Controls.Add(this.groupdamage);
+ this.tabproperties.Controls.Add(this.groupBox3);
+ this.tabproperties.Controls.Add(groupaction);
+ this.tabproperties.Controls.Add(groupeffect);
+ this.tabproperties.Controls.Add(groupfloorceiling);
+ this.tabproperties.Cursor = System.Windows.Forms.Cursors.Arrow;
+ this.tabproperties.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.tabproperties.Location = new System.Drawing.Point(4, 22);
+ this.tabproperties.Name = "tabproperties";
+ this.tabproperties.Padding = new System.Windows.Forms.Padding(3);
+ this.tabproperties.Size = new System.Drawing.Size(570, 526);
+ this.tabproperties.TabIndex = 0;
+ this.tabproperties.Text = "Properties";
+ this.tabproperties.UseVisualStyleBackColor = true;
+ //
+ // groupdamage
+ //
+ this.groupdamage.Controls.Add(label19);
+ this.groupdamage.Controls.Add(this.leakiness);
+ this.groupdamage.Controls.Add(label18);
+ this.groupdamage.Controls.Add(this.damageinterval);
+ this.groupdamage.Controls.Add(label16);
+ this.groupdamage.Controls.Add(label17);
+ this.groupdamage.Controls.Add(this.resetdamagetype);
+ this.groupdamage.Controls.Add(this.damageamount);
+ this.groupdamage.Controls.Add(this.damagetype);
+ this.groupdamage.Location = new System.Drawing.Point(267, 186);
+ this.groupdamage.Name = "groupdamage";
+ this.groupdamage.Size = new System.Drawing.Size(297, 138);
+ this.groupdamage.TabIndex = 4;
+ this.groupdamage.TabStop = false;
+ this.groupdamage.Text = " Sector damage ";
+ //
+ // leakiness
+ //
+ this.leakiness.AllowDecimal = false;
+ this.leakiness.AllowExpressions = false;
+ this.leakiness.AllowNegative = false;
+ this.leakiness.AllowRelative = true;
+ this.leakiness.ButtonStep = 8;
+ this.leakiness.ButtonStepBig = 16F;
+ this.leakiness.ButtonStepFloat = 1F;
+ this.leakiness.ButtonStepSmall = 1F;
+ this.leakiness.ButtonStepsUseModifierKeys = true;
+ this.leakiness.ButtonStepsWrapAround = false;
+ this.leakiness.Location = new System.Drawing.Point(90, 106);
+ this.leakiness.Name = "leakiness";
+ this.leakiness.Size = new System.Drawing.Size(81, 24);
+ this.leakiness.StepValues = null;
+ this.leakiness.TabIndex = 8;
+ this.leakiness.Tag = "leakiness";
+ //
+ // damageinterval
+ //
+ this.damageinterval.AllowDecimal = false;
+ this.damageinterval.AllowExpressions = false;
+ this.damageinterval.AllowNegative = false;
+ this.damageinterval.AllowRelative = true;
+ this.damageinterval.ButtonStep = 8;
+ this.damageinterval.ButtonStepBig = 16F;
+ this.damageinterval.ButtonStepFloat = 1F;
+ this.damageinterval.ButtonStepSmall = 1F;
+ this.damageinterval.ButtonStepsUseModifierKeys = true;
+ this.damageinterval.ButtonStepsWrapAround = false;
+ this.damageinterval.Location = new System.Drawing.Point(90, 76);
+ this.damageinterval.Name = "damageinterval";
+ this.damageinterval.Size = new System.Drawing.Size(81, 24);
+ this.damageinterval.StepValues = null;
+ this.damageinterval.TabIndex = 6;
+ this.damageinterval.Tag = "damageinterval";
+ //
+ // resetdamagetype
+ //
+ this.resetdamagetype.Image = ((System.Drawing.Image)(resources.GetObject("resetdamagetype.Image")));
+ this.resetdamagetype.Location = new System.Drawing.Point(263, 17);
+ this.resetdamagetype.Name = "resetdamagetype";
+ this.resetdamagetype.Size = new System.Drawing.Size(28, 25);
+ this.resetdamagetype.TabIndex = 2;
+ this.resetdamagetype.Tag = "damagetype";
+ this.resetdamagetype.Text = " ";
+ this.tooltip.SetToolTip(this.resetdamagetype, "Reset");
+ this.resetdamagetype.UseVisualStyleBackColor = true;
+ this.resetdamagetype.Click += new System.EventHandler(this.resetdamagetype_Click);
+ //
+ // damageamount
+ //
+ this.damageamount.AllowDecimal = false;
+ this.damageamount.AllowExpressions = false;
+ this.damageamount.AllowNegative = true;
+ this.damageamount.AllowRelative = true;
+ this.damageamount.ButtonStep = 8;
+ this.damageamount.ButtonStepBig = 16F;
+ this.damageamount.ButtonStepFloat = 1F;
+ this.damageamount.ButtonStepSmall = 1F;
+ this.damageamount.ButtonStepsUseModifierKeys = true;
+ this.damageamount.ButtonStepsWrapAround = false;
+ this.damageamount.Location = new System.Drawing.Point(90, 46);
+ this.damageamount.Name = "damageamount";
+ this.damageamount.Size = new System.Drawing.Size(81, 24);
+ this.damageamount.StepValues = null;
+ this.damageamount.TabIndex = 4;
+ this.damageamount.Tag = "damageamount";
+ //
+ // damagetype
+ //
+ this.damagetype.FormattingEnabled = true;
+ this.damagetype.Location = new System.Drawing.Point(90, 19);
+ this.damagetype.Name = "damagetype";
+ this.damagetype.Size = new System.Drawing.Size(167, 21);
+ this.damagetype.TabIndex = 1;
+ this.damagetype.Tag = "damagetype";
+ this.damagetype.TextChanged += new System.EventHandler(this.damagetype_TextChanged);
+ this.damagetype.MouseDown += new System.Windows.Forms.MouseEventHandler(this.damagetype_MouseDown);
+ //
+ // groupBox3
+ //
+ this.groupBox3.Controls.Add(this.flags);
+ this.groupBox3.Location = new System.Drawing.Point(7, 6);
+ this.groupBox3.Name = "groupBox3";
+ this.groupBox3.Size = new System.Drawing.Size(557, 174);
+ this.groupBox3.TabIndex = 0;
+ this.groupBox3.TabStop = false;
+ this.groupBox3.Text = " Flags ";
+ //
+ // flags
+ //
+ this.flags.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.flags.AutoScroll = true;
- this.flags.Columns = 2;
- this.flags.Location = new System.Drawing.Point(15, 21);
- this.flags.Name = "flags";
- this.flags.Size = new System.Drawing.Size(536, 147);
- this.flags.TabIndex = 0;
- this.flags.VerticalSpacing = 1;
- //
- // tabColors
- //
- this.tabColors.Controls.Add(this.groupBox11);
- this.tabColors.Controls.Add(this.groupBox10);
- this.tabColors.Controls.Add(this.groupBox9);
- this.tabColors.Controls.Add(this.groupBox8);
- this.tabColors.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
- this.tabColors.Location = new System.Drawing.Point(4, 24);
- this.tabColors.Name = "tabColors";
- this.tabColors.Size = new System.Drawing.Size(570, 528);
- this.tabColors.TabIndex = 5;
- this.tabColors.Text = "Colors";
- this.tabColors.UseVisualStyleBackColor = true;
- //
- // groupBox11
- //
- this.groupBox11.Controls.Add(this.floorGlowEnabled);
- this.groupBox11.Controls.Add(this.floorglowheightrequired);
- this.groupBox11.Controls.Add(this.resetfloorglowheight);
- this.groupBox11.Controls.Add(this.floorglowheightlabel);
- this.groupBox11.Controls.Add(this.floorglowheight);
- this.groupBox11.Controls.Add(this.floorglowcolor);
- this.groupBox11.Location = new System.Drawing.Point(286, 205);
- this.groupBox11.Name = "groupBox11";
- this.groupBox11.Size = new System.Drawing.Size(281, 85);
- this.groupBox11.TabIndex = 20;
- this.groupBox11.TabStop = false;
- this.groupBox11.Text = " ";
- //
- // floorGlowEnabled
- //
- this.floorGlowEnabled.AutoSize = true;
- this.floorGlowEnabled.Checked = true;
- this.floorGlowEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
- this.floorGlowEnabled.Location = new System.Drawing.Point(11, -1);
- this.floorGlowEnabled.Name = "floorGlowEnabled";
- this.floorGlowEnabled.Size = new System.Drawing.Size(74, 17);
- this.floorGlowEnabled.TabIndex = 33;
- this.floorGlowEnabled.Text = "Floor glow";
- this.floorGlowEnabled.UseVisualStyleBackColor = true;
- this.floorGlowEnabled.CheckedChanged += new System.EventHandler(this.floorGlowEnabled_CheckedChanged);
- //
- // floorglowheightrequired
- //
- this.floorglowheightrequired.Image = ((System.Drawing.Image)(resources.GetObject("floorglowheightrequired.Image")));
- this.floorglowheightrequired.Location = new System.Drawing.Point(8, 53);
- this.floorglowheightrequired.Name = "floorglowheightrequired";
- this.floorglowheightrequired.Size = new System.Drawing.Size(16, 16);
- this.floorglowheightrequired.TabIndex = 33;
- this.floorglowheightrequired.TabStop = false;
- this.tooltip.SetToolTip(this.floorglowheightrequired, "Non-zero glow height required\r\nfor the glow to be shown ingame!");
- this.floorglowheightrequired.Visible = false;
- //
- // resetfloorglowheight
- //
- this.resetfloorglowheight.Image = ((System.Drawing.Image)(resources.GetObject("resetfloorglowheight.Image")));
- this.resetfloorglowheight.Location = new System.Drawing.Point(163, 50);
- this.resetfloorglowheight.Name = "resetfloorglowheight";
- this.resetfloorglowheight.Size = new System.Drawing.Size(23, 23);
- this.resetfloorglowheight.TabIndex = 32;
- this.tooltip.SetToolTip(this.resetfloorglowheight, "Reset");
- this.resetfloorglowheight.UseVisualStyleBackColor = true;
- this.resetfloorglowheight.Click += new System.EventHandler(this.resetfloorglowheight_Click);
- //
- // floorglowheightlabel
- //
- this.floorglowheightlabel.Location = new System.Drawing.Point(10, 55);
- this.floorglowheightlabel.Name = "floorglowheightlabel";
- this.floorglowheightlabel.Size = new System.Drawing.Size(80, 14);
- this.floorglowheightlabel.TabIndex = 30;
- this.floorglowheightlabel.Tag = "";
- this.floorglowheightlabel.Text = "Glow height:";
- this.floorglowheightlabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // floorglowheight
- //
- this.floorglowheight.AllowDecimal = true;
- this.floorglowheight.AllowExpressions = false;
- this.floorglowheight.AllowNegative = false;
- this.floorglowheight.AllowRelative = false;
- this.floorglowheight.ButtonStep = 16;
- this.floorglowheight.ButtonStepBig = 64F;
- this.floorglowheight.ButtonStepFloat = 16F;
- this.floorglowheight.ButtonStepSmall = 1F;
- this.floorglowheight.ButtonStepsUseModifierKeys = true;
- this.floorglowheight.ButtonStepsWrapAround = false;
- this.floorglowheight.Location = new System.Drawing.Point(97, 50);
- this.floorglowheight.Name = "floorglowheight";
- this.floorglowheight.Size = new System.Drawing.Size(62, 24);
- this.floorglowheight.StepValues = null;
- this.floorglowheight.TabIndex = 31;
- this.floorglowheight.Tag = "";
- this.floorglowheight.WhenTextChanged += new System.EventHandler(this.floorglowheight_WhenTextChanged);
- //
- // floorglowcolor
- //
- this.floorglowcolor.DefaultValue = 0;
- this.floorglowcolor.Field = "floorglowcolor";
- this.floorglowcolor.Label = "Glow color:";
- this.floorglowcolor.Location = new System.Drawing.Point(28, 19);
- this.floorglowcolor.Name = "floorglowcolor";
- this.floorglowcolor.Size = new System.Drawing.Size(210, 29);
- this.floorglowcolor.TabIndex = 28;
- this.floorglowcolor.OnValueChanged += new System.EventHandler(this.floorglowcolor_OnValueChanged);
- //
- // groupBox10
- //
- this.groupBox10.Controls.Add(this.ceilingGlowEnabled);
- this.groupBox10.Controls.Add(this.ceilingglowheightrequired);
- this.groupBox10.Controls.Add(this.resetceilingglowheight);
- this.groupBox10.Controls.Add(this.ceilingglowheightlabel);
- this.groupBox10.Controls.Add(this.ceilingglowheight);
- this.groupBox10.Controls.Add(this.ceilingglowcolor);
- this.groupBox10.Location = new System.Drawing.Point(3, 205);
- this.groupBox10.Name = "groupBox10";
- this.groupBox10.Size = new System.Drawing.Size(277, 85);
- this.groupBox10.TabIndex = 19;
- this.groupBox10.TabStop = false;
- this.groupBox10.Text = " ";
- //
- // ceilingGlowEnabled
- //
- this.ceilingGlowEnabled.AutoSize = true;
- this.ceilingGlowEnabled.Checked = true;
- this.ceilingGlowEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
- this.ceilingGlowEnabled.Location = new System.Drawing.Point(11, -1);
- this.ceilingGlowEnabled.Name = "ceilingGlowEnabled";
- this.ceilingGlowEnabled.Size = new System.Drawing.Size(82, 17);
- this.ceilingGlowEnabled.TabIndex = 21;
- this.ceilingGlowEnabled.Text = "Ceiling glow";
- this.ceilingGlowEnabled.UseVisualStyleBackColor = true;
- this.ceilingGlowEnabled.CheckedChanged += new System.EventHandler(this.ceilingGlowEnabled_CheckedChanged);
- //
- // ceilingglowheightrequired
- //
- this.ceilingglowheightrequired.Image = ((System.Drawing.Image)(resources.GetObject("ceilingglowheightrequired.Image")));
- this.ceilingglowheightrequired.Location = new System.Drawing.Point(10, 53);
- this.ceilingglowheightrequired.Name = "ceilingglowheightrequired";
- this.ceilingglowheightrequired.Size = new System.Drawing.Size(16, 16);
- this.ceilingglowheightrequired.TabIndex = 32;
- this.ceilingglowheightrequired.TabStop = false;
- this.tooltip.SetToolTip(this.ceilingglowheightrequired, "Non-zero glow height required\r\nfor the glow to be shown ingame!");
- this.ceilingglowheightrequired.Visible = false;
- //
- // resetceilingglowheight
- //
- this.resetceilingglowheight.Image = ((System.Drawing.Image)(resources.GetObject("resetceilingglowheight.Image")));
- this.resetceilingglowheight.Location = new System.Drawing.Point(165, 50);
- this.resetceilingglowheight.Name = "resetceilingglowheight";
- this.resetceilingglowheight.Size = new System.Drawing.Size(23, 23);
- this.resetceilingglowheight.TabIndex = 31;
- this.tooltip.SetToolTip(this.resetceilingglowheight, "Reset");
- this.resetceilingglowheight.UseVisualStyleBackColor = true;
- this.resetceilingglowheight.Click += new System.EventHandler(this.resetceilingglowheight_Click);
- //
- // ceilingglowheightlabel
- //
- this.ceilingglowheightlabel.Location = new System.Drawing.Point(12, 55);
- this.ceilingglowheightlabel.Name = "ceilingglowheightlabel";
- this.ceilingglowheightlabel.Size = new System.Drawing.Size(80, 14);
- this.ceilingglowheightlabel.TabIndex = 29;
- this.ceilingglowheightlabel.Tag = "";
- this.ceilingglowheightlabel.Text = "Glow height:";
- this.ceilingglowheightlabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // ceilingglowheight
- //
- this.ceilingglowheight.AllowDecimal = true;
- this.ceilingglowheight.AllowExpressions = false;
- this.ceilingglowheight.AllowNegative = false;
- this.ceilingglowheight.AllowRelative = false;
- this.ceilingglowheight.ButtonStep = 16;
- this.ceilingglowheight.ButtonStepBig = 64F;
- this.ceilingglowheight.ButtonStepFloat = 16F;
- this.ceilingglowheight.ButtonStepSmall = 1F;
- this.ceilingglowheight.ButtonStepsUseModifierKeys = true;
- this.ceilingglowheight.ButtonStepsWrapAround = false;
- this.ceilingglowheight.Location = new System.Drawing.Point(99, 50);
- this.ceilingglowheight.Name = "ceilingglowheight";
- this.ceilingglowheight.Size = new System.Drawing.Size(62, 24);
- this.ceilingglowheight.StepValues = null;
- this.ceilingglowheight.TabIndex = 30;
- this.ceilingglowheight.Tag = "";
- this.ceilingglowheight.WhenTextChanged += new System.EventHandler(this.ceilingglowheight_WhenTextChanged);
- //
- // ceilingglowcolor
- //
- this.ceilingglowcolor.DefaultValue = 0;
- this.ceilingglowcolor.Field = "ceilingglowcolor";
- this.ceilingglowcolor.Label = "Glow color:";
- this.ceilingglowcolor.Location = new System.Drawing.Point(30, 19);
- this.ceilingglowcolor.Name = "ceilingglowcolor";
- this.ceilingglowcolor.Size = new System.Drawing.Size(210, 29);
- this.ceilingglowcolor.TabIndex = 27;
- this.ceilingglowcolor.OnValueChanged += new System.EventHandler(this.ceilingglowcolor_OnValueChanged);
- //
- // groupBox9
- //
- this.groupBox9.Controls.Add(this.thingsColor);
- this.groupBox9.Controls.Add(this.lowerWallColor);
- this.groupBox9.Controls.Add(this.upperWallColor);
- this.groupBox9.Controls.Add(this.floorColor);
- this.groupBox9.Controls.Add(this.ceilingColor);
- this.groupBox9.Location = new System.Drawing.Point(286, 3);
- this.groupBox9.Name = "groupBox9";
- this.groupBox9.Size = new System.Drawing.Size(281, 196);
- this.groupBox9.TabIndex = 19;
- this.groupBox9.TabStop = false;
- this.groupBox9.Text = "Doom 64-like sector colors";
- //
- // thingsColor
- //
- this.thingsColor.DefaultValue = 16777215;
- this.thingsColor.Field = "color_sprites";
- this.thingsColor.Label = "Things:";
- this.thingsColor.Location = new System.Drawing.Point(6, 89);
- this.thingsColor.Name = "thingsColor";
- this.thingsColor.Size = new System.Drawing.Size(207, 29);
- this.thingsColor.TabIndex = 22;
- this.thingsColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
- //
- // lowerWallColor
- //
- this.lowerWallColor.DefaultValue = 16777215;
- this.lowerWallColor.Field = "color_wallbottom";
- this.lowerWallColor.Label = "Lower wall:";
- this.lowerWallColor.Location = new System.Drawing.Point(6, 124);
- this.lowerWallColor.Name = "lowerWallColor";
- this.lowerWallColor.Size = new System.Drawing.Size(207, 29);
- this.lowerWallColor.TabIndex = 21;
- this.lowerWallColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
- //
- // upperWallColor
- //
- this.upperWallColor.DefaultValue = 16777215;
- this.upperWallColor.Field = "color_walltop";
- this.upperWallColor.Label = "Upper wall:";
- this.upperWallColor.Location = new System.Drawing.Point(6, 54);
- this.upperWallColor.Name = "upperWallColor";
- this.upperWallColor.Size = new System.Drawing.Size(207, 29);
- this.upperWallColor.TabIndex = 20;
- this.upperWallColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
- //
- // floorColor
- //
- this.floorColor.DefaultValue = 16777215;
- this.floorColor.Field = "color_floor";
- this.floorColor.Label = "Floor:";
- this.floorColor.Location = new System.Drawing.Point(6, 159);
- this.floorColor.Name = "floorColor";
- this.floorColor.Size = new System.Drawing.Size(207, 29);
- this.floorColor.TabIndex = 19;
- this.floorColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
- //
- // ceilingColor
- //
- this.ceilingColor.DefaultValue = 16777215;
- this.ceilingColor.Field = "color_ceiling";
- this.ceilingColor.Label = "Ceiling:";
- this.ceilingColor.Location = new System.Drawing.Point(6, 19);
- this.ceilingColor.Name = "ceilingColor";
- this.ceilingColor.Size = new System.Drawing.Size(207, 29);
- this.ceilingColor.TabIndex = 18;
- this.ceilingColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
- //
- // groupBox8
- //
- this.groupBox8.Controls.Add(this.desaturation);
- this.groupBox8.Controls.Add(label13);
- this.groupBox8.Controls.Add(this.lightColor);
- this.groupBox8.Controls.Add(this.fadeColor);
- this.groupBox8.Location = new System.Drawing.Point(3, 3);
- this.groupBox8.Name = "groupBox8";
- this.groupBox8.Size = new System.Drawing.Size(277, 196);
- this.groupBox8.TabIndex = 18;
- this.groupBox8.TabStop = false;
- this.groupBox8.Text = "Global sector colors";
- //
- // desaturation
- //
- this.desaturation.AllowDecimal = true;
- this.desaturation.AllowExpressions = false;
- this.desaturation.AllowNegative = false;
- this.desaturation.AllowRelative = false;
- this.desaturation.ButtonStep = 1;
- this.desaturation.ButtonStepBig = 0.25F;
- this.desaturation.ButtonStepFloat = 0.1F;
- this.desaturation.ButtonStepSmall = 0.01F;
- this.desaturation.ButtonStepsUseModifierKeys = true;
- this.desaturation.ButtonStepsWrapAround = false;
- this.desaturation.Location = new System.Drawing.Point(115, 78);
- this.desaturation.Name = "desaturation";
- this.desaturation.Size = new System.Drawing.Size(84, 24);
- this.desaturation.StepValues = null;
- this.desaturation.TabIndex = 19;
- //
- // lightColor
- //
- this.lightColor.DefaultValue = 16777215;
- this.lightColor.Field = "lightcolor";
- this.lightColor.Label = "Light:";
- this.lightColor.Location = new System.Drawing.Point(6, 19);
- this.lightColor.Name = "lightColor";
- this.lightColor.Size = new System.Drawing.Size(207, 29);
- this.lightColor.TabIndex = 16;
- this.lightColor.OnValueChanged += new System.EventHandler(this.lightColor_OnValueChanged);
- //
- // fadeColor
- //
- this.fadeColor.DefaultValue = 0;
- this.fadeColor.Field = "fadecolor";
- this.fadeColor.Label = "Fade:";
- this.fadeColor.Location = new System.Drawing.Point(6, 47);
- this.fadeColor.Name = "fadeColor";
- this.fadeColor.Size = new System.Drawing.Size(207, 31);
- this.fadeColor.TabIndex = 17;
- this.fadeColor.OnValueChanged += new System.EventHandler(this.fadeColor_OnValueChanged);
- //
- // tabSurfaces
- //
- this.tabSurfaces.Controls.Add(this.groupBox2);
- this.tabSurfaces.Controls.Add(this.groupBox1);
- this.tabSurfaces.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.tabSurfaces.Location = new System.Drawing.Point(4, 24);
- this.tabSurfaces.Name = "tabSurfaces";
- this.tabSurfaces.Size = new System.Drawing.Size(570, 528);
- this.tabSurfaces.TabIndex = 2;
- this.tabSurfaces.Text = "Surfaces";
- this.tabSurfaces.UseVisualStyleBackColor = true;
- //
- // groupBox2
- //
- this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ this.flags.AutoScroll = true;
+ this.flags.Columns = 2;
+ this.flags.Location = new System.Drawing.Point(15, 21);
+ this.flags.Name = "flags";
+ this.flags.Size = new System.Drawing.Size(536, 147);
+ this.flags.TabIndex = 0;
+ this.flags.VerticalSpacing = 1;
+ //
+ // tabColors
+ //
+ this.tabColors.Controls.Add(this.groupBox11);
+ this.tabColors.Controls.Add(this.groupBox10);
+ this.tabColors.Controls.Add(this.groupBox9);
+ this.tabColors.Controls.Add(this.groupBox8);
+ this.tabColors.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+ this.tabColors.Location = new System.Drawing.Point(4, 22);
+ this.tabColors.Name = "tabColors";
+ this.tabColors.Size = new System.Drawing.Size(570, 526);
+ this.tabColors.TabIndex = 5;
+ this.tabColors.Text = "Colors";
+ this.tabColors.UseVisualStyleBackColor = true;
+ //
+ // groupBox11
+ //
+ this.groupBox11.Controls.Add(this.floorGlowEnabled);
+ this.groupBox11.Controls.Add(this.floorglowheightrequired);
+ this.groupBox11.Controls.Add(this.resetfloorglowheight);
+ this.groupBox11.Controls.Add(this.floorglowheightlabel);
+ this.groupBox11.Controls.Add(this.floorglowheight);
+ this.groupBox11.Controls.Add(this.floorglowcolor);
+ this.groupBox11.Location = new System.Drawing.Point(286, 205);
+ this.groupBox11.Name = "groupBox11";
+ this.groupBox11.Size = new System.Drawing.Size(281, 85);
+ this.groupBox11.TabIndex = 20;
+ this.groupBox11.TabStop = false;
+ this.groupBox11.Text = " ";
+ //
+ // floorGlowEnabled
+ //
+ this.floorGlowEnabled.AutoSize = true;
+ this.floorGlowEnabled.Checked = true;
+ this.floorGlowEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.floorGlowEnabled.Location = new System.Drawing.Point(11, -1);
+ this.floorGlowEnabled.Name = "floorGlowEnabled";
+ this.floorGlowEnabled.Size = new System.Drawing.Size(74, 17);
+ this.floorGlowEnabled.TabIndex = 33;
+ this.floorGlowEnabled.Tag = "floorglowcolor";
+ this.floorGlowEnabled.Text = "Floor glow";
+ this.floorGlowEnabled.UseVisualStyleBackColor = true;
+ this.floorGlowEnabled.CheckedChanged += new System.EventHandler(this.floorGlowEnabled_CheckedChanged);
+ //
+ // floorglowheightrequired
+ //
+ this.floorglowheightrequired.Image = ((System.Drawing.Image)(resources.GetObject("floorglowheightrequired.Image")));
+ this.floorglowheightrequired.Location = new System.Drawing.Point(8, 53);
+ this.floorglowheightrequired.Name = "floorglowheightrequired";
+ this.floorglowheightrequired.Size = new System.Drawing.Size(16, 16);
+ this.floorglowheightrequired.TabIndex = 33;
+ this.floorglowheightrequired.TabStop = false;
+ this.floorglowheightrequired.Tag = "floorglowheight";
+ this.tooltip.SetToolTip(this.floorglowheightrequired, "Non-zero glow height required\r\nfor the glow to be shown ingame!");
+ this.floorglowheightrequired.Visible = false;
+ //
+ // resetfloorglowheight
+ //
+ this.resetfloorglowheight.Image = ((System.Drawing.Image)(resources.GetObject("resetfloorglowheight.Image")));
+ this.resetfloorglowheight.Location = new System.Drawing.Point(163, 50);
+ this.resetfloorglowheight.Name = "resetfloorglowheight";
+ this.resetfloorglowheight.Size = new System.Drawing.Size(23, 23);
+ this.resetfloorglowheight.TabIndex = 32;
+ this.resetfloorglowheight.Tag = "floorglowheight";
+ this.tooltip.SetToolTip(this.resetfloorglowheight, "Reset");
+ this.resetfloorglowheight.UseVisualStyleBackColor = true;
+ this.resetfloorglowheight.Click += new System.EventHandler(this.resetfloorglowheight_Click);
+ //
+ // floorglowheightlabel
+ //
+ this.floorglowheightlabel.Location = new System.Drawing.Point(10, 55);
+ this.floorglowheightlabel.Name = "floorglowheightlabel";
+ this.floorglowheightlabel.Size = new System.Drawing.Size(80, 14);
+ this.floorglowheightlabel.TabIndex = 30;
+ this.floorglowheightlabel.Tag = "floorglowheight";
+ this.floorglowheightlabel.Text = "Glow height:";
+ this.floorglowheightlabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // floorglowheight
+ //
+ this.floorglowheight.AllowDecimal = true;
+ this.floorglowheight.AllowExpressions = false;
+ this.floorglowheight.AllowNegative = false;
+ this.floorglowheight.AllowRelative = false;
+ this.floorglowheight.ButtonStep = 16;
+ this.floorglowheight.ButtonStepBig = 64F;
+ this.floorglowheight.ButtonStepFloat = 16F;
+ this.floorglowheight.ButtonStepSmall = 1F;
+ this.floorglowheight.ButtonStepsUseModifierKeys = true;
+ this.floorglowheight.ButtonStepsWrapAround = false;
+ this.floorglowheight.Location = new System.Drawing.Point(97, 50);
+ this.floorglowheight.Name = "floorglowheight";
+ this.floorglowheight.Size = new System.Drawing.Size(62, 24);
+ this.floorglowheight.StepValues = null;
+ this.floorglowheight.TabIndex = 31;
+ this.floorglowheight.Tag = "floorglowheight";
+ this.floorglowheight.WhenTextChanged += new System.EventHandler(this.floorglowheight_WhenTextChanged);
+ //
+ // floorglowcolor
+ //
+ this.floorglowcolor.DefaultValue = 0;
+ this.floorglowcolor.Field = "floorglowcolor";
+ this.floorglowcolor.Label = "Glow color:";
+ this.floorglowcolor.Location = new System.Drawing.Point(28, 19);
+ this.floorglowcolor.Name = "floorglowcolor";
+ this.floorglowcolor.Size = new System.Drawing.Size(210, 29);
+ this.floorglowcolor.TabIndex = 28;
+ this.floorglowcolor.Tag = "floorglowcolor";
+ this.floorglowcolor.OnValueChanged += new System.EventHandler(this.floorglowcolor_OnValueChanged);
+ //
+ // groupBox10
+ //
+ this.groupBox10.Controls.Add(this.ceilingGlowEnabled);
+ this.groupBox10.Controls.Add(this.ceilingglowheightrequired);
+ this.groupBox10.Controls.Add(this.resetceilingglowheight);
+ this.groupBox10.Controls.Add(this.ceilingglowheightlabel);
+ this.groupBox10.Controls.Add(this.ceilingglowheight);
+ this.groupBox10.Controls.Add(this.ceilingglowcolor);
+ this.groupBox10.Location = new System.Drawing.Point(3, 205);
+ this.groupBox10.Name = "groupBox10";
+ this.groupBox10.Size = new System.Drawing.Size(277, 85);
+ this.groupBox10.TabIndex = 19;
+ this.groupBox10.TabStop = false;
+ this.groupBox10.Text = " ";
+ //
+ // ceilingGlowEnabled
+ //
+ this.ceilingGlowEnabled.AutoSize = true;
+ this.ceilingGlowEnabled.Checked = true;
+ this.ceilingGlowEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.ceilingGlowEnabled.Location = new System.Drawing.Point(11, -1);
+ this.ceilingGlowEnabled.Name = "ceilingGlowEnabled";
+ this.ceilingGlowEnabled.Size = new System.Drawing.Size(82, 17);
+ this.ceilingGlowEnabled.TabIndex = 21;
+ this.ceilingGlowEnabled.Tag = "ceilingglowcolor";
+ this.ceilingGlowEnabled.Text = "Ceiling glow";
+ this.ceilingGlowEnabled.UseVisualStyleBackColor = true;
+ this.ceilingGlowEnabled.CheckedChanged += new System.EventHandler(this.ceilingGlowEnabled_CheckedChanged);
+ //
+ // ceilingglowheightrequired
+ //
+ this.ceilingglowheightrequired.Image = ((System.Drawing.Image)(resources.GetObject("ceilingglowheightrequired.Image")));
+ this.ceilingglowheightrequired.Location = new System.Drawing.Point(10, 53);
+ this.ceilingglowheightrequired.Name = "ceilingglowheightrequired";
+ this.ceilingglowheightrequired.Size = new System.Drawing.Size(16, 16);
+ this.ceilingglowheightrequired.TabIndex = 32;
+ this.ceilingglowheightrequired.TabStop = false;
+ this.ceilingglowheightrequired.Tag = "ceilingglowheight";
+ this.tooltip.SetToolTip(this.ceilingglowheightrequired, "Non-zero glow height required\r\nfor the glow to be shown ingame!");
+ this.ceilingglowheightrequired.Visible = false;
+ //
+ // resetceilingglowheight
+ //
+ this.resetceilingglowheight.Image = ((System.Drawing.Image)(resources.GetObject("resetceilingglowheight.Image")));
+ this.resetceilingglowheight.Location = new System.Drawing.Point(165, 50);
+ this.resetceilingglowheight.Name = "resetceilingglowheight";
+ this.resetceilingglowheight.Size = new System.Drawing.Size(23, 23);
+ this.resetceilingglowheight.TabIndex = 31;
+ this.resetceilingglowheight.Tag = "ceilingglowheight";
+ this.tooltip.SetToolTip(this.resetceilingglowheight, "Reset");
+ this.resetceilingglowheight.UseVisualStyleBackColor = true;
+ this.resetceilingglowheight.Click += new System.EventHandler(this.resetceilingglowheight_Click);
+ //
+ // ceilingglowheightlabel
+ //
+ this.ceilingglowheightlabel.Location = new System.Drawing.Point(12, 55);
+ this.ceilingglowheightlabel.Name = "ceilingglowheightlabel";
+ this.ceilingglowheightlabel.Size = new System.Drawing.Size(80, 14);
+ this.ceilingglowheightlabel.TabIndex = 29;
+ this.ceilingglowheightlabel.Tag = "ceilingglowheight";
+ this.ceilingglowheightlabel.Text = "Glow height:";
+ this.ceilingglowheightlabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // ceilingglowheight
+ //
+ this.ceilingglowheight.AllowDecimal = true;
+ this.ceilingglowheight.AllowExpressions = false;
+ this.ceilingglowheight.AllowNegative = false;
+ this.ceilingglowheight.AllowRelative = false;
+ this.ceilingglowheight.ButtonStep = 16;
+ this.ceilingglowheight.ButtonStepBig = 64F;
+ this.ceilingglowheight.ButtonStepFloat = 16F;
+ this.ceilingglowheight.ButtonStepSmall = 1F;
+ this.ceilingglowheight.ButtonStepsUseModifierKeys = true;
+ this.ceilingglowheight.ButtonStepsWrapAround = false;
+ this.ceilingglowheight.Location = new System.Drawing.Point(99, 50);
+ this.ceilingglowheight.Name = "ceilingglowheight";
+ this.ceilingglowheight.Size = new System.Drawing.Size(62, 24);
+ this.ceilingglowheight.StepValues = null;
+ this.ceilingglowheight.TabIndex = 30;
+ this.ceilingglowheight.Tag = "ceilingglowheight";
+ this.ceilingglowheight.WhenTextChanged += new System.EventHandler(this.ceilingglowheight_WhenTextChanged);
+ //
+ // ceilingglowcolor
+ //
+ this.ceilingglowcolor.DefaultValue = 0;
+ this.ceilingglowcolor.Field = "ceilingglowcolor";
+ this.ceilingglowcolor.Label = "Glow color:";
+ this.ceilingglowcolor.Location = new System.Drawing.Point(30, 19);
+ this.ceilingglowcolor.Name = "ceilingglowcolor";
+ this.ceilingglowcolor.Size = new System.Drawing.Size(210, 29);
+ this.ceilingglowcolor.TabIndex = 27;
+ this.ceilingglowcolor.Tag = "ceilingglowcolor";
+ this.ceilingglowcolor.OnValueChanged += new System.EventHandler(this.ceilingglowcolor_OnValueChanged);
+ //
+ // groupBox9
+ //
+ this.groupBox9.Controls.Add(this.thingsColor);
+ this.groupBox9.Controls.Add(this.lowerWallColor);
+ this.groupBox9.Controls.Add(this.upperWallColor);
+ this.groupBox9.Controls.Add(this.floorColor);
+ this.groupBox9.Controls.Add(this.ceilingColor);
+ this.groupBox9.Location = new System.Drawing.Point(286, 3);
+ this.groupBox9.Name = "groupBox9";
+ this.groupBox9.Size = new System.Drawing.Size(281, 196);
+ this.groupBox9.TabIndex = 19;
+ this.groupBox9.TabStop = false;
+ this.groupBox9.Text = "Doom 64-like sector colors";
+ //
+ // thingsColor
+ //
+ this.thingsColor.DefaultValue = 16777215;
+ this.thingsColor.Field = "color_sprites";
+ this.thingsColor.Label = "Things:";
+ this.thingsColor.Location = new System.Drawing.Point(6, 89);
+ this.thingsColor.Name = "thingsColor";
+ this.thingsColor.Size = new System.Drawing.Size(207, 29);
+ this.thingsColor.TabIndex = 22;
+ this.thingsColor.Tag = "color_sprites";
+ this.thingsColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
+ //
+ // lowerWallColor
+ //
+ this.lowerWallColor.DefaultValue = 16777215;
+ this.lowerWallColor.Field = "color_wallbottom";
+ this.lowerWallColor.Label = "Lower wall:";
+ this.lowerWallColor.Location = new System.Drawing.Point(6, 124);
+ this.lowerWallColor.Name = "lowerWallColor";
+ this.lowerWallColor.Size = new System.Drawing.Size(207, 29);
+ this.lowerWallColor.TabIndex = 21;
+ this.lowerWallColor.Tag = "color_wallbottom";
+ this.lowerWallColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
+ //
+ // upperWallColor
+ //
+ this.upperWallColor.DefaultValue = 16777215;
+ this.upperWallColor.Field = "color_walltop";
+ this.upperWallColor.Label = "Upper wall:";
+ this.upperWallColor.Location = new System.Drawing.Point(6, 54);
+ this.upperWallColor.Name = "upperWallColor";
+ this.upperWallColor.Size = new System.Drawing.Size(207, 29);
+ this.upperWallColor.TabIndex = 20;
+ this.upperWallColor.Tag = "color_walltop";
+ this.upperWallColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
+ //
+ // floorColor
+ //
+ this.floorColor.DefaultValue = 16777215;
+ this.floorColor.Field = "color_floor";
+ this.floorColor.Label = "Floor:";
+ this.floorColor.Location = new System.Drawing.Point(6, 159);
+ this.floorColor.Name = "floorColor";
+ this.floorColor.Size = new System.Drawing.Size(207, 29);
+ this.floorColor.TabIndex = 19;
+ this.floorColor.Tag = "color_floor";
+ this.floorColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
+ //
+ // ceilingColor
+ //
+ this.ceilingColor.DefaultValue = 16777215;
+ this.ceilingColor.Field = "color_ceiling";
+ this.ceilingColor.Label = "Ceiling:";
+ this.ceilingColor.Location = new System.Drawing.Point(6, 19);
+ this.ceilingColor.Name = "ceilingColor";
+ this.ceilingColor.Size = new System.Drawing.Size(207, 29);
+ this.ceilingColor.TabIndex = 18;
+ this.ceilingColor.Tag = "color_ceiling";
+ this.ceilingColor.OnValueChanged += new System.EventHandler(this.d64color_OnValueChanged);
+ //
+ // groupBox8
+ //
+ this.groupBox8.Controls.Add(this.desaturation);
+ this.groupBox8.Controls.Add(label13);
+ this.groupBox8.Controls.Add(this.lightColor);
+ this.groupBox8.Controls.Add(this.fadeColor);
+ this.groupBox8.Location = new System.Drawing.Point(3, 3);
+ this.groupBox8.Name = "groupBox8";
+ this.groupBox8.Size = new System.Drawing.Size(277, 196);
+ this.groupBox8.TabIndex = 18;
+ this.groupBox8.TabStop = false;
+ this.groupBox8.Text = "Global sector colors";
+ //
+ // desaturation
+ //
+ this.desaturation.AllowDecimal = true;
+ this.desaturation.AllowExpressions = false;
+ this.desaturation.AllowNegative = false;
+ this.desaturation.AllowRelative = false;
+ this.desaturation.ButtonStep = 1;
+ this.desaturation.ButtonStepBig = 0.25F;
+ this.desaturation.ButtonStepFloat = 0.1F;
+ this.desaturation.ButtonStepSmall = 0.01F;
+ this.desaturation.ButtonStepsUseModifierKeys = true;
+ this.desaturation.ButtonStepsWrapAround = false;
+ this.desaturation.Location = new System.Drawing.Point(115, 78);
+ this.desaturation.Name = "desaturation";
+ this.desaturation.Size = new System.Drawing.Size(84, 24);
+ this.desaturation.StepValues = null;
+ this.desaturation.TabIndex = 19;
+ this.desaturation.Tag = "desaturation";
+ //
+ // lightColor
+ //
+ this.lightColor.DefaultValue = 16777215;
+ this.lightColor.Field = "lightcolor";
+ this.lightColor.Label = "Light:";
+ this.lightColor.Location = new System.Drawing.Point(6, 19);
+ this.lightColor.Name = "lightColor";
+ this.lightColor.Size = new System.Drawing.Size(207, 29);
+ this.lightColor.TabIndex = 16;
+ this.lightColor.Tag = "lightcolor";
+ this.lightColor.OnValueChanged += new System.EventHandler(this.lightColor_OnValueChanged);
+ //
+ // fadeColor
+ //
+ this.fadeColor.DefaultValue = 0;
+ this.fadeColor.Field = "fadecolor";
+ this.fadeColor.Label = "Fade:";
+ this.fadeColor.Location = new System.Drawing.Point(6, 47);
+ this.fadeColor.Name = "fadeColor";
+ this.fadeColor.Size = new System.Drawing.Size(207, 31);
+ this.fadeColor.TabIndex = 17;
+ this.fadeColor.Tag = "fadecolor";
+ this.fadeColor.OnValueChanged += new System.EventHandler(this.fadeColor_OnValueChanged);
+ //
+ // tabSurfaces
+ //
+ this.tabSurfaces.Controls.Add(this.groupBox2);
+ this.tabSurfaces.Controls.Add(this.groupBox1);
+ this.tabSurfaces.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.tabSurfaces.Location = new System.Drawing.Point(4, 22);
+ this.tabSurfaces.Name = "tabSurfaces";
+ this.tabSurfaces.Size = new System.Drawing.Size(570, 526);
+ this.tabSurfaces.TabIndex = 2;
+ this.tabSurfaces.Text = "Surfaces";
+ this.tabSurfaces.UseVisualStyleBackColor = true;
+ //
+ // groupBox2
+ //
+ this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.groupBox2.Controls.Add(this.reset_floor_reflect);
- this.groupBox2.Controls.Add(this.label23);
- this.groupBox2.Controls.Add(this.floor_reflect);
- this.groupBox2.Controls.Add(this.resetfloorterrain);
- this.groupBox2.Controls.Add(this.label3);
- this.groupBox2.Controls.Add(this.floorterrain);
- this.groupBox2.Controls.Add(this.resetfloorlight);
- this.groupBox2.Controls.Add(this.labelFloorOffsets);
- this.groupBox2.Controls.Add(this.labelFloorScale);
- this.groupBox2.Controls.Add(this.cbUseFloorLineAngles);
- this.groupBox2.Controls.Add(this.floorAngleControl);
- this.groupBox2.Controls.Add(this.labelfloorrenderstyle);
- this.groupBox2.Controls.Add(this.label11);
- this.groupBox2.Controls.Add(this.floorRotation);
- this.groupBox2.Controls.Add(this.floorLightAbsolute);
- this.groupBox2.Controls.Add(this.label12);
- this.groupBox2.Controls.Add(this.floorBrightness);
- this.groupBox2.Controls.Add(this.floorRenderStyle);
- this.groupBox2.Controls.Add(this.floorScale);
- this.groupBox2.Controls.Add(this.floorOffsets);
- this.groupBox2.Controls.Add(this.floortex);
- this.groupBox2.Location = new System.Drawing.Point(3, 244);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(564, 235);
- this.groupBox2.TabIndex = 55;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = " Floor ";
- //
- // reset_floor_reflect
- //
- this.reset_floor_reflect.Image = ((System.Drawing.Image)(resources.GetObject("reset_floor_reflect.Image")));
- this.reset_floor_reflect.Location = new System.Drawing.Point(179, 198);
- this.reset_floor_reflect.Name = "reset_floor_reflect";
- this.reset_floor_reflect.Size = new System.Drawing.Size(23, 23);
- this.reset_floor_reflect.TabIndex = 19;
- this.tooltip.SetToolTip(this.reset_floor_reflect, "Reset");
- this.reset_floor_reflect.UseVisualStyleBackColor = true;
- this.reset_floor_reflect.Click += new System.EventHandler(this.reset_floor_reflect_Click);
- //
- // label23
- //
- this.label23.Location = new System.Drawing.Point(26, 202);
- this.label23.Name = "label23";
- this.label23.Size = new System.Drawing.Size(80, 14);
- this.label23.TabIndex = 17;
- this.label23.Tag = "";
- this.label23.Text = "Reflectivity:";
- this.label23.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // floor_reflect
- //
- this.floor_reflect.AllowDecimal = true;
- this.floor_reflect.AllowExpressions = false;
- this.floor_reflect.AllowNegative = false;
- this.floor_reflect.AllowRelative = false;
- this.floor_reflect.ButtonStep = 1;
- this.floor_reflect.ButtonStepBig = 0.25F;
- this.floor_reflect.ButtonStepFloat = 0.1F;
- this.floor_reflect.ButtonStepSmall = 0.01F;
- this.floor_reflect.ButtonStepsUseModifierKeys = true;
- this.floor_reflect.ButtonStepsWrapAround = false;
- this.floor_reflect.Location = new System.Drawing.Point(113, 197);
- this.floor_reflect.Name = "floor_reflect";
- this.floor_reflect.Size = new System.Drawing.Size(62, 24);
- this.floor_reflect.StepValues = null;
- this.floor_reflect.TabIndex = 18;
- this.floor_reflect.Tag = "";
- this.floor_reflect.WhenTextChanged += new System.EventHandler(this.floor_reflect_WhenTextChanged);
- //
- // resetfloorterrain
- //
- this.resetfloorterrain.Image = ((System.Drawing.Image)(resources.GetObject("resetfloorterrain.Image")));
- this.resetfloorterrain.Location = new System.Drawing.Point(246, 110);
- this.resetfloorterrain.Name = "resetfloorterrain";
- this.resetfloorterrain.Size = new System.Drawing.Size(23, 23);
- this.resetfloorterrain.TabIndex = 8;
- this.resetfloorterrain.Text = " ";
- this.tooltip.SetToolTip(this.resetfloorterrain, "Reset");
- this.resetfloorterrain.UseVisualStyleBackColor = true;
- this.resetfloorterrain.Click += new System.EventHandler(this.resetfloorterrain_Click);
- //
- // label3
- //
- this.label3.Location = new System.Drawing.Point(26, 114);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(80, 14);
- this.label3.TabIndex = 6;
- this.label3.Tag = "";
- this.label3.Text = "Terrain:";
- this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // floorterrain
- //
- this.floorterrain.FormattingEnabled = true;
- this.floorterrain.Location = new System.Drawing.Point(113, 111);
- this.floorterrain.Name = "floorterrain";
- this.floorterrain.Size = new System.Drawing.Size(130, 21);
- this.floorterrain.TabIndex = 7;
- this.floorterrain.TextChanged += new System.EventHandler(this.floorterrain_TextChanged);
- this.floorterrain.MouseDown += new System.Windows.Forms.MouseEventHandler(this.floorterrain_MouseDown);
- //
- // resetfloorlight
- //
- this.resetfloorlight.Image = ((System.Drawing.Image)(resources.GetObject("resetfloorlight.Image")));
- this.resetfloorlight.Location = new System.Drawing.Point(246, 138);
- this.resetfloorlight.Name = "resetfloorlight";
- this.resetfloorlight.Size = new System.Drawing.Size(23, 23);
- this.resetfloorlight.TabIndex = 12;
- this.tooltip.SetToolTip(this.resetfloorlight, "Reset");
- this.resetfloorlight.UseVisualStyleBackColor = true;
- this.resetfloorlight.Click += new System.EventHandler(this.resetfloorlight_Click);
- //
- // labelFloorOffsets
- //
- this.labelFloorOffsets.Location = new System.Drawing.Point(8, 27);
- this.labelFloorOffsets.Name = "labelFloorOffsets";
- this.labelFloorOffsets.Size = new System.Drawing.Size(98, 14);
- this.labelFloorOffsets.TabIndex = 0;
- this.labelFloorOffsets.Tag = "";
- this.labelFloorOffsets.Text = "Texture offsets:";
- this.labelFloorOffsets.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // labelFloorScale
- //
- this.labelFloorScale.Location = new System.Drawing.Point(8, 59);
- this.labelFloorScale.Name = "labelFloorScale";
- this.labelFloorScale.Size = new System.Drawing.Size(98, 14);
- this.labelFloorScale.TabIndex = 2;
- this.labelFloorScale.Tag = "";
- this.labelFloorScale.Text = "Texture scale:";
- this.labelFloorScale.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // cbUseFloorLineAngles
- //
- this.cbUseFloorLineAngles.AutoSize = true;
- this.cbUseFloorLineAngles.Location = new System.Drawing.Point(181, 172);
- this.cbUseFloorLineAngles.Name = "cbUseFloorLineAngles";
- this.cbUseFloorLineAngles.Size = new System.Drawing.Size(113, 17);
- this.cbUseFloorLineAngles.TabIndex = 16;
- this.cbUseFloorLineAngles.Tag = "";
- this.cbUseFloorLineAngles.Text = "Use linedef angles";
- this.cbUseFloorLineAngles.UseVisualStyleBackColor = true;
- this.cbUseFloorLineAngles.CheckedChanged += new System.EventHandler(this.cbUseFloorLineAngles_CheckedChanged);
- //
- // floorAngleControl
- //
- this.floorAngleControl.Angle = -1710;
- this.floorAngleControl.AngleOffset = 90;
- this.floorAngleControl.DoomAngleClamping = false;
- this.floorAngleControl.Location = new System.Drawing.Point(6, 156);
- this.floorAngleControl.Name = "floorAngleControl";
- this.floorAngleControl.Size = new System.Drawing.Size(44, 44);
- this.floorAngleControl.TabIndex = 13;
- this.floorAngleControl.AngleChanged += new System.EventHandler(this.floorAngleControl_AngleChanged);
- //
- // labelfloorrenderstyle
- //
- this.labelfloorrenderstyle.Location = new System.Drawing.Point(26, 88);
- this.labelfloorrenderstyle.Name = "labelfloorrenderstyle";
- this.labelfloorrenderstyle.Size = new System.Drawing.Size(80, 14);
- this.labelfloorrenderstyle.TabIndex = 4;
- this.labelfloorrenderstyle.Tag = "";
- this.labelfloorrenderstyle.Text = "Render style:";
- this.labelfloorrenderstyle.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // label11
- //
- this.label11.Location = new System.Drawing.Point(26, 172);
- this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(80, 14);
- this.label11.TabIndex = 14;
- this.label11.Tag = "";
- this.label11.Text = "Rotation:";
- this.label11.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // floorRotation
- //
- this.floorRotation.AllowDecimal = true;
- this.floorRotation.AllowExpressions = false;
- this.floorRotation.AllowNegative = true;
- this.floorRotation.AllowRelative = true;
- this.floorRotation.ButtonStep = 5;
- this.floorRotation.ButtonStepBig = 15F;
- this.floorRotation.ButtonStepFloat = 1F;
- this.floorRotation.ButtonStepSmall = 0.1F;
- this.floorRotation.ButtonStepsUseModifierKeys = true;
- this.floorRotation.ButtonStepsWrapAround = false;
- this.floorRotation.Location = new System.Drawing.Point(113, 167);
- this.floorRotation.Name = "floorRotation";
- this.floorRotation.Size = new System.Drawing.Size(62, 24);
- this.floorRotation.StepValues = null;
- this.floorRotation.TabIndex = 15;
- this.floorRotation.Tag = "";
- this.floorRotation.WhenTextChanged += new System.EventHandler(this.floorRotation_WhenTextChanged);
- //
- // floorLightAbsolute
- //
- this.floorLightAbsolute.AutoSize = true;
- this.floorLightAbsolute.Location = new System.Drawing.Point(181, 142);
- this.floorLightAbsolute.Name = "floorLightAbsolute";
- this.floorLightAbsolute.Size = new System.Drawing.Size(67, 17);
- this.floorLightAbsolute.TabIndex = 11;
- this.floorLightAbsolute.Text = "Absolute";
- this.floorLightAbsolute.UseVisualStyleBackColor = true;
- this.floorLightAbsolute.CheckedChanged += new System.EventHandler(this.floorLightAbsolute_CheckedChanged);
- //
- // label12
- //
- this.label12.Location = new System.Drawing.Point(26, 142);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(80, 14);
- this.label12.TabIndex = 9;
- this.label12.Tag = "";
- this.label12.Text = "Brightness:";
- this.label12.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // floorBrightness
- //
- this.floorBrightness.AllowDecimal = false;
- this.floorBrightness.AllowExpressions = false;
- this.floorBrightness.AllowNegative = true;
- this.floorBrightness.AllowRelative = true;
- this.floorBrightness.ButtonStep = 16;
- this.floorBrightness.ButtonStepBig = 32F;
- this.floorBrightness.ButtonStepFloat = 1F;
- this.floorBrightness.ButtonStepSmall = 1F;
- this.floorBrightness.ButtonStepsUseModifierKeys = true;
- this.floorBrightness.ButtonStepsWrapAround = false;
- this.floorBrightness.Location = new System.Drawing.Point(113, 137);
- this.floorBrightness.Name = "floorBrightness";
- this.floorBrightness.Size = new System.Drawing.Size(62, 24);
- this.floorBrightness.StepValues = null;
- this.floorBrightness.TabIndex = 10;
- this.floorBrightness.Tag = "lightfloor";
- this.floorBrightness.WhenTextChanged += new System.EventHandler(this.floorBrightness_WhenTextChanged);
- //
- // floorRenderStyle
- //
- this.floorRenderStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.floorRenderStyle.FormattingEnabled = true;
- this.floorRenderStyle.Location = new System.Drawing.Point(113, 85);
- this.floorRenderStyle.Name = "floorRenderStyle";
- this.floorRenderStyle.Size = new System.Drawing.Size(130, 21);
- this.floorRenderStyle.TabIndex = 5;
- //
- // floorScale
- //
- this.floorScale.AllowDecimal = true;
- this.floorScale.AllowValueLinking = true;
- this.floorScale.ButtonStep = 1;
- this.floorScale.ButtonStepBig = 1F;
- this.floorScale.ButtonStepFloat = 0.1F;
- this.floorScale.ButtonStepSmall = 0.01F;
- this.floorScale.ButtonStepsUseModifierKeys = true;
- this.floorScale.DefaultValue = 1F;
- this.floorScale.Field1 = "xscalefloor";
- this.floorScale.Field2 = "yscalefloor";
- this.floorScale.LinkValues = false;
- this.floorScale.Location = new System.Drawing.Point(110, 53);
- this.floorScale.Name = "floorScale";
- this.floorScale.Size = new System.Drawing.Size(186, 26);
- this.floorScale.TabIndex = 3;
- this.floorScale.OnValuesChanged += new System.EventHandler(this.floorScale_OnValuesChanged);
- //
- // floorOffsets
- //
- this.floorOffsets.AllowDecimal = true;
- this.floorOffsets.AllowValueLinking = false;
- this.floorOffsets.ButtonStep = 1;
- this.floorOffsets.ButtonStepBig = 32F;
- this.floorOffsets.ButtonStepFloat = 16F;
- this.floorOffsets.ButtonStepSmall = 1F;
- this.floorOffsets.ButtonStepsUseModifierKeys = true;
- this.floorOffsets.DefaultValue = 0F;
- this.floorOffsets.Field1 = "xpanningfloor";
- this.floorOffsets.Field2 = "ypanningfloor";
- this.floorOffsets.LinkValues = false;
- this.floorOffsets.Location = new System.Drawing.Point(110, 21);
- this.floorOffsets.Name = "floorOffsets";
- this.floorOffsets.Size = new System.Drawing.Size(186, 26);
- this.floorOffsets.TabIndex = 1;
- this.floorOffsets.OnValuesChanged += new System.EventHandler(this.floorOffsets_OnValuesChanged);
- //
- // floortex
- //
- this.floortex.Location = new System.Drawing.Point(356, 21);
- this.floortex.MultipleTextures = false;
- this.floortex.Name = "floortex";
- this.floortex.Size = new System.Drawing.Size(176, 200);
- this.floortex.TabIndex = 25;
- this.floortex.TextureName = "";
- this.floortex.OnValueChanged += new System.EventHandler(this.floortex_OnValueChanged);
- //
- // groupBox1
- //
- this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ this.groupBox2.Controls.Add(this.reset_floor_reflect);
+ this.groupBox2.Controls.Add(this.label23);
+ this.groupBox2.Controls.Add(this.floor_reflect);
+ this.groupBox2.Controls.Add(this.resetfloorterrain);
+ this.groupBox2.Controls.Add(this.label3);
+ this.groupBox2.Controls.Add(this.floorterrain);
+ this.groupBox2.Controls.Add(this.resetfloorlight);
+ this.groupBox2.Controls.Add(this.labelFloorOffsets);
+ this.groupBox2.Controls.Add(this.labelFloorScale);
+ this.groupBox2.Controls.Add(this.cbUseFloorLineAngles);
+ this.groupBox2.Controls.Add(this.floorAngleControl);
+ this.groupBox2.Controls.Add(this.labelfloorrenderstyle);
+ this.groupBox2.Controls.Add(this.label11);
+ this.groupBox2.Controls.Add(this.floorRotation);
+ this.groupBox2.Controls.Add(this.floorLightAbsolute);
+ this.groupBox2.Controls.Add(this.label12);
+ this.groupBox2.Controls.Add(this.floorBrightness);
+ this.groupBox2.Controls.Add(this.floorRenderStyle);
+ this.groupBox2.Controls.Add(this.floorScale);
+ this.groupBox2.Controls.Add(this.floorOffsets);
+ this.groupBox2.Controls.Add(this.floortex);
+ this.groupBox2.Location = new System.Drawing.Point(3, 244);
+ this.groupBox2.Name = "groupBox2";
+ this.groupBox2.Size = new System.Drawing.Size(564, 235);
+ this.groupBox2.TabIndex = 55;
+ this.groupBox2.TabStop = false;
+ this.groupBox2.Text = " Floor ";
+ //
+ // reset_floor_reflect
+ //
+ this.reset_floor_reflect.Image = ((System.Drawing.Image)(resources.GetObject("reset_floor_reflect.Image")));
+ this.reset_floor_reflect.Location = new System.Drawing.Point(179, 198);
+ this.reset_floor_reflect.Name = "reset_floor_reflect";
+ this.reset_floor_reflect.Size = new System.Drawing.Size(23, 23);
+ this.reset_floor_reflect.TabIndex = 19;
+ this.reset_floor_reflect.Tag = "floor_reflect";
+ this.tooltip.SetToolTip(this.reset_floor_reflect, "Reset");
+ this.reset_floor_reflect.UseVisualStyleBackColor = true;
+ this.reset_floor_reflect.Click += new System.EventHandler(this.reset_floor_reflect_Click);
+ //
+ // label23
+ //
+ this.label23.Location = new System.Drawing.Point(26, 202);
+ this.label23.Name = "label23";
+ this.label23.Size = new System.Drawing.Size(80, 14);
+ this.label23.TabIndex = 17;
+ this.label23.Tag = "floor_reflect";
+ this.label23.Text = "Reflectivity:";
+ this.label23.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // floor_reflect
+ //
+ this.floor_reflect.AllowDecimal = true;
+ this.floor_reflect.AllowExpressions = false;
+ this.floor_reflect.AllowNegative = false;
+ this.floor_reflect.AllowRelative = false;
+ this.floor_reflect.ButtonStep = 1;
+ this.floor_reflect.ButtonStepBig = 0.25F;
+ this.floor_reflect.ButtonStepFloat = 0.1F;
+ this.floor_reflect.ButtonStepSmall = 0.01F;
+ this.floor_reflect.ButtonStepsUseModifierKeys = true;
+ this.floor_reflect.ButtonStepsWrapAround = false;
+ this.floor_reflect.Location = new System.Drawing.Point(113, 197);
+ this.floor_reflect.Name = "floor_reflect";
+ this.floor_reflect.Size = new System.Drawing.Size(62, 24);
+ this.floor_reflect.StepValues = null;
+ this.floor_reflect.TabIndex = 18;
+ this.floor_reflect.Tag = "floor_reflect";
+ this.floor_reflect.WhenTextChanged += new System.EventHandler(this.floor_reflect_WhenTextChanged);
+ //
+ // resetfloorterrain
+ //
+ this.resetfloorterrain.Image = ((System.Drawing.Image)(resources.GetObject("resetfloorterrain.Image")));
+ this.resetfloorterrain.Location = new System.Drawing.Point(246, 110);
+ this.resetfloorterrain.Name = "resetfloorterrain";
+ this.resetfloorterrain.Size = new System.Drawing.Size(23, 23);
+ this.resetfloorterrain.TabIndex = 8;
+ this.resetfloorterrain.Tag = "floorterrain";
+ this.resetfloorterrain.Text = " ";
+ this.tooltip.SetToolTip(this.resetfloorterrain, "Reset");
+ this.resetfloorterrain.UseVisualStyleBackColor = true;
+ this.resetfloorterrain.Click += new System.EventHandler(this.resetfloorterrain_Click);
+ //
+ // label3
+ //
+ this.label3.Location = new System.Drawing.Point(26, 114);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(80, 14);
+ this.label3.TabIndex = 6;
+ this.label3.Tag = "floorterrain";
+ this.label3.Text = "Terrain:";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // floorterrain
+ //
+ this.floorterrain.FormattingEnabled = true;
+ this.floorterrain.Location = new System.Drawing.Point(113, 111);
+ this.floorterrain.Name = "floorterrain";
+ this.floorterrain.Size = new System.Drawing.Size(130, 21);
+ this.floorterrain.TabIndex = 7;
+ this.floorterrain.Tag = "floorterrain";
+ this.floorterrain.TextChanged += new System.EventHandler(this.floorterrain_TextChanged);
+ this.floorterrain.MouseDown += new System.Windows.Forms.MouseEventHandler(this.floorterrain_MouseDown);
+ //
+ // resetfloorlight
+ //
+ this.resetfloorlight.Image = ((System.Drawing.Image)(resources.GetObject("resetfloorlight.Image")));
+ this.resetfloorlight.Location = new System.Drawing.Point(246, 138);
+ this.resetfloorlight.Name = "resetfloorlight";
+ this.resetfloorlight.Size = new System.Drawing.Size(23, 23);
+ this.resetfloorlight.TabIndex = 12;
+ this.resetfloorlight.Tag = "lightfloor";
+ this.tooltip.SetToolTip(this.resetfloorlight, "Reset");
+ this.resetfloorlight.UseVisualStyleBackColor = true;
+ this.resetfloorlight.Click += new System.EventHandler(this.resetfloorlight_Click);
+ //
+ // labelFloorOffsets
+ //
+ this.labelFloorOffsets.Location = new System.Drawing.Point(8, 27);
+ this.labelFloorOffsets.Name = "labelFloorOffsets";
+ this.labelFloorOffsets.Size = new System.Drawing.Size(98, 14);
+ this.labelFloorOffsets.TabIndex = 0;
+ this.labelFloorOffsets.Tag = "xpanningfloor";
+ this.labelFloorOffsets.Text = "Texture offsets:";
+ this.labelFloorOffsets.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // labelFloorScale
+ //
+ this.labelFloorScale.Location = new System.Drawing.Point(8, 59);
+ this.labelFloorScale.Name = "labelFloorScale";
+ this.labelFloorScale.Size = new System.Drawing.Size(98, 14);
+ this.labelFloorScale.TabIndex = 2;
+ this.labelFloorScale.Tag = "xscalefloor";
+ this.labelFloorScale.Text = "Texture scale:";
+ this.labelFloorScale.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // cbUseFloorLineAngles
+ //
+ this.cbUseFloorLineAngles.AutoSize = true;
+ this.cbUseFloorLineAngles.Location = new System.Drawing.Point(181, 172);
+ this.cbUseFloorLineAngles.Name = "cbUseFloorLineAngles";
+ this.cbUseFloorLineAngles.Size = new System.Drawing.Size(113, 17);
+ this.cbUseFloorLineAngles.TabIndex = 16;
+ this.cbUseFloorLineAngles.Tag = "rotationfloor";
+ this.cbUseFloorLineAngles.Text = "Use linedef angles";
+ this.cbUseFloorLineAngles.UseVisualStyleBackColor = true;
+ this.cbUseFloorLineAngles.CheckedChanged += new System.EventHandler(this.cbUseFloorLineAngles_CheckedChanged);
+ //
+ // floorAngleControl
+ //
+ this.floorAngleControl.Angle = -2610;
+ this.floorAngleControl.AngleOffset = 90;
+ this.floorAngleControl.DoomAngleClamping = false;
+ this.floorAngleControl.Location = new System.Drawing.Point(6, 156);
+ this.floorAngleControl.Name = "floorAngleControl";
+ this.floorAngleControl.Size = new System.Drawing.Size(44, 44);
+ this.floorAngleControl.TabIndex = 13;
+ this.floorAngleControl.Tag = "rotationfloor";
+ this.floorAngleControl.AngleChanged += new System.EventHandler(this.floorAngleControl_AngleChanged);
+ //
+ // labelfloorrenderstyle
+ //
+ this.labelfloorrenderstyle.Location = new System.Drawing.Point(26, 88);
+ this.labelfloorrenderstyle.Name = "labelfloorrenderstyle";
+ this.labelfloorrenderstyle.Size = new System.Drawing.Size(80, 14);
+ this.labelfloorrenderstyle.TabIndex = 4;
+ this.labelfloorrenderstyle.Tag = "renderstylefloor";
+ this.labelfloorrenderstyle.Text = "Render style:";
+ this.labelfloorrenderstyle.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // label11
+ //
+ this.label11.Location = new System.Drawing.Point(26, 172);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(80, 14);
+ this.label11.TabIndex = 14;
+ this.label11.Tag = "rotationfloor";
+ this.label11.Text = "Rotation:";
+ this.label11.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // floorRotation
+ //
+ this.floorRotation.AllowDecimal = true;
+ this.floorRotation.AllowExpressions = false;
+ this.floorRotation.AllowNegative = true;
+ this.floorRotation.AllowRelative = true;
+ this.floorRotation.ButtonStep = 5;
+ this.floorRotation.ButtonStepBig = 15F;
+ this.floorRotation.ButtonStepFloat = 1F;
+ this.floorRotation.ButtonStepSmall = 0.1F;
+ this.floorRotation.ButtonStepsUseModifierKeys = true;
+ this.floorRotation.ButtonStepsWrapAround = false;
+ this.floorRotation.Location = new System.Drawing.Point(113, 167);
+ this.floorRotation.Name = "floorRotation";
+ this.floorRotation.Size = new System.Drawing.Size(62, 24);
+ this.floorRotation.StepValues = null;
+ this.floorRotation.TabIndex = 15;
+ this.floorRotation.Tag = "rotationfloor";
+ this.floorRotation.WhenTextChanged += new System.EventHandler(this.floorRotation_WhenTextChanged);
+ //
+ // floorLightAbsolute
+ //
+ this.floorLightAbsolute.AutoSize = true;
+ this.floorLightAbsolute.Location = new System.Drawing.Point(181, 142);
+ this.floorLightAbsolute.Name = "floorLightAbsolute";
+ this.floorLightAbsolute.Size = new System.Drawing.Size(67, 17);
+ this.floorLightAbsolute.TabIndex = 11;
+ this.floorLightAbsolute.Tag = "lightfloorabsolute";
+ this.floorLightAbsolute.Text = "Absolute";
+ this.floorLightAbsolute.UseVisualStyleBackColor = true;
+ this.floorLightAbsolute.CheckedChanged += new System.EventHandler(this.floorLightAbsolute_CheckedChanged);
+ //
+ // label12
+ //
+ this.label12.Location = new System.Drawing.Point(26, 142);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(80, 14);
+ this.label12.TabIndex = 9;
+ this.label12.Tag = "lightfloor";
+ this.label12.Text = "Brightness:";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // floorBrightness
+ //
+ this.floorBrightness.AllowDecimal = false;
+ this.floorBrightness.AllowExpressions = false;
+ this.floorBrightness.AllowNegative = true;
+ this.floorBrightness.AllowRelative = true;
+ this.floorBrightness.ButtonStep = 16;
+ this.floorBrightness.ButtonStepBig = 32F;
+ this.floorBrightness.ButtonStepFloat = 1F;
+ this.floorBrightness.ButtonStepSmall = 1F;
+ this.floorBrightness.ButtonStepsUseModifierKeys = true;
+ this.floorBrightness.ButtonStepsWrapAround = false;
+ this.floorBrightness.Location = new System.Drawing.Point(113, 137);
+ this.floorBrightness.Name = "floorBrightness";
+ this.floorBrightness.Size = new System.Drawing.Size(62, 24);
+ this.floorBrightness.StepValues = null;
+ this.floorBrightness.TabIndex = 10;
+ this.floorBrightness.Tag = "lightfloor";
+ this.floorBrightness.WhenTextChanged += new System.EventHandler(this.floorBrightness_WhenTextChanged);
+ //
+ // floorRenderStyle
+ //
+ this.floorRenderStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.floorRenderStyle.FormattingEnabled = true;
+ this.floorRenderStyle.Location = new System.Drawing.Point(113, 85);
+ this.floorRenderStyle.Name = "floorRenderStyle";
+ this.floorRenderStyle.Size = new System.Drawing.Size(130, 21);
+ this.floorRenderStyle.TabIndex = 5;
+ this.floorRenderStyle.Tag = "renderstylefloor";
+ //
+ // floorScale
+ //
+ this.floorScale.AllowDecimal = true;
+ this.floorScale.AllowValueLinking = true;
+ this.floorScale.ButtonStep = 1;
+ this.floorScale.ButtonStepBig = 1F;
+ this.floorScale.ButtonStepFloat = 0.1F;
+ this.floorScale.ButtonStepSmall = 0.01F;
+ this.floorScale.ButtonStepsUseModifierKeys = true;
+ this.floorScale.DefaultValue = 1F;
+ this.floorScale.Field1 = "xscalefloor";
+ this.floorScale.Field2 = "yscalefloor";
+ this.floorScale.LinkValues = false;
+ this.floorScale.Location = new System.Drawing.Point(110, 53);
+ this.floorScale.Name = "floorScale";
+ this.floorScale.Size = new System.Drawing.Size(186, 26);
+ this.floorScale.TabIndex = 3;
+ this.floorScale.Tag = "xscalefloor";
+ this.floorScale.OnValuesChanged += new System.EventHandler(this.floorScale_OnValuesChanged);
+ //
+ // floorOffsets
+ //
+ this.floorOffsets.AllowDecimal = true;
+ this.floorOffsets.AllowValueLinking = false;
+ this.floorOffsets.ButtonStep = 1;
+ this.floorOffsets.ButtonStepBig = 32F;
+ this.floorOffsets.ButtonStepFloat = 16F;
+ this.floorOffsets.ButtonStepSmall = 1F;
+ this.floorOffsets.ButtonStepsUseModifierKeys = true;
+ this.floorOffsets.DefaultValue = 0F;
+ this.floorOffsets.Field1 = "xpanningfloor";
+ this.floorOffsets.Field2 = "ypanningfloor";
+ this.floorOffsets.LinkValues = false;
+ this.floorOffsets.Location = new System.Drawing.Point(110, 21);
+ this.floorOffsets.Name = "floorOffsets";
+ this.floorOffsets.Size = new System.Drawing.Size(186, 26);
+ this.floorOffsets.TabIndex = 1;
+ this.floorOffsets.Tag = "xpanningfloor";
+ this.floorOffsets.OnValuesChanged += new System.EventHandler(this.floorOffsets_OnValuesChanged);
+ //
+ // floortex
+ //
+ this.floortex.Location = new System.Drawing.Point(356, 21);
+ this.floortex.MultipleTextures = false;
+ this.floortex.Name = "floortex";
+ this.floortex.Size = new System.Drawing.Size(176, 200);
+ this.floortex.TabIndex = 25;
+ this.floortex.TextureName = "";
+ this.floortex.OnValueChanged += new System.EventHandler(this.floortex_OnValueChanged);
+ //
+ // groupBox1
+ //
+ this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.groupBox1.Controls.Add(this.reset_ceiling_reflect);
- this.groupBox1.Controls.Add(this.label20);
- this.groupBox1.Controls.Add(this.ceiling_reflect);
- this.groupBox1.Controls.Add(this.resetceilterrain);
- this.groupBox1.Controls.Add(this.label7);
- this.groupBox1.Controls.Add(this.ceilterrain);
- this.groupBox1.Controls.Add(this.resetceillight);
- this.groupBox1.Controls.Add(this.labelCeilOffsets);
- this.groupBox1.Controls.Add(this.labelCeilScale);
- this.groupBox1.Controls.Add(this.cbUseCeilLineAngles);
- this.groupBox1.Controls.Add(this.ceilAngleControl);
- this.groupBox1.Controls.Add(this.labelceilrenderstyle);
- this.groupBox1.Controls.Add(this.label1);
- this.groupBox1.Controls.Add(this.ceilRotation);
- this.groupBox1.Controls.Add(this.ceilLightAbsolute);
- this.groupBox1.Controls.Add(this.labelLightFront);
- this.groupBox1.Controls.Add(this.ceilBrightness);
- this.groupBox1.Controls.Add(this.ceilRenderStyle);
- this.groupBox1.Controls.Add(this.ceilScale);
- this.groupBox1.Controls.Add(this.ceilOffsets);
- this.groupBox1.Controls.Add(this.ceilingtex);
- this.groupBox1.Location = new System.Drawing.Point(3, 3);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(564, 235);
- this.groupBox1.TabIndex = 0;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = " Ceiling ";
- //
- // reset_ceiling_reflect
- //
- this.reset_ceiling_reflect.Image = ((System.Drawing.Image)(resources.GetObject("reset_ceiling_reflect.Image")));
- this.reset_ceiling_reflect.Location = new System.Drawing.Point(179, 198);
- this.reset_ceiling_reflect.Name = "reset_ceiling_reflect";
- this.reset_ceiling_reflect.Size = new System.Drawing.Size(23, 23);
- this.reset_ceiling_reflect.TabIndex = 19;
- this.tooltip.SetToolTip(this.reset_ceiling_reflect, "Reset");
- this.reset_ceiling_reflect.UseVisualStyleBackColor = true;
- this.reset_ceiling_reflect.Click += new System.EventHandler(this.reset_ceiling_reflect_Click);
- //
- // label20
- //
- this.label20.Location = new System.Drawing.Point(26, 202);
- this.label20.Name = "label20";
- this.label20.Size = new System.Drawing.Size(80, 14);
- this.label20.TabIndex = 17;
- this.label20.Tag = "";
- this.label20.Text = "Reflectivity:";
- this.label20.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // ceiling_reflect
- //
- this.ceiling_reflect.AllowDecimal = true;
- this.ceiling_reflect.AllowExpressions = false;
- this.ceiling_reflect.AllowNegative = false;
- this.ceiling_reflect.AllowRelative = false;
- this.ceiling_reflect.ButtonStep = 1;
- this.ceiling_reflect.ButtonStepBig = 0.25F;
- this.ceiling_reflect.ButtonStepFloat = 0.1F;
- this.ceiling_reflect.ButtonStepSmall = 0.01F;
- this.ceiling_reflect.ButtonStepsUseModifierKeys = true;
- this.ceiling_reflect.ButtonStepsWrapAround = false;
- this.ceiling_reflect.Location = new System.Drawing.Point(113, 197);
- this.ceiling_reflect.Name = "ceiling_reflect";
- this.ceiling_reflect.Size = new System.Drawing.Size(62, 24);
- this.ceiling_reflect.StepValues = null;
- this.ceiling_reflect.TabIndex = 18;
- this.ceiling_reflect.Tag = "";
- this.ceiling_reflect.WhenTextChanged += new System.EventHandler(this.ceiling_reflect_WhenTextChanged);
- //
- // resetceilterrain
- //
- this.resetceilterrain.Image = ((System.Drawing.Image)(resources.GetObject("resetceilterrain.Image")));
- this.resetceilterrain.Location = new System.Drawing.Point(246, 110);
- this.resetceilterrain.Name = "resetceilterrain";
- this.resetceilterrain.Size = new System.Drawing.Size(23, 23);
- this.resetceilterrain.TabIndex = 8;
- this.resetceilterrain.Text = " ";
- this.tooltip.SetToolTip(this.resetceilterrain, "Reset");
- this.resetceilterrain.UseVisualStyleBackColor = true;
- this.resetceilterrain.Click += new System.EventHandler(this.resetceilterrain_Click);
- //
- // label7
- //
- this.label7.Location = new System.Drawing.Point(26, 114);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(80, 14);
- this.label7.TabIndex = 6;
- this.label7.Tag = "";
- this.label7.Text = "Terrain:";
- this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // ceilterrain
- //
- this.ceilterrain.FormattingEnabled = true;
- this.ceilterrain.Location = new System.Drawing.Point(113, 111);
- this.ceilterrain.Name = "ceilterrain";
- this.ceilterrain.Size = new System.Drawing.Size(130, 21);
- this.ceilterrain.TabIndex = 7;
- this.ceilterrain.TextChanged += new System.EventHandler(this.ceilterrain_TextChanged);
- this.ceilterrain.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ceilterrain_MouseDown);
- //
- // resetceillight
- //
- this.resetceillight.Image = ((System.Drawing.Image)(resources.GetObject("resetceillight.Image")));
- this.resetceillight.Location = new System.Drawing.Point(246, 138);
- this.resetceillight.Name = "resetceillight";
- this.resetceillight.Size = new System.Drawing.Size(23, 23);
- this.resetceillight.TabIndex = 12;
- this.tooltip.SetToolTip(this.resetceillight, "Reset");
- this.resetceillight.UseVisualStyleBackColor = true;
- this.resetceillight.Click += new System.EventHandler(this.resetceillight_Click);
- //
- // labelCeilOffsets
- //
- this.labelCeilOffsets.Location = new System.Drawing.Point(8, 27);
- this.labelCeilOffsets.Name = "labelCeilOffsets";
- this.labelCeilOffsets.Size = new System.Drawing.Size(98, 14);
- this.labelCeilOffsets.TabIndex = 0;
- this.labelCeilOffsets.Tag = "";
- this.labelCeilOffsets.Text = "Texture offsets:";
- this.labelCeilOffsets.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // labelCeilScale
- //
- this.labelCeilScale.Location = new System.Drawing.Point(8, 59);
- this.labelCeilScale.Name = "labelCeilScale";
- this.labelCeilScale.Size = new System.Drawing.Size(98, 14);
- this.labelCeilScale.TabIndex = 2;
- this.labelCeilScale.Tag = "";
- this.labelCeilScale.Text = "Texture scale:";
- this.labelCeilScale.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // cbUseCeilLineAngles
- //
- this.cbUseCeilLineAngles.AutoSize = true;
- this.cbUseCeilLineAngles.Location = new System.Drawing.Point(181, 172);
- this.cbUseCeilLineAngles.Name = "cbUseCeilLineAngles";
- this.cbUseCeilLineAngles.Size = new System.Drawing.Size(113, 17);
- this.cbUseCeilLineAngles.TabIndex = 16;
- this.cbUseCeilLineAngles.Tag = "";
- this.cbUseCeilLineAngles.Text = "Use linedef angles";
- this.cbUseCeilLineAngles.UseVisualStyleBackColor = true;
- this.cbUseCeilLineAngles.CheckedChanged += new System.EventHandler(this.cbUseCeilLineAngles_CheckedChanged);
- //
- // ceilAngleControl
- //
- this.ceilAngleControl.Angle = -1710;
- this.ceilAngleControl.AngleOffset = 90;
- this.ceilAngleControl.DoomAngleClamping = false;
- this.ceilAngleControl.Location = new System.Drawing.Point(6, 156);
- this.ceilAngleControl.Name = "ceilAngleControl";
- this.ceilAngleControl.Size = new System.Drawing.Size(44, 44);
- this.ceilAngleControl.TabIndex = 13;
- this.ceilAngleControl.AngleChanged += new System.EventHandler(this.ceilAngleControl_AngleChanged);
- //
- // labelceilrenderstyle
- //
- this.labelceilrenderstyle.Location = new System.Drawing.Point(26, 88);
- this.labelceilrenderstyle.Name = "labelceilrenderstyle";
- this.labelceilrenderstyle.Size = new System.Drawing.Size(80, 14);
- this.labelceilrenderstyle.TabIndex = 4;
- this.labelceilrenderstyle.Tag = "";
- this.labelceilrenderstyle.Text = "Render style:";
- this.labelceilrenderstyle.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // label1
- //
- this.label1.Location = new System.Drawing.Point(26, 172);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(80, 14);
- this.label1.TabIndex = 14;
- this.label1.Tag = "";
- this.label1.Text = "Rotation:";
- this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // ceilRotation
- //
- this.ceilRotation.AllowDecimal = true;
- this.ceilRotation.AllowExpressions = false;
- this.ceilRotation.AllowNegative = true;
- this.ceilRotation.AllowRelative = true;
- this.ceilRotation.ButtonStep = 5;
- this.ceilRotation.ButtonStepBig = 15F;
- this.ceilRotation.ButtonStepFloat = 1F;
- this.ceilRotation.ButtonStepSmall = 0.1F;
- this.ceilRotation.ButtonStepsUseModifierKeys = true;
- this.ceilRotation.ButtonStepsWrapAround = true;
- this.ceilRotation.Location = new System.Drawing.Point(113, 167);
- this.ceilRotation.Name = "ceilRotation";
- this.ceilRotation.Size = new System.Drawing.Size(62, 24);
- this.ceilRotation.StepValues = null;
- this.ceilRotation.TabIndex = 15;
- this.ceilRotation.Tag = "";
- this.ceilRotation.WhenTextChanged += new System.EventHandler(this.ceilRotation_WhenTextChanged);
- //
- // ceilLightAbsolute
- //
- this.ceilLightAbsolute.AutoSize = true;
- this.ceilLightAbsolute.Location = new System.Drawing.Point(181, 142);
- this.ceilLightAbsolute.Name = "ceilLightAbsolute";
- this.ceilLightAbsolute.Size = new System.Drawing.Size(67, 17);
- this.ceilLightAbsolute.TabIndex = 11;
- this.ceilLightAbsolute.Tag = "";
- this.ceilLightAbsolute.Text = "Absolute";
- this.ceilLightAbsolute.UseVisualStyleBackColor = true;
- this.ceilLightAbsolute.CheckedChanged += new System.EventHandler(this.ceilLightAbsolute_CheckedChanged);
- //
- // labelLightFront
- //
- this.labelLightFront.Location = new System.Drawing.Point(26, 142);
- this.labelLightFront.Name = "labelLightFront";
- this.labelLightFront.Size = new System.Drawing.Size(80, 14);
- this.labelLightFront.TabIndex = 9;
- this.labelLightFront.Tag = "";
- this.labelLightFront.Text = "Brightness:";
- this.labelLightFront.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // ceilBrightness
- //
- this.ceilBrightness.AllowDecimal = false;
- this.ceilBrightness.AllowExpressions = false;
- this.ceilBrightness.AllowNegative = true;
- this.ceilBrightness.AllowRelative = true;
- this.ceilBrightness.ButtonStep = 16;
- this.ceilBrightness.ButtonStepBig = 32F;
- this.ceilBrightness.ButtonStepFloat = 1F;
- this.ceilBrightness.ButtonStepSmall = 1F;
- this.ceilBrightness.ButtonStepsUseModifierKeys = true;
- this.ceilBrightness.ButtonStepsWrapAround = false;
- this.ceilBrightness.Location = new System.Drawing.Point(113, 137);
- this.ceilBrightness.Name = "ceilBrightness";
- this.ceilBrightness.Size = new System.Drawing.Size(62, 24);
- this.ceilBrightness.StepValues = null;
- this.ceilBrightness.TabIndex = 10;
- this.ceilBrightness.Tag = "lightceiling";
- this.ceilBrightness.WhenTextChanged += new System.EventHandler(this.ceilBrightness_WhenTextChanged);
- //
- // ceilRenderStyle
- //
- this.ceilRenderStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.ceilRenderStyle.FormattingEnabled = true;
- this.ceilRenderStyle.Location = new System.Drawing.Point(113, 85);
- this.ceilRenderStyle.Name = "ceilRenderStyle";
- this.ceilRenderStyle.Size = new System.Drawing.Size(130, 21);
- this.ceilRenderStyle.TabIndex = 5;
- //
- // ceilScale
- //
- this.ceilScale.AllowDecimal = true;
- this.ceilScale.AllowValueLinking = true;
- this.ceilScale.ButtonStep = 1;
- this.ceilScale.ButtonStepBig = 1F;
- this.ceilScale.ButtonStepFloat = 0.1F;
- this.ceilScale.ButtonStepSmall = 0.01F;
- this.ceilScale.ButtonStepsUseModifierKeys = true;
- this.ceilScale.DefaultValue = 1F;
- this.ceilScale.Field1 = "xscaleceiling";
- this.ceilScale.Field2 = "yscaleceiling";
- this.ceilScale.LinkValues = false;
- this.ceilScale.Location = new System.Drawing.Point(110, 53);
- this.ceilScale.Name = "ceilScale";
- this.ceilScale.Size = new System.Drawing.Size(186, 26);
- this.ceilScale.TabIndex = 3;
- this.ceilScale.OnValuesChanged += new System.EventHandler(this.ceilScale_OnValuesChanged);
- //
- // ceilOffsets
- //
- this.ceilOffsets.AllowDecimal = true;
- this.ceilOffsets.AllowValueLinking = false;
- this.ceilOffsets.ButtonStep = 1;
- this.ceilOffsets.ButtonStepBig = 32F;
- this.ceilOffsets.ButtonStepFloat = 16F;
- this.ceilOffsets.ButtonStepSmall = 1F;
- this.ceilOffsets.ButtonStepsUseModifierKeys = true;
- this.ceilOffsets.DefaultValue = 0F;
- this.ceilOffsets.Field1 = "xpanningceiling";
- this.ceilOffsets.Field2 = "ypanningceiling";
- this.ceilOffsets.LinkValues = false;
- this.ceilOffsets.Location = new System.Drawing.Point(110, 21);
- this.ceilOffsets.Name = "ceilOffsets";
- this.ceilOffsets.Size = new System.Drawing.Size(186, 26);
- this.ceilOffsets.TabIndex = 1;
- this.ceilOffsets.OnValuesChanged += new System.EventHandler(this.ceilOffsets_OnValuesChanged);
- //
- // ceilingtex
- //
- this.ceilingtex.Location = new System.Drawing.Point(356, 21);
- this.ceilingtex.MultipleTextures = false;
- this.ceilingtex.Name = "ceilingtex";
- this.ceilingtex.Size = new System.Drawing.Size(176, 200);
- this.ceilingtex.TabIndex = 25;
- this.ceilingtex.TextureName = "";
- this.ceilingtex.OnValueChanged += new System.EventHandler(this.ceilingtex_OnValueChanged);
- //
- // tabslopes
- //
- this.tabslopes.Controls.Add(this.groupBox7);
- this.tabslopes.Controls.Add(this.groupBox6);
- this.tabslopes.Controls.Add(this.groupBox5);
- this.tabslopes.Controls.Add(this.groupBox4);
- this.tabslopes.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.tabslopes.Location = new System.Drawing.Point(4, 24);
- this.tabslopes.Name = "tabslopes";
- this.tabslopes.Size = new System.Drawing.Size(570, 528);
- this.tabslopes.TabIndex = 3;
- this.tabslopes.Text = "Slopes / Portals";
- this.tabslopes.UseVisualStyleBackColor = true;
- //
- // groupBox7
- //
- this.groupBox7.Controls.Add(this.resetalphafloor);
- this.groupBox7.Controls.Add(this.floorportalflags);
- this.groupBox7.Controls.Add(this.label22);
- this.groupBox7.Controls.Add(this.alphafloor);
- this.groupBox7.Controls.Add(this.floorportalrenderstylelabel);
- this.groupBox7.Controls.Add(this.floorportalrenderstyle);
- this.groupBox7.Location = new System.Drawing.Point(307, 261);
- this.groupBox7.Name = "groupBox7";
- this.groupBox7.Size = new System.Drawing.Size(260, 266);
- this.groupBox7.TabIndex = 60;
- this.groupBox7.TabStop = false;
- this.groupBox7.Text = " Floor portal ";
- //
- // resetalphafloor
- //
- this.resetalphafloor.Image = ((System.Drawing.Image)(resources.GetObject("resetalphafloor.Image")));
- this.resetalphafloor.Location = new System.Drawing.Point(149, 49);
- this.resetalphafloor.Name = "resetalphafloor";
- this.resetalphafloor.Size = new System.Drawing.Size(23, 23);
- this.resetalphafloor.TabIndex = 70;
- this.tooltip.SetToolTip(this.resetalphafloor, "Reset");
- this.resetalphafloor.UseVisualStyleBackColor = true;
- this.resetalphafloor.Click += new System.EventHandler(this.resetalphafloor_Click);
- //
- // floorportalflags
- //
- this.floorportalflags.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ this.groupBox1.Controls.Add(this.reset_ceiling_reflect);
+ this.groupBox1.Controls.Add(this.label20);
+ this.groupBox1.Controls.Add(this.ceiling_reflect);
+ this.groupBox1.Controls.Add(this.resetceilterrain);
+ this.groupBox1.Controls.Add(this.label7);
+ this.groupBox1.Controls.Add(this.ceilterrain);
+ this.groupBox1.Controls.Add(this.resetceillight);
+ this.groupBox1.Controls.Add(this.labelCeilOffsets);
+ this.groupBox1.Controls.Add(this.labelCeilScale);
+ this.groupBox1.Controls.Add(this.cbUseCeilLineAngles);
+ this.groupBox1.Controls.Add(this.ceilAngleControl);
+ this.groupBox1.Controls.Add(this.labelceilrenderstyle);
+ this.groupBox1.Controls.Add(this.label1);
+ this.groupBox1.Controls.Add(this.ceilRotation);
+ this.groupBox1.Controls.Add(this.ceilLightAbsolute);
+ this.groupBox1.Controls.Add(this.labelLightFront);
+ this.groupBox1.Controls.Add(this.ceilBrightness);
+ this.groupBox1.Controls.Add(this.ceilRenderStyle);
+ this.groupBox1.Controls.Add(this.ceilScale);
+ this.groupBox1.Controls.Add(this.ceilOffsets);
+ this.groupBox1.Controls.Add(this.ceilingtex);
+ this.groupBox1.Location = new System.Drawing.Point(3, 3);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(564, 235);
+ this.groupBox1.TabIndex = 0;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = " Ceiling ";
+ //
+ // reset_ceiling_reflect
+ //
+ this.reset_ceiling_reflect.Image = ((System.Drawing.Image)(resources.GetObject("reset_ceiling_reflect.Image")));
+ this.reset_ceiling_reflect.Location = new System.Drawing.Point(179, 198);
+ this.reset_ceiling_reflect.Name = "reset_ceiling_reflect";
+ this.reset_ceiling_reflect.Size = new System.Drawing.Size(23, 23);
+ this.reset_ceiling_reflect.TabIndex = 19;
+ this.reset_ceiling_reflect.Tag = "ceiling_reflect";
+ this.tooltip.SetToolTip(this.reset_ceiling_reflect, "Reset");
+ this.reset_ceiling_reflect.UseVisualStyleBackColor = true;
+ this.reset_ceiling_reflect.Click += new System.EventHandler(this.reset_ceiling_reflect_Click);
+ //
+ // label20
+ //
+ this.label20.Location = new System.Drawing.Point(26, 202);
+ this.label20.Name = "label20";
+ this.label20.Size = new System.Drawing.Size(80, 14);
+ this.label20.TabIndex = 17;
+ this.label20.Tag = "ceiling_reflect";
+ this.label20.Text = "Reflectivity:";
+ this.label20.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // ceiling_reflect
+ //
+ this.ceiling_reflect.AllowDecimal = true;
+ this.ceiling_reflect.AllowExpressions = false;
+ this.ceiling_reflect.AllowNegative = false;
+ this.ceiling_reflect.AllowRelative = false;
+ this.ceiling_reflect.ButtonStep = 1;
+ this.ceiling_reflect.ButtonStepBig = 0.25F;
+ this.ceiling_reflect.ButtonStepFloat = 0.1F;
+ this.ceiling_reflect.ButtonStepSmall = 0.01F;
+ this.ceiling_reflect.ButtonStepsUseModifierKeys = true;
+ this.ceiling_reflect.ButtonStepsWrapAround = false;
+ this.ceiling_reflect.Location = new System.Drawing.Point(113, 197);
+ this.ceiling_reflect.Name = "ceiling_reflect";
+ this.ceiling_reflect.Size = new System.Drawing.Size(62, 24);
+ this.ceiling_reflect.StepValues = null;
+ this.ceiling_reflect.TabIndex = 18;
+ this.ceiling_reflect.Tag = "ceiling_reflect";
+ this.ceiling_reflect.WhenTextChanged += new System.EventHandler(this.ceiling_reflect_WhenTextChanged);
+ //
+ // resetceilterrain
+ //
+ this.resetceilterrain.Image = ((System.Drawing.Image)(resources.GetObject("resetceilterrain.Image")));
+ this.resetceilterrain.Location = new System.Drawing.Point(246, 110);
+ this.resetceilterrain.Name = "resetceilterrain";
+ this.resetceilterrain.Size = new System.Drawing.Size(23, 23);
+ this.resetceilterrain.TabIndex = 8;
+ this.resetceilterrain.Tag = "ceilingterrain";
+ this.resetceilterrain.Text = " ";
+ this.tooltip.SetToolTip(this.resetceilterrain, "Reset");
+ this.resetceilterrain.UseVisualStyleBackColor = true;
+ this.resetceilterrain.Click += new System.EventHandler(this.resetceilterrain_Click);
+ //
+ // label7
+ //
+ this.label7.Location = new System.Drawing.Point(26, 114);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(80, 14);
+ this.label7.TabIndex = 6;
+ this.label7.Tag = "ceilingterrain";
+ this.label7.Text = "Terrain:";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // ceilterrain
+ //
+ this.ceilterrain.FormattingEnabled = true;
+ this.ceilterrain.Location = new System.Drawing.Point(113, 111);
+ this.ceilterrain.Name = "ceilterrain";
+ this.ceilterrain.Size = new System.Drawing.Size(130, 21);
+ this.ceilterrain.TabIndex = 7;
+ this.ceilterrain.Tag = "ceilingterrain";
+ this.ceilterrain.TextChanged += new System.EventHandler(this.ceilterrain_TextChanged);
+ this.ceilterrain.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ceilterrain_MouseDown);
+ //
+ // resetceillight
+ //
+ this.resetceillight.Image = ((System.Drawing.Image)(resources.GetObject("resetceillight.Image")));
+ this.resetceillight.Location = new System.Drawing.Point(246, 138);
+ this.resetceillight.Name = "resetceillight";
+ this.resetceillight.Size = new System.Drawing.Size(23, 23);
+ this.resetceillight.TabIndex = 12;
+ this.resetceillight.Tag = "lightceiling";
+ this.tooltip.SetToolTip(this.resetceillight, "Reset");
+ this.resetceillight.UseVisualStyleBackColor = true;
+ this.resetceillight.Click += new System.EventHandler(this.resetceillight_Click);
+ //
+ // labelCeilOffsets
+ //
+ this.labelCeilOffsets.Location = new System.Drawing.Point(8, 27);
+ this.labelCeilOffsets.Name = "labelCeilOffsets";
+ this.labelCeilOffsets.Size = new System.Drawing.Size(98, 14);
+ this.labelCeilOffsets.TabIndex = 0;
+ this.labelCeilOffsets.Tag = "xpanningceiling";
+ this.labelCeilOffsets.Text = "Texture offsets:";
+ this.labelCeilOffsets.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // labelCeilScale
+ //
+ this.labelCeilScale.Location = new System.Drawing.Point(8, 59);
+ this.labelCeilScale.Name = "labelCeilScale";
+ this.labelCeilScale.Size = new System.Drawing.Size(98, 14);
+ this.labelCeilScale.TabIndex = 2;
+ this.labelCeilScale.Tag = "xscaleceiling";
+ this.labelCeilScale.Text = "Texture scale:";
+ this.labelCeilScale.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // cbUseCeilLineAngles
+ //
+ this.cbUseCeilLineAngles.AutoSize = true;
+ this.cbUseCeilLineAngles.Location = new System.Drawing.Point(181, 172);
+ this.cbUseCeilLineAngles.Name = "cbUseCeilLineAngles";
+ this.cbUseCeilLineAngles.Size = new System.Drawing.Size(113, 17);
+ this.cbUseCeilLineAngles.TabIndex = 16;
+ this.cbUseCeilLineAngles.Tag = "rotationceiling";
+ this.cbUseCeilLineAngles.Text = "Use linedef angles";
+ this.cbUseCeilLineAngles.UseVisualStyleBackColor = true;
+ this.cbUseCeilLineAngles.CheckedChanged += new System.EventHandler(this.cbUseCeilLineAngles_CheckedChanged);
+ //
+ // ceilAngleControl
+ //
+ this.ceilAngleControl.Angle = -2610;
+ this.ceilAngleControl.AngleOffset = 90;
+ this.ceilAngleControl.DoomAngleClamping = false;
+ this.ceilAngleControl.Location = new System.Drawing.Point(6, 156);
+ this.ceilAngleControl.Name = "ceilAngleControl";
+ this.ceilAngleControl.Size = new System.Drawing.Size(44, 44);
+ this.ceilAngleControl.TabIndex = 13;
+ this.ceilAngleControl.Tag = "rotationceiling";
+ this.ceilAngleControl.AngleChanged += new System.EventHandler(this.ceilAngleControl_AngleChanged);
+ //
+ // labelceilrenderstyle
+ //
+ this.labelceilrenderstyle.Location = new System.Drawing.Point(26, 88);
+ this.labelceilrenderstyle.Name = "labelceilrenderstyle";
+ this.labelceilrenderstyle.Size = new System.Drawing.Size(80, 14);
+ this.labelceilrenderstyle.TabIndex = 4;
+ this.labelceilrenderstyle.Tag = "renderstyleceiling";
+ this.labelceilrenderstyle.Text = "Render style:";
+ this.labelceilrenderstyle.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // label1
+ //
+ this.label1.Location = new System.Drawing.Point(26, 172);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(80, 14);
+ this.label1.TabIndex = 14;
+ this.label1.Tag = "rotationceiling";
+ this.label1.Text = "Rotation:";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // ceilRotation
+ //
+ this.ceilRotation.AllowDecimal = true;
+ this.ceilRotation.AllowExpressions = false;
+ this.ceilRotation.AllowNegative = true;
+ this.ceilRotation.AllowRelative = true;
+ this.ceilRotation.ButtonStep = 5;
+ this.ceilRotation.ButtonStepBig = 15F;
+ this.ceilRotation.ButtonStepFloat = 1F;
+ this.ceilRotation.ButtonStepSmall = 0.1F;
+ this.ceilRotation.ButtonStepsUseModifierKeys = true;
+ this.ceilRotation.ButtonStepsWrapAround = true;
+ this.ceilRotation.Location = new System.Drawing.Point(113, 167);
+ this.ceilRotation.Name = "ceilRotation";
+ this.ceilRotation.Size = new System.Drawing.Size(62, 24);
+ this.ceilRotation.StepValues = null;
+ this.ceilRotation.TabIndex = 15;
+ this.ceilRotation.Tag = "rotationceiling";
+ this.ceilRotation.WhenTextChanged += new System.EventHandler(this.ceilRotation_WhenTextChanged);
+ //
+ // ceilLightAbsolute
+ //
+ this.ceilLightAbsolute.AutoSize = true;
+ this.ceilLightAbsolute.Location = new System.Drawing.Point(181, 142);
+ this.ceilLightAbsolute.Name = "ceilLightAbsolute";
+ this.ceilLightAbsolute.Size = new System.Drawing.Size(67, 17);
+ this.ceilLightAbsolute.TabIndex = 11;
+ this.ceilLightAbsolute.Tag = "lightceilingabsolute";
+ this.ceilLightAbsolute.Text = "Absolute";
+ this.ceilLightAbsolute.UseVisualStyleBackColor = true;
+ this.ceilLightAbsolute.CheckedChanged += new System.EventHandler(this.ceilLightAbsolute_CheckedChanged);
+ //
+ // labelLightFront
+ //
+ this.labelLightFront.Location = new System.Drawing.Point(26, 142);
+ this.labelLightFront.Name = "labelLightFront";
+ this.labelLightFront.Size = new System.Drawing.Size(80, 14);
+ this.labelLightFront.TabIndex = 9;
+ this.labelLightFront.Tag = "lightceiling";
+ this.labelLightFront.Text = "Brightness:";
+ this.labelLightFront.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // ceilBrightness
+ //
+ this.ceilBrightness.AllowDecimal = false;
+ this.ceilBrightness.AllowExpressions = false;
+ this.ceilBrightness.AllowNegative = true;
+ this.ceilBrightness.AllowRelative = true;
+ this.ceilBrightness.ButtonStep = 16;
+ this.ceilBrightness.ButtonStepBig = 32F;
+ this.ceilBrightness.ButtonStepFloat = 1F;
+ this.ceilBrightness.ButtonStepSmall = 1F;
+ this.ceilBrightness.ButtonStepsUseModifierKeys = true;
+ this.ceilBrightness.ButtonStepsWrapAround = false;
+ this.ceilBrightness.Location = new System.Drawing.Point(113, 137);
+ this.ceilBrightness.Name = "ceilBrightness";
+ this.ceilBrightness.Size = new System.Drawing.Size(62, 24);
+ this.ceilBrightness.StepValues = null;
+ this.ceilBrightness.TabIndex = 10;
+ this.ceilBrightness.Tag = "lightceiling";
+ this.ceilBrightness.WhenTextChanged += new System.EventHandler(this.ceilBrightness_WhenTextChanged);
+ //
+ // ceilRenderStyle
+ //
+ this.ceilRenderStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.ceilRenderStyle.FormattingEnabled = true;
+ this.ceilRenderStyle.Location = new System.Drawing.Point(113, 85);
+ this.ceilRenderStyle.Name = "ceilRenderStyle";
+ this.ceilRenderStyle.Size = new System.Drawing.Size(130, 21);
+ this.ceilRenderStyle.TabIndex = 5;
+ this.ceilRenderStyle.Tag = "renderstyleceiling";
+ //
+ // ceilScale
+ //
+ this.ceilScale.AllowDecimal = true;
+ this.ceilScale.AllowValueLinking = true;
+ this.ceilScale.ButtonStep = 1;
+ this.ceilScale.ButtonStepBig = 1F;
+ this.ceilScale.ButtonStepFloat = 0.1F;
+ this.ceilScale.ButtonStepSmall = 0.01F;
+ this.ceilScale.ButtonStepsUseModifierKeys = true;
+ this.ceilScale.DefaultValue = 1F;
+ this.ceilScale.Field1 = "xscaleceiling";
+ this.ceilScale.Field2 = "yscaleceiling";
+ this.ceilScale.LinkValues = false;
+ this.ceilScale.Location = new System.Drawing.Point(110, 53);
+ this.ceilScale.Name = "ceilScale";
+ this.ceilScale.Size = new System.Drawing.Size(186, 26);
+ this.ceilScale.TabIndex = 3;
+ this.ceilScale.Tag = "xscaleceiling";
+ this.ceilScale.OnValuesChanged += new System.EventHandler(this.ceilScale_OnValuesChanged);
+ //
+ // ceilOffsets
+ //
+ this.ceilOffsets.AllowDecimal = true;
+ this.ceilOffsets.AllowValueLinking = false;
+ this.ceilOffsets.ButtonStep = 1;
+ this.ceilOffsets.ButtonStepBig = 32F;
+ this.ceilOffsets.ButtonStepFloat = 16F;
+ this.ceilOffsets.ButtonStepSmall = 1F;
+ this.ceilOffsets.ButtonStepsUseModifierKeys = true;
+ this.ceilOffsets.DefaultValue = 0F;
+ this.ceilOffsets.Field1 = "xpanningceiling";
+ this.ceilOffsets.Field2 = "ypanningceiling";
+ this.ceilOffsets.LinkValues = false;
+ this.ceilOffsets.Location = new System.Drawing.Point(110, 21);
+ this.ceilOffsets.Name = "ceilOffsets";
+ this.ceilOffsets.Size = new System.Drawing.Size(186, 26);
+ this.ceilOffsets.TabIndex = 1;
+ this.ceilOffsets.Tag = "xpanningceiling";
+ this.ceilOffsets.OnValuesChanged += new System.EventHandler(this.ceilOffsets_OnValuesChanged);
+ //
+ // ceilingtex
+ //
+ this.ceilingtex.Location = new System.Drawing.Point(356, 21);
+ this.ceilingtex.MultipleTextures = false;
+ this.ceilingtex.Name = "ceilingtex";
+ this.ceilingtex.Size = new System.Drawing.Size(176, 200);
+ this.ceilingtex.TabIndex = 25;
+ this.ceilingtex.TextureName = "";
+ this.ceilingtex.OnValueChanged += new System.EventHandler(this.ceilingtex_OnValueChanged);
+ //
+ // tabslopes
+ //
+ this.tabslopes.Controls.Add(this.groupBox7);
+ this.tabslopes.Controls.Add(this.groupBox6);
+ this.tabslopes.Controls.Add(this.gbFloorSlope);
+ this.tabslopes.Controls.Add(this.gbCeilingSLope);
+ this.tabslopes.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.tabslopes.Location = new System.Drawing.Point(4, 22);
+ this.tabslopes.Name = "tabslopes";
+ this.tabslopes.Size = new System.Drawing.Size(570, 526);
+ this.tabslopes.TabIndex = 3;
+ this.tabslopes.Text = "Slopes / Portals";
+ this.tabslopes.UseVisualStyleBackColor = true;
+ //
+ // groupBox7
+ //
+ this.groupBox7.Controls.Add(this.resetalphafloor);
+ this.groupBox7.Controls.Add(this.floorportalflags);
+ this.groupBox7.Controls.Add(this.label22);
+ this.groupBox7.Controls.Add(this.alphafloor);
+ this.groupBox7.Controls.Add(this.floorportalrenderstylelabel);
+ this.groupBox7.Controls.Add(this.floorportalrenderstyle);
+ this.groupBox7.Location = new System.Drawing.Point(307, 261);
+ this.groupBox7.Name = "groupBox7";
+ this.groupBox7.Size = new System.Drawing.Size(260, 266);
+ this.groupBox7.TabIndex = 60;
+ this.groupBox7.TabStop = false;
+ this.groupBox7.Text = " Floor portal ";
+ //
+ // resetalphafloor
+ //
+ this.resetalphafloor.Image = ((System.Drawing.Image)(resources.GetObject("resetalphafloor.Image")));
+ this.resetalphafloor.Location = new System.Drawing.Point(149, 49);
+ this.resetalphafloor.Name = "resetalphafloor";
+ this.resetalphafloor.Size = new System.Drawing.Size(23, 23);
+ this.resetalphafloor.TabIndex = 70;
+ this.resetalphafloor.Tag = "alphafloor";
+ this.tooltip.SetToolTip(this.resetalphafloor, "Reset");
+ this.resetalphafloor.UseVisualStyleBackColor = true;
+ this.resetalphafloor.Click += new System.EventHandler(this.resetalphafloor_Click);
+ //
+ // floorportalflags
+ //
+ this.floorportalflags.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.floorportalflags.AutoScroll = true;
- this.floorportalflags.Columns = 2;
- this.floorportalflags.Location = new System.Drawing.Point(9, 79);
- this.floorportalflags.Name = "floorportalflags";
- this.floorportalflags.Size = new System.Drawing.Size(245, 181);
- this.floorportalflags.TabIndex = 59;
- this.floorportalflags.VerticalSpacing = 1;
- //
- // label22
- //
- this.label22.Location = new System.Drawing.Point(6, 54);
- this.label22.Name = "label22";
- this.label22.Size = new System.Drawing.Size(72, 14);
- this.label22.TabIndex = 58;
- this.label22.Tag = "";
- this.label22.Text = "Alpha:";
- this.label22.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // alphafloor
- //
- this.alphafloor.AllowDecimal = true;
- this.alphafloor.AllowExpressions = false;
- this.alphafloor.AllowNegative = false;
- this.alphafloor.AllowRelative = false;
- this.alphafloor.ButtonStep = 1;
- this.alphafloor.ButtonStepBig = 0.25F;
- this.alphafloor.ButtonStepFloat = 0.1F;
- this.alphafloor.ButtonStepSmall = 0.01F;
- this.alphafloor.ButtonStepsUseModifierKeys = true;
- this.alphafloor.ButtonStepsWrapAround = false;
- this.alphafloor.Location = new System.Drawing.Point(84, 49);
- this.alphafloor.Name = "alphafloor";
- this.alphafloor.Size = new System.Drawing.Size(62, 24);
- this.alphafloor.StepValues = null;
- this.alphafloor.TabIndex = 57;
- this.alphafloor.Tag = "";
- this.alphafloor.WhenTextChanged += new System.EventHandler(this.alphafloor_WhenTextChanged);
- //
- // floorportalrenderstylelabel
- //
- this.floorportalrenderstylelabel.Location = new System.Drawing.Point(6, 26);
- this.floorportalrenderstylelabel.Name = "floorportalrenderstylelabel";
- this.floorportalrenderstylelabel.Size = new System.Drawing.Size(72, 14);
- this.floorportalrenderstylelabel.TabIndex = 56;
- this.floorportalrenderstylelabel.Tag = "";
- this.floorportalrenderstylelabel.Text = "Render style:";
- this.floorportalrenderstylelabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // floorportalrenderstyle
- //
- this.floorportalrenderstyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.floorportalrenderstyle.FormattingEnabled = true;
- this.floorportalrenderstyle.Location = new System.Drawing.Point(84, 22);
- this.floorportalrenderstyle.Name = "floorportalrenderstyle";
- this.floorportalrenderstyle.Size = new System.Drawing.Size(103, 21);
- this.floorportalrenderstyle.TabIndex = 55;
- //
- // groupBox6
- //
- this.groupBox6.Controls.Add(this.resetalphaceiling);
- this.groupBox6.Controls.Add(this.ceilportalflags);
- this.groupBox6.Controls.Add(this.label21);
- this.groupBox6.Controls.Add(this.alphaceiling);
- this.groupBox6.Controls.Add(this.ceilportalrenderstylelabel);
- this.groupBox6.Controls.Add(this.ceilportalrenderstyle);
- this.groupBox6.Location = new System.Drawing.Point(307, 3);
- this.groupBox6.Name = "groupBox6";
- this.groupBox6.Size = new System.Drawing.Size(260, 252);
- this.groupBox6.TabIndex = 2;
- this.groupBox6.TabStop = false;
- this.groupBox6.Text = " Ceiling portal ";
- //
- // resetalphaceiling
- //
- this.resetalphaceiling.Image = ((System.Drawing.Image)(resources.GetObject("resetalphaceiling.Image")));
- this.resetalphaceiling.Location = new System.Drawing.Point(149, 49);
- this.resetalphaceiling.Name = "resetalphaceiling";
- this.resetalphaceiling.Size = new System.Drawing.Size(23, 23);
- this.resetalphaceiling.TabIndex = 68;
- this.tooltip.SetToolTip(this.resetalphaceiling, "Reset");
- this.resetalphaceiling.UseVisualStyleBackColor = true;
- this.resetalphaceiling.Click += new System.EventHandler(this.resetalphaceiling_Click);
- //
- // ceilportalflags
- //
- this.ceilportalflags.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ this.floorportalflags.AutoScroll = true;
+ this.floorportalflags.Columns = 2;
+ this.floorportalflags.Location = new System.Drawing.Point(9, 79);
+ this.floorportalflags.Name = "floorportalflags";
+ this.floorportalflags.Size = new System.Drawing.Size(245, 181);
+ this.floorportalflags.TabIndex = 59;
+ this.floorportalflags.VerticalSpacing = 1;
+ //
+ // label22
+ //
+ this.label22.Location = new System.Drawing.Point(6, 54);
+ this.label22.Name = "label22";
+ this.label22.Size = new System.Drawing.Size(72, 14);
+ this.label22.TabIndex = 58;
+ this.label22.Tag = "";
+ this.label22.Text = "Alpha:";
+ this.label22.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // alphafloor
+ //
+ this.alphafloor.AllowDecimal = true;
+ this.alphafloor.AllowExpressions = false;
+ this.alphafloor.AllowNegative = false;
+ this.alphafloor.AllowRelative = false;
+ this.alphafloor.ButtonStep = 1;
+ this.alphafloor.ButtonStepBig = 0.25F;
+ this.alphafloor.ButtonStepFloat = 0.1F;
+ this.alphafloor.ButtonStepSmall = 0.01F;
+ this.alphafloor.ButtonStepsUseModifierKeys = true;
+ this.alphafloor.ButtonStepsWrapAround = false;
+ this.alphafloor.Location = new System.Drawing.Point(84, 49);
+ this.alphafloor.Name = "alphafloor";
+ this.alphafloor.Size = new System.Drawing.Size(62, 24);
+ this.alphafloor.StepValues = null;
+ this.alphafloor.TabIndex = 57;
+ this.alphafloor.Tag = "alphafloor";
+ this.alphafloor.WhenTextChanged += new System.EventHandler(this.alphafloor_WhenTextChanged);
+ //
+ // floorportalrenderstylelabel
+ //
+ this.floorportalrenderstylelabel.Location = new System.Drawing.Point(6, 26);
+ this.floorportalrenderstylelabel.Name = "floorportalrenderstylelabel";
+ this.floorportalrenderstylelabel.Size = new System.Drawing.Size(72, 14);
+ this.floorportalrenderstylelabel.TabIndex = 56;
+ this.floorportalrenderstylelabel.Tag = "";
+ this.floorportalrenderstylelabel.Text = "Render style:";
+ this.floorportalrenderstylelabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // floorportalrenderstyle
+ //
+ this.floorportalrenderstyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.floorportalrenderstyle.FormattingEnabled = true;
+ this.floorportalrenderstyle.Location = new System.Drawing.Point(84, 22);
+ this.floorportalrenderstyle.Name = "floorportalrenderstyle";
+ this.floorportalrenderstyle.Size = new System.Drawing.Size(103, 21);
+ this.floorportalrenderstyle.TabIndex = 55;
+ this.floorportalrenderstyle.Tag = "renderstylefloor";
+ //
+ // groupBox6
+ //
+ this.groupBox6.Controls.Add(this.resetalphaceiling);
+ this.groupBox6.Controls.Add(this.ceilportalflags);
+ this.groupBox6.Controls.Add(this.label21);
+ this.groupBox6.Controls.Add(this.alphaceiling);
+ this.groupBox6.Controls.Add(this.ceilportalrenderstylelabel);
+ this.groupBox6.Controls.Add(this.ceilportalrenderstyle);
+ this.groupBox6.Location = new System.Drawing.Point(307, 3);
+ this.groupBox6.Name = "groupBox6";
+ this.groupBox6.Size = new System.Drawing.Size(260, 252);
+ this.groupBox6.TabIndex = 2;
+ this.groupBox6.TabStop = false;
+ this.groupBox6.Text = " Ceiling portal ";
+ //
+ // resetalphaceiling
+ //
+ this.resetalphaceiling.Image = ((System.Drawing.Image)(resources.GetObject("resetalphaceiling.Image")));
+ this.resetalphaceiling.Location = new System.Drawing.Point(149, 49);
+ this.resetalphaceiling.Name = "resetalphaceiling";
+ this.resetalphaceiling.Size = new System.Drawing.Size(23, 23);
+ this.resetalphaceiling.TabIndex = 68;
+ this.resetalphaceiling.Tag = "alphaceiling";
+ this.tooltip.SetToolTip(this.resetalphaceiling, "Reset");
+ this.resetalphaceiling.UseVisualStyleBackColor = true;
+ this.resetalphaceiling.Click += new System.EventHandler(this.resetalphaceiling_Click);
+ //
+ // ceilportalflags
+ //
+ this.ceilportalflags.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.ceilportalflags.AutoScroll = true;
- this.ceilportalflags.Columns = 2;
- this.ceilportalflags.Location = new System.Drawing.Point(9, 79);
- this.ceilportalflags.Name = "ceilportalflags";
- this.ceilportalflags.Size = new System.Drawing.Size(245, 167);
- this.ceilportalflags.TabIndex = 59;
- this.ceilportalflags.VerticalSpacing = 1;
- //
- // label21
- //
- this.label21.Location = new System.Drawing.Point(6, 54);
- this.label21.Name = "label21";
- this.label21.Size = new System.Drawing.Size(72, 14);
- this.label21.TabIndex = 58;
- this.label21.Tag = "";
- this.label21.Text = "Alpha:";
- this.label21.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // alphaceiling
- //
- this.alphaceiling.AllowDecimal = true;
- this.alphaceiling.AllowExpressions = false;
- this.alphaceiling.AllowNegative = false;
- this.alphaceiling.AllowRelative = false;
- this.alphaceiling.ButtonStep = 1;
- this.alphaceiling.ButtonStepBig = 0.25F;
- this.alphaceiling.ButtonStepFloat = 0.1F;
- this.alphaceiling.ButtonStepSmall = 0.01F;
- this.alphaceiling.ButtonStepsUseModifierKeys = true;
- this.alphaceiling.ButtonStepsWrapAround = false;
- this.alphaceiling.Location = new System.Drawing.Point(84, 49);
- this.alphaceiling.Name = "alphaceiling";
- this.alphaceiling.Size = new System.Drawing.Size(62, 24);
- this.alphaceiling.StepValues = null;
- this.alphaceiling.TabIndex = 57;
- this.alphaceiling.Tag = "";
- this.alphaceiling.WhenTextChanged += new System.EventHandler(this.alphaceiling_WhenTextChanged);
- //
- // ceilportalrenderstylelabel
- //
- this.ceilportalrenderstylelabel.Location = new System.Drawing.Point(6, 26);
- this.ceilportalrenderstylelabel.Name = "ceilportalrenderstylelabel";
- this.ceilportalrenderstylelabel.Size = new System.Drawing.Size(72, 14);
- this.ceilportalrenderstylelabel.TabIndex = 56;
- this.ceilportalrenderstylelabel.Tag = "";
- this.ceilportalrenderstylelabel.Text = "Render style:";
- this.ceilportalrenderstylelabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // ceilportalrenderstyle
- //
- this.ceilportalrenderstyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.ceilportalrenderstyle.FormattingEnabled = true;
- this.ceilportalrenderstyle.Location = new System.Drawing.Point(84, 22);
- this.ceilportalrenderstyle.Name = "ceilportalrenderstyle";
- this.ceilportalrenderstyle.Size = new System.Drawing.Size(103, 21);
- this.ceilportalrenderstyle.TabIndex = 55;
- //
- // groupBox5
- //
- this.groupBox5.Controls.Add(this.floorslopecontrol);
- this.groupBox5.Location = new System.Drawing.Point(3, 261);
- this.groupBox5.Name = "groupBox5";
- this.groupBox5.Size = new System.Drawing.Size(298, 266);
- this.groupBox5.TabIndex = 1;
- this.groupBox5.TabStop = false;
- this.groupBox5.Text = " Floor slope ";
- //
- // floorslopecontrol
- //
- this.floorslopecontrol.Location = new System.Drawing.Point(4, 19);
- this.floorslopecontrol.Name = "floorslopecontrol";
- this.floorslopecontrol.Size = new System.Drawing.Size(290, 178);
- this.floorslopecontrol.TabIndex = 0;
- this.floorslopecontrol.UseLineAngles = false;
- this.floorslopecontrol.OnAnglesChanged += new System.EventHandler(this.floorslopecontrol_OnAnglesChanged);
- this.floorslopecontrol.OnUseLineAnglesChanged += new System.EventHandler(this.floorslopecontrol_OnUseLineAnglesChanged);
- this.floorslopecontrol.OnPivotModeChanged += new System.EventHandler(this.floorslopecontrol_OnPivotModeChanged);
- this.floorslopecontrol.OnResetClicked += new System.EventHandler(this.floorslopecontrol_OnResetClicked);
- //
- // groupBox4
- //
- this.groupBox4.Controls.Add(this.ceilingslopecontrol);
- this.groupBox4.Location = new System.Drawing.Point(3, 3);
- this.groupBox4.Name = "groupBox4";
- this.groupBox4.Size = new System.Drawing.Size(298, 252);
- this.groupBox4.TabIndex = 0;
- this.groupBox4.TabStop = false;
- this.groupBox4.Text = " Ceiling slope ";
- //
- // ceilingslopecontrol
- //
- this.ceilingslopecontrol.Location = new System.Drawing.Point(4, 19);
- this.ceilingslopecontrol.Name = "ceilingslopecontrol";
- this.ceilingslopecontrol.Size = new System.Drawing.Size(290, 178);
- this.ceilingslopecontrol.TabIndex = 1;
- this.ceilingslopecontrol.UseLineAngles = false;
- this.ceilingslopecontrol.OnAnglesChanged += new System.EventHandler(this.ceilingslopecontrol_OnAnglesChanged);
- this.ceilingslopecontrol.OnUseLineAnglesChanged += new System.EventHandler(this.ceilingslopecontrol_OnUseLineAnglesChanged);
- this.ceilingslopecontrol.OnPivotModeChanged += new System.EventHandler(this.ceilingslopecontrol_OnPivotModeChanged);
- this.ceilingslopecontrol.OnResetClicked += new System.EventHandler(this.ceilingslopecontrol_OnResetClicked);
- //
- // tabcomment
- //
- this.tabcomment.Controls.Add(this.commenteditor);
- this.tabcomment.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
- this.tabcomment.Location = new System.Drawing.Point(4, 24);
- this.tabcomment.Name = "tabcomment";
- this.tabcomment.Size = new System.Drawing.Size(570, 528);
- this.tabcomment.TabIndex = 4;
- this.tabcomment.Text = "Comment";
- this.tabcomment.UseVisualStyleBackColor = true;
- //
- // commenteditor
- //
- this.commenteditor.Dock = System.Windows.Forms.DockStyle.Fill;
- this.commenteditor.Location = new System.Drawing.Point(0, 0);
- this.commenteditor.Name = "commenteditor";
- this.commenteditor.Size = new System.Drawing.Size(570, 528);
- this.commenteditor.TabIndex = 0;
- //
- // tabcustom
- //
- this.tabcustom.Controls.Add(this.fieldslist);
- this.tabcustom.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.tabcustom.Location = new System.Drawing.Point(4, 24);
- this.tabcustom.Name = "tabcustom";
- this.tabcustom.Padding = new System.Windows.Forms.Padding(3);
- this.tabcustom.Size = new System.Drawing.Size(570, 528);
- this.tabcustom.TabIndex = 1;
- this.tabcustom.Text = "Custom";
- this.tabcustom.UseVisualStyleBackColor = true;
- this.tabcustom.MouseEnter += new System.EventHandler(this.tabcustom_MouseEnter);
- //
- // fieldslist
- //
- this.fieldslist.AllowInsert = true;
- this.fieldslist.AutoInsertUserPrefix = true;
- this.fieldslist.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.fieldslist.Dock = System.Windows.Forms.DockStyle.Fill;
- this.fieldslist.Location = new System.Drawing.Point(3, 3);
- this.fieldslist.Margin = new System.Windows.Forms.Padding(8);
- this.fieldslist.Name = "fieldslist";
- this.fieldslist.PropertyColumnVisible = true;
- this.fieldslist.PropertyColumnWidth = 150;
- this.fieldslist.ShowFixedFields = true;
- this.fieldslist.Size = new System.Drawing.Size(564, 522);
- this.fieldslist.TabIndex = 1;
- this.fieldslist.TypeColumnVisible = true;
- this.fieldslist.TypeColumnWidth = 100;
- this.fieldslist.ValueColumnVisible = true;
- //
- // cancel
- //
- this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.cancel.Location = new System.Drawing.Point(474, 566);
- this.cancel.Name = "cancel";
- this.cancel.Size = new System.Drawing.Size(112, 25);
- this.cancel.TabIndex = 4;
- this.cancel.Text = "Cancel";
- this.cancel.UseVisualStyleBackColor = true;
- this.cancel.Click += new System.EventHandler(this.cancel_Click);
- //
- // apply
- //
- this.apply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.apply.Location = new System.Drawing.Point(356, 566);
- this.apply.Name = "apply";
- this.apply.Size = new System.Drawing.Size(112, 25);
- this.apply.TabIndex = 3;
- this.apply.Text = "OK";
- this.apply.UseVisualStyleBackColor = true;
- this.apply.Click += new System.EventHandler(this.apply_Click);
- //
- // tooltip
- //
- this.tooltip.AutomaticDelay = 10;
- this.tooltip.AutoPopDelay = 10000;
- this.tooltip.InitialDelay = 10;
- this.tooltip.ReshowDelay = 100;
- //
- // SectorEditFormUDMF
- //
- this.AcceptButton = this.apply;
- this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
- this.CancelButton = this.cancel;
- this.ClientSize = new System.Drawing.Size(598, 592);
- this.Controls.Add(this.cancel);
- this.Controls.Add(this.apply);
- this.Controls.Add(this.tabs);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "SectorEditFormUDMF";
- this.Opacity = 0D;
- this.ShowIcon = false;
- this.ShowInTaskbar = false;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "Edit Sector";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SectorEditFormUDMF_FormClosing);
- this.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.SectorEditFormUDMF_HelpRequested);
- groupaction.ResumeLayout(false);
- groupeffect.ResumeLayout(false);
- groupeffect.PerformLayout();
- groupfloorceiling.ResumeLayout(false);
- groupfloorceiling.PerformLayout();
- this.tabs.ResumeLayout(false);
- this.tabproperties.ResumeLayout(false);
- this.groupdamage.ResumeLayout(false);
- this.groupBox3.ResumeLayout(false);
- this.tabColors.ResumeLayout(false);
- this.groupBox11.ResumeLayout(false);
- this.groupBox11.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.floorglowheightrequired)).EndInit();
- this.groupBox10.ResumeLayout(false);
- this.groupBox10.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ceilingglowheightrequired)).EndInit();
- this.groupBox9.ResumeLayout(false);
- this.groupBox8.ResumeLayout(false);
- this.tabSurfaces.ResumeLayout(false);
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.tabslopes.ResumeLayout(false);
- this.groupBox7.ResumeLayout(false);
- this.groupBox6.ResumeLayout(false);
- this.groupBox5.ResumeLayout(false);
- this.groupBox4.ResumeLayout(false);
- this.tabcomment.ResumeLayout(false);
- this.tabcustom.ResumeLayout(false);
- this.ResumeLayout(false);
+ this.ceilportalflags.AutoScroll = true;
+ this.ceilportalflags.Columns = 2;
+ this.ceilportalflags.Location = new System.Drawing.Point(9, 79);
+ this.ceilportalflags.Name = "ceilportalflags";
+ this.ceilportalflags.Size = new System.Drawing.Size(245, 167);
+ this.ceilportalflags.TabIndex = 59;
+ this.ceilportalflags.VerticalSpacing = 1;
+ //
+ // label21
+ //
+ this.label21.Location = new System.Drawing.Point(6, 54);
+ this.label21.Name = "label21";
+ this.label21.Size = new System.Drawing.Size(72, 14);
+ this.label21.TabIndex = 58;
+ this.label21.Tag = "";
+ this.label21.Text = "Alpha:";
+ this.label21.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // alphaceiling
+ //
+ this.alphaceiling.AllowDecimal = true;
+ this.alphaceiling.AllowExpressions = false;
+ this.alphaceiling.AllowNegative = false;
+ this.alphaceiling.AllowRelative = false;
+ this.alphaceiling.ButtonStep = 1;
+ this.alphaceiling.ButtonStepBig = 0.25F;
+ this.alphaceiling.ButtonStepFloat = 0.1F;
+ this.alphaceiling.ButtonStepSmall = 0.01F;
+ this.alphaceiling.ButtonStepsUseModifierKeys = true;
+ this.alphaceiling.ButtonStepsWrapAround = false;
+ this.alphaceiling.Location = new System.Drawing.Point(84, 49);
+ this.alphaceiling.Name = "alphaceiling";
+ this.alphaceiling.Size = new System.Drawing.Size(62, 24);
+ this.alphaceiling.StepValues = null;
+ this.alphaceiling.TabIndex = 57;
+ this.alphaceiling.Tag = "alphaceiling";
+ this.alphaceiling.WhenTextChanged += new System.EventHandler(this.alphaceiling_WhenTextChanged);
+ //
+ // ceilportalrenderstylelabel
+ //
+ this.ceilportalrenderstylelabel.Location = new System.Drawing.Point(6, 26);
+ this.ceilportalrenderstylelabel.Name = "ceilportalrenderstylelabel";
+ this.ceilportalrenderstylelabel.Size = new System.Drawing.Size(72, 14);
+ this.ceilportalrenderstylelabel.TabIndex = 56;
+ this.ceilportalrenderstylelabel.Tag = "";
+ this.ceilportalrenderstylelabel.Text = "Render style:";
+ this.ceilportalrenderstylelabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // ceilportalrenderstyle
+ //
+ this.ceilportalrenderstyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.ceilportalrenderstyle.FormattingEnabled = true;
+ this.ceilportalrenderstyle.Location = new System.Drawing.Point(84, 22);
+ this.ceilportalrenderstyle.Name = "ceilportalrenderstyle";
+ this.ceilportalrenderstyle.Size = new System.Drawing.Size(103, 21);
+ this.ceilportalrenderstyle.TabIndex = 55;
+ this.ceilportalrenderstyle.Tag = "renderstyleceiling";
+ //
+ // gbFloorSlope
+ //
+ this.gbFloorSlope.Controls.Add(this.floorslopecontrol);
+ this.gbFloorSlope.Location = new System.Drawing.Point(3, 261);
+ this.gbFloorSlope.Name = "gbFloorSlope";
+ this.gbFloorSlope.Size = new System.Drawing.Size(298, 266);
+ this.gbFloorSlope.TabIndex = 1;
+ this.gbFloorSlope.TabStop = false;
+ this.gbFloorSlope.Text = " Floor slope ";
+ //
+ // floorslopecontrol
+ //
+ this.floorslopecontrol.Location = new System.Drawing.Point(4, 19);
+ this.floorslopecontrol.Name = "floorslopecontrol";
+ this.floorslopecontrol.Size = new System.Drawing.Size(290, 178);
+ this.floorslopecontrol.TabIndex = 0;
+ this.floorslopecontrol.UseLineAngles = false;
+ this.floorslopecontrol.OnAnglesChanged += new System.EventHandler(this.floorslopecontrol_OnAnglesChanged);
+ this.floorslopecontrol.OnUseLineAnglesChanged += new System.EventHandler(this.floorslopecontrol_OnUseLineAnglesChanged);
+ this.floorslopecontrol.OnPivotModeChanged += new System.EventHandler(this.floorslopecontrol_OnPivotModeChanged);
+ this.floorslopecontrol.OnResetClicked += new System.EventHandler(this.floorslopecontrol_OnResetClicked);
+ //
+ // gbCeilingSLope
+ //
+ this.gbCeilingSLope.Controls.Add(this.ceilingslopecontrol);
+ this.gbCeilingSLope.Location = new System.Drawing.Point(3, 3);
+ this.gbCeilingSLope.Name = "gbCeilingSLope";
+ this.gbCeilingSLope.Size = new System.Drawing.Size(298, 252);
+ this.gbCeilingSLope.TabIndex = 0;
+ this.gbCeilingSLope.TabStop = false;
+ this.gbCeilingSLope.Text = " Ceiling slope ";
+ //
+ // ceilingslopecontrol
+ //
+ this.ceilingslopecontrol.Location = new System.Drawing.Point(4, 19);
+ this.ceilingslopecontrol.Name = "ceilingslopecontrol";
+ this.ceilingslopecontrol.Size = new System.Drawing.Size(290, 178);
+ this.ceilingslopecontrol.TabIndex = 1;
+ this.ceilingslopecontrol.UseLineAngles = false;
+ this.ceilingslopecontrol.OnAnglesChanged += new System.EventHandler(this.ceilingslopecontrol_OnAnglesChanged);
+ this.ceilingslopecontrol.OnUseLineAnglesChanged += new System.EventHandler(this.ceilingslopecontrol_OnUseLineAnglesChanged);
+ this.ceilingslopecontrol.OnPivotModeChanged += new System.EventHandler(this.ceilingslopecontrol_OnPivotModeChanged);
+ this.ceilingslopecontrol.OnResetClicked += new System.EventHandler(this.ceilingslopecontrol_OnResetClicked);
+ //
+ // tabcomment
+ //
+ this.tabcomment.Controls.Add(this.commenteditor);
+ this.tabcomment.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+ this.tabcomment.Location = new System.Drawing.Point(4, 22);
+ this.tabcomment.Name = "tabcomment";
+ this.tabcomment.Size = new System.Drawing.Size(570, 526);
+ this.tabcomment.TabIndex = 4;
+ this.tabcomment.Text = "Comment";
+ this.tabcomment.UseVisualStyleBackColor = true;
+ //
+ // commenteditor
+ //
+ this.commenteditor.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.commenteditor.Location = new System.Drawing.Point(0, 0);
+ this.commenteditor.Name = "commenteditor";
+ this.commenteditor.Size = new System.Drawing.Size(570, 526);
+ this.commenteditor.TabIndex = 0;
+ //
+ // tabcustom
+ //
+ this.tabcustom.Controls.Add(this.fieldslist);
+ this.tabcustom.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.tabcustom.Location = new System.Drawing.Point(4, 22);
+ this.tabcustom.Name = "tabcustom";
+ this.tabcustom.Padding = new System.Windows.Forms.Padding(3);
+ this.tabcustom.Size = new System.Drawing.Size(570, 526);
+ this.tabcustom.TabIndex = 1;
+ this.tabcustom.Text = "Custom";
+ this.tabcustom.UseVisualStyleBackColor = true;
+ this.tabcustom.MouseEnter += new System.EventHandler(this.tabcustom_MouseEnter);
+ //
+ // fieldslist
+ //
+ this.fieldslist.AllowInsert = true;
+ this.fieldslist.AutoInsertUserPrefix = true;
+ this.fieldslist.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.fieldslist.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.fieldslist.Location = new System.Drawing.Point(3, 3);
+ this.fieldslist.Margin = new System.Windows.Forms.Padding(8);
+ this.fieldslist.Name = "fieldslist";
+ this.fieldslist.PropertyColumnVisible = true;
+ this.fieldslist.PropertyColumnWidth = 150;
+ this.fieldslist.ShowFixedFields = true;
+ this.fieldslist.Size = new System.Drawing.Size(564, 520);
+ this.fieldslist.TabIndex = 1;
+ this.fieldslist.TypeColumnVisible = true;
+ this.fieldslist.TypeColumnWidth = 100;
+ this.fieldslist.ValueColumnVisible = true;
+ //
+ // cancel
+ //
+ this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.cancel.Location = new System.Drawing.Point(474, 566);
+ this.cancel.Name = "cancel";
+ this.cancel.Size = new System.Drawing.Size(112, 25);
+ this.cancel.TabIndex = 4;
+ this.cancel.Text = "Cancel";
+ this.cancel.UseVisualStyleBackColor = true;
+ this.cancel.Click += new System.EventHandler(this.cancel_Click);
+ //
+ // apply
+ //
+ this.apply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.apply.Location = new System.Drawing.Point(356, 566);
+ this.apply.Name = "apply";
+ this.apply.Size = new System.Drawing.Size(112, 25);
+ this.apply.TabIndex = 3;
+ this.apply.Text = "OK";
+ this.apply.UseVisualStyleBackColor = true;
+ this.apply.Click += new System.EventHandler(this.apply_Click);
+ //
+ // tooltip
+ //
+ this.tooltip.AutomaticDelay = 10;
+ this.tooltip.AutoPopDelay = 10000;
+ this.tooltip.InitialDelay = 10;
+ this.tooltip.ReshowDelay = 100;
+ //
+ // SectorEditFormUDMF
+ //
+ this.AcceptButton = this.apply;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
+ this.CancelButton = this.cancel;
+ this.ClientSize = new System.Drawing.Size(598, 592);
+ this.Controls.Add(this.cancel);
+ this.Controls.Add(this.apply);
+ this.Controls.Add(this.tabs);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "SectorEditFormUDMF";
+ this.Opacity = 0D;
+ this.ShowIcon = false;
+ this.ShowInTaskbar = false;
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "Edit Sector";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SectorEditFormUDMF_FormClosing);
+ this.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.SectorEditFormUDMF_HelpRequested);
+ groupaction.ResumeLayout(false);
+ groupeffect.ResumeLayout(false);
+ groupeffect.PerformLayout();
+ groupfloorceiling.ResumeLayout(false);
+ groupfloorceiling.PerformLayout();
+ this.tabs.ResumeLayout(false);
+ this.tabproperties.ResumeLayout(false);
+ this.groupdamage.ResumeLayout(false);
+ this.groupBox3.ResumeLayout(false);
+ this.tabColors.ResumeLayout(false);
+ this.groupBox11.ResumeLayout(false);
+ this.groupBox11.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.floorglowheightrequired)).EndInit();
+ this.groupBox10.ResumeLayout(false);
+ this.groupBox10.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.ceilingglowheightrequired)).EndInit();
+ this.groupBox9.ResumeLayout(false);
+ this.groupBox8.ResumeLayout(false);
+ this.tabSurfaces.ResumeLayout(false);
+ this.groupBox2.ResumeLayout(false);
+ this.groupBox2.PerformLayout();
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ this.tabslopes.ResumeLayout(false);
+ this.groupBox7.ResumeLayout(false);
+ this.groupBox6.ResumeLayout(false);
+ this.gbFloorSlope.ResumeLayout(false);
+ this.gbCeilingSLope.ResumeLayout(false);
+ this.tabcomment.ResumeLayout(false);
+ this.tabcustom.ResumeLayout(false);
+ this.ResumeLayout(false);
}
@@ -2074,8 +2126,8 @@
private System.Windows.Forms.CheckBox cbUseFloorLineAngles;
private System.Windows.Forms.CheckBox cbUseCeilLineAngles;
private System.Windows.Forms.TabPage tabslopes;
- private System.Windows.Forms.GroupBox groupBox5;
- private System.Windows.Forms.GroupBox groupBox4;
+ private System.Windows.Forms.GroupBox gbFloorSlope;
+ private System.Windows.Forms.GroupBox gbCeilingSLope;
private CodeImp.DoomBuilder.Controls.SectorSlopeControl floorslopecontrol;
private CodeImp.DoomBuilder.Controls.SectorSlopeControl ceilingslopecontrol;
private CodeImp.DoomBuilder.Controls.ButtonsNumericTextbox heightoffset;
diff --git a/Source/Core/Windows/SectorEditFormUDMF.cs b/Source/Core/Windows/SectorEditFormUDMF.cs
index 5fd8839b..ebe30a5c 100755
--- a/Source/Core/Windows/SectorEditFormUDMF.cs
+++ b/Source/Core/Windows/SectorEditFormUDMF.cs
@@ -2,6 +2,7 @@
using System;
using System.Collections.Generic;
+using System.Linq;
using System.Windows.Forms;
using CodeImp.DoomBuilder.Controls;
using CodeImp.DoomBuilder.Geometry;
@@ -187,8 +188,14 @@ namespace CodeImp.DoomBuilder.Windows
{
InitializeComponent();
+ DoUDMFControls(this);
+
+ // Plane equation slopes are handled internally instead through the UDMF fields, so they need special attention
+ EnableDisableControlAndChildren(gbCeilingSLope, General.Map.Config.PlaneEquationSupport);
+ EnableDisableControlAndChildren(gbFloorSlope, General.Map.Config.PlaneEquationSupport);
+
//mxd. Load settings
- if(General.Settings.StoreSelectedEditTab)
+ if (General.Settings.StoreSelectedEditTab)
{
int activetab = General.Settings.ReadSetting("windows." + configname + ".activetab", 0);
tabs.SelectTab(activetab);
@@ -220,10 +227,6 @@ namespace CodeImp.DoomBuilder.Windows
{
renderstyles = new List();
}
- floorRenderStyle.Enabled = (renderstyles.Count > 0);
- labelfloorrenderstyle.Enabled = (renderstyles.Count > 0);
- ceilRenderStyle.Enabled = (renderstyles.Count > 0);
- labelceilrenderstyle.Enabled = (renderstyles.Count > 0);
// Fill renderstyles
foreach(string name in General.Map.Config.SectorRenderStyles.Values)
@@ -243,10 +246,6 @@ namespace CodeImp.DoomBuilder.Windows
{
portalrenderstyles = new List();
}
- floorportalrenderstyle.Enabled = (portalrenderstyles.Count > 0);
- floorportalrenderstylelabel.Enabled = (portalrenderstyles.Count > 0);
- ceilportalrenderstyle.Enabled = (portalrenderstyles.Count > 0);
- ceilportalrenderstylelabel.Enabled = (portalrenderstyles.Count > 0);
// Fill portal renderstyles
foreach(string name in General.Map.Config.SectorPortalRenderStyles.Values)
@@ -838,6 +837,36 @@ namespace CodeImp.DoomBuilder.Windows
}
}
+ ///
+ /// Enables or disables controls depending on if their tag is one of the UDMF fields set in the game config.
+ ///
+ /// Control to process
+ private void DoUDMFControls(Control control)
+ {
+ if (control.Tag is string name && !string.IsNullOrWhiteSpace(name))
+ {
+ EnableDisableControlAndChildren(control, General.Map.Config.SectorFields.Any(f => f.Name == name));
+ }
+ else
+ {
+ foreach (Control c in control.Controls)
+ DoUDMFControls(c);
+ }
+ }
+
+ ///
+ /// Enables or disables a control and all its children.
+ ///
+ /// Control the enable or disable
+ /// If to enable or disable
+ private void EnableDisableControlAndChildren(Control control, bool state)
+ {
+ control.Enabled = state;
+
+ foreach (Control c in control.Controls)
+ EnableDisableControlAndChildren(c, state);
+ }
+
#endregion
#region ================== Events
diff --git a/Source/Core/Windows/ThingEditFormUDMF.Designer.cs b/Source/Core/Windows/ThingEditFormUDMF.Designer.cs
index 7f68a2a9..97bb3a5b 100755
--- a/Source/Core/Windows/ThingEditFormUDMF.Designer.cs
+++ b/Source/Core/Windows/ThingEditFormUDMF.Designer.cs
@@ -165,6 +165,7 @@
this.cbrandomroll.Name = "cbrandomroll";
this.cbrandomroll.Size = new System.Drawing.Size(66, 17);
this.cbrandomroll.TabIndex = 5;
+ this.cbrandomroll.Tag = "roll";
this.cbrandomroll.Text = "Random";
this.cbrandomroll.UseVisualStyleBackColor = true;
this.cbrandomroll.CheckedChanged += new System.EventHandler(this.cbrandomroll_CheckedChanged);
@@ -176,6 +177,7 @@
this.cbrandompitch.Name = "cbrandompitch";
this.cbrandompitch.Size = new System.Drawing.Size(66, 17);
this.cbrandompitch.TabIndex = 3;
+ this.cbrandompitch.Tag = "pitch";
this.cbrandompitch.Text = "Random";
this.cbrandompitch.UseVisualStyleBackColor = true;
this.cbrandompitch.CheckedChanged += new System.EventHandler(this.cbrandompitch_CheckedChanged);
@@ -208,6 +210,7 @@
this.roll.Size = new System.Drawing.Size(60, 24);
this.roll.StepValues = null;
this.roll.TabIndex = 4;
+ this.roll.Tag = "roll";
this.roll.WhenTextChanged += new System.EventHandler(this.roll_WhenTextChanged);
//
// labelroll
@@ -236,6 +239,7 @@
this.pitch.Size = new System.Drawing.Size(60, 24);
this.pitch.StepValues = null;
this.pitch.TabIndex = 2;
+ this.pitch.Tag = "pitch";
this.pitch.WhenTextChanged += new System.EventHandler(this.pitch_WhenTextChanged);
//
// labelpitch
@@ -295,6 +299,7 @@
this.labelGravity.Name = "labelGravity";
this.labelGravity.Size = new System.Drawing.Size(43, 13);
this.labelGravity.TabIndex = 18;
+ this.labelGravity.Tag = "gravity";
this.labelGravity.Text = "Gravity:";
this.tooltip.SetToolTip(this.labelGravity, "Positive values are multiplied with the class\'s property.\r\nNegative values are us" +
"ed as their absolute.\r\nDefault is 1.0.");
@@ -399,6 +404,7 @@
this.rollControl.Name = "rollControl";
this.rollControl.Size = new System.Drawing.Size(64, 64);
this.rollControl.TabIndex = 20;
+ this.rollControl.Tag = "roll";
this.rollControl.AngleChanged += new System.EventHandler(this.rollControl_AngleChanged);
//
// grouppitch
@@ -420,6 +426,7 @@
this.pitchControl.Name = "pitchControl";
this.pitchControl.Size = new System.Drawing.Size(64, 64);
this.pitchControl.TabIndex = 20;
+ this.pitchControl.Tag = "pitch";
this.pitchControl.AngleChanged += new System.EventHandler(this.pitchControl_AngleChanged);
//
// groupangle
@@ -594,6 +601,7 @@
this.floatbobphase.Size = new System.Drawing.Size(72, 24);
this.floatbobphase.StepValues = null;
this.floatbobphase.TabIndex = 4;
+ this.floatbobphase.Tag = "floatbobphase";
//
// label1
//
@@ -602,6 +610,7 @@
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(86, 13);
this.label1.TabIndex = 27;
+ this.label1.Tag = "floatbobphase";
this.label1.Text = "Float bob phase:";
//
// conversationID
@@ -621,6 +630,7 @@
this.conversationID.Size = new System.Drawing.Size(72, 24);
this.conversationID.StepValues = null;
this.conversationID.TabIndex = 3;
+ this.conversationID.Tag = "conversation";
//
// labelID
//
@@ -629,6 +639,7 @@
this.labelID.Name = "labelID";
this.labelID.Size = new System.Drawing.Size(86, 13);
this.labelID.TabIndex = 25;
+ this.labelID.Tag = "conversation";
this.labelID.Text = "Conversation ID:";
//
// health
@@ -648,6 +659,7 @@
this.health.Size = new System.Drawing.Size(72, 24);
this.health.StepValues = null;
this.health.TabIndex = 2;
+ this.health.Tag = "health";
//
// label10
//
@@ -658,6 +670,7 @@
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(41, 13);
this.label10.TabIndex = 22;
+ this.label10.Tag = "health";
this.label10.Text = "Health:";
this.tooltip.SetToolTip(this.label10, "Positive values are multiplied with the class\'s property.\r\nNegative values are us" +
"ed as their absolute.\r\nDefault is 1.");
@@ -679,6 +692,7 @@
this.score.Size = new System.Drawing.Size(72, 24);
this.score.StepValues = null;
this.score.TabIndex = 1;
+ this.score.Tag = "score";
//
// label9
//
@@ -687,6 +701,7 @@
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(38, 13);
this.label9.TabIndex = 20;
+ this.label9.Tag = "score";
this.label9.Text = "Score:";
//
// gravity
@@ -706,6 +721,7 @@
this.gravity.Size = new System.Drawing.Size(72, 24);
this.gravity.StepValues = null;
this.gravity.TabIndex = 0;
+ this.gravity.Tag = "gravity";
//
// grouprendering
//
@@ -731,6 +747,7 @@
this.resetalpha.Name = "resetalpha";
this.resetalpha.Size = new System.Drawing.Size(23, 23);
this.resetalpha.TabIndex = 69;
+ this.resetalpha.Tag = "alpha";
this.tooltip.SetToolTip(this.resetalpha, "Reset");
this.resetalpha.UseVisualStyleBackColor = true;
this.resetalpha.Click += new System.EventHandler(this.resetalpha_Click);
@@ -741,6 +758,7 @@
this.labelScale.Name = "labelScale";
this.labelScale.Size = new System.Drawing.Size(80, 14);
this.labelScale.TabIndex = 32;
+ this.labelScale.Tag = "scalex";
this.labelScale.Text = "Scale:";
this.labelScale.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
@@ -757,6 +775,7 @@
this.scale.Name = "scale";
this.scale.Size = new System.Drawing.Size(186, 26);
this.scale.TabIndex = 0;
+ this.scale.Tag = "scalex";
this.scale.OnValuesChanged += new System.EventHandler(this.scale_OnValuesChanged);
//
// color
@@ -768,6 +787,7 @@
this.color.Name = "color";
this.color.Size = new System.Drawing.Size(207, 31);
this.color.TabIndex = 3;
+ this.color.Tag = "fillcolor";
//
// alpha
//
@@ -786,6 +806,7 @@
this.alpha.Size = new System.Drawing.Size(72, 24);
this.alpha.StepValues = null;
this.alpha.TabIndex = 2;
+ this.alpha.Tag = "alpha";
this.alpha.WhenTextChanged += new System.EventHandler(this.alpha_WhenTextChanged);
//
// label8
@@ -795,6 +816,7 @@
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(37, 13);
this.label8.TabIndex = 25;
+ this.label8.Tag = "alpha";
this.label8.Text = "Alpha:";
//
// renderStyle
@@ -805,6 +827,7 @@
this.renderStyle.Name = "renderStyle";
this.renderStyle.Size = new System.Drawing.Size(156, 21);
this.renderStyle.TabIndex = 1;
+ this.renderStyle.Tag = "renderstyle";
this.renderStyle.SelectedIndexChanged += new System.EventHandler(this.renderStyle_SelectedIndexChanged);
//
// labelrenderstyle
@@ -814,6 +837,7 @@
this.labelrenderstyle.Name = "labelrenderstyle";
this.labelrenderstyle.Size = new System.Drawing.Size(69, 13);
this.labelrenderstyle.TabIndex = 23;
+ this.labelrenderstyle.Tag = "renderstyle";
this.labelrenderstyle.Text = "Render style:";
//
// actiongroup
diff --git a/Source/Core/Windows/ThingEditFormUDMF.cs b/Source/Core/Windows/ThingEditFormUDMF.cs
index e7396649..8f02d67f 100755
--- a/Source/Core/Windows/ThingEditFormUDMF.cs
+++ b/Source/Core/Windows/ThingEditFormUDMF.cs
@@ -97,6 +97,8 @@ namespace CodeImp.DoomBuilder.Windows
// Initialize
InitializeComponent();
+ DoUDMFControls(this);
+
//mxd. Load settings
useabsoluteheight = General.Settings.ReadSetting("windows." + configname + ".useabsoluteheight", false);
@@ -417,6 +419,37 @@ namespace CodeImp.DoomBuilder.Windows
flagsrename = newflagsrename;
}
+ ///
+ /// Enables or disables controls depending on if their tag is one of the UDMF fields set in the game config.
+ ///
+ /// Control to process
+ private void DoUDMFControls(Control control)
+ {
+ if (control.Tag is string name && !string.IsNullOrWhiteSpace(name))
+ {
+ //EnableDisableControlAndChildren(control, General.Map.Config.HasUniversalFieldOrFlag(name));
+ EnableDisableControlAndChildren(control, General.Map.Config.ThingFields.Any(f => f.Name == name));
+ }
+ else
+ {
+ foreach (Control c in control.Controls)
+ DoUDMFControls(c);
+ }
+ }
+
+ ///
+ /// Enables or disables a control and all its children.
+ ///
+ /// Control the enable or disable
+ /// If to enable or disable
+ private void EnableDisableControlAndChildren(Control control, bool state)
+ {
+ control.Enabled = state;
+
+ foreach (Control c in control.Controls)
+ EnableDisableControlAndChildren(c, state);
+ }
+
#endregion
#region ================== Events
From a88daa097d0c8a78a747acb9928ac3f26ca97465 Mon Sep 17 00:00:00 2001
From: biwa <6475593+biwa@users.noreply.github.com>
Date: Tue, 24 Oct 2023 15:57:49 +0200
Subject: [PATCH 2/2] Game Configurations: updated Doom format game
configuration for EDGE-Classic (provided by Lobo) Game Configurations: added
UDMF game configuration for EDGE-Classic (provided by Lobo)
---
Build/Configurations/EdgeC_Doom2Doom.cfg | 36 +-
Build/Configurations/EdgeC_DoomUDMF.cfg | 49 +
.../Configurations/Includes/EdgeC_common.cfg | 362 +--
.../Includes/EdgeC_linedefs.cfg | 2658 +++++++++--------
Build/Configurations/Includes/EdgeC_misc.cfg | 837 ++++--
.../Configurations/Includes/EdgeC_sectors.cfg | 171 +-
.../Configurations/Includes/EdgeC_things.cfg | 691 +++--
7 files changed, 2505 insertions(+), 2299 deletions(-)
create mode 100644 Build/Configurations/EdgeC_DoomUDMF.cfg
diff --git a/Build/Configurations/EdgeC_Doom2Doom.cfg b/Build/Configurations/EdgeC_Doom2Doom.cfg
index 4a2e71d8..c2ece850 100644
--- a/Build/Configurations/EdgeC_Doom2Doom.cfg
+++ b/Build/Configurations/EdgeC_Doom2Doom.cfg
@@ -9,15 +9,10 @@ type = "Doom Builder 2 Game Configuration";
game = "EDGE-Classic: Doom 2 (Doom format)";
// This is the simplified game engine/sourceport name
-engine = "edge";
+engine = "edge-classic";
-// *******************************************************
-// * *
-// * Note: all the elements that could be factorized *
-// * because they were common to ZDoom, GZDoom and *
-// * Zandronum have been moved to ZDoom_common.cfg. *
-// * *
-// *******************************************************
+// Settings common to Doom games
+include("Includes\\Game_Doom.cfg");
// STANDARD DOOM SETTINGS
// Settings common to all games and all map formats
@@ -27,16 +22,16 @@ include("Includes\\Doom_common.cfg", "common");
include("Includes\\Boom_common.cfg", "mapformat_doom");
include("Includes\\MBF21_common.cfg", "mapformat_doom");
-// Settings common to Doom games
-include("Includes\\Game_Doom.cfg");
+// Settings common to all games and all map formats
+include("Includes\\EdgeC_common.cfg", "common");
+
+// Settings common to doom map format
+include("Includes\\EdgeC_misc.cfg", "mapformat_doom");
-include("Includes\\EdgeC_common.cfg", "mapformat_doom");
// Map name format for Doom 2.
mapnameformat = "MAPxy";
-//mxd. No DECORATE support in vanilla
-decorategames = "";
// Default thing filters
// (these are not required, just useful for new users)
@@ -45,16 +40,6 @@ thingsfilters
include("Includes\\Doom_misc.cfg", "thingsfilters");
}
-// THING TYPES
-// Each engine has its own additional thing types
-// Order should always be 1: Game; 2: ZDoom/game; 3: ZDoom/zdoom
-thingtypes
-{
- // Basic game actors
- include("Includes\\Doom_things.cfg");
- include("Includes\\Doom2_things.cfg");
- include("Includes\\Boom_things.cfg");
-}
// ENUMERATIONS
// Each engine has its own additional thing types
@@ -65,10 +50,5 @@ enums
include("Includes\\Doom_misc.cfg", "enums");
}
-// Dehacked data
-dehacked
-{
- include("Includes\\Dehacked_Doom.cfg");
-}
diff --git a/Build/Configurations/EdgeC_DoomUDMF.cfg b/Build/Configurations/EdgeC_DoomUDMF.cfg
new file mode 100644
index 00000000..7cc435ea
--- /dev/null
+++ b/Build/Configurations/EdgeC_DoomUDMF.cfg
@@ -0,0 +1,49 @@
+/*************************************************************\
+ Doom Builder 2 Game Configuration for ZDoom-compatible port
+\*************************************************************/
+
+// This is required to prevent accidental use of a different configuration
+type = "Doom Builder 2 Game Configuration";
+
+// This is the title to show for this game
+game = "EDGE-Classic: Doom 2 (UDMF)";
+
+// This is the simplified game engine/sourceport name
+engine = "edge-classic";
+
+
+// Settings common to all games and all map formats
+include("Includes\\EdgeC_common.cfg", "common");
+
+// Default testing parameters
+include("Includes\\Test_params.cfg", "vanilla_mapxx");
+
+// Settings common to text map format
+include("Includes\\EdgeC_misc.cfg", "mapformat_udmf");
+
+
+// Special linedefs
+singlesidedflag = "blocking";
+doublesidedflag = "twosided";
+impassableflag = "blocking";
+upperunpeggedflag = "dontpegtop";
+lowerunpeggedflag = "dontpegbottom";
+defaultlinedefactivation = "playercross"; //mxd. Used when translating a map to UDMF
+
+
+
+
+// ENUMERATIONS
+// Each engine has its own additional thing types
+// These are enumerated lists for linedef types and UDMF fields.
+enums
+{
+ // Basic game enums
+ include("Includes\\Doom_misc.cfg", "enums");
+ // Standard ZDoom enums
+ include("Includes\\ZDoom_misc.cfg", "enums");
+ // Additional ZDoom enums for that game
+ include("Includes\\ZDoom_misc.cfg", "enums_doom");
+}
+
+
diff --git a/Build/Configurations/Includes/EdgeC_common.cfg b/Build/Configurations/Includes/EdgeC_common.cfg
index 26e61d2c..3da6574d 100644
--- a/Build/Configurations/Includes/EdgeC_common.cfg
+++ b/Build/Configurations/Includes/EdgeC_common.cfg
@@ -1,6 +1,6 @@
// ***********************************************************
// * *
-// * These values are mainly for UDMF EDGE-Classic *
+// * These values are common for DiD and UDMF EDGE-Classic *
// * *
// ***********************************************************
@@ -12,15 +12,10 @@ common
// Default testing parameters
include("Test_params.cfg", "modern");
- // Default nodebuilder configurations
- defaultsavecompiler = "glbsp_normal";
- defaulttestcompiler = "glbsp_fast";
-
// Generalized actions
- // generalizedlinedefs is true for Doom format and false for
- // the other two, so it's not here.
generalizedsectors = true;
-
+ generalizedlinedefs = true;
+
//mxd. Maximum safe map size check (0 means skip check)
safeboundary = 0;
@@ -30,9 +25,52 @@ common
defaultflatscale = 1.0f;
scaledtextureoffsets = true;
+ // When this is set to true, sectors with the same tag will light up when a line is highlighted
+ linetagindicatesectors = true;
+
+ // Enables multiple tags on sectors
+ sectormultitag = false;
+
//mxd. Sidedefs compression
// ioanch FIXME: what does this do? I made it false
sidedefcompressionignoresaction = false;
+
+ // Enables support for 3D floors (not really, since support for 3D floors is pretty much hard-coded, but
+ // this tells plugins that the game supports 3D floors)
+ effect3dfloorsupport = true;
+
+ //mxd. Sky textures for vanilla maps
+ defaultskytextures
+ {
+ SKY1 = "MAP01,MAP02,MAP03,MAP04,MAP05,MAP06,MAP07,MAP08,MAP09,MAP10,MAP11";
+ SKY2 = "MAP12,MAP13,MAP14,MAP15,MAP16,MAP17,MAP18,MAP19,MAP20";
+ SKY3 = "MAP21,MAP22,MAP23,MAP24,MAP25,MAP26,MAP27,MAP28,MAP29,MAP30,MAP31,MAP32";
+ }
+
+ // Default lump name for new map
+ defaultlumpname = "MAP01";
+
+ // No DECORATE support in EDGE ;)
+ decorategames = "";
+
+ //The default script compiler to use
+ defaultscriptcompiler = "";
+
+ // Default nodebuilder configurations
+ defaultsavecompiler = "";
+ defaulttestcompiler = "";
+ nodebuildersave = "";
+ nodebuildertest = "";
+
+ damagetypes = "";
+ internalsoundnames = "";
+
+ // Default texture sets
+ // (these are not required, but useful for new users)
+ texturesets
+ {
+ include("Doom_texturesets.cfg");
+ }
// Texture sources
textures
@@ -47,7 +85,6 @@ common
include("EdgeC_misc.cfg", "hires");
}
-
// Patch sources
patches
{
@@ -71,91 +108,44 @@ common
{
include("Boom_misc.cfg", "colormaps");
}
-
compatibility
{
fixnegativepatchoffsets = true;
fixmaskedpatchoffsets = true;
}
-}
-
-mapformat_doom
-{
- mixtexturesflats = true;
- // The format interface handles the map data format
- formatinterface = "DoomMapSetIO";
-
- maplumpnames
- {
- include("Doom_misc.cfg", "doommaplumpnames");
- include("Boom_misc.cfg", "boommaplumpnames");
- }
-
- // When this is set to true, sectors with the same tag will light up when a line is highlighted
- linetagindicatesectors = true;
-
-
-
- // Default flags for first new thing
- defaultthingflags
- {
- include("Doom_misc.cfg", "defaultthingflags");
- }
-
- // Door making
- //include("ZDoom_misc.cfg", "doormaking_doom");
-
- // Generalized actions
- generalizedlinedefs = true;
- generalizedsectors = true;
-
- // GENERALIZED LINEDEF TYPES
+
+ // GENERALIZED LINEDEF TYPES
gen_linedeftypes
{
include("Boom_generalized.cfg", "gen_linedeftypes");
}
- // GENERALIZED SECTOR TYPES
+ // GENERALIZED SECTOR TYPES
gen_sectortypes
{
include("Boom_generalized.cfg", "gen_sectortypes");
}
-
- // DEFAULT SECTOR BRIGHTNESS LEVELS
- sectorbrightness
- {
- include("Doom_misc.cfg", "sectorbrightness");
- }
-
- // SECTOR TYPES
- sectortypes
- {
- include("Doom_sectors.cfg");
- include("EdgeC_sectors.cfg");
- }
-
- // LINEDEF FLAGS
- linedefflags
+
+ // Door making
+ makedoortrack = "DOORTRAK";
+ makedoordoor = "BIGDOOR2";
+ makedoorceil = "FLAT20";
+ makedooraction = 1; // See linedeftypes
+
+ // DEFAULT SECTOR BRIGHTNESS LEVELS
+ sectorbrightness
{
- include("Doom_misc.cfg", "linedefflags");
- include("Boom_misc.cfg", "linedefflags");
+ include("Doom_misc.cfg", "sectorbrightness");
}
-
- // LINEDEF ACTIVATIONS
- linedefactivations
+
+ // SECTOR TYPES
+ sectortypes
{
+ include("Doom_sectors.cfg");
+ include("EdgeC_sectors.cfg");
}
-
- // Linedef flags UDMF translation table
- // This is needed for copy/paste and prefabs to work properly
- // When the UDMF field name is prefixed with ! it is inverted
- linedefflagstranslation
- {
- include("Doom_misc.cfg", "linedefflagstranslation");
- include("Boom_misc.cfg", "linedefflagstranslation");
- }
-
+
// LINEDEF TYPES
linedeftypes
{
@@ -164,227 +154,21 @@ mapformat_doom
include("EdgeC_linedefs.cfg");
}
+
thingtypes
{
+ // Basic game actors
+ include("Doom_things.cfg");
+ include("Doom2_things.cfg");
+ include("Boom_things.cfg");
include("EdgeC_things.cfg");
}
-
- // THING FLAGS
- thingflags
- {
- include("Doom_misc.cfg", "thingflags");
- include("Boom_misc.cfg", "thingflags");
- }
-
- // Thing flags UDMF translation table
- // This is needed for copy/paste and prefabs to work properly
- // When the UDMF field name is prefixed with ! it is inverted
- thingflagstranslation
- {
- include("Doom_misc.cfg", "thingflagstranslation");
- include("Boom_misc.cfg", "thingflagstranslation");
- }
- // How to compare thing flags (for the stuck things error checker)
- thingflagscompare
- {
- include("Doom_misc.cfg", "thingflagscompare");
- include("Boom_misc.cfg", "thingflagscompare");
- }
-
- // Things flags masks
- include("Doom_misc.cfg", "thingflagsmasks");
-
- mixtexturesflats = true;
- // Texture sources
- textures
+ // Dehacked data
+ dehacked
{
- include("Doom_misc.cfg", "textures");
- include("EdgeC_misc.cfg", "textures"); // works for Eternity too
- }
-
- //mxd. HiRes sources
- hires
- {
- include("EdgeC_misc.cfg", "hires");
+ include("Dehacked_Doom.cfg");
}
}
-// ***********************************************************
-// * *
-// * Text map format *
-// * *
-// ***********************************************************
-mapformat_udmf
-{
- // The format interface handles the map data format
- formatinterface = "UniversalMapSetIO";
- //mxd. The default script compiler to use
- defaultscriptcompiler = "zdoom_acs.cfg";
-
- // Enables support for long (> 8 chars) texture names
- // WARNING: this should only be enabled for UDMF game configurations!
- // WARNING: enabling this will make maps incompatible with Doom Builder 2 and can lead to problems in Slade 3!
- longtexturenames = false;
-
- // Enables setting brightness for floor and ceiling independently from each other
- distinctfloorandceilingbrightness = false;
-
- // Default nodebuilder configurations
- defaultsavecompiler = "zdbsp_udmf_normal";
- defaulttestcompiler = "zdbsp_udmf_fast";
-
- // ioanch: eternity
- engine = "edge"; // override that so that DB2 uses the correct namespace
-
- maplumpnames
- {
- include("UDMF_misc.cfg", "udmfmaplumpnames_begin");
- include("EdgeC_misc.cfg", "udmfmaplumpnames");
- include("UDMF_misc.cfg", "udmfmaplumpnames_end");
- }
-
- // eternity
- universalfields
- {
- include("EdgeC_misc.cfg", "universalfields");
- }
-
- // When this is set to true, sectors with the same tag will light up when a line is highlighted
- linetagindicatesectors = true;
-
- // Special linedefs
- //include("ZDoom_misc.cfg", "speciallinedefs_udmf"); // same in EE
-
- // Default flags for first new thing
- defaultthingflags
- {
- include("EdgeC_misc.cfg", "defaultthingflags_udmf");
- }
-
- // Door making
- //include("Eternity_misc.cfg", "doormaking_udmf");
-
- // Generalized actions
- generalizedlinedefs = true;
- generalizedsectors = true;
-
- // GENERALIZED SECTOR TYPES
- //gen_sectortypes
- //{
- // include("Eternity_generalized.cfg", "gen_sectortypes_udmf");
- //}
-
- // SECTOR FLAGS
- //sectorflags
- //{
- // include("Eternity_misc.cfg", "sectorflags_udmf");
- //}
-
-
-
- // DEFAULT SECTOR BRIGHTNESS LEVELS
- //sectorbrightness
- //{
- // include("ZDoom_misc.cfg", "sectorbrightness");
- //}
-
- // SECTOR TYPES
- //sectortypes
- //{
- // include("Eternity_misc.cfg", "sectors_udmf");
- //}
-
- // SECTOR RENSERSTYLES
- //sectorrenderstyles
- //{
- // include("UDMF_misc.cfg", "sectorrenderstyles");
- //}
-
- // LINEDEF FLAGS
- //linedefflags
- //{
- // include("Eternity_misc.cfg", "linedefflags_udmf");
- //}
-
- // LINEDEF ACTIVATIONS
- //linedefactivations
- //{
- // include("Eternity_misc.cfg", "linedefactivations_udmf");
- //}
-
- //mxd. Linedef flags UDMF translation table
- // This is needed for copy/paste and prefabs to work properly
- // When the UDMF field name is prefixed with ! it is inverted
- linedefflagstranslation
- {
- include("Doom_misc.cfg", "linedefflagstranslation");
- //include("Hexen_misc.cfg", "linedefflagstranslation");
- //include("ZDoom_misc.cfg", "linedefflagstranslation");
- }
-
- // LINEDEF RENSERSTYLES
- //linedefrenderstyles
- //{
- // include("UDMF_misc.cfg", "linedefrenderstyles");
- //}
-
- //SIDEDEF FLAGS
- //sidedefflags
- //{
- // include("Eternity_misc.cfg", "sidedefflags");
- //}
-
- // THING FLAGS
- //thingflags
- //{
- // include("Eternity_misc.cfg", "thingflags_udmf");
- //}
-
- // THING RENSERSTYLES
- //thingrenderstyles
- //{
- // include("UDMF_misc.cfg", "thingrenderstyles");
- //}
-
- // How to compare thing flags (for the stuck things error checker)
- //thingflagscompare
- //{
- // include("Eternity_misc.cfg", "thingflagscompare_udmf");
- //}
-
- //mxd. Thing flags UDMF translation table
- // This is needed for copy/paste and prefabs to work properly
- // When the UDMF field name is prefixed with ! it is inverted
- thingflagstranslation
- {
- include("Doom_misc.cfg", "thingflagstranslation");
- //include("Hexen_misc.cfg", "thingflagstranslation");
- //include("ZDoom_misc.cfg", "thingflagstranslation");
- }
-
- // Things flags masks
- //include("Hexen_misc.cfg", "thingflagsmasks");
-
- // LINEDEF TYPES
- //linedeftypes
- //{
- // include("Hexen_linedefs.cfg");
- // include("Eternity_linedefs.cfg", "udmf");
- //}
-
- // Texture sources
- textures
- {
- include("Doom_misc.cfg", "textures");
- include("EdgeC_misc.cfg", "textures"); // works for Eternity too
- }
-
- //mxd. HiRes sources
- hires
- {
- include("EdgeC_misc.cfg", "hires");
- }
-
-}
\ No newline at end of file
diff --git a/Build/Configurations/Includes/EdgeC_linedefs.cfg b/Build/Configurations/Includes/EdgeC_linedefs.cfg
index 50cb1ec9..c46424c2 100644
--- a/Build/Configurations/Includes/EdgeC_linedefs.cfg
+++ b/Build/Configurations/Includes/EdgeC_linedefs.cfg
@@ -1,1273 +1,1385 @@
-Edge_breakable_wall
-{
- title = "Edge: Breakable Wall";
- 835
- {
- title = "Breakable Wall: midtex to back lower";
- prefix = "";
- }
-
- 836
- {
- title = "Breakable Wall: midtex to back upper";
- prefix = "";
- }
-
- 837
- {
- title = "Breakable Wall: midtex to front lower";
- prefix = "";
- }
-
- 838
- {
- title = "Breakable Wall: midtex to front upper";
- prefix = "";
- }
-
-}
-
-Edge_breakable_glass
-{
- title = "Edge: Breakable Glass";
- 830
- {
- title = "Breakable Glass: monster can see through, can break";
- prefix = "";
- }
-
- 831
- {
- title = "Breakable Glass: monster cannot see through, can break";
- prefix = "";
- }
-
- 832
- {
- title = "Breakable Glass: monster cannot see through, cannot break";
- prefix = "";
- }
-
-}
-
-Edge_extrafloors_thick
-{
- title = "Edge: Extrafloors(thick)";
-
- 281
- {
- title = "Legacy: Thick Extrafloor (dummy texture)";
- prefix = "";
- }
-
- 289
- {
- title = "Legacy: Thick Extrafloor (dummy texture, master light props)";
- prefix = "";
- }
-
- 600
- {
- title = "Thick Extrafloor: Trans 40% (dummy texture)";
- prefix = "";
- }
-
- 400
- {
- title = "Thick Extrafloor (dummy texture)";
- prefix = "";
- }
-
- 401
- {
- title = "Thick Extrafloor (master upper texture)";
- prefix = "";
- }
-
- 402
- {
- title = "Thick Extrafloor (master lower texture)";
- prefix = "";
- }
- 430
- {
- title = "Thick Translucent Liquid Extrafloor Scroll Down (20% translucent)";
- prefix = "";
- }
-
- 431
- {
- title = "Thick Translucent Liquid Extrafloor Scroll Down (40% translucent)";
- prefix = "";
- }
-
- 432
- {
- title = "Thick Translucent Liquid Extrafloor Scroll Down (60% translucent)";
- prefix = "";
- }
-
- 433
- {
- title = "Thick Translucent Liquid Extrafloor Scroll Down (80% translucent)";
- prefix = "";
- }
-
-}
-
-Edge_extrafloors_liquid
-{
- title = "Edge: Extrafloors(Liquid)";
- 403
- {
- title = "Liquid Extrafloor (solid)";
- prefix = "";
- }
-
- 404
- {
- title = "Liquid Extrafloor (20% translucent)";
- prefix = "";
- }
-
- 405
- {
- title = "Liquid Extrafloor (40% translucent)";
- prefix = "";
- }
-
- 406
- {
- title = "Liquid Extrafloor (60% translucent)";
- prefix = "";
- }
-
- 407
- {
- title = "Liquid Extrafloor (80% translucent)";
- prefix = "";
- }
-
- 408
- {
- title = "Liquid Extrafloor (invisible)";
- prefix = "";
- }
-}
-
-Edge_translucent_linedef
-{
- title = "Edge: Translucent Linedef";
- 409
- {
- title = "Translucent Linedef (20%) least transparent";
- prefix = "";
- }
-
- 410
- {
- title = "Translucent Linedef (40%)";
- prefix = "";
- }
-
- 411
- {
- title = "Translucent Linedef (60%)";
- prefix = "";
- }
-
- 412
- {
- title = "Translucent Linedef (80%) most transparent";
- prefix = "";
- }
-}
-
-Edge_extrafloors_thin
-{
- title = "Edge: Extrafloors(thin)";
- 413
- {
- title = "Thin Extrafloor (opaque)";
- prefix = "";
- }
-
- 414
- {
- title = "Thin Extrafloor (20% translucent)";
- prefix = "";
- }
-
- 415
- {
- title = "Thin Extrafloor (40% translucent)";
- prefix = "";
- }
-
- 416
- {
- title = "Thin Extrafloor (60% translucent)";
- prefix = "";
- }
-
- 417
- {
- title = "Thin Extrafloor (80% translucent)";
- prefix = "";
- }
-
-}
-
-Edge_RTS_Enable
-{
- title = "Edge: Enable Tagged RTS";
- 418
- {
- title = "Enable Tagged RTS";
- prefix = "S1";
- }
-
- 419
- {
- title = "Enable Tagged RTS";
- prefix = "SR";
- }
-
- 420
- {
- title = "Enable Tagged RTS";
- prefix = "W1";
- }
-
- 421
- {
- title = "Enable Tagged RTS";
- prefix = "WR";
- }
- 440
- {
- title = "Enable Tagged RTS";
- prefix = "G1";
- }
-
- 441
- {
- title = "Enable Tagged RTS";
- prefix = "GR";
- }
- 454
- {
- title = "Enable Tagged RTS (monster)";
- prefix = "W1";
- }
-
- 455
- {
- title = "Enable Tagged RTS (monster)";
- prefix = "WR";
- }
-
- 456
- {
- title = "Enable Tagged RTS (Monster)";
- prefix = "GR";
- }
-
- 457
- {
- title = "Disable Tagged RTS";
- prefix = "SR";
- }
-
- 458
- {
- title = "Disable Tagged RTS";
- prefix = "WR";
- }
-
- 459
- {
- title = "Disable Tagged RTS";
- prefix = "GR";
- }
-
- 460
- {
- title = "Disable Tagged RTS (monster)";
- prefix = "WR";
- }
-
- 461
- {
- title = "Disable Tagged RTS (monster)";
- prefix = "GR";
- }
-}
-
-Edge_Scroller_lines
-{
- title = "Edge: Scroll Lines";
- 422
- {
- title = "Scroll Right";
- prefix = "";
- }
-
- 423
- {
- title = "Scroll Up";
- prefix = "";
- }
-
- 424
- {
- title = "Scroll Down";
- prefix = "";
- }
-
- 425
- {
- title = "Scroll Left And Up";
- prefix = "";
- }
-
- 426
- {
- title = "Scroll Left And Down";
- prefix = "";
- }
-
- 427
- {
- title = "Scroll Right And Up";
- prefix = "";
- }
-
- 428
- {
- title = "Scroll Right And Down";
- prefix = "";
- }
-
- 429
- {
- title = "Scroll Fast Lower And Middle Texture (liquid falls)";
- prefix = "";
- }
-
-}
-
-Edge_Floor
-{
- title = "Edge: Floor";
-
- 434
- {
- title = "Raise Floor 2 Units (use for RTS Onheight events)";
- prefix = "S1";
- }
-
- 435
- {
- title = "Raise Floor 2 Units (use for RTS Onheight events)";
- prefix = "SR";
- }
-
- 436
- {
- title = "Raise Floor 2 Units (use for RTS Onheight events)";
- prefix = "W1";
- }
-
- 437
- {
- title = "Raise Floor 2 Units (use for RTS Onheight events)";
- prefix = "WR";
- }
-
- 438
- {
- title = "Raise Floor 2 Units (use for RTS Onheight events)";
- prefix = "S1";
- }
-
- 439
- {
- title = "Raise Floor 2 Units (use for RTS Onheight events)";
- prefix = "SR";
- }
-}
-
-Edge_SlidingDoor
-{
- title = "Edge: Sliding Door";
-
- 442
- {
- title = "Sliding Door (left, monsters)";
- prefix = "SR";
- }
-
- 443
- {
- title = "Sliding Door (left)";
- prefix = "SR";
- }
-
- 444
- {
- title = "Sliding Door (left, fast)";
- prefix = "SR";
- }
-
- 445
- {
- title = "Sliding Door (left)";
- prefix = "S1";
- }
-
- 446
- {
- title = "Sliding Door (right, monsters)";
- prefix = "SR";
- }
-
- 447
- {
- title = "Sliding Door (right)";
- prefix = "SR";
- }
-
- 448
- {
- title = "Sliding Door (right, fast)";
- prefix = "SR";
- }
-
- 449
- {
- title = "Sliding Door (right)";
- prefix = "S1";
- }
-
- 450
- {
- title = "Sliding Door (center, monsters)";
- prefix = "SR";
- }
-
- 451
- {
- title = "Sliding Door (center)";
- prefix = "SR";
- }
-
- 452
- {
- title = "Sliding Door (center, fast)";
- prefix = "SR";
- }
-
- 453
- {
- title = "Sliding Door (center)";
- prefix = "S1";
- }
- 542
- {
- title = "Remote Slider (LEFT), MONSTERS";
- prefix = "SR";
- }
-
- 543
- {
- title = "Remote Slider (LEFT)";
- prefix = "SR";
- }
-
- 544
- {
- title = "Remote Slider (LEFT) FAST";
- prefix = "SR";
- }
-
- 545
- {
- title = "Remote Slider (LEFT)";
- prefix = "S1";
- }
-
- 546
- {
- title = "Remote Slider (RIGHT), MONSTERS";
- prefix = "SR";
- }
-
- 547
- {
- title = "Remote Slider (RIGHT)";
- prefix = "SR";
- }
-
- 548
- {
- title = "Remote Slider (RIGHT) FAST";
- prefix = "SR";
- }
-
- 549
- {
- title = "Remote Slider (RIGHT)";
- prefix = "S1";
- }
-
- 550
- {
- title = "Remote Slider (CENTER), MONSTERS";
- prefix = "SR";
- }
-
- 551
- {
- title = "Remote Slider (CENTER)";
- prefix = "SR";
- }
-
- 552
- {
- title = "Remote Slider (CENTER) FAST";
- prefix = "SR";
- }
-
- 553
- {
- title = "Remote Slider (CENTER)";
- prefix = "S1";
- }
-
- 554
- {
- title = "Remote Slider (LEFT)";
- prefix = "WR";
- }
-
- 555
- {
- title = "Remote Slider (LEFT) FAST";
- prefix = "WR";
- }
-
- 556
- {
- title = "Remote Slider (RIGHT)";
- prefix = "WR";
- }
-
- 557
- {
- title = "Remote Slider (RIGHT) FAST";
- prefix = "WR";
- }
-
- 558
- {
- title = "Remote Slider (CENTER)";
- prefix = "WR";
- }
-
- 559
- {
- title = "Remote Slider (CENTER) FAST";
- prefix = "WR";
- }
-}
-
-Edge_Mirror
-{
- title = "Edge: Mirrors";
-
-
- 462
- {
- title = "Mirror, Plain";
- prefix = "";
- }
-
- 463
- {
- title = "Mirror, White";
- prefix = "";
- }
-
- 464
- {
- title = "Mirror, Blue";
- prefix = "";
- }
-
- 465
- {
- title = "Mirror, Red";
- prefix = "";
- }
-
- 466
- {
- title = "Mirror, Green";
- prefix = "";
- }
-}
-
-Edge_ladder
-{
- title = "Edge: Ladders";
- 470
- {
- title = "Ladder, 48 units high";
- prefix = "";
- }
-
- 471
- {
- title = "Ladder, 80 units high";
- prefix = "";
- }
-
- 472
- {
- title = "Ladder, 120 units high";
- prefix = "";
- }
-
- 473
- {
- title = "Ladder, 160 units high";
- prefix = "";
- }
-
- 474
- {
- title = "Ladder, 192 units high";
- prefix = "";
- }
-
- 475
- {
- title = "Ladder, 256 units high";
- prefix = "";
- }
-
- 476
- {
- title = "Ladder, 384 units high";
- prefix = "";
- }
-
- 477
- {
- title = "Ladder, 512 units high";
- prefix = "";
- }
-
- 478
- {
- title = "Ladder, 768 units high";
- prefix = "";
- }
-
- 479
- {
- title = "Ladder, no limit(9999)";
- prefix = "";
- }
-}
-Edge_portals
-{
- title = "Edge: Portals";
- 480
- {
- title = "Portal, 20% Translucent";
- prefix = "";
- }
-
- 481
- {
- title = "Portal, 30% Translucent";
- prefix = "";
- }
-
- 482
- {
- title = "Portal, 40% Translucent";
- prefix = "";
- }
-
- 483
- {
- title = "Portal, Blue 40%";
- prefix = "";
- }
-
- 484
- {
- title = "Portal, Green 30%";
- prefix = "";
- }
-
- 485
- {
- title = "Camera Portal, Plain";
- prefix = "";
- }
-
- 486
- {
- title = "Camera Portal, White";
- prefix = "";
- }
-
- 487
- {
- title = "Camera Portal, Cyan";
- prefix = "";
- }
-
- 488
- {
- title = "Camera Portal, Rusty";
- prefix = "";
- }
-
- 489
- {
- title = "Camera Portal, Green";
- prefix = "";
- }
-}
-Edge_doors
-{
- title = "Edge: Doors";
- 490
- {
- title = "Green Key MANUAL DOOR";
- prefix = "SR";
- }
-
- 491
- {
- title = "Green Key MANUAL DOOR";
- prefix = "S1";
- }
-
- 492
- {
- title = "Green Key TAGGED DOOR";
- prefix = "SR";
- }
-
- 493
- {
- title = "Green Key TAGGED DOOR";
- prefix = "S1";
- }
-
- 494
- {
- title = "Green Key BLAZING DOOR";
- prefix = "S1";
- }
- 580
- {
- title = "Gold Key MANUAL DOOR";
- prefix = "SR";
- }
-
- 581
- {
- title = "Gold Key MANUAL DOOR";
- prefix = "S1";
- }
-
- 582
- {
- title = "Gold Key TAGGED DOOR";
- prefix = "SR";
- }
-
- 583
- {
- title = "Gold Key TAGGED DOOR";
- prefix = "S1";
- }
-
- 584
- {
- title = "Silver Key MANUAL DOOR";
- prefix = "SR";
- }
-
- 585
- {
- title = "Silver Key MANUAL DOOR";
- prefix = "S1";
- }
-
- 586
- {
- title = "Silver Key TAGGED DOOR";
- prefix = "SR";
- }
-
- 587
- {
- title = "Silver Key TAGGED DOOR";
- prefix = "S1";
- }
-
- 588
- {
- title = "Brass Key MANUAL DOOR";
- prefix = "SR";
- }
-
- 589
- {
- title = "Brass Key MANUAL DOOR";
- prefix = "S1";
- }
-
- 590
- {
- title = "Copper Key MANUAL DOOR";
- prefix = "SR";
- }
-
- 591
- {
- title = "Copper Key MANUAL DOOR";
- prefix = "S1";
- }
-
- 592
- {
- title = "Steel Key MANUAL DOOR";
- prefix = "SR";
- }
-
- 593
- {
- title = "Steel Key MANUAL DOOR";
- prefix = "S1";
- }
-
- 594
- {
- title = "Wooden Key MANUAL DOOR";
- prefix = "SR";
- }
-
- 595
- {
- title = "Wooden Key MANUAL DOOR";
- prefix = "S1";
- }
-
- 596
- {
- title = "Fire Key MANUAL DOOR";
- prefix = "SR";
- }
-
- 597
- {
- title = "Fire Key MANUAL DOOR";
- prefix = "S1";
- }
-
- 598
- {
- title = "Water Key MANUAL DOOR";
- prefix = "SR";
- }
-
- 599
- {
- title = "Water Key MANUAL DOOR";
- prefix = "S1";
- }
-}
-Edge_HUB
-{
- title = "Edge: HUB Exits";
- 501
- {
- title = "Hub Exit to MAP01 / E1M1";
- prefix = "W1";
- }
-
- 502
- {
- title = "Hub Exit to MAP02 / E1M2";
- prefix = "W1";
- }
-
- 503
- {
- title = "Hub Exit to MAP03 / E1M3";
- prefix = "W1";
- }
-
- 504
- {
- title = "Hub Exit to MAP04 / E1M4";
- prefix = "W1";
- }
-
- 505
- {
- title = "Hub Exit to MAP05 / E1M5";
- prefix = "W1";
- }
-
- 506
- {
- title = "Hub Exit to MAP06 / E1M6";
- prefix = "W1";
- }
-
- 507
- {
- title = "Hub Exit to MAP07 / E1M7";
- prefix = "W1";
- }
-
- 508
- {
- title = "Hub Exit to MAP08 / E1M8";
- prefix = "W1";
- }
-
- 509
- {
- title = "Hub Exit to MAP09 / E1M9";
- prefix = "W1";
- }
-
- 510
- {
- title = "Hub Exit to MAP10";
- prefix = "W1";
- }
-
- 511
- {
- title = "Hub Exit to MAP11 / E2M1";
- prefix = "W1";
- }
-
- 512
- {
- title = "Hub Exit to MAP12 / E2M2";
- prefix = "W1";
- }
-
- 513
- {
- title = "Hub Exit to MAP13 / E2M3";
- prefix = "W1";
- }
-
- 514
- {
- title = "Hub Exit to MAP14 / E2M4";
- prefix = "W1";
- }
-
- 515
- {
- title = "Hub Exit to MAP15 / E2M5";
- prefix = "W1";
- }
-
- 516
- {
- title = "Hub Exit to MAP16 / E2M6";
- prefix = "W1";
- }
-
- 517
- {
- title = "Hub Exit to MAP17 / E2M7";
- prefix = "W1";
- }
-
- 518
- {
- title = "Hub Exit to MAP18 / E2M8";
- prefix = "W1";
- }
-
- 519
- {
- title = "Hub Exit to MAP19 / E2M9";
- prefix = "W1";
- }
-
- 520
- {
- title = "Hub Exit to MAP20";
- prefix = "W1";
- }
-
- 521
- {
- title = "Hub Exit to MAP21 / E3M1";
- prefix = "W1";
- }
-
- 522
- {
- title = "Hub Exit to MAP22 / E3M2";
- prefix = "W1";
- }
-
- 523
- {
- title = "Hub Exit to MAP23 / E3M3";
- prefix = "W1";
- }
-
- 524
- {
- title = "Hub Exit to MAP24 / E3M4";
- prefix = "W1";
- }
-
- 525
- {
- title = "Hub Exit to MAP25 / E3M5";
- prefix = "W1";
- }
-
- 526
- {
- title = "Hub Exit to MAP26 / E3M6";
- prefix = "W1";
- }
-
- 527
- {
- title = "Hub Exit to MAP27 / E3M7";
- prefix = "W1";
- }
-
- 528
- {
- title = "Hub Exit to MAP28 / E3M8";
- prefix = "W1";
- }
-
- 529
- {
- title = "Hub Exit to MAP29 / E3M9";
- prefix = "W1";
- }
-
- 530
- {
- title = "Hub Exit to MAP30";
- prefix = "W1";
- }
-
- 531
- {
- title = "Hub Exit to MAP31 / E4M1";
- prefix = "W1";
- }
-
- 532
- {
- title = "Hub Exit to MAP32 / E4M2";
- prefix = "W1";
- }
-
- 533
- {
- title = "Hub Exit to MAP33 / E4M3";
- prefix = "W1";
- }
-
- 534
- {
- title = "Hub Exit to MAP34 / E4M4";
- prefix = "W1";
- }
-
- 535
- {
- title = "Hub Exit to MAP35 / E4M5";
- prefix = "W1";
- }
-
- 536
- {
- title = "Hub Exit to MAP36 / E4M6";
- prefix = "W1";
- }
-
- 537
- {
- title = "Hub Exit to MAP37 / E4M7";
- prefix = "W1";
- }
-
- 538
- {
- title = "Hub Exit to MAP38 / E4M8";
- prefix = "W1";
- }
-
- 539
- {
- title = "Hub Exit to MAP39 / E4M9";
- prefix = "W1";
- }
-}
-Edge_slopes
-{
- title = "Edge: Slopes";
-
-
- 567
- {
- title = "Detail Slope : FLOOR";
- prefix = "";
- }
-
- 568
- {
- title = "Detail Slope : CEILING";
- prefix = "";
- }
-
- 569
- {
- title = "Detail Slope : FLOOR+CEILING";
- prefix = "";
- }
-}
-
-Edge_alignflats
-{
- title = "Edge: Flats";
-
- 800
- {
- title = "Align and rotate front sector's FLOOR";
- prefix = "";
- }
-
- 801
- {
- title = "Align and rotate back sector's FLOOR";
- prefix = "";
- }
-
- 802
- {
- title = "Align and rotate front sector's CEILING";
- prefix = "";
- }
-
- 803
- {
- title = "Align and rotate back sector's CEILING";
- prefix = "";
- }
-
- 804
- {
- title = "Align and rotate front sector's FLOOR+CEILING";
- prefix = "";
- }
-
- 805
- {
- title = "Align and rotate back sector's FLOOR+CEILING";
- prefix = "";
- }
-
- 810
- {
- title = "Align, scale and rotate front sector's FLOOR";
- prefix = "";
- }
-
- 811
- {
- title = "Align, scale and rotate back sector's FLOOR";
- prefix = "";
- }
-
- 812
- {
- title = "Align, scale and rotate front sector's CEILING";
- prefix = "";
- }
-
- 813
- {
- title = "Align, scale and rotate back sector's CEILING";
- prefix = "";
- }
-
- 814
- {
- title = "Align, scale and rotate front sector's FLOOR+CEILING";
- prefix = "";
- }
-
- 815
- {
- title = "Align, scale and rotate back sector's FLOOR+CEILING";
- prefix = "";
- }
-
- 820
- {
- title = "Scale front sector's FLOOR";
- prefix = "";
- }
-
- 821
- {
- title = "Scale back sector's FLOOR";
- prefix = "";
- }
-
- 822
- {
- title = "Scale front sector's CEILING";
- prefix = "";
- }
-
- 823
- {
- title = "Scale back sector's CEILING";
- prefix = "";
- }
-
- 824
- {
- title = "Scale front sector's FLOOR+CEILING";
- prefix = "";
- }
-
- 825
- {
- title = "Scale back sector's FLOOR+CEILING";
- prefix = "";
- }
-
-
-}
+Edge_Stretch_Texture
+{
+ title = "Edge: Stretch Texture by Line length";
+
+ 855
+ {
+ title = "Stretch Textures Width";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 856
+ {
+ title = "Stretch Textures Height";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 857
+ {
+ title = "Stretch Textures Width and Height";
+ prefix = "";
+ requiresactivation = false;
+ }
+}
+
+Edge_lightwall
+{
+ title = "Edge: Light Wall";
+
+ 850
+ {
+ title = "Light wall: transfer light to tagged";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+}
+
+Edge_breakable_wall
+{
+ title = "Edge: Breakable Wall";
+ 835
+ {
+ title = "Breakable Wall: midtex to back lower";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 836
+ {
+ title = "Breakable Wall: midtex to back upper";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 837
+ {
+ title = "Breakable Wall: midtex to front lower";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 838
+ {
+ title = "Breakable Wall: midtex to front upper";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+}
+
+Edge_breakable_glass
+{
+ title = "Edge: Breakable Glass";
+ 830
+ {
+ title = "Breakable Glass: monster can see through, can break";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 831
+ {
+ title = "Breakable Glass: monster cannot see through, can break";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 832
+ {
+ title = "Breakable Glass: monster cannot see through, cannot break";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+}
+
+Edge_extrafloors_thick
+{
+ title = "Edge: Extrafloors(thick)";
+
+ 281
+ {
+ title = "Legacy: Thick Extrafloor (dummy texture)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 289
+ {
+ title = "Legacy: Thick Extrafloor (dummy texture, master light props)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 600
+ {
+ title = "Thick Extrafloor: Trans 40% (dummy texture)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 400
+ {
+ title = "Thick Extrafloor (dummy texture)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 401
+ {
+ title = "Thick Extrafloor (master upper texture)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 402
+ {
+ title = "Thick Extrafloor (master lower texture)";
+ prefix = "";
+ requiresactivation = false;
+ }
+ 430
+ {
+ title = "Thick Translucent Liquid Extrafloor Scroll Down (20% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 431
+ {
+ title = "Thick Translucent Liquid Extrafloor Scroll Down (40% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 432
+ {
+ title = "Thick Translucent Liquid Extrafloor Scroll Down (60% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 433
+ {
+ title = "Thick Translucent Liquid Extrafloor Scroll Down (80% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+}
+
+Edge_extrafloors_liquid
+{
+ title = "Edge: Extrafloors(Liquid)";
+ 403
+ {
+ title = "Liquid Extrafloor (solid)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 404
+ {
+ title = "Liquid Extrafloor (20% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 405
+ {
+ title = "Liquid Extrafloor (40% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 406
+ {
+ title = "Liquid Extrafloor (60% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 407
+ {
+ title = "Liquid Extrafloor (80% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 408
+ {
+ title = "Liquid Extrafloor (invisible)";
+ prefix = "";
+ requiresactivation = false;
+ }
+}
+
+Edge_translucent_linedef
+{
+ title = "Edge: Translucent Linedef";
+ 409
+ {
+ title = "Translucent Linedef (20%) least transparent";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 410
+ {
+ title = "Translucent Linedef (40%)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 411
+ {
+ title = "Translucent Linedef (60%)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 412
+ {
+ title = "Translucent Linedef (80%) most transparent";
+ prefix = "";
+ requiresactivation = false;
+ }
+}
+
+Edge_extrafloors_thin
+{
+ title = "Edge: Extrafloors(thin)";
+ 413
+ {
+ title = "Thin Extrafloor (opaque)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 414
+ {
+ title = "Thin Extrafloor (20% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 415
+ {
+ title = "Thin Extrafloor (40% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 416
+ {
+ title = "Thin Extrafloor (60% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 417
+ {
+ title = "Thin Extrafloor (80% translucent)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+}
+
+Edge_RTS_Enable
+{
+ title = "Edge: Enable Tagged RTS";
+ 418
+ {
+ title = "Enable Tagged RTS";
+ prefix = "S1";
+ }
+
+ 419
+ {
+ title = "Enable Tagged RTS";
+ prefix = "SR";
+ }
+
+ 420
+ {
+ title = "Enable Tagged RTS";
+ prefix = "W1";
+ }
+
+ 421
+ {
+ title = "Enable Tagged RTS";
+ prefix = "WR";
+ }
+ 440
+ {
+ title = "Enable Tagged RTS";
+ prefix = "G1";
+ }
+
+ 441
+ {
+ title = "Enable Tagged RTS";
+ prefix = "GR";
+ }
+ 454
+ {
+ title = "Enable Tagged RTS (monster)";
+ prefix = "W1";
+ }
+
+ 455
+ {
+ title = "Enable Tagged RTS (monster)";
+ prefix = "WR";
+ }
+
+ 456
+ {
+ title = "Enable Tagged RTS (Monster)";
+ prefix = "GR";
+ }
+
+ 457
+ {
+ title = "Disable Tagged RTS";
+ prefix = "SR";
+ }
+
+ 458
+ {
+ title = "Disable Tagged RTS";
+ prefix = "WR";
+ }
+
+ 459
+ {
+ title = "Disable Tagged RTS";
+ prefix = "GR";
+ }
+
+ 460
+ {
+ title = "Disable Tagged RTS (monster)";
+ prefix = "WR";
+ }
+
+ 461
+ {
+ title = "Disable Tagged RTS (monster)";
+ prefix = "GR";
+ }
+}
+
+Edge_Scroller_lines
+{
+ title = "Edge: Scroll Lines";
+ 422
+ {
+ title = "Scroll Right";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 423
+ {
+ title = "Scroll Up";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 424
+ {
+ title = "Scroll Down";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 425
+ {
+ title = "Scroll Left And Up";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 426
+ {
+ title = "Scroll Left And Down";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 427
+ {
+ title = "Scroll Right And Up";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 428
+ {
+ title = "Scroll Right And Down";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 429
+ {
+ title = "Scroll Fast Lower And Middle Texture (liquid falls)";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+}
+
+Edge_Floor
+{
+ title = "Edge: Floor";
+
+ 434
+ {
+ title = "Raise Floor 2 Units (use for RTS Onheight events)";
+ prefix = "S1";
+ }
+
+ 435
+ {
+ title = "Raise Floor 2 Units (use for RTS Onheight events)";
+ prefix = "SR";
+ }
+
+ 436
+ {
+ title = "Raise Floor 2 Units (use for RTS Onheight events)";
+ prefix = "W1";
+ }
+
+ 437
+ {
+ title = "Raise Floor 2 Units (use for RTS Onheight events)";
+ prefix = "WR";
+ }
+
+ 438
+ {
+ title = "Raise Floor 2 Units (use for RTS Onheight events)";
+ prefix = "S1";
+ }
+
+ 439
+ {
+ title = "Raise Floor 2 Units (use for RTS Onheight events)";
+ prefix = "SR";
+ }
+}
+
+Edge_SlidingDoor
+{
+ title = "Edge: Sliding Door";
+
+ 442
+ {
+ title = "Sliding Door (left, monsters)";
+ prefix = "SR";
+ }
+
+ 443
+ {
+ title = "Sliding Door (left)";
+ prefix = "SR";
+ }
+
+ 444
+ {
+ title = "Sliding Door (left, fast)";
+ prefix = "SR";
+ }
+
+ 445
+ {
+ title = "Sliding Door (left)";
+ prefix = "S1";
+ }
+
+ 446
+ {
+ title = "Sliding Door (right, monsters)";
+ prefix = "SR";
+ }
+
+ 447
+ {
+ title = "Sliding Door (right)";
+ prefix = "SR";
+ }
+
+ 448
+ {
+ title = "Sliding Door (right, fast)";
+ prefix = "SR";
+ }
+
+ 449
+ {
+ title = "Sliding Door (right)";
+ prefix = "S1";
+ }
+
+ 450
+ {
+ title = "Sliding Door (center, monsters)";
+ prefix = "SR";
+ }
+
+ 451
+ {
+ title = "Sliding Door (center)";
+ prefix = "SR";
+ }
+
+ 452
+ {
+ title = "Sliding Door (center, fast)";
+ prefix = "SR";
+ }
+
+ 453
+ {
+ title = "Sliding Door (center)";
+ prefix = "S1";
+ }
+ 542
+ {
+ title = "Remote Slider (LEFT), MONSTERS";
+ prefix = "SR";
+ }
+
+ 543
+ {
+ title = "Remote Slider (LEFT)";
+ prefix = "SR";
+ }
+
+ 544
+ {
+ title = "Remote Slider (LEFT) FAST";
+ prefix = "SR";
+ }
+
+ 545
+ {
+ title = "Remote Slider (LEFT)";
+ prefix = "S1";
+ }
+
+ 546
+ {
+ title = "Remote Slider (RIGHT), MONSTERS";
+ prefix = "SR";
+ }
+
+ 547
+ {
+ title = "Remote Slider (RIGHT)";
+ prefix = "SR";
+ }
+
+ 548
+ {
+ title = "Remote Slider (RIGHT) FAST";
+ prefix = "SR";
+ }
+
+ 549
+ {
+ title = "Remote Slider (RIGHT)";
+ prefix = "S1";
+ }
+
+ 550
+ {
+ title = "Remote Slider (CENTER), MONSTERS";
+ prefix = "SR";
+ }
+
+ 551
+ {
+ title = "Remote Slider (CENTER)";
+ prefix = "SR";
+ }
+
+ 552
+ {
+ title = "Remote Slider (CENTER) FAST";
+ prefix = "SR";
+ }
+
+ 553
+ {
+ title = "Remote Slider (CENTER)";
+ prefix = "S1";
+ }
+
+ 554
+ {
+ title = "Remote Slider (LEFT)";
+ prefix = "WR";
+ }
+
+ 555
+ {
+ title = "Remote Slider (LEFT) FAST";
+ prefix = "WR";
+ }
+
+ 556
+ {
+ title = "Remote Slider (RIGHT)";
+ prefix = "WR";
+ }
+
+ 557
+ {
+ title = "Remote Slider (RIGHT) FAST";
+ prefix = "WR";
+ }
+
+ 558
+ {
+ title = "Remote Slider (CENTER)";
+ prefix = "WR";
+ }
+
+ 559
+ {
+ title = "Remote Slider (CENTER) FAST";
+ prefix = "WR";
+ }
+}
+
+Edge_Mirror
+{
+ title = "Edge: Mirrors";
+
+
+ 462
+ {
+ title = "Mirror, Plain";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 463
+ {
+ title = "Mirror, White";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 464
+ {
+ title = "Mirror, Blue";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 465
+ {
+ title = "Mirror, Red";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 466
+ {
+ title = "Mirror, Green";
+ prefix = "";
+ requiresactivation = false;
+ }
+}
+
+Edge_ladder
+{
+ title = "Edge: Ladders";
+ 470
+ {
+ title = "Ladder, 48 units high";
+ prefix = "";
+ }
+
+ 471
+ {
+ title = "Ladder, 80 units high";
+ prefix = "";
+ }
+
+ 472
+ {
+ title = "Ladder, 120 units high";
+ prefix = "";
+ }
+
+ 473
+ {
+ title = "Ladder, 160 units high";
+ prefix = "";
+ }
+
+ 474
+ {
+ title = "Ladder, 192 units high";
+ prefix = "";
+ }
+
+ 475
+ {
+ title = "Ladder, 256 units high";
+ prefix = "";
+ }
+
+ 476
+ {
+ title = "Ladder, 384 units high";
+ prefix = "";
+ }
+
+ 477
+ {
+ title = "Ladder, 512 units high";
+ prefix = "";
+ }
+
+ 478
+ {
+ title = "Ladder, 768 units high";
+ prefix = "";
+ }
+
+ 479
+ {
+ title = "Ladder, no limit(9999)";
+ prefix = "";
+ }
+}
+Edge_portals
+{
+ title = "Edge: Portals";
+ 480
+ {
+ title = "Portal, 20% Translucent";
+ prefix = "";
+ }
+
+ 481
+ {
+ title = "Portal, 30% Translucent";
+ prefix = "";
+ }
+
+ 482
+ {
+ title = "Portal, 40% Translucent";
+ prefix = "";
+ }
+
+ 483
+ {
+ title = "Portal, Blue 40%";
+ prefix = "";
+ }
+
+ 484
+ {
+ title = "Portal, Green 30%";
+ prefix = "";
+ }
+
+ 485
+ {
+ title = "Camera Portal, Plain";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 486
+ {
+ title = "Camera Portal, White";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 487
+ {
+ title = "Camera Portal, Cyan";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 488
+ {
+ title = "Camera Portal, Rusty";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 489
+ {
+ title = "Camera Portal, Green";
+ prefix = "";
+ requiresactivation = false;
+ }
+}
+Edge_doors
+{
+ title = "Edge: Doors";
+ 490
+ {
+ title = "Green Key MANUAL DOOR";
+ prefix = "SR";
+ }
+
+ 491
+ {
+ title = "Green Key MANUAL DOOR";
+ prefix = "S1";
+ }
+
+ 492
+ {
+ title = "Green Key TAGGED DOOR";
+ prefix = "SR";
+ }
+
+ 493
+ {
+ title = "Green Key TAGGED DOOR";
+ prefix = "S1";
+ }
+
+ 494
+ {
+ title = "Green Key BLAZING DOOR";
+ prefix = "S1";
+ }
+ 580
+ {
+ title = "Gold Key MANUAL DOOR";
+ prefix = "SR";
+ }
+
+ 581
+ {
+ title = "Gold Key MANUAL DOOR";
+ prefix = "S1";
+ }
+
+ 582
+ {
+ title = "Gold Key TAGGED DOOR";
+ prefix = "SR";
+ }
+
+ 583
+ {
+ title = "Gold Key TAGGED DOOR";
+ prefix = "S1";
+ }
+
+ 584
+ {
+ title = "Silver Key MANUAL DOOR";
+ prefix = "SR";
+ }
+
+ 585
+ {
+ title = "Silver Key MANUAL DOOR";
+ prefix = "S1";
+ }
+
+ 586
+ {
+ title = "Silver Key TAGGED DOOR";
+ prefix = "SR";
+ }
+
+ 587
+ {
+ title = "Silver Key TAGGED DOOR";
+ prefix = "S1";
+ }
+
+ 588
+ {
+ title = "Brass Key MANUAL DOOR";
+ prefix = "SR";
+ }
+
+ 589
+ {
+ title = "Brass Key MANUAL DOOR";
+ prefix = "S1";
+ }
+
+ 590
+ {
+ title = "Copper Key MANUAL DOOR";
+ prefix = "SR";
+ }
+
+ 591
+ {
+ title = "Copper Key MANUAL DOOR";
+ prefix = "S1";
+ }
+
+ 592
+ {
+ title = "Steel Key MANUAL DOOR";
+ prefix = "SR";
+ }
+
+ 593
+ {
+ title = "Steel Key MANUAL DOOR";
+ prefix = "S1";
+ }
+
+ 594
+ {
+ title = "Wooden Key MANUAL DOOR";
+ prefix = "SR";
+ }
+
+ 595
+ {
+ title = "Wooden Key MANUAL DOOR";
+ prefix = "S1";
+ }
+
+ 596
+ {
+ title = "Fire Key MANUAL DOOR";
+ prefix = "SR";
+ }
+
+ 597
+ {
+ title = "Fire Key MANUAL DOOR";
+ prefix = "S1";
+ }
+
+ 598
+ {
+ title = "Water Key MANUAL DOOR";
+ prefix = "SR";
+ }
+
+ 599
+ {
+ title = "Water Key MANUAL DOOR";
+ prefix = "S1";
+ }
+}
+
+Edge_HUB
+{
+ title = "Edge: HUB Exits";
+ 501
+ {
+ title = "Hub Exit to MAP01 / E1M1";
+ prefix = "W1";
+ }
+
+ 502
+ {
+ title = "Hub Exit to MAP02 / E1M2";
+ prefix = "W1";
+ }
+
+ 503
+ {
+ title = "Hub Exit to MAP03 / E1M3";
+ prefix = "W1";
+ }
+
+ 504
+ {
+ title = "Hub Exit to MAP04 / E1M4";
+ prefix = "W1";
+ }
+
+ 505
+ {
+ title = "Hub Exit to MAP05 / E1M5";
+ prefix = "W1";
+ }
+
+ 506
+ {
+ title = "Hub Exit to MAP06 / E1M6";
+ prefix = "W1";
+ }
+
+ 507
+ {
+ title = "Hub Exit to MAP07 / E1M7";
+ prefix = "W1";
+ }
+
+ 508
+ {
+ title = "Hub Exit to MAP08 / E1M8";
+ prefix = "W1";
+ }
+
+ 509
+ {
+ title = "Hub Exit to MAP09 / E1M9";
+ prefix = "W1";
+ }
+
+ 510
+ {
+ title = "Hub Exit to MAP10";
+ prefix = "W1";
+ }
+
+ 511
+ {
+ title = "Hub Exit to MAP11 / E2M1";
+ prefix = "W1";
+ }
+
+ 512
+ {
+ title = "Hub Exit to MAP12 / E2M2";
+ prefix = "W1";
+ }
+
+ 513
+ {
+ title = "Hub Exit to MAP13 / E2M3";
+ prefix = "W1";
+ }
+
+ 514
+ {
+ title = "Hub Exit to MAP14 / E2M4";
+ prefix = "W1";
+ }
+
+ 515
+ {
+ title = "Hub Exit to MAP15 / E2M5";
+ prefix = "W1";
+ }
+
+ 516
+ {
+ title = "Hub Exit to MAP16 / E2M6";
+ prefix = "W1";
+ }
+
+ 517
+ {
+ title = "Hub Exit to MAP17 / E2M7";
+ prefix = "W1";
+ }
+
+ 518
+ {
+ title = "Hub Exit to MAP18 / E2M8";
+ prefix = "W1";
+ }
+
+ 519
+ {
+ title = "Hub Exit to MAP19 / E2M9";
+ prefix = "W1";
+ }
+
+ 520
+ {
+ title = "Hub Exit to MAP20";
+ prefix = "W1";
+ }
+
+ 521
+ {
+ title = "Hub Exit to MAP21 / E3M1";
+ prefix = "W1";
+ }
+
+ 522
+ {
+ title = "Hub Exit to MAP22 / E3M2";
+ prefix = "W1";
+ }
+
+ 523
+ {
+ title = "Hub Exit to MAP23 / E3M3";
+ prefix = "W1";
+ }
+
+ 524
+ {
+ title = "Hub Exit to MAP24 / E3M4";
+ prefix = "W1";
+ }
+
+ 525
+ {
+ title = "Hub Exit to MAP25 / E3M5";
+ prefix = "W1";
+ }
+
+ 526
+ {
+ title = "Hub Exit to MAP26 / E3M6";
+ prefix = "W1";
+ }
+
+ 527
+ {
+ title = "Hub Exit to MAP27 / E3M7";
+ prefix = "W1";
+ }
+
+ 528
+ {
+ title = "Hub Exit to MAP28 / E3M8";
+ prefix = "W1";
+ }
+
+ 529
+ {
+ title = "Hub Exit to MAP29 / E3M9";
+ prefix = "W1";
+ }
+
+ 530
+ {
+ title = "Hub Exit to MAP30";
+ prefix = "W1";
+ }
+
+ 531
+ {
+ title = "Hub Exit to MAP31 / E4M1";
+ prefix = "W1";
+ }
+
+ 532
+ {
+ title = "Hub Exit to MAP32 / E4M2";
+ prefix = "W1";
+ }
+
+ 533
+ {
+ title = "Hub Exit to MAP33 / E4M3";
+ prefix = "W1";
+ }
+
+ 534
+ {
+ title = "Hub Exit to MAP34 / E4M4";
+ prefix = "W1";
+ }
+
+ 535
+ {
+ title = "Hub Exit to MAP35 / E4M5";
+ prefix = "W1";
+ }
+
+ 536
+ {
+ title = "Hub Exit to MAP36 / E4M6";
+ prefix = "W1";
+ }
+
+ 537
+ {
+ title = "Hub Exit to MAP37 / E4M7";
+ prefix = "W1";
+ }
+
+ 538
+ {
+ title = "Hub Exit to MAP38 / E4M8";
+ prefix = "W1";
+ }
+
+ 539
+ {
+ title = "Hub Exit to MAP39 / E4M9";
+ prefix = "W1";
+ }
+}
+Edge_slopes
+{
+ title = "Edge: Slopes";
+
+
+ 567
+ {
+ title = "Detail Slope : FLOOR";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 568
+ {
+ title = "Detail Slope : CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 569
+ {
+ title = "Detail Slope : FLOOR+CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+}
+
+Edge_alignflats
+{
+ title = "Edge: Flats";
+
+ 800
+ {
+ title = "Align and rotate front sector's FLOOR";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 801
+ {
+ title = "Align and rotate back sector's FLOOR";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 802
+ {
+ title = "Align and rotate front sector's CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 803
+ {
+ title = "Align and rotate back sector's CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 804
+ {
+ title = "Align and rotate front sector's FLOOR+CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 805
+ {
+ title = "Align and rotate back sector's FLOOR+CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 810
+ {
+ title = "Align, scale and rotate front sector's FLOOR";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 811
+ {
+ title = "Align, scale and rotate back sector's FLOOR";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 812
+ {
+ title = "Align, scale and rotate front sector's CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 813
+ {
+ title = "Align, scale and rotate back sector's CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 814
+ {
+ title = "Align, scale and rotate front sector's FLOOR+CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 815
+ {
+ title = "Align, scale and rotate back sector's FLOOR+CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 820
+ {
+ title = "Scale front sector's FLOOR";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 821
+ {
+ title = "Scale back sector's FLOOR";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 822
+ {
+ title = "Scale front sector's CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 823
+ {
+ title = "Scale back sector's CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 824
+ {
+ title = "Scale front sector's FLOOR+CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+ 825
+ {
+ title = "Scale back sector's FLOOR+CEILING";
+ prefix = "";
+ requiresactivation = false;
+ }
+
+}
+
+
diff --git a/Build/Configurations/Includes/EdgeC_misc.cfg b/Build/Configurations/Includes/EdgeC_misc.cfg
index c94fd5f3..72720080 100644
--- a/Build/Configurations/Includes/EdgeC_misc.cfg
+++ b/Build/Configurations/Includes/EdgeC_misc.cfg
@@ -1,8 +1,4 @@
-// Texture loading options
-mixtexturesflats = true;
-defaulttexturescale = 1.0f;
-defaultflatscale = 1.0f;
linedefflags
{
@@ -16,8 +12,6 @@ linedefflagtooltips
}
-
-
// Linedef flags UDMF translation table
// This is needed for copy/paste and prefabs to work properly
// When the UDMF field name is prefixed with ! it is inverted
@@ -27,35 +21,6 @@ linedefflagstranslation
}
-linedefflags_udmf
-{
- blocking = "Impassable";
- blockmonsters = "Block monster";
- twosided = "Doublesided";
- dontpegtop = "Upper unpegged";
- dontpegbottom = "Lower unpegged";
- secret = "Secret";
- blocksound = "Block sound";
- dontdraw = "Hidden";
- mapped = "Shown";
- passuse = "PassThru";
-}
-
-linedefflagtooltips_udmf
-{
- blocking = "If set on a 2-sided linedef, the linedef blocks players and monsters from being able to move through it. \nThis is typically used for mid-textured cage bars.\nBy convention, most doom-related software sets it for 1-sided lines by default because the\nid Software maps did, but it doesn't actually do anything.";
- blockmonsters = "If set, blocks only monster movement.\n(in addition to whatever existing blocking properties it would have).";
- twosided = "If set, then it has 2 sidedefs and acts as a connection between two sectors.";
- dontpegtop = "If set:\nIf the linedef is 2-sided, the upper texture starts at the height of the higher ceiling.\nIf not set: and the linedef is 2-sided, the upper texture starts at the lower ceiling instead.\nIf the linedef is 1-sided, this does nothing.";
- dontpegbottom = "If set: If the linedef is 2-sided, the lower texture starts at the height of the higher ceiling.\nIf not set: and the linedef is 2-sided, the upper texture starts at the higher floor instead.\nIf the linedef is 1-sided, this makes the mid texture start at floor instead of the ceiling.\nYou probably want to use this for door tracks if you don't want them to move with the door.";
- secret = "If set, this flag prevents it from being marked as a switch or a door on the automap.";
- blocksound = "If set, this linedef will partially block monster-waking sound from passing into the sector on the other side of it.\nNote that a sound must try to pass through two of these lines before being blocked.\nThis does not block the actual audio that the player hears at all, it is only for the monster AI.\nThis does nothing for 1-sided linedefs.";
- dontdraw = "If set, this line is not shown on the automap even if you are looking directly at it";
- mapped = "If set, this line is always revealed on the automap even if you haven't actually visited the area.";
- passuse = "Normally, if you try to pull a switch or use a door, then players are only able to activate\nthe closest linedef with a special. When PassThru is set, your use reaches\nthrough and allows players to activate both this line and whatever is behind this\nline.\nThis does nothing for 1-sided lines because they always block use actions.\n\nNote that if someone plays your map on ZDoom-derived ports like GZDoom or Zandronum,\nthen PassThru will be true for walkover specials & scrollers even when this flag\nis not set, unless you set 'compat_useblocking' in MAPINFO.";
-}
-
-
thingflags
{
@@ -66,35 +31,6 @@ thingflags
}
-thingflags_udmf
-{
- skill1 = "Skill 1";
- skill2 = "Skill 2";
- skill3 = "Skill 3";
- skill4 = "Skill 4";
- skill5 = "Skill 5";
- ambush = "Ambush";
- single = "Singleplayer";
- dm = "Deathmatch";
- coop = "Cooperative";
- friend = "Friendly";
-}
-
-thingflagtooltips_udmf
-{
- skill1 = "If set, this actor appears on 'I'm Too Young To Die' difficulty.";
- skill2 = "If set, this actor appears on 'Hey, Not Too Rough' difficulty.";
- skill3 = "If set, this actor appears on 'Hurt Me Plenty' difficulty.";
- skill4 = "If set, this actor appears on 'Ultraviolence' difficulty.";
- skill5 = "If set, this actor appears on 'Nightmare' difficulty.";
- ambush = "If set, this actor does not wake up if it hears the player until the player comes within field of view\n(even if the actor is facing the away from the player).";
- single = "If not set, the actor does not appear in singleplayer modes.";
- dm = "If not set, the actor does not appear in deathmatch modes.";
- coop = "If not set, the actor does not appear in co-op modes.";
- friend = "If set, the actor is friendly to the player.\nIf it is a monster, it will attack other players.";
-}
-
-
// Thing flags UDMF translation table
// This is needed for copy/paste and prefabs to work properly
@@ -116,17 +52,7 @@ defaultthingflags
}
-defaultthingflags_udmf
-{
- skill1;
- skill2;
- skill3;
- skill4;
- skill5;
- single;
- coop;
- dm;
-}
+
// Default sector brightness levels
@@ -169,125 +95,552 @@ hires
-/*
-ADDITIONAL UNIVERSAL DOOM MAP FORMAT FIELD DEFINITIONS
-See Documents\fielddatatypes.txt for informtion on the types.
-*/
-universalfields
+// ***********************************************************
+// * *
+// * Doom map format *
+// * *
+// ***********************************************************
+mapformat_doom
{
- linedef
+ // The format interface handles the map data format
+ formatinterface = "DoomMapSetIO";
+
+ maplumpnames
{
- comment
- {
- type = 2;
- default = "";
- }
-
+ include("Doom_misc.cfg", "doommaplumpnames");
+ include("Boom_misc.cfg", "boommaplumpnames");
}
-
- sidedef
- {
- comment
- {
- type = 2;
- default = "";
- }
-
- }
-
- thing
- {
- comment
- {
- type = 2;
- default = "";
- }
-
- }
-
- sector
- {
- comment
- {
- type = 2;
- default = "";
- }
-
- }
-}
-/*
-MAP LUMP NAMES
-Map lumps are loaded with the map as long as they are right after each other. When the editor
-meets a lump which is not defined in this list it will ignore the map if not satisfied.
-The order of items defines the order in which lumps will be written to WAD file on save.
-To indicate the map header lump, use ~MAP
+ // Enables support for individual offsets of upper/middle/lower sidedef textures
+ localsidedeftextureoffsets = false;
-Legenda:
-required = Lump is required to exist.
-blindcopy = Lump will be copied along with the map blindly. (usefull for lumps Doom Builder doesn't use)
-nodebuild = The nodebuilder generates this lump.
-allowempty = The nodebuilder is allowed to leave this lump empty.
-script = This lump is a text-based script. Specify the filename of the script configuration to use.
-*/
-doommaplumpnames
-{
- REJECT
+ // Default flags for first new thing
+ defaultthingflags
{
- allowempty = true;
+ include("Doom_misc.cfg", "defaultthingflags");
}
+
+
+ // LINEDEF FLAGS
+ linedefflags
+ {
+ include("Doom_misc.cfg", "linedefflags");
+ include("Boom_misc.cfg", "linedefflags");
+ }
+
+ // LINEDEF ACTIVATIONS
+ linedefactivations
+ {
+ }
+
+ // Linedef flags UDMF translation table
+ // This is needed for copy/paste and prefabs to work properly
+ // When the UDMF field name is prefixed with ! it is inverted
+ linedefflagstranslation
+ {
+ include("Doom_misc.cfg", "linedefflagstranslation");
+ include("Boom_misc.cfg", "linedefflagstranslation");
+ }
+
+
+ // THING FLAGS
+ thingflags
+ {
+ include("Doom_misc.cfg", "thingflags");
+ include("Boom_misc.cfg", "thingflags");
+ }
+
+ // Thing flags UDMF translation table
+ // This is needed for copy/paste and prefabs to work properly
+ // When the UDMF field name is prefixed with ! it is inverted
+ thingflagstranslation
+ {
+ include("Doom_misc.cfg", "thingflagstranslation");
+ include("Boom_misc.cfg", "thingflagstranslation");
+ }
+ // How to compare thing flags (for the stuck things error checker)
+ thingflagscompare
+ {
+ include("Doom_misc.cfg", "thingflagscompare");
+ include("Boom_misc.cfg", "thingflagscompare");
+ }
+
+ // Things flags masks
+ include("Doom_misc.cfg", "thingflagsmasks");
+
}
-udmfmaplumpnames
+// ***********************************************************
+// * *
+// * Text map format *
+// * *
+// ***********************************************************
+
+mapformat_udmf
{
- BEHAVIOR
+ // The format interface handles the map data format
+ formatinterface = "UniversalMapSetIO";
+
+
+ // Enables support for long (> 8 chars) texture names
+ // WARNING: this should only be enabled for UDMF game configurations!
+ // WARNING: enabling this will make maps incompatible with Doom Builder 2 and can lead to problems in Slade 3!
+ longtexturenames = false;
+
+ // Enables support for individual offsets of upper/middle/lower sidedef textures
+ localsidedeftextureoffsets = true;
+
+
+ // Enables setting brightness for floor, ceiling, and walls independently from each other
+ distinctfloorandceilingbrightness = false;
+ distinctwallbrightness = false;
+
+ // Enabled setting brightness for upper, middle, and lower sidedef independently from each other
+ distinctsidedefpartbrightness = false;
+
+
+ //engine = "edge-classic"; // override that so that DB2 uses the correct namespace
+
+ maplumpnames
{
- required = false;
- nodebuild = false;
- blindcopy = true;
+ include("UDMF_misc.cfg", "udmfmaplumpnames_begin");
+ include("UDMF_misc.cfg", "udmfmaplumpnames_end");
+ }
+
+
+ linedefflags
+ {
+ blocking = "Impassable";
+ blockmonsters = "Block monster";
+ twosided = "Doublesided";
+ dontpegtop = "Upper unpegged";
+ dontpegbottom = "Lower unpegged";
+ secret = "Secret";
+ blocksound = "Block sound";
+ dontdraw = "Hidden";
+ mapped = "Shown";
+ passuse = "PassThru";
+ blockplayers = "Block players";
+ blocksight = "Block monster line of sight";
+ }
+
+ linedefflagtooltips
+ {
+ blocking = "If set on a 2-sided linedef, the linedef blocks players and monsters from being able to move through it. \nThis is typically used for mid-textured cage bars.\nBy convention, most doom-related software sets it for 1-sided lines by default because the\nid Software maps did, but it doesn't actually do anything.";
+ blockmonsters = "If set, blocks only monster movement.\n(in addition to whatever existing blocking properties it would have).";
+ twosided = "If set, then it has 2 sidedefs and acts as a connection between two sectors.";
+ dontpegtop = "If set:\nIf the linedef is 2-sided, the upper texture starts at the height of the higher ceiling.\nIf not set: and the linedef is 2-sided, the upper texture starts at the lower ceiling instead.\nIf the linedef is 1-sided, this does nothing.";
+ dontpegbottom = "If set: If the linedef is 2-sided, the lower texture starts at the height of the higher ceiling.\nIf not set: and the linedef is 2-sided, the upper texture starts at the higher floor instead.\nIf the linedef is 1-sided, this makes the mid texture start at floor instead of the ceiling.\nYou probably want to use this for door tracks if you don't want them to move with the door.";
+ secret = "If set, this flag prevents it from being marked as a switch or a door on the automap.";
+ blocksound = "If set, this linedef will partially block monster-waking sound from passing into the sector on the other side of it.\nNote that a sound must try to pass through two of these lines before being blocked.\nThis does not block the actual audio that the player hears at all, it is only for the monster AI.\nThis does nothing for 1-sided linedefs.";
+ dontdraw = "If set, this line is not shown on the automap even if you are looking directly at it";
+ mapped = "If set, this line is always revealed on the automap even if you haven't actually visited the area.";
+ passuse = "Normally, if you try to pull a switch or use a door, then players are only able to activate\nthe closest linedef with a special. When PassThru is set, your use reaches\nthrough and allows players to activate both this line and whatever is behind this\nline.\nThis does nothing for 1-sided lines because they always block use actions.\n\nNote that if someone plays your map on ZDoom-derived ports like GZDoom or Zandronum,\nthen PassThru will be true for walkover specials & scrollers even when this flag\nis not set, unless you set 'compat_useblocking' in MAPINFO.";
+ }
+
+ thingflags
+ {
+ skill1 = "Skill 1";
+ skill2 = "Skill 2";
+ skill3 = "Skill 3";
+ skill4 = "Skill 4";
+ skill5 = "Skill 5";
+ ambush = "Ambush";
+ single = "Singleplayer";
+ dm = "Deathmatch";
+ coop = "Cooperative";
+ friend = "Friendly";
+ }
+
+ thingflagtooltips
+ {
+ skill1 = "If set, this actor appears on 'I'm Too Young To Die' difficulty.";
+ skill2 = "If set, this actor appears on 'Hey, Not Too Rough' difficulty.";
+ skill3 = "If set, this actor appears on 'Hurt Me Plenty' difficulty.";
+ skill4 = "If set, this actor appears on 'Ultraviolence' difficulty.";
+ skill5 = "If set, this actor appears on 'Nightmare' difficulty.";
+ ambush = "If set, this actor does not wake up if it hears the player until the player comes within field of view\n(even if the actor is facing the away from the player).";
+ single = "If not set, the actor does not appear in singleplayer modes.";
+ dm = "If not set, the actor does not appear in deathmatch modes.";
+ coop = "If not set, the actor does not appear in co-op modes.";
+ friend = "If set, the actor is friendly to the player.\nIf it is a monster, it will attack other players.";
}
- DIALOGUE
+ // Default flags for first new thing
+ defaultthingflags
{
- required = false;
- nodebuild = false;
- script = "ZDoom_USDF.cfg";
+ skill1;
+ skill2;
+ skill3;
+ skill4;
+ skill5;
+ single;
+ coop;
+ dm;
+ }
+
+ // Default thing filters
+ // (these are not required, just useful for new users)
+ thingsfilters
+ {
+
+ filter0
+ {
+ name = "Keys only";
+ category = "keys";
+ type = -1;
+ }
+
+ filter1
+ {
+ name = "Deathmatch";
+ category = "";
+ type = -1;
+
+ fields
+ {
+ dm = true;
+ }
+ }
+
+ filter2
+ {
+ name = "Cooperative";
+ category = "";
+ type = -1;
+
+ fields
+ {
+ coop = true;
+ }
+ }
+
+ filter3
+ {
+ name = "Skill 1";
+ category = "";
+ type = -1;
+
+ fields
+ {
+ skill1 = true;
+ }
+ }
+
+ filter4
+ {
+ name = "Skill 2";
+ category = "";
+ type = -1;
+
+ fields
+ {
+ skill2 = true;
+ }
+ }
+
+ filter5
+ {
+ name = "Skill 3";
+ category = "";
+ type = -1;
+
+ fields
+ {
+ skill3 = true;
+ }
+ }
+
+ filter6
+ {
+ name = "Skill 4";
+ category = "";
+ type = -1;
+
+ fields
+ {
+ skill4 = true;
+ }
+ }
+
+ filter7
+ {
+ name = "Skill 5";
+ category = "";
+ type = -1;
+
+ fields
+ {
+ skill5 = true;
+ }
+ }
+ }
+
+
+ // How to compare thing flags (for the stuck things error checker)
+ thingflagscompare
+ {
+ skills
+ {
+ skill1;
+ skill2;
+ skill3;
+ skill4;
+ skill5;
+ }
+
+ gamemodes
+ {
+ single { requiredgroups = "skills"; }
+ coop { requiredgroups = "skills"; }
+ dm { ignoredgroups = "skills"; }
+ }
+ }
+
+ //mxd. Thing flags UDMF translation table
+ // This is needed for copy/paste and prefabs to work properly
+ // When the UDMF field name is prefixed with ! it is inverted
+ thingflagstranslation
+ {
+ include("Doom_misc.cfg", "thingflagstranslation");
}
- ZNODES
+ //mxd. Linedef flags UDMF translation table
+ // This is needed for copy/paste and prefabs to work properly
+ // When the UDMF field name is prefixed with ! it is inverted
+ linedefflagstranslation
{
- required = false;
- nodebuild = true;
- allowempty = false;
- }
-
- BLOCKMAP
+ include("Doom_misc.cfg", "linedefflagstranslation");
+ }
+
+
+ universalfields
{
- required = false;
- nodebuild = true;
- allowempty = true;
- }
-
- REJECT
- {
- required = false;
- nodebuild = true;
- allowempty = true;
- }
-
- SCRIPTS
- {
- required = false;
- nodebuild = false;
- script = "ZDoom_ACS.cfg";
+ linedef
+ {
+ comment
+ {
+ type = 2;
+ default = "";
+ }
+ }
+
+ sidedef
+ {
+ comment
+ {
+ type = 2;
+ default = "";
+ }
+
+ scalex_top
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ scalex_mid
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ scalex_bottom
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ scaley_top
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ scaley_mid
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ scaley_bottom
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ offsetx_top
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ offsetx_mid
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ offsetx_bottom
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ offsety_top
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ offsety_mid
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ offsety_bottom
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ }
+
+ thing
+ {
+ alpha
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ health
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ scalex
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ scaley
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ comment
+ {
+ type = 2;
+ default = "";
+ }
+
+ }
+
+ sector
+ {
+ comment
+ {
+ type = 2;
+ default = "";
+ }
+
+ ypanningfloor
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ ypanningceiling
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ xpanningfloor
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ xpanningceiling
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ yscalefloor
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ yscaleceiling
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ xscalefloor
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ xscaleceiling
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ gravity
+ {
+ type = 1;
+ default = 1.0f;
+ }
+
+ fadecolor
+ {
+ type = 10;
+ default = 0;
+ }
+
+ fogdensity
+ {
+ type = 0;
+ default = 0;
+ }
+
+ lightcolor
+ {
+ type = 10;
+ default = 0;
+ }
+
+ rotationfloor
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ rotationceiling
+ {
+ type = 1;
+ default = 0.0f;
+ }
+
+ }
}
}
-
enums
{
frontback
@@ -488,149 +841,3 @@ enums
}
}
-
-// Default thing filters
-// (these are not required, just usefull for new users)
-thingsfilters_udmf
-{
-
- filter0
- {
- name = "Keys only";
- category = "keys";
- type = -1;
- }
-
-
- filter2
- {
- name = "Skill 1";
- category = "";
- type = -1;
-
- fields
- {
- skill1 = true;
- }
-
- }
-
-
- filter3
- {
- name = "Skill 2";
- category = "";
- type = -1;
-
- fields
- {
- skill2 = true;
- }
-
- }
-
-
- filter4
- {
- name = "Skill 3";
- category = "";
- type = -1;
-
- fields
- {
- skill3 = true;
- }
-
- }
-
-
- filter5
- {
- name = "Skill 4";
- category = "";
- type = -1;
-
- fields
- {
- skill4 = true;
- }
-
- }
-
- /*
- filter6
- {
- name = "Skill 5";
- category = "";
- type = -1;
-
- fields
- {
- skill5 = true;
- }
-
- }
-
-
- filter7
- {
- name = "Skill 6";
- category = "";
- type = -1;
-
- fields
- {
- skill6 = true;
- }
-
- }
-
-
- filter8
- {
- name = "Skill 7";
- category = "";
- type = -1;
-
- fields
- {
- skill7 = true;
- }
-
- }
-
-
- filter9
- {
- name = "Skill 8";
- category = "";
- type = -1;
-
- fields
- {
- skill8 = true;
- }
-
- }
- */
-
-}
-
-
-// How thing flags should be compared (for the stuck thing error check)
-thingflagscompare_udmf
-{
- skills {
- skill6;
- skill7;
- skill8;
- }
-
- classes {
- class4;
- class5;
- class6;
- class7;
- class8;
- }
-}
\ No newline at end of file
diff --git a/Build/Configurations/Includes/EdgeC_sectors.cfg b/Build/Configurations/Includes/EdgeC_sectors.cfg
index b69478ac..6dbfe0cf 100644
--- a/Build/Configurations/Includes/EdgeC_sectors.cfg
+++ b/Build/Configurations/Includes/EdgeC_sectors.cfg
@@ -1,63 +1,108 @@
-29 = "Hub Entry";
-20 = "Airless";
-25 = "Lo Grav";
-4418 = "Water Liquid Extrafloor SCROLL/PUSH North";
-4419 = "Water Liquid Extrafloor SCROLL/PUSH North East";
-4420 = "Water Liquid Extrafloor SCROLL/PUSH East";
-4421 = "Water Liquid Extrafloor SCROLL/PUSH South East";
-4422 = "Water Liquid Extrafloor SCROLL/PUSH South";
-4423 = "Water Liquid Extrafloor SCROLL/PUSH South West";
-4424 = "Water Liquid Extrafloor SCROLL/PUSH West";
-4425 = "Water Liquid Extrafloor SCROLL/PUSH North West";
-4426 = "Slime Liquid Extrafloor SCROLL/PUSH North";
-4427 = "Slime Liquid Extrafloor SCROLL/PUSH North East";
-4428 = "Slime Liquid Extrafloor SCROLL/PUSH East";
-4429 = "Slime Liquid Extrafloor SCROLL/PUSH South East";
-4430 = "Slime Liquid Extrafloor SCROLL/PUSH South";
-4431 = "Slime Liquid Extrafloor SCROLL/PUSH South West";
-4432 = "Slime Liquid Extrafloor SCROLL/PUSH West";
-4433 = "Slime Liquid Extrafloor SCROLL/PUSH North West";
-4434 = "Lava Liquid Extrafloor SCROLL/PUSH North";
-4435 = "Lava Liquid Extrafloor SCROLL/PUSH North East";
-4436 = "Lava Liquid Extrafloor SCROLL/PUSH East";
-4437 = "Lava Liquid Extrafloor SCROLL/PUSH South East";
-4438 = "Lava Liquid Extrafloor SCROLL/PUSH South";
-4439 = "Lava Liquid Extrafloor SCROLL/PUSH South West";
-4440 = "Lava Liquid Extrafloor SCROLL/PUSH West";
-4441 = "Lava Liquid Extrafloor SCROLL/PUSH North West";
-4442 = "Push North";
-4443 = "Push North East";
-4444 = "Push East";
-4445 = "Push South East";
-4446 = "Push South";
-4447 = "Push South West";
-4448 = "Push West";
-4449 = "Push North West";
-4450 = "Scroll Floor Texture North";
-4451 = "Scroll Floor Texture North East";
-4452 = "Scroll Floor Texture East";
-4453 = "Scroll Floor Texture South East";
-4454 = "Scroll Floor Texture South";
-4455 = "Scroll Floor Texture South West";
-4456 = "Scroll Floor Texture West";
-4457 = "Scroll Floor Texture North West";
-4458 = "Scroll Floor Texture/Push North";
-4459 = "Scroll Floor Texture/Push North East";
-4460 = "Scroll Floor Texture/Push East";
-4461 = "Scroll Floor Texture/Push South East";
-4462 = "Scroll Floor Texture/Push South";
-4463 = "Scroll Floor Texture/Push South West";
-4464 = "Scroll Floor Texture/Push West";
-4465 = "Scroll Floor Texture/Push North West";
-4466 = "Blue Hue (Swimmable)";
-4467 = "Green Hue (Swimmable)";
-4468 = "Green Hue + Damage (Swimmable)";
-4469 = "Red Hue (Swimmable)";
-4470 = "Red Hue + Damage (Swimmable)";
-4471 = "Blue Hue";
-4472 = "Green Hue";
-4473 = "Red Hue";
-4474 = "Yellow Hue";
-4475 = "Purple Hue";
-4476 = "Grey Hue";
-
+29 = "Hub Entry";
+20 = "Airless";
+25 = "Lo Grav";
+4418 = "Water Liquid Extrafloor SCROLL/PUSH North";
+4419 = "Water Liquid Extrafloor SCROLL/PUSH North East";
+4420 = "Water Liquid Extrafloor SCROLL/PUSH East";
+4421 = "Water Liquid Extrafloor SCROLL/PUSH South East";
+4422 = "Water Liquid Extrafloor SCROLL/PUSH South";
+4423 = "Water Liquid Extrafloor SCROLL/PUSH South West";
+4424 = "Water Liquid Extrafloor SCROLL/PUSH West";
+4425 = "Water Liquid Extrafloor SCROLL/PUSH North West";
+4426 = "Slime Liquid Extrafloor SCROLL/PUSH North";
+4427 = "Slime Liquid Extrafloor SCROLL/PUSH North East";
+4428 = "Slime Liquid Extrafloor SCROLL/PUSH East";
+4429 = "Slime Liquid Extrafloor SCROLL/PUSH South East";
+4430 = "Slime Liquid Extrafloor SCROLL/PUSH South";
+4431 = "Slime Liquid Extrafloor SCROLL/PUSH South West";
+4432 = "Slime Liquid Extrafloor SCROLL/PUSH West";
+4433 = "Slime Liquid Extrafloor SCROLL/PUSH North West";
+4434 = "Lava Liquid Extrafloor SCROLL/PUSH North";
+4435 = "Lava Liquid Extrafloor SCROLL/PUSH North East";
+4436 = "Lava Liquid Extrafloor SCROLL/PUSH East";
+4437 = "Lava Liquid Extrafloor SCROLL/PUSH South East";
+4438 = "Lava Liquid Extrafloor SCROLL/PUSH South";
+4439 = "Lava Liquid Extrafloor SCROLL/PUSH South West";
+4440 = "Lava Liquid Extrafloor SCROLL/PUSH West";
+4441 = "Lava Liquid Extrafloor SCROLL/PUSH North West";
+4442 = "Push North";
+4443 = "Push North East";
+4444 = "Push East";
+4445 = "Push South East";
+4446 = "Push South";
+4447 = "Push South West";
+4448 = "Push West";
+4449 = "Push North West";
+4450 = "Scroll Floor Texture North";
+4451 = "Scroll Floor Texture North East";
+4452 = "Scroll Floor Texture East";
+4453 = "Scroll Floor Texture South East";
+4454 = "Scroll Floor Texture South";
+4455 = "Scroll Floor Texture South West";
+4456 = "Scroll Floor Texture West";
+4457 = "Scroll Floor Texture North West";
+4458 = "Scroll Floor Texture/Push North";
+4459 = "Scroll Floor Texture/Push North East";
+4460 = "Scroll Floor Texture/Push East";
+4461 = "Scroll Floor Texture/Push South East";
+4462 = "Scroll Floor Texture/Push South";
+4463 = "Scroll Floor Texture/Push South West";
+4464 = "Scroll Floor Texture/Push West";
+4465 = "Scroll Floor Texture/Push North West";
+4466 = "Blue Hue (Swimmable)";
+4467 = "Green Hue (Swimmable)";
+4468 = "Green Hue + Damage (Swimmable)";
+4469 = "Red Hue (Swimmable)";
+4470 = "Red Hue + Damage (Swimmable)";
+4471 = "Blue Hue";
+4472 = "Green Hue";
+4473 = "Red Hue";
+4474 = "Yellow Hue";
+4475 = "Purple Hue";
+4476 = "Grey Hue";
+4480 = "EDGE fog: White 5%";
+4481 = "EDGE fog: White 10%";
+4482 = "EDGE fog: White 15%";
+4483 = "EDGE fog: White 20%";
+4484 = "EDGE fog: White 25%";
+4485 = "EDGE fog: White 30%";
+4486 = "EDGE fog: White 35%";
+4487 = "EDGE fog: White 40%";
+4488 = "EDGE fog: White 45%";
+4489 = "EDGE fog: White 50%";
+4490 = "EDGE fog: Green 5%";
+4491 = "EDGE fog: Green 10%";
+4492 = "EDGE fog: Green 15%";
+4493 = "EDGE fog: Green 20%";
+4494 = "EDGE fog: Green 25%";
+4495 = "EDGE fog: Green 30%";
+4496 = "EDGE fog: Green 35%";
+4497 = "EDGE fog: Green 40%";
+4498 = "EDGE fog: Green 45%";
+4499 = "EDGE fog: Green 50%";
+4500 = "EDGE fog: Red 5%";
+4501 = "EDGE fog: Red 10%";
+4502 = "EDGE fog: Red 15%";
+4503 = "EDGE fog: Red 20%";
+4504 = "EDGE fog: Red 25%";
+4505 = "EDGE fog: Red 30%";
+4506 = "EDGE fog: Red 35%";
+4507 = "EDGE fog: Red 40%";
+4508 = "EDGE fog: Red 45%";
+4509 = "EDGE fog: Red 50%";
+4510 = "EDGE fog: Blue 5%";
+4511 = "EDGE fog: Blue 10%";
+4512 = "EDGE fog: Blue 15%";
+4513 = "EDGE fog: Blue 20%";
+4514 = "EDGE fog: Blue 25%";
+4515 = "EDGE fog: Blue 30%";
+4516 = "EDGE fog: Blue 35%";
+4517 = "EDGE fog: Blue 40%";
+4518 = "EDGE fog: Blue 45%";
+4519 = "EDGE fog: Blue 50%";
+4530 = "EDGE Friction: Slippy";
+4531 = "EDGE Friction: Very Slippy";
+4532 = "EDGE Viscosity: Sticky";
+4533 = "EDGE Viscosity: Very Sticky";
+
+
diff --git a/Build/Configurations/Includes/EdgeC_things.cfg b/Build/Configurations/Includes/EdgeC_things.cfg
index adb892e2..e6eee0f7 100644
--- a/Build/Configurations/Includes/EdgeC_things.cfg
+++ b/Build/Configurations/Includes/EdgeC_things.cfg
@@ -1,331 +1,360 @@
-
-
-EDGE_monsters
-{
- color = 12; // Light Red
- arrow = 1;
- title = "Edge: Monsters";
- width = 20;
- sort = 1;
- height = 56;
- hangs = 0;
- blocking = 1;
- error = 2;
-
-
- 4050
- {
- title = "Stealth Arachnotron";
- height = 32;
- }
-
- 4051
- {
- title = "Stealth Archvile";
- height = 32;
- }
-
- 4052
- {
- title = "Stealth Baron of Hell";
- height = 32;
- }
-
- 4053
- {
- title = "Stealth Cacodemon";
- height = 32;
- }
-
- 4054
- {
- title = "Stealth Heavy weapon dude";
- height = 32;
- }
-
- 4055
- {
- title = "Stealth Demon";
- height = 32;
- }
-
- 4056
- {
- title = "Stealth Hell knight";
- height = 32;
- }
-
- 4057
- {
- title = "Stealth Imp";
- height = 32;
- }
- 4058
- {
- title = "Stealth Mancubus";
- height = 32;
- }
-
- 4059
- {
- title = "Stealth Revenant";
- height = 32;
- }
-
- 4060
- {
- title = "Stealth Shotgun Guy";
- height = 32;
- }
-
- 4061
- {
- title = "Stealth Zombie man";
- height = 32;
- }
-
- 7100
- {
- title = "EDGE Revenant MKII";
- height = 32;
- }
-
- 7101
- {
- title = "EDGE Teleport spawner";
- height = 32;
- }
-
- 7102
- {
- title = "Arachnotron MKII";
- height = 32;
- }
-
- 7103
- {
- title = "Mancubus MKII";
- height = 32;
- }
-}
-
-
-edge_powerups
-{
- color = 9; // Light Blue
- arrow = 0;
- title = "EDGE: Powerups";
- width = 20;
- height = 20;
- hangs = 0;
- blocking = 0;
- sort = 1;
-
- 7000
- {
- title = "EDGE Nightvision Specs";
- sprite = "NVSCA0";
-
- }
-
- 7020
- {
- title = "EDGE Jetpack";
- sprite = "JPCKA0";
- }
-
- 7005
- {
- title = "EDGE Stop Time";
- sprite = "TSTPB0";
- }
-
-
-}
-
-edge_glowlights
-{
- color = 9; // Light Blue
- arrow = 0;
- title = "EDGE: Sector Light FX";
- sprite = "internal:light";
- width = 20;
- height = 20;
- hangs = 0;
- blocking = 0;
-
- 7041
- {
- title = "EDGE Nukage Glow";
- height = 32;
- }
-
- 7042
- {
- title = "EDGE Lava Glow";
- height = 32;
- }
-
- 7043
- {
- title = "EDGE Water Glow";
- height = 32;
- }
-}
-
-edge_lights
-{
- color = 9; // Light Blue
- arrow = 0;
- title = "EDGE: Lights";
- sprite = "internal:light";
- width = 8;
- height = 20;
- hangs = 0;
- blocking = 0;
-
- 7044
- {
- title = "White light: Floor";
- height = 32;
- color = 15;
- }
-
- 7045
- {
- title = "Yellow light: Floor";
- height = 32;
- color = 15;
- }
-
- 7046
- {
- title = "Red light: Floor";
- height = 32;
- color = 15;
- }
-
- 7047
- {
- title = "Blue light: Floor";
- height = 32;
- color = 15;
- }
-
- 7048
- {
- title = "Green light: Floor";
- height = 32;
- color = 15;
- }
-
- 7049
- {
- title = "Orange light: Floor";
- height = 32;
- color = 15;
- }
-
- 7054
- {
- title = "White light: Ceiling";
- height = 16;
- hangs = 1;
- color = 15;
- }
-
- 7055
- {
- title = "Yellow light: Ceiling";
- height = 16;
- hangs = 1;
- color = 15;
- }
-
- 7056
- {
- title = "Red light: Ceiling";
- height = 16;
- hangs = 1;
- color = 15;
- }
-
- 7057
- {
- title = "Blue light: Ceiling";
- height = 16;
- hangs = 1;
- color = 15;
- }
-
- 7058
- {
- title = "Green light: Ceiling";
- height = 16;
- hangs = 1;
- color = 15;
- }
-
- 7059
- {
- title = "Orange light: Ceiling";
- height = 16;
- hangs = 1;
- color = 15;
- }
-
-}
-
-
-
-edge_keys
-{
- color = 13; // Light Magenta
- arrow = 0;
- title = "EDGE: Keys";
- width = 20;
- sort = 1;
- height = 16;
- hangs = 0;
- blocking = 0;
-
- 7015
- {
- title = "Green keycard";
- sprite = "BKEYA0";
- }
- 7017
- {
- title = "Green skullkey";
- sprite = "BSKUB0";
- }
-}
-
-edge_armour
-{
- color = 1; // Blue
- arrow = 0;
- title = "EDGE: Armour";
- width = 20;
- sort = 1;
- height = 16;
- hangs = 0;
- blocking = 0;
-
- 7031
- {
- title = "Purple armor";
- sprite = "ARM1A0";
- }
- 7032
- {
- title = "Yellow armor";
- sprite = "ARM2A0";
- }
- 7033
- {
- title = "Red armor";
- sprite = "ARM2A0";
- }
-}
-
+
+
+EDGE_monsters
+{
+ color = 12; // Light Red
+ arrow = 1;
+ title = "EDGE: Monsters";
+ width = 20;
+ sort = 1;
+ height = 56;
+ hangs = 0;
+ blocking = 1;
+ error = 2;
+
+
+ 4050
+ {
+ title = "Stealth Arachnotron";
+ height = 32;
+ }
+
+ 4051
+ {
+ title = "Stealth Archvile";
+ height = 32;
+ }
+
+ 4052
+ {
+ title = "Stealth Baron of Hell";
+ height = 32;
+ }
+
+ 4053
+ {
+ title = "Stealth Cacodemon";
+ height = 32;
+ }
+
+ 4054
+ {
+ title = "Stealth Heavy weapon dude";
+ height = 32;
+ }
+
+ 4055
+ {
+ title = "Stealth Demon";
+ height = 32;
+ }
+
+ 4056
+ {
+ title = "Stealth Hell knight";
+ height = 32;
+ }
+
+ 4057
+ {
+ title = "Stealth Imp";
+ height = 32;
+ }
+ 4058
+ {
+ title = "Stealth Mancubus";
+ height = 32;
+ }
+
+ 4059
+ {
+ title = "Stealth Revenant";
+ height = 32;
+ }
+
+ 4060
+ {
+ title = "Stealth Shotgun Guy";
+ height = 32;
+ }
+
+ 4061
+ {
+ title = "Stealth Zombie man";
+ height = 32;
+ }
+
+ 7100
+ {
+ title = "EDGE Revenant MKII";
+ height = 32;
+ }
+
+ 7101
+ {
+ title = "EDGE Teleport spawner";
+ height = 32;
+ }
+
+ 7102
+ {
+ title = "Arachnotron MKII";
+ height = 32;
+ }
+
+ 7103
+ {
+ title = "Mancubus MKII";
+ height = 32;
+ }
+}
+
+
+edge_powerups
+{
+ color = 9; // Light Blue
+ arrow = 0;
+ title = "EDGE: Powerups";
+ width = 20;
+ height = 20;
+ hangs = 0;
+ blocking = 0;
+ sort = 1;
+
+ 7000
+ {
+ title = "EDGE Nightvision Specs";
+ sprite = "NVSCA0";
+
+ }
+
+ 7020
+ {
+ title = "EDGE Jetpack";
+ sprite = "JPCKA0";
+ }
+
+ 7005
+ {
+ title = "EDGE Stop Time";
+ sprite = "TSTPB0";
+ }
+
+
+}
+
+edge_glowlights
+{
+ color = 11; // Light Cyan
+ arrow = 0;
+ title = "EDGE: Sector Light FX";
+ sprite = "internal:light";
+ width = 16;
+ height = 16;
+ hangs = 0;
+ blocking = 0;
+
+ 7041
+ {
+ title = "EDGE Nukage Glow: Floor";
+ color = 10; // Light Green
+ }
+
+ 7042
+ {
+ title = "EDGE Lava Glow: Floor";
+ color = 12; // Light Red
+ }
+
+ 7043
+ {
+ title = "EDGE Water Glow: Floor";
+ color = 9; // Light Blue
+ }
+
+ 7070
+ {
+ title = "EDGE Nukage Glow: Wall";
+ color = 10; // Light Green
+ }
+
+ 7071
+ {
+ title = "EDGE Lava Glow: Wall";
+ color = 12; // Light Red
+ }
+
+ 7072
+ {
+ title = "EDGE Water Glow: Wall";
+ color = 9; // Light Blue
+ }
+
+ 7073
+ {
+ title = "EDGE White Glow: Wall";
+ color = 15; // White
+ }
+}
+
+edge_lights
+{
+ color = 11; // Light Cyan
+ arrow = 0;
+ title = "EDGE: Lights";
+ sprite = "internal:light";
+ width = 8;
+ height = 20;
+ hangs = 0;
+ blocking = 0;
+
+ 7044
+ {
+ title = "White light: Floor";
+ height = 32;
+ color = 15; // White
+ }
+
+ 7045
+ {
+ title = "Yellow light: Floor";
+ height = 32;
+ color = 14; // Yellow
+ }
+
+ 7046
+ {
+ title = "Red light: Floor";
+ height = 32;
+ color = 12; // Light Red
+ }
+
+ 7047
+ {
+ title = "Blue light: Floor";
+ height = 32;
+ color = 9; // Light Blue
+ }
+
+ 7048
+ {
+ title = "Green light: Floor";
+ height = 32;
+ color = 10; // Light Green
+ }
+
+ 7049
+ {
+ title = "Orange light: Floor";
+ height = 32;
+ color = 17; //Orange
+ }
+
+ 7054
+ {
+ title = "White light: Ceiling";
+ height = 16;
+ hangs = 1;
+ color = 15; // White
+ }
+
+ 7055
+ {
+ title = "Yellow light: Ceiling";
+ height = 16;
+ hangs = 1;
+ color = 14; // Yellow
+ }
+
+ 7056
+ {
+ title = "Red light: Ceiling";
+ height = 16;
+ hangs = 1;
+ color = 12; // Light Red
+ }
+
+ 7057
+ {
+ title = "Blue light: Ceiling";
+ height = 16;
+ hangs = 1;
+ color = 9; // Light Blue
+ }
+
+ 7058
+ {
+ title = "Green light: Ceiling";
+ height = 16;
+ hangs = 1;
+ color = 10; // Light Green
+ }
+
+ 7059
+ {
+ title = "Orange light: Ceiling";
+ height = 16;
+ hangs = 1;
+ color = 17; //Orange
+ }
+
+}
+
+
+
+edge_keys
+{
+ color = 13; // Light Magenta
+ arrow = 0;
+ title = "EDGE: Keys";
+ width = 20;
+ sort = 1;
+ height = 16;
+ hangs = 0;
+ blocking = 0;
+
+ 7015
+ {
+ title = "Green keycard";
+ sprite = "BKEYA0";
+ color = 10; // Light Green
+ }
+ 7017
+ {
+ title = "Green skullkey";
+ sprite = "BSKUB0";
+ color = 10; // Light Green
+ }
+}
+
+edge_armour
+{
+ color = 1; // Blue
+ arrow = 0;
+ title = "EDGE: Armour";
+ width = 20;
+ sort = 1;
+ height = 16;
+ hangs = 0;
+ blocking = 0;
+
+ 7031
+ {
+ title = "Purple armor";
+ sprite = "ARM1A0";
+ color = 13;
+ }
+ 7032
+ {
+ title = "Yellow armor";
+ sprite = "ARM2A0";
+ color = 14; // Yellow
+ }
+ 7033
+ {
+ title = "Red armor";
+ sprite = "ARM2A0";
+ color = 12; // Light Red
+ }
+}
+