This commit is contained in:
codeimp 2007-12-29 16:42:30 +00:00
parent fd4a6f1d8d
commit 9519e07093
8 changed files with 271 additions and 121 deletions

View file

@ -51,6 +51,8 @@ namespace CodeImp.DoomBuilder.Config
private int doublesidedflags;
private int impassableflags;
private bool mixtexturesflats;
private bool generalizedactions;
private bool generalizedeffects;
// Map lumps
private IDictionary maplumpnames;
@ -84,6 +86,8 @@ namespace CodeImp.DoomBuilder.Config
public int DoubleSidedFlags { get { return doublesidedflags; } }
public int ImpassableFlags { get { return impassableflags; } }
public bool MixTexturesFlats { get { return mixtexturesflats; } }
public bool GeneralizedActions { get { return generalizedactions; } }
public bool GeneralizedEffects { get { return generalizedeffects; } }
// Map lumps
public IDictionary MapLumpNames { get { return maplumpnames; } }
@ -131,6 +135,8 @@ namespace CodeImp.DoomBuilder.Config
doublesidedflags = cfg.ReadSetting("doublesidedflags", 0);
impassableflags = cfg.ReadSetting("impassableflags", 0);
mixtexturesflats = cfg.ReadSetting("mixtexturesflats", false);
generalizedactions = cfg.ReadSetting("generalizedlinedefs", false);
generalizedeffects = cfg.ReadSetting("generalizedsectors", false);
// Get map lumps
maplumpnames = cfg.ReadSetting("maplumpnames", new Hashtable());

View file

@ -199,7 +199,7 @@ namespace CodeImp.DoomBuilder.Interface
this.option7.Location = new System.Drawing.Point(118, 280);
this.option7.Name = "option7";
this.option7.Size = new System.Drawing.Size(199, 22);
this.option7.TabIndex = 17;
this.option7.TabIndex = 9;
this.option7.Visible = false;
//
// option7label
@ -219,7 +219,7 @@ namespace CodeImp.DoomBuilder.Interface
this.option6.Location = new System.Drawing.Point(118, 244);
this.option6.Name = "option6";
this.option6.Size = new System.Drawing.Size(199, 22);
this.option6.TabIndex = 15;
this.option6.TabIndex = 8;
this.option6.Visible = false;
//
// option6label
@ -239,7 +239,7 @@ namespace CodeImp.DoomBuilder.Interface
this.option5.Location = new System.Drawing.Point(118, 208);
this.option5.Name = "option5";
this.option5.Size = new System.Drawing.Size(199, 22);
this.option5.TabIndex = 13;
this.option5.TabIndex = 7;
this.option5.Visible = false;
//
// option5label
@ -259,7 +259,7 @@ namespace CodeImp.DoomBuilder.Interface
this.option4.Location = new System.Drawing.Point(118, 172);
this.option4.Name = "option4";
this.option4.Size = new System.Drawing.Size(199, 22);
this.option4.TabIndex = 11;
this.option4.TabIndex = 6;
this.option4.Visible = false;
//
// option4label
@ -279,7 +279,7 @@ namespace CodeImp.DoomBuilder.Interface
this.option3.Location = new System.Drawing.Point(118, 136);
this.option3.Name = "option3";
this.option3.Size = new System.Drawing.Size(199, 22);
this.option3.TabIndex = 9;
this.option3.TabIndex = 5;
this.option3.Visible = false;
//
// option3label
@ -299,7 +299,7 @@ namespace CodeImp.DoomBuilder.Interface
this.option2.Location = new System.Drawing.Point(118, 100);
this.option2.Name = "option2";
this.option2.Size = new System.Drawing.Size(199, 22);
this.option2.TabIndex = 7;
this.option2.TabIndex = 4;
this.option2.Visible = false;
//
// option2label
@ -319,7 +319,7 @@ namespace CodeImp.DoomBuilder.Interface
this.option1.Location = new System.Drawing.Point(118, 64);
this.option1.Name = "option1";
this.option1.Size = new System.Drawing.Size(199, 22);
this.option1.TabIndex = 5;
this.option1.TabIndex = 3;
this.option1.Visible = false;
//
// option1label
@ -339,7 +339,7 @@ namespace CodeImp.DoomBuilder.Interface
this.option0.Location = new System.Drawing.Point(118, 28);
this.option0.Name = "option0";
this.option0.Size = new System.Drawing.Size(199, 22);
this.option0.TabIndex = 3;
this.option0.TabIndex = 2;
this.option0.Visible = false;
//
// option0label
@ -359,7 +359,7 @@ namespace CodeImp.DoomBuilder.Interface
this.cancel.Location = new System.Drawing.Point(297, 459);
this.cancel.Name = "cancel";
this.cancel.Size = new System.Drawing.Size(112, 27);
this.cancel.TabIndex = 19;
this.cancel.TabIndex = 11;
this.cancel.Text = "Cancel";
this.cancel.UseVisualStyleBackColor = true;
this.cancel.Click += new System.EventHandler(this.cancel_Click);
@ -370,7 +370,7 @@ namespace CodeImp.DoomBuilder.Interface
this.apply.Location = new System.Drawing.Point(177, 459);
this.apply.Name = "apply";
this.apply.Size = new System.Drawing.Size(112, 27);
this.apply.TabIndex = 18;
this.apply.TabIndex = 10;
this.apply.Text = "OK";
this.apply.UseVisualStyleBackColor = true;
this.apply.Click += new System.EventHandler(this.apply_Click);
@ -380,10 +380,11 @@ namespace CodeImp.DoomBuilder.Interface
this.actions.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.actions.HideSelection = false;
this.actions.Location = new System.Drawing.Point(6, 52);
this.actions.Name = "actions";
this.actions.Size = new System.Drawing.Size(379, 351);
this.actions.TabIndex = 20;
this.actions.TabIndex = 0;
//
// tabs
//
@ -400,7 +401,7 @@ namespace CodeImp.DoomBuilder.Interface
this.tabs.SelectedIndex = 0;
this.tabs.Size = new System.Drawing.Size(399, 436);
this.tabs.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.tabs.TabIndex = 21;
this.tabs.TabIndex = 12;
//
// tabactions
//

View file

@ -107,35 +107,39 @@ namespace CodeImp.DoomBuilder.Interface
}
}
// Add for all generalized categories to the combobox
category.Items.AddRange(General.Map.Config.GenActionCategories.ToArray());
// Given action is generalized?
if(General.Map.Config.IsGeneralizedAction(action))
// Using generalized actions?
if(General.Map.Config.GeneralizedActions)
{
// Open the generalized tab
tabs.SelectedTab = tabgeneralized;
// Add for all generalized categories to the combobox
category.Items.AddRange(General.Map.Config.GenActionCategories.ToArray());
// Select category
foreach(GeneralActionCategory ac in category.Items)
if((action >= ac.Offset) && (action < (ac.Offset + ac.Length))) category.SelectedItem = ac;
// Anything selected?
if(category.SelectedIndex > -1)
// Given action is generalized?
if(General.Map.Config.IsGeneralizedAction(action))
{
// Go for all options in selected category
sc = category.SelectedItem as GeneralActionCategory;
actionbits = action - sc.Offset;
for(int i = 0; i < MAX_OPTIONS; i++)
// Open the generalized tab
tabs.SelectedTab = tabgeneralized;
// Select category
foreach(GeneralActionCategory ac in category.Items)
if((action >= ac.Offset) && (action < (ac.Offset + ac.Length))) category.SelectedItem = ac;
// Anything selected?
if(category.SelectedIndex > -1)
{
// Option used?
if(i < sc.Options.Count)
// Go for all options in selected category
sc = category.SelectedItem as GeneralActionCategory;
actionbits = action - sc.Offset;
for(int i = 0; i < MAX_OPTIONS; i++)
{
// Go for all bits
foreach(GeneralActionBit ab in sc.Options[i].Bits)
// Option used?
if(i < sc.Options.Count)
{
// Select this setting if matches
if((actionbits & ab.Index) == ab.Index) options[i].SelectedItem = ab;
// Go for all bits
foreach(GeneralActionBit ab in sc.Options[i].Bits)
{
// Select this setting if matches
if((actionbits & ab.Index) == ab.Index) options[i].SelectedItem = ab;
}
}
}
}
@ -143,8 +147,8 @@ namespace CodeImp.DoomBuilder.Interface
}
else
{
// Open the predefined tab
tabs.SelectedTab = tabactions;
// Remove generalized tab
tabs.TabPages.Remove(tabgeneralized);
}
}

View file

@ -168,6 +168,15 @@
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="category.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="label7.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="groupBox2.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>

View file

@ -73,69 +73,74 @@ namespace CodeImp.DoomBuilder.Interface
private void list_DrawItem(object sender, DrawItemEventArgs e)
{
INumberedTitle item;
Brush displaybrush;
Brush backbrush;
string displayname;
Brush displaybrush = SystemBrushes.WindowText;
Brush backbrush = SystemBrushes.Window;
string displayname = "";
int intnumber = 0;
// Unknow item?
if(e.Index < 0)
// Only when running
if(!this.DesignMode)
{
// Grayed
displaybrush = new SolidBrush(SystemColors.GrayText);
backbrush = new SolidBrush(SystemColors.Window);
// Try getting integral number
int.TryParse(number.Text, out intnumber);
// Check what to display
if(number.Text.Length == 0)
displayname = "";
else if(intnumber == 0)
displayname = "None";
else if(General.Map.Config.IsGeneralizedAction(intnumber))
displayname = "Generalized (" + General.Map.Config.GetGeneralizedActionCategory(intnumber) + ")";
else
displayname = "Unknown";
}
// In the display part of the combobox?
else if((e.State & DrawItemState.ComboBoxEdit) != 0)
{
// Show without number
item = (INumberedTitle)list.Items[e.Index];
displayname = item.Title.Trim();
// Determine colors to use
if(item.Index == 0)
// Unknow item?
if(e.Index < 0)
{
// Grayed
displaybrush = new SolidBrush(SystemColors.GrayText);
backbrush = new SolidBrush(SystemColors.Window);
}
else
{
// Normal color
displaybrush = new SolidBrush(list.ForeColor);
backbrush = new SolidBrush(SystemColors.Window);
}
}
else
{
// Use number and description
item = (INumberedTitle)list.Items[e.Index];
displayname = item.Index + NUMBER_SEPERATOR + item.Title;
// Determine colors to use
if((e.State & DrawItemState.Focus) != 0)
// Try getting integral number
int.TryParse(number.Text, out intnumber);
// Check what to display
if(number.Text.Length == 0)
displayname = "";
else if(intnumber == 0)
displayname = "None";
else if(General.Map.Config.IsGeneralizedAction(intnumber))
displayname = "Generalized (" + General.Map.Config.GetGeneralizedActionCategory(intnumber) + ")";
else
displayname = "Unknown";
}
// In the display part of the combobox?
else if((e.State & DrawItemState.ComboBoxEdit) != 0)
{
displaybrush = new SolidBrush(SystemColors.HighlightText);
backbrush = new SolidBrush(SystemColors.Highlight);
// Show without number
item = (INumberedTitle)list.Items[e.Index];
displayname = item.Title.Trim();
// Determine colors to use
if(item.Index == 0)
{
// Grayed
displaybrush = new SolidBrush(SystemColors.GrayText);
backbrush = new SolidBrush(SystemColors.Window);
}
else
{
// Normal color
displaybrush = new SolidBrush(list.ForeColor);
backbrush = new SolidBrush(SystemColors.Window);
}
}
else
{
displaybrush = new SolidBrush(list.ForeColor);
backbrush = new SolidBrush(SystemColors.Window);
// Use number and description
item = (INumberedTitle)list.Items[e.Index];
displayname = item.Index + NUMBER_SEPERATOR + item.Title;
// Determine colors to use
if((e.State & DrawItemState.Focus) != 0)
{
displaybrush = new SolidBrush(SystemColors.HighlightText);
backbrush = new SolidBrush(SystemColors.Highlight);
}
else
{
displaybrush = new SolidBrush(list.ForeColor);
backbrush = new SolidBrush(SystemColors.Window);
}
}
}
// Draw item

View file

@ -226,9 +226,9 @@ namespace CodeImp.DoomBuilder.Interface
//
// arg0label
//
this.arg0label.Location = new System.Drawing.Point(-36, 58);
this.arg0label.Location = new System.Drawing.Point(-18, 58);
this.arg0label.Name = "arg0label";
this.arg0label.Size = new System.Drawing.Size(143, 14);
this.arg0label.Size = new System.Drawing.Size(179, 14);
this.arg0label.TabIndex = 12;
this.arg0label.Text = "Argument 1:";
this.arg0label.TextAlign = System.Drawing.ContentAlignment.TopRight;
@ -236,9 +236,9 @@ namespace CodeImp.DoomBuilder.Interface
//
// arg1label
//
this.arg1label.Location = new System.Drawing.Point(-36, 84);
this.arg1label.Location = new System.Drawing.Point(-18, 84);
this.arg1label.Name = "arg1label";
this.arg1label.Size = new System.Drawing.Size(143, 14);
this.arg1label.Size = new System.Drawing.Size(179, 14);
this.arg1label.TabIndex = 14;
this.arg1label.Text = "Argument 2:";
this.arg1label.TextAlign = System.Drawing.ContentAlignment.TopRight;
@ -246,9 +246,9 @@ namespace CodeImp.DoomBuilder.Interface
//
// arg4label
//
this.arg4label.Location = new System.Drawing.Point(294, 58);
this.arg4label.Location = new System.Drawing.Point(192, 84);
this.arg4label.Name = "arg4label";
this.arg4label.Size = new System.Drawing.Size(143, 14);
this.arg4label.Size = new System.Drawing.Size(179, 14);
this.arg4label.TabIndex = 16;
this.arg4label.Text = "Argument 5:";
this.arg4label.TextAlign = System.Drawing.ContentAlignment.TopRight;
@ -256,9 +256,9 @@ namespace CodeImp.DoomBuilder.Interface
//
// arg2label
//
this.arg2label.Location = new System.Drawing.Point(130, 58);
this.arg2label.Location = new System.Drawing.Point(-18, 110);
this.arg2label.Name = "arg2label";
this.arg2label.Size = new System.Drawing.Size(143, 14);
this.arg2label.Size = new System.Drawing.Size(179, 14);
this.arg2label.TabIndex = 18;
this.arg2label.Text = "Argument 3:";
this.arg2label.TextAlign = System.Drawing.ContentAlignment.TopRight;
@ -266,9 +266,9 @@ namespace CodeImp.DoomBuilder.Interface
//
// arg3label
//
this.arg3label.Location = new System.Drawing.Point(130, 84);
this.arg3label.Location = new System.Drawing.Point(192, 58);
this.arg3label.Name = "arg3label";
this.arg3label.Size = new System.Drawing.Size(143, 14);
this.arg3label.Size = new System.Drawing.Size(179, 14);
this.arg3label.TabIndex = 20;
this.arg3label.Text = "Argument 4:";
this.arg3label.TextAlign = System.Drawing.ContentAlignment.TopRight;
@ -278,7 +278,7 @@ namespace CodeImp.DoomBuilder.Interface
//
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(439, 402);
this.cancel.Location = new System.Drawing.Point(439, 428);
this.cancel.Name = "cancel";
this.cancel.Size = new System.Drawing.Size(112, 25);
this.cancel.TabIndex = 17;
@ -289,7 +289,7 @@ namespace CodeImp.DoomBuilder.Interface
// 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(320, 402);
this.apply.Location = new System.Drawing.Point(320, 428);
this.apply.Name = "apply";
this.apply.Size = new System.Drawing.Size(112, 25);
this.apply.TabIndex = 16;
@ -308,7 +308,7 @@ namespace CodeImp.DoomBuilder.Interface
this.actiongroup.Controls.Add(this.doompanel);
this.actiongroup.Location = new System.Drawing.Point(8, 169);
this.actiongroup.Name = "actiongroup";
this.actiongroup.Size = new System.Drawing.Size(517, 171);
this.actiongroup.Size = new System.Drawing.Size(517, 197);
this.actiongroup.TabIndex = 18;
this.actiongroup.TabStop = false;
this.actiongroup.Text = " Action ";
@ -332,14 +332,14 @@ namespace CodeImp.DoomBuilder.Interface
this.hexenpanel.Controls.Add(this.arg4label);
this.hexenpanel.Location = new System.Drawing.Point(6, 54);
this.hexenpanel.Name = "hexenpanel";
this.hexenpanel.Size = new System.Drawing.Size(505, 111);
this.hexenpanel.Size = new System.Drawing.Size(505, 137);
this.hexenpanel.TabIndex = 13;
//
// arg3
//
this.arg3.AllowNegative = false;
this.arg3.AllowRelative = true;
this.arg3.Location = new System.Drawing.Point(279, 81);
this.arg3.Location = new System.Drawing.Point(377, 55);
this.arg3.Name = "arg3";
this.arg3.Size = new System.Drawing.Size(50, 20);
this.arg3.TabIndex = 21;
@ -348,7 +348,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.arg2.AllowNegative = false;
this.arg2.AllowRelative = true;
this.arg2.Location = new System.Drawing.Point(279, 55);
this.arg2.Location = new System.Drawing.Point(167, 107);
this.arg2.Name = "arg2";
this.arg2.Size = new System.Drawing.Size(50, 20);
this.arg2.TabIndex = 19;
@ -357,7 +357,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.arg4.AllowNegative = false;
this.arg4.AllowRelative = true;
this.arg4.Location = new System.Drawing.Point(443, 55);
this.arg4.Location = new System.Drawing.Point(377, 81);
this.arg4.Name = "arg4";
this.arg4.Size = new System.Drawing.Size(50, 20);
this.arg4.TabIndex = 17;
@ -366,7 +366,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.arg1.AllowNegative = false;
this.arg1.AllowRelative = true;
this.arg1.Location = new System.Drawing.Point(113, 81);
this.arg1.Location = new System.Drawing.Point(167, 81);
this.arg1.Name = "arg1";
this.arg1.Size = new System.Drawing.Size(50, 20);
this.arg1.TabIndex = 15;
@ -375,7 +375,7 @@ namespace CodeImp.DoomBuilder.Interface
//
this.arg0.AllowNegative = false;
this.arg0.AllowRelative = true;
this.arg0.Location = new System.Drawing.Point(113, 55);
this.arg0.Location = new System.Drawing.Point(167, 55);
this.arg0.Name = "arg0";
this.arg0.Size = new System.Drawing.Size(50, 20);
this.arg0.TabIndex = 13;
@ -424,7 +424,7 @@ namespace CodeImp.DoomBuilder.Interface
this.doompanel.Controls.Add(this.newtag);
this.doompanel.Location = new System.Drawing.Point(6, 54);
this.doompanel.Name = "doompanel";
this.doompanel.Size = new System.Drawing.Size(505, 111);
this.doompanel.Size = new System.Drawing.Size(505, 137);
this.doompanel.TabIndex = 12;
//
// tag
@ -488,7 +488,7 @@ namespace CodeImp.DoomBuilder.Interface
this.tabs.Margin = new System.Windows.Forms.Padding(1);
this.tabs.Name = "tabs";
this.tabs.SelectedIndex = 0;
this.tabs.Size = new System.Drawing.Size(541, 375);
this.tabs.Size = new System.Drawing.Size(541, 401);
this.tabs.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.tabs.TabIndex = 20;
//
@ -500,7 +500,7 @@ namespace CodeImp.DoomBuilder.Interface
this.tabPage1.Location = new System.Drawing.Point(4, 23);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(5);
this.tabPage1.Size = new System.Drawing.Size(533, 348);
this.tabPage1.Size = new System.Drawing.Size(533, 374);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Properties";
this.tabPage1.UseVisualStyleBackColor = true;
@ -515,7 +515,7 @@ namespace CodeImp.DoomBuilder.Interface
this.tabPage2.Location = new System.Drawing.Point(4, 23);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(5);
this.tabPage2.Size = new System.Drawing.Size(533, 348);
this.tabPage2.Size = new System.Drawing.Size(533, 374);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Sidedefs";
this.tabPage2.UseVisualStyleBackColor = true;
@ -523,7 +523,7 @@ namespace CodeImp.DoomBuilder.Interface
// backside
//
this.backside.AutoSize = true;
this.backside.Location = new System.Drawing.Point(20, 176);
this.backside.Location = new System.Drawing.Point(20, 188);
this.backside.Name = "backside";
this.backside.Size = new System.Drawing.Size(74, 18);
this.backside.TabIndex = 2;
@ -545,9 +545,9 @@ namespace CodeImp.DoomBuilder.Interface
this.backgroup.Controls.Add(label9);
this.backgroup.Controls.Add(label10);
this.backgroup.Enabled = false;
this.backgroup.Location = new System.Drawing.Point(8, 179);
this.backgroup.Location = new System.Drawing.Point(8, 191);
this.backgroup.Name = "backgroup";
this.backgroup.Size = new System.Drawing.Size(517, 161);
this.backgroup.Size = new System.Drawing.Size(517, 175);
this.backgroup.TabIndex = 1;
this.backgroup.TabStop = false;
this.backgroup.Text = " ";
@ -567,7 +567,7 @@ namespace CodeImp.DoomBuilder.Interface
this.backlow.Location = new System.Drawing.Point(416, 37);
this.backlow.Name = "backlow";
this.backlow.Required = false;
this.backlow.Size = new System.Drawing.Size(83, 107);
this.backlow.Size = new System.Drawing.Size(83, 120);
this.backlow.TabIndex = 15;
this.backlow.TextureName = "";
//
@ -576,7 +576,7 @@ namespace CodeImp.DoomBuilder.Interface
this.backmid.Location = new System.Drawing.Point(325, 37);
this.backmid.Name = "backmid";
this.backmid.Required = false;
this.backmid.Size = new System.Drawing.Size(83, 107);
this.backmid.Size = new System.Drawing.Size(83, 120);
this.backmid.TabIndex = 14;
this.backmid.TextureName = "";
//
@ -585,7 +585,7 @@ namespace CodeImp.DoomBuilder.Interface
this.backhigh.Location = new System.Drawing.Point(234, 37);
this.backhigh.Name = "backhigh";
this.backhigh.Required = false;
this.backhigh.Size = new System.Drawing.Size(83, 107);
this.backhigh.Size = new System.Drawing.Size(83, 120);
this.backhigh.TabIndex = 13;
this.backhigh.TextureName = "";
//
@ -636,7 +636,7 @@ namespace CodeImp.DoomBuilder.Interface
this.frontgroup.Enabled = false;
this.frontgroup.Location = new System.Drawing.Point(8, 8);
this.frontgroup.Name = "frontgroup";
this.frontgroup.Size = new System.Drawing.Size(517, 161);
this.frontgroup.Size = new System.Drawing.Size(517, 175);
this.frontgroup.TabIndex = 0;
this.frontgroup.TabStop = false;
this.frontgroup.Text = " ";
@ -656,7 +656,7 @@ namespace CodeImp.DoomBuilder.Interface
this.frontlow.Location = new System.Drawing.Point(416, 37);
this.frontlow.Name = "frontlow";
this.frontlow.Required = false;
this.frontlow.Size = new System.Drawing.Size(83, 107);
this.frontlow.Size = new System.Drawing.Size(83, 120);
this.frontlow.TabIndex = 12;
this.frontlow.TextureName = "";
//
@ -665,7 +665,7 @@ namespace CodeImp.DoomBuilder.Interface
this.frontmid.Location = new System.Drawing.Point(325, 37);
this.frontmid.Name = "frontmid";
this.frontmid.Required = false;
this.frontmid.Size = new System.Drawing.Size(83, 107);
this.frontmid.Size = new System.Drawing.Size(83, 120);
this.frontmid.TabIndex = 11;
this.frontmid.TextureName = "";
//
@ -674,7 +674,7 @@ namespace CodeImp.DoomBuilder.Interface
this.fronthigh.Location = new System.Drawing.Point(234, 37);
this.fronthigh.Name = "fronthigh";
this.fronthigh.Required = false;
this.fronthigh.Size = new System.Drawing.Size(83, 107);
this.fronthigh.Size = new System.Drawing.Size(83, 120);
this.fronthigh.TabIndex = 10;
this.fronthigh.TextureName = "";
//
@ -703,7 +703,7 @@ namespace CodeImp.DoomBuilder.Interface
this.AcceptButton = this.apply;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.CancelButton = this.cancel;
this.ClientSize = new System.Drawing.Size(561, 437);
this.ClientSize = new System.Drawing.Size(561, 463);
this.Controls.Add(this.tabs);
this.Controls.Add(this.cancel);
this.Controls.Add(this.apply);

View file

@ -593,7 +593,9 @@ namespace CodeImp.DoomBuilder.Interface
//
// PreferencesForm
//
this.AcceptButton = this.apply;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.CancelButton = this.cancel;
this.ClientSize = new System.Drawing.Size(619, 464);
this.Controls.Add(this.cancel);
this.Controls.Add(this.apply);

View file

@ -117,13 +117,136 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="label7.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label6.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="label6.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label5.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="label5.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="colorsgroup1.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorgrid64.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorgrid.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorassociations.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorsoundlinedefs.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorspeciallinedefs.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorbackcolor.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorselection.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorvertices.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorhighlight.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorlinedefs.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="cancel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="apply.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="tabs.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="tabinterface.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="tabkeys.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="listactions.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="actioncontrolpanel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="actioncontrol.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="actiontitle.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="actioncontrolclear.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="actionkey.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="actiondescription.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="tabcolors.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="blackbrowsers.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorsgroup3.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorconstants.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorliterals.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorscriptbackground.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorkeywords.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorlinenumbers.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorcomments.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorplaintext.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorsgroup2.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorselection3d.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorhighlight3d.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorcrosshair3d.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>