mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 12:50:52 +00:00
moo.
This commit is contained in:
parent
04d21101cf
commit
4897201a03
10 changed files with 416 additions and 49 deletions
|
@ -34,6 +34,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -46,6 +48,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -58,6 +62,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -70,6 +76,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -82,6 +90,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -94,6 +104,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -106,6 +118,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -118,6 +132,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -130,6 +146,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -142,6 +160,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -154,6 +174,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -166,6 +188,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -178,6 +202,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -190,6 +216,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -202,6 +230,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -214,6 +244,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -226,6 +258,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -238,6 +272,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
|
||||
|
@ -250,6 +286,8 @@ configurations
|
|||
{
|
||||
}
|
||||
|
||||
testprogram = "";
|
||||
testparameters = "";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ title = "ZenNode";
|
|||
// Parameter placeholders:
|
||||
// %F is the WAD file where the nodebuilder must read from
|
||||
// %T is the WAD file to which the nodebuilde writes its output (optional)
|
||||
// When %T is not specified, the nodebuilder should output to %F
|
||||
|
||||
// Settings used when saving a map
|
||||
savemap
|
||||
|
|
|
@ -5,6 +5,7 @@ title = "glBSP";
|
|||
// Parameter placeholders:
|
||||
// %F is the WAD file where the nodebuilder must read from
|
||||
// %T is the WAD file to which the nodebuilde writes its output (optional)
|
||||
// When %T is not specified, the nodebuilder should output to %F
|
||||
|
||||
// Settings used when saving a map
|
||||
savemap
|
||||
|
|
|
@ -88,6 +88,12 @@
|
|||
<Compile Include="Interface\OpenMapOptionsForm.Designer.cs">
|
||||
<DependentUpon>OpenMapOptionsForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Interface\ParametersForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Interface\ParametersForm.Designer.cs">
|
||||
<DependentUpon>ParametersForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Interface\ResourceListView.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
|
@ -142,6 +148,7 @@
|
|||
<Compile Include="Images\TextureImage.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="AxInterop.CodeSense, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL" />
|
||||
<Reference Include="SlimDX, Version=1.0.2813.30005, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9, processorArchitecture=x86" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
|
@ -193,6 +200,10 @@
|
|||
<SubType>Designer</SubType>
|
||||
<DependentUpon>DelayedForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Interface\ParametersForm.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>ParametersForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Interface\ResourceListEditor.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>ResourceListEditor.cs</DependentUpon>
|
||||
|
@ -201,21 +212,13 @@
|
|||
<None Include="Resources\Splash2.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<COMReference Include="AxCodeSense">
|
||||
<Guid>{665BF2B8-F41F-4EF4-A8D0-303FBFFC475E}</Guid>
|
||||
<VersionMajor>2</VersionMajor>
|
||||
<VersionMinor>0</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>aximp</WrapperTool>
|
||||
<Isolated>True</Isolated>
|
||||
</COMReference>
|
||||
<COMReference Include="CodeSense">
|
||||
<Guid>{665BF2B8-F41F-4EF4-A8D0-303FBFFC475E}</Guid>
|
||||
<VersionMajor>2</VersionMajor>
|
||||
<VersionMinor>0</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>tlbimp</WrapperTool>
|
||||
<Isolated>True</Isolated>
|
||||
<Isolated>False</Isolated>
|
||||
</COMReference>
|
||||
<COMReference Include="stdole">
|
||||
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace CodeImp.DoomBuilder
|
|||
private string nodebuilder;
|
||||
private bool buildonsave;
|
||||
private ResourceLocationList resources;
|
||||
private string testprogram;
|
||||
private string testparameters;
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -49,6 +51,8 @@ namespace CodeImp.DoomBuilder
|
|||
public string Nodebuilder { get { return nodebuilder; } }
|
||||
public bool BuildOnSave { get { return buildonsave; } }
|
||||
public ResourceLocationList Resources { get { return resources; } }
|
||||
public string TestProgram { get { return testprogram; } }
|
||||
public string TestParameters { get { return testparameters; } }
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -66,6 +70,8 @@ namespace CodeImp.DoomBuilder
|
|||
this.nodebuilder = General.Settings.ReadSetting("configurations." + settingskey + ".nodebuilder", "");
|
||||
this.buildonsave = General.Settings.ReadSetting("configurations." + settingskey + ".buildonsave", true);
|
||||
this.resources = new ResourceLocationList(General.Settings, "configurations." + settingskey + ".resources");
|
||||
this.testprogram = General.Settings.ReadSetting("configurations." + settingskey + ".testprogram", "");
|
||||
this.testparameters = General.Settings.ReadSetting("configurations." + settingskey + ".testparameters", "");
|
||||
}
|
||||
|
||||
// Constructor
|
||||
|
@ -91,6 +97,8 @@ namespace CodeImp.DoomBuilder
|
|||
General.Settings.WriteSetting("configurations." + settingskey + ".nodebuilder", nodebuilder);
|
||||
General.Settings.WriteSetting("configurations." + settingskey + ".buildonsave", buildonsave);
|
||||
resources.WriteToConfig(General.Settings, "configurations." + settingskey + ".resources");
|
||||
General.Settings.WriteSetting("configurations." + settingskey + ".testprogram", testprogram);
|
||||
General.Settings.WriteSetting("configurations." + settingskey + ".testparameters", testparameters);
|
||||
}
|
||||
|
||||
// String representation
|
||||
|
@ -110,6 +118,8 @@ namespace CodeImp.DoomBuilder
|
|||
ci.buildonsave = this.buildonsave;
|
||||
ci.resources = new ResourceLocationList();
|
||||
ci.resources.AddRange(this.resources);
|
||||
ci.testprogram = this.testprogram;
|
||||
ci.testparameters = this.testparameters;
|
||||
return ci;
|
||||
}
|
||||
|
||||
|
@ -123,6 +133,8 @@ namespace CodeImp.DoomBuilder
|
|||
this.buildonsave = ci.buildonsave;
|
||||
this.resources = new ResourceLocationList();
|
||||
this.resources.AddRange(ci.resources);
|
||||
this.testprogram = ci.testprogram;
|
||||
this.testparameters = ci.testparameters;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
143
Source/Interface/ConfigForm.Designer.cs
generated
143
Source/Interface/ConfigForm.Designer.cs
generated
|
@ -28,10 +28,12 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.Label label1;
|
||||
System.Windows.Forms.GroupBox groupBox1;
|
||||
System.Windows.Forms.Label label2;
|
||||
System.Windows.Forms.Label label3;
|
||||
System.Windows.Forms.GroupBox groupBox2;
|
||||
System.Windows.Forms.Label label1;
|
||||
System.Windows.Forms.Label label4;
|
||||
this.configbuildonsave = new System.Windows.Forms.CheckBox();
|
||||
this.confignodebuilder = new System.Windows.Forms.ComboBox();
|
||||
this.tabs = new System.Windows.Forms.TabControl();
|
||||
|
@ -43,37 +45,33 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.listconfigs = new System.Windows.Forms.ListBox();
|
||||
this.cancel = new System.Windows.Forms.Button();
|
||||
this.apply = new System.Windows.Forms.Button();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
this.browsewad = new System.Windows.Forms.Button();
|
||||
this.wadlocation = new System.Windows.Forms.TextBox();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
label3 = new System.Windows.Forms.Label();
|
||||
groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
label4 = new System.Windows.Forms.Label();
|
||||
groupBox1.SuspendLayout();
|
||||
this.tabs.SuspendLayout();
|
||||
this.tabconfigs.SuspendLayout();
|
||||
this.panelres.SuspendLayout();
|
||||
groupBox2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.Location = new System.Drawing.Point(16, 25);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(320, 46);
|
||||
label1.TabIndex = 1;
|
||||
label1.Text = "Select the nodebuilder options to use with this configuration.\r\nThe nodebuilder i" +
|
||||
"s a compiler that builds geometry structures in your map when saved and when usi" +
|
||||
"ng 3D mode.";
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
groupBox1.Controls.Add(this.configbuildonsave);
|
||||
groupBox1.Controls.Add(label2);
|
||||
groupBox1.Controls.Add(this.confignodebuilder);
|
||||
groupBox1.Controls.Add(label1);
|
||||
groupBox1.Location = new System.Drawing.Point(235, 11);
|
||||
groupBox1.Location = new System.Drawing.Point(235, 154);
|
||||
groupBox1.Name = "groupBox1";
|
||||
groupBox1.Size = new System.Drawing.Size(342, 144);
|
||||
groupBox1.Size = new System.Drawing.Size(342, 97);
|
||||
groupBox1.TabIndex = 2;
|
||||
groupBox1.TabStop = false;
|
||||
groupBox1.Text = " Nodebuilder";
|
||||
|
@ -81,35 +79,35 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
// configbuildonsave
|
||||
//
|
||||
this.configbuildonsave.AutoSize = true;
|
||||
this.configbuildonsave.Location = new System.Drawing.Point(102, 111);
|
||||
this.configbuildonsave.Location = new System.Drawing.Point(49, 62);
|
||||
this.configbuildonsave.Name = "configbuildonsave";
|
||||
this.configbuildonsave.Size = new System.Drawing.Size(201, 18);
|
||||
this.configbuildonsave.Size = new System.Drawing.Size(242, 18);
|
||||
this.configbuildonsave.TabIndex = 4;
|
||||
this.configbuildonsave.Text = "Build nodes every time when saving";
|
||||
this.configbuildonsave.Text = "Build nodes every time when saving the map";
|
||||
this.configbuildonsave.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new System.Drawing.Point(29, 81);
|
||||
label2.Location = new System.Drawing.Point(25, 31);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(67, 14);
|
||||
label2.Size = new System.Drawing.Size(74, 14);
|
||||
label2.TabIndex = 3;
|
||||
label2.Text = "Nodebuilder:";
|
||||
label2.Text = "Configuration:";
|
||||
//
|
||||
// confignodebuilder
|
||||
//
|
||||
this.confignodebuilder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.confignodebuilder.FormattingEnabled = true;
|
||||
this.confignodebuilder.Location = new System.Drawing.Point(102, 78);
|
||||
this.confignodebuilder.Location = new System.Drawing.Point(105, 28);
|
||||
this.confignodebuilder.Name = "confignodebuilder";
|
||||
this.confignodebuilder.Size = new System.Drawing.Size(217, 22);
|
||||
this.confignodebuilder.Size = new System.Drawing.Size(186, 22);
|
||||
this.confignodebuilder.TabIndex = 2;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
label3.Location = new System.Drawing.Point(14, 125);
|
||||
label3.Location = new System.Drawing.Point(14, 112);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new System.Drawing.Size(322, 22);
|
||||
label3.TabIndex = 17;
|
||||
|
@ -128,7 +126,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.tabs.Location = new System.Drawing.Point(12, 12);
|
||||
this.tabs.Name = "tabs";
|
||||
this.tabs.SelectedIndex = 0;
|
||||
this.tabs.Size = new System.Drawing.Size(595, 351);
|
||||
this.tabs.Size = new System.Drawing.Size(595, 399);
|
||||
this.tabs.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
||||
this.tabs.TabIndex = 0;
|
||||
//
|
||||
|
@ -156,13 +154,14 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
//
|
||||
// tabconfigs
|
||||
//
|
||||
this.tabconfigs.Controls.Add(groupBox2);
|
||||
this.tabconfigs.Controls.Add(this.panelres);
|
||||
this.tabconfigs.Controls.Add(groupBox1);
|
||||
this.tabconfigs.Controls.Add(this.listconfigs);
|
||||
this.tabconfigs.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tabconfigs.Location = new System.Drawing.Point(4, 23);
|
||||
this.tabconfigs.Name = "tabconfigs";
|
||||
this.tabconfigs.Size = new System.Drawing.Size(587, 324);
|
||||
this.tabconfigs.Size = new System.Drawing.Size(587, 372);
|
||||
this.tabconfigs.TabIndex = 2;
|
||||
this.tabconfigs.Text = "Configurations";
|
||||
this.tabconfigs.UseVisualStyleBackColor = true;
|
||||
|
@ -174,9 +173,9 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panelres.Controls.Add(this.resourcelocations);
|
||||
this.panelres.Controls.Add(label3);
|
||||
this.panelres.Location = new System.Drawing.Point(235, 161);
|
||||
this.panelres.Location = new System.Drawing.Point(235, 11);
|
||||
this.panelres.Name = "panelres";
|
||||
this.panelres.Size = new System.Drawing.Size(342, 150);
|
||||
this.panelres.Size = new System.Drawing.Size(342, 137);
|
||||
this.panelres.TabIndex = 12;
|
||||
this.panelres.TabStop = false;
|
||||
this.panelres.Text = " Resources ";
|
||||
|
@ -189,7 +188,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.resourcelocations.DialogOffset = new System.Drawing.Point(-120, -80);
|
||||
this.resourcelocations.Location = new System.Drawing.Point(14, 28);
|
||||
this.resourcelocations.Name = "resourcelocations";
|
||||
this.resourcelocations.Size = new System.Drawing.Size(313, 94);
|
||||
this.resourcelocations.Size = new System.Drawing.Size(313, 81);
|
||||
this.resourcelocations.TabIndex = 18;
|
||||
//
|
||||
// listconfigs
|
||||
|
@ -202,7 +201,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.listconfigs.ItemHeight = 14;
|
||||
this.listconfigs.Location = new System.Drawing.Point(11, 11);
|
||||
this.listconfigs.Name = "listconfigs";
|
||||
this.listconfigs.Size = new System.Drawing.Size(215, 300);
|
||||
this.listconfigs.Size = new System.Drawing.Size(212, 348);
|
||||
this.listconfigs.Sorted = true;
|
||||
this.listconfigs.TabIndex = 0;
|
||||
this.listconfigs.SelectedIndexChanged += new System.EventHandler(this.listconfigs_SelectedIndexChanged);
|
||||
|
@ -211,7 +210,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(495, 377);
|
||||
this.cancel.Location = new System.Drawing.Point(495, 425);
|
||||
this.cancel.Name = "cancel";
|
||||
this.cancel.Size = new System.Drawing.Size(112, 25);
|
||||
this.cancel.TabIndex = 17;
|
||||
|
@ -221,20 +220,90 @@ 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(377, 377);
|
||||
this.apply.Location = new System.Drawing.Point(377, 425);
|
||||
this.apply.Name = "apply";
|
||||
this.apply.Size = new System.Drawing.Size(112, 25);
|
||||
this.apply.TabIndex = 16;
|
||||
this.apply.Text = "OK";
|
||||
this.apply.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
groupBox2.Controls.Add(this.button1);
|
||||
groupBox2.Controls.Add(this.textBox1);
|
||||
groupBox2.Controls.Add(label4);
|
||||
groupBox2.Controls.Add(this.browsewad);
|
||||
groupBox2.Controls.Add(this.wadlocation);
|
||||
groupBox2.Controls.Add(label1);
|
||||
groupBox2.Location = new System.Drawing.Point(235, 257);
|
||||
groupBox2.Name = "groupBox2";
|
||||
groupBox2.Size = new System.Drawing.Size(342, 102);
|
||||
groupBox2.TabIndex = 13;
|
||||
groupBox2.TabStop = false;
|
||||
groupBox2.Text = " Testing ";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new System.Drawing.Point(25, 32);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(63, 14);
|
||||
label1.TabIndex = 4;
|
||||
label1.Text = "Application:";
|
||||
//
|
||||
// browsewad
|
||||
//
|
||||
this.browsewad.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.browsewad.Location = new System.Drawing.Point(297, 28);
|
||||
this.browsewad.Name = "browsewad";
|
||||
this.browsewad.Size = new System.Drawing.Size(30, 23);
|
||||
this.browsewad.TabIndex = 6;
|
||||
this.browsewad.Text = "...";
|
||||
this.browsewad.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// wadlocation
|
||||
//
|
||||
this.wadlocation.Location = new System.Drawing.Point(94, 29);
|
||||
this.wadlocation.Name = "wadlocation";
|
||||
this.wadlocation.ReadOnly = true;
|
||||
this.wadlocation.Size = new System.Drawing.Size(197, 20);
|
||||
this.wadlocation.TabIndex = 5;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Location = new System.Drawing.Point(23, 67);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new System.Drawing.Size(65, 14);
|
||||
label4.TabIndex = 7;
|
||||
label4.Text = "Parameters:";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(94, 64);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(197, 20);
|
||||
this.textBox1.TabIndex = 8;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button1.Location = new System.Drawing.Point(297, 63);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(30, 23);
|
||||
this.button1.TabIndex = 9;
|
||||
this.button1.Text = "...";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ConfigForm
|
||||
//
|
||||
this.AcceptButton = this.apply;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.cancel;
|
||||
this.ClientSize = new System.Drawing.Size(619, 413);
|
||||
this.ClientSize = new System.Drawing.Size(619, 461);
|
||||
this.Controls.Add(this.cancel);
|
||||
this.Controls.Add(this.apply);
|
||||
this.Controls.Add(this.tabs);
|
||||
|
@ -251,6 +320,8 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
this.tabs.ResumeLayout(false);
|
||||
this.tabconfigs.ResumeLayout(false);
|
||||
this.panelres.ResumeLayout(false);
|
||||
groupBox2.ResumeLayout(false);
|
||||
groupBox2.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
@ -268,5 +339,9 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
private System.Windows.Forms.CheckBox configbuildonsave;
|
||||
private System.Windows.Forms.GroupBox panelres;
|
||||
private ResourceListEditor resourcelocations;
|
||||
private System.Windows.Forms.Button browsewad;
|
||||
private System.Windows.Forms.TextBox wadlocation;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
}
|
||||
}
|
|
@ -117,12 +117,6 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="label1.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="groupBox1.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
|
@ -159,6 +153,36 @@
|
|||
<metadata name="tabconfigs.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="groupBox2.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="groupBox2.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="button1.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="textBox1.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="label4.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="label4.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="browsewad.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="wadlocation.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="label1.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="panelres.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
|
61
Source/Interface/ParametersForm.Designer.cs
generated
Normal file
61
Source/Interface/ParametersForm.Designer.cs
generated
Normal file
|
@ -0,0 +1,61 @@
|
|||
namespace CodeImp.DoomBuilder.Interface
|
||||
{
|
||||
partial class ParametersForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if(disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ParametersForm));
|
||||
this.axCodeSense1 = new AxCodeSense.AxCodeSense();
|
||||
((System.ComponentModel.ISupportInitialize)(this.axCodeSense1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// axCodeSense1
|
||||
//
|
||||
this.axCodeSense1.Location = new System.Drawing.Point(12, 182);
|
||||
this.axCodeSense1.Name = "axCodeSense1";
|
||||
this.axCodeSense1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axCodeSense1.OcxState")));
|
||||
this.axCodeSense1.Size = new System.Drawing.Size(458, 21);
|
||||
this.axCodeSense1.TabIndex = 0;
|
||||
//
|
||||
// ParametersForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(482, 273);
|
||||
this.Controls.Add(this.axCodeSense1);
|
||||
this.Name = "ParametersForm";
|
||||
this.Text = "ParametersForm";
|
||||
((System.ComponentModel.ISupportInitialize)(this.axCodeSense1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AxCodeSense.AxCodeSense axCodeSense1;
|
||||
}
|
||||
}
|
18
Source/Interface/ParametersForm.cs
Normal file
18
Source/Interface/ParametersForm.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CodeImp.DoomBuilder.Interface
|
||||
{
|
||||
public partial class ParametersForm : Form
|
||||
{
|
||||
public ParametersForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
134
Source/Interface/ParametersForm.resx
Normal file
134
Source/Interface/ParametersForm.resx
Normal file
|
@ -0,0 +1,134 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="axCodeSense1.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAewEAAAIB
|
||||
AAAAAQAAAAAAAAAAAAAAAGYBAAAFAAAAAAAAAAAAAQABAQAAAAAAAAAAAAIEAP////////8A////////
|
||||
//8AAAAA/////wAAAAD/////AAD/AP//////AAAA/////wAA/wD/////AIAAAP////+AAIAA/////wAA
|
||||
AAD//////wAAAP////+AAAAA/////wAA/wD/////AAAAAP///wD/////////////AADx////AAAAAAAA
|
||||
AAAAAAAAkAEAAAAAAAADAgExQ291cmllciBOZXcAAAAAAAAAAAAAAAAAAAAAAAAAAAAIABoAAABhAHgA
|
||||
QwBvAGQAZQBTAGUAbgBzAGUAMQAAAAgAAgAAAAAAAAAAAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAP////8AAAAAAAAAAAAAAQAAAgABAAEAAAAAAAAAAAAACgAAAAEAAAAAAAAAAQAAAP//
|
||||
//8CAAAAAAAAAFYvAAAsAgAACw==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in a new issue