Collisions editing progress

This commit is contained in:
dexy
2020-01-13 23:31:27 +11:00
Unverified
parent 741cf0ecfc
commit 3f24a234e6
11 changed files with 1116 additions and 711 deletions
+273 -403
View File
@@ -31,45 +31,28 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditYbnBoundPolyPanel));
this.PolyTabControl = new System.Windows.Forms.TabControl();
this.TriangleTabPage = new System.Windows.Forms.TabPage();
this.SphereTabPage = new System.Windows.Forms.TabPage();
this.CapsuleTabPage = new System.Windows.Forms.TabPage();
this.BoxTabPage = new System.Windows.Forms.TabPage();
this.CylinderTabPage = new System.Windows.Forms.TabPage();
this.TriFlag3CheckBox = new System.Windows.Forms.CheckBox();
this.TriFlag2CheckBox = new System.Windows.Forms.CheckBox();
this.TriFlag1CheckBox = new System.Windows.Forms.CheckBox();
this.TriVertex3TextBox = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.TriVertex2TextBox = new System.Windows.Forms.TextBox();
this.TriVertex1TextBox = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.TriAreaTextBox = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.TriEdge1UpDown = new System.Windows.Forms.NumericUpDown();
this.label7 = new System.Windows.Forms.Label();
this.TriEdge2UpDown = new System.Windows.Forms.NumericUpDown();
this.label3 = new System.Windows.Forms.Label();
this.TriEdge3UpDown = new System.Windows.Forms.NumericUpDown();
this.label4 = new System.Windows.Forms.Label();
this.TriFlag1CheckBox = new System.Windows.Forms.CheckBox();
this.TriFlag2CheckBox = new System.Windows.Forms.CheckBox();
this.TriFlag3CheckBox = new System.Windows.Forms.CheckBox();
this.MaterialTabControl = new System.Windows.Forms.TabControl();
this.MaterialTabPage = new System.Windows.Forms.TabPage();
this.SphereTabPage = new System.Windows.Forms.TabPage();
this.SphRadiusTextBox = new System.Windows.Forms.TextBox();
this.SphPositionTextBox = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.CapsuleTabPage = new System.Windows.Forms.TabPage();
this.CapRadiusTextBox = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.CapVertex2TextBox = new System.Windows.Forms.TextBox();
this.CapVertex1TextBox = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.CylRadiusTextBox = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.CylVertex2TextBox = new System.Windows.Forms.TextBox();
this.CylVertex1TextBox = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.BoxTabPage = new System.Windows.Forms.TabPage();
this.BoxVertex4TextBox = new System.Windows.Forms.TextBox();
this.label16 = new System.Windows.Forms.Label();
this.BoxVertex3TextBox = new System.Windows.Forms.TextBox();
@@ -78,8 +61,19 @@
this.BoxVertex1TextBox = new System.Windows.Forms.TextBox();
this.label18 = new System.Windows.Forms.Label();
this.label19 = new System.Windows.Forms.Label();
this.MatTypeCombo = new System.Windows.Forms.ComboBox();
this.label20 = new System.Windows.Forms.Label();
this.CylinderTabPage = new System.Windows.Forms.TabPage();
this.CylRadiusTextBox = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.CylVertex2TextBox = new System.Windows.Forms.TextBox();
this.CylVertex1TextBox = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.MaterialTabControl = new System.Windows.Forms.TabControl();
this.MaterialTabPage = new System.Windows.Forms.TabPage();
this.UpdateSharedMaterialCheckBox = new System.Windows.Forms.CheckBox();
this.MatFlagsCheckedListBox = new System.Windows.Forms.CheckedListBox();
this.MatColourUpDown = new System.Windows.Forms.NumericUpDown();
this.label25 = new System.Windows.Forms.Label();
this.MatUnkUpDown = new System.Windows.Forms.NumericUpDown();
this.label21 = new System.Windows.Forms.Label();
this.MatPedDensityUpDown = new System.Windows.Forms.NumericUpDown();
@@ -88,10 +82,8 @@
this.label23 = new System.Windows.Forms.Label();
this.MatProceduralIDUpDown = new System.Windows.Forms.NumericUpDown();
this.label24 = new System.Windows.Forms.Label();
this.MatColourUpDown = new System.Windows.Forms.NumericUpDown();
this.label25 = new System.Windows.Forms.Label();
this.MatFlagsCheckedListBox = new System.Windows.Forms.CheckedListBox();
this.UpdateSharedMaterialCheckBox = new System.Windows.Forms.CheckBox();
this.MatTypeCombo = new System.Windows.Forms.ComboBox();
this.label20 = new System.Windows.Forms.Label();
this.DeleteButton = new System.Windows.Forms.Button();
this.AddToProjectButton = new System.Windows.Forms.Button();
this.PolyTabControl.SuspendLayout();
@@ -100,16 +92,13 @@
this.CapsuleTabPage.SuspendLayout();
this.BoxTabPage.SuspendLayout();
this.CylinderTabPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.TriEdge1UpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.TriEdge2UpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.TriEdge3UpDown)).BeginInit();
this.MaterialTabControl.SuspendLayout();
this.MaterialTabPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.MatColourUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.MatUnkUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.MatPedDensityUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.MatRoomIDUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.MatProceduralIDUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.MatColourUpDown)).BeginInit();
this.SuspendLayout();
//
// PolyTabControl
@@ -124,7 +113,7 @@
this.PolyTabControl.Location = new System.Drawing.Point(0, 12);
this.PolyTabControl.Name = "PolyTabControl";
this.PolyTabControl.SelectedIndex = 0;
this.PolyTabControl.Size = new System.Drawing.Size(564, 213);
this.PolyTabControl.Size = new System.Drawing.Size(564, 137);
this.PolyTabControl.TabIndex = 0;
//
// TriangleTabPage
@@ -132,14 +121,6 @@
this.TriangleTabPage.Controls.Add(this.TriFlag3CheckBox);
this.TriangleTabPage.Controls.Add(this.TriFlag2CheckBox);
this.TriangleTabPage.Controls.Add(this.TriFlag1CheckBox);
this.TriangleTabPage.Controls.Add(this.TriEdge3UpDown);
this.TriangleTabPage.Controls.Add(this.label4);
this.TriangleTabPage.Controls.Add(this.TriEdge2UpDown);
this.TriangleTabPage.Controls.Add(this.label3);
this.TriangleTabPage.Controls.Add(this.TriEdge1UpDown);
this.TriangleTabPage.Controls.Add(this.label7);
this.TriangleTabPage.Controls.Add(this.TriAreaTextBox);
this.TriangleTabPage.Controls.Add(this.label2);
this.TriangleTabPage.Controls.Add(this.TriVertex3TextBox);
this.TriangleTabPage.Controls.Add(this.label1);
this.TriangleTabPage.Controls.Add(this.TriVertex2TextBox);
@@ -149,71 +130,43 @@
this.TriangleTabPage.Location = new System.Drawing.Point(4, 22);
this.TriangleTabPage.Name = "TriangleTabPage";
this.TriangleTabPage.Padding = new System.Windows.Forms.Padding(3);
this.TriangleTabPage.Size = new System.Drawing.Size(556, 187);
this.TriangleTabPage.Size = new System.Drawing.Size(556, 111);
this.TriangleTabPage.TabIndex = 0;
this.TriangleTabPage.Text = "Triangle";
this.TriangleTabPage.UseVisualStyleBackColor = true;
//
// SphereTabPage
// TriFlag3CheckBox
//
this.SphereTabPage.Controls.Add(this.SphRadiusTextBox);
this.SphereTabPage.Controls.Add(this.SphPositionTextBox);
this.SphereTabPage.Controls.Add(this.label6);
this.SphereTabPage.Controls.Add(this.label8);
this.SphereTabPage.Location = new System.Drawing.Point(4, 22);
this.SphereTabPage.Name = "SphereTabPage";
this.SphereTabPage.Padding = new System.Windows.Forms.Padding(3);
this.SphereTabPage.Size = new System.Drawing.Size(556, 185);
this.SphereTabPage.TabIndex = 1;
this.SphereTabPage.Text = "Sphere";
this.SphereTabPage.UseVisualStyleBackColor = true;
this.TriFlag3CheckBox.AutoSize = true;
this.TriFlag3CheckBox.Location = new System.Drawing.Point(223, 84);
this.TriFlag3CheckBox.Name = "TriFlag3CheckBox";
this.TriFlag3CheckBox.Size = new System.Drawing.Size(55, 17);
this.TriFlag3CheckBox.TabIndex = 23;
this.TriFlag3CheckBox.Text = "Flag 3";
this.TriFlag3CheckBox.UseVisualStyleBackColor = true;
this.TriFlag3CheckBox.CheckedChanged += new System.EventHandler(this.TriFlag3CheckBox_CheckedChanged);
//
// CapsuleTabPage
// TriFlag2CheckBox
//
this.CapsuleTabPage.Controls.Add(this.CapRadiusTextBox);
this.CapsuleTabPage.Controls.Add(this.label9);
this.CapsuleTabPage.Controls.Add(this.CapVertex2TextBox);
this.CapsuleTabPage.Controls.Add(this.CapVertex1TextBox);
this.CapsuleTabPage.Controls.Add(this.label10);
this.CapsuleTabPage.Controls.Add(this.label12);
this.CapsuleTabPage.Location = new System.Drawing.Point(4, 22);
this.CapsuleTabPage.Name = "CapsuleTabPage";
this.CapsuleTabPage.Size = new System.Drawing.Size(556, 185);
this.CapsuleTabPage.TabIndex = 2;
this.CapsuleTabPage.Text = "Capsule";
this.CapsuleTabPage.UseVisualStyleBackColor = true;
this.TriFlag2CheckBox.AutoSize = true;
this.TriFlag2CheckBox.Location = new System.Drawing.Point(162, 84);
this.TriFlag2CheckBox.Name = "TriFlag2CheckBox";
this.TriFlag2CheckBox.Size = new System.Drawing.Size(55, 17);
this.TriFlag2CheckBox.TabIndex = 22;
this.TriFlag2CheckBox.Text = "Flag 2";
this.TriFlag2CheckBox.UseVisualStyleBackColor = true;
this.TriFlag2CheckBox.CheckedChanged += new System.EventHandler(this.TriFlag2CheckBox_CheckedChanged);
//
// BoxTabPage
// TriFlag1CheckBox
//
this.BoxTabPage.Controls.Add(this.BoxVertex4TextBox);
this.BoxTabPage.Controls.Add(this.label16);
this.BoxTabPage.Controls.Add(this.BoxVertex3TextBox);
this.BoxTabPage.Controls.Add(this.label17);
this.BoxTabPage.Controls.Add(this.BoxVertex2TextBox);
this.BoxTabPage.Controls.Add(this.BoxVertex1TextBox);
this.BoxTabPage.Controls.Add(this.label18);
this.BoxTabPage.Controls.Add(this.label19);
this.BoxTabPage.Location = new System.Drawing.Point(4, 22);
this.BoxTabPage.Name = "BoxTabPage";
this.BoxTabPage.Size = new System.Drawing.Size(556, 185);
this.BoxTabPage.TabIndex = 3;
this.BoxTabPage.Text = "Box";
this.BoxTabPage.UseVisualStyleBackColor = true;
//
// CylinderTabPage
//
this.CylinderTabPage.Controls.Add(this.CylRadiusTextBox);
this.CylinderTabPage.Controls.Add(this.label13);
this.CylinderTabPage.Controls.Add(this.CylVertex2TextBox);
this.CylinderTabPage.Controls.Add(this.CylVertex1TextBox);
this.CylinderTabPage.Controls.Add(this.label14);
this.CylinderTabPage.Controls.Add(this.label15);
this.CylinderTabPage.Location = new System.Drawing.Point(4, 22);
this.CylinderTabPage.Name = "CylinderTabPage";
this.CylinderTabPage.Size = new System.Drawing.Size(556, 185);
this.CylinderTabPage.TabIndex = 4;
this.CylinderTabPage.Text = "Cylinder";
this.CylinderTabPage.UseVisualStyleBackColor = true;
this.TriFlag1CheckBox.AutoSize = true;
this.TriFlag1CheckBox.Location = new System.Drawing.Point(101, 84);
this.TriFlag1CheckBox.Name = "TriFlag1CheckBox";
this.TriFlag1CheckBox.Size = new System.Drawing.Size(55, 17);
this.TriFlag1CheckBox.TabIndex = 21;
this.TriFlag1CheckBox.Text = "Flag 1";
this.TriFlag1CheckBox.UseVisualStyleBackColor = true;
this.TriFlag1CheckBox.CheckedChanged += new System.EventHandler(this.TriFlag1CheckBox_CheckedChanged);
//
// TriVertex3TextBox
//
@@ -272,174 +225,19 @@
this.label5.TabIndex = 7;
this.label5.Text = "Vertex 1:";
//
// TriAreaTextBox
// SphereTabPage
//
this.TriAreaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.TriAreaTextBox.Location = new System.Drawing.Point(92, 84);
this.TriAreaTextBox.Name = "TriAreaTextBox";
this.TriAreaTextBox.Size = new System.Drawing.Size(457, 20);
this.TriAreaTextBox.TabIndex = 14;
this.TriAreaTextBox.TextChanged += new System.EventHandler(this.TriAreaTextBox_TextChanged);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(54, 87);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(32, 13);
this.label2.TabIndex = 13;
this.label2.Text = "Area:";
//
// TriEdge1UpDown
//
this.TriEdge1UpDown.Location = new System.Drawing.Point(92, 110);
this.TriEdge1UpDown.Maximum = new decimal(new int[] {
32767,
0,
0,
0});
this.TriEdge1UpDown.Minimum = new decimal(new int[] {
32767,
0,
0,
-2147483648});
this.TriEdge1UpDown.Name = "TriEdge1UpDown";
this.TriEdge1UpDown.Size = new System.Drawing.Size(89, 20);
this.TriEdge1UpDown.TabIndex = 16;
this.TriEdge1UpDown.ValueChanged += new System.EventHandler(this.TriEdge1UpDown_ValueChanged);
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(42, 112);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(44, 13);
this.label7.TabIndex = 15;
this.label7.Text = "Edge 1:";
//
// TriEdge2UpDown
//
this.TriEdge2UpDown.Location = new System.Drawing.Point(92, 136);
this.TriEdge2UpDown.Maximum = new decimal(new int[] {
32767,
0,
0,
0});
this.TriEdge2UpDown.Minimum = new decimal(new int[] {
32767,
0,
0,
-2147483648});
this.TriEdge2UpDown.Name = "TriEdge2UpDown";
this.TriEdge2UpDown.Size = new System.Drawing.Size(89, 20);
this.TriEdge2UpDown.TabIndex = 18;
this.TriEdge2UpDown.ValueChanged += new System.EventHandler(this.TriEdge2UpDown_ValueChanged);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(42, 138);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(44, 13);
this.label3.TabIndex = 17;
this.label3.Text = "Edge 2:";
//
// TriEdge3UpDown
//
this.TriEdge3UpDown.Location = new System.Drawing.Point(92, 162);
this.TriEdge3UpDown.Maximum = new decimal(new int[] {
32767,
0,
0,
0});
this.TriEdge3UpDown.Minimum = new decimal(new int[] {
32767,
0,
0,
-2147483648});
this.TriEdge3UpDown.Name = "TriEdge3UpDown";
this.TriEdge3UpDown.Size = new System.Drawing.Size(89, 20);
this.TriEdge3UpDown.TabIndex = 20;
this.TriEdge3UpDown.ValueChanged += new System.EventHandler(this.TriEdge3UpDown_ValueChanged);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(42, 164);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(44, 13);
this.label4.TabIndex = 19;
this.label4.Text = "Edge 3:";
//
// TriFlag1CheckBox
//
this.TriFlag1CheckBox.AutoSize = true;
this.TriFlag1CheckBox.Location = new System.Drawing.Point(224, 111);
this.TriFlag1CheckBox.Name = "TriFlag1CheckBox";
this.TriFlag1CheckBox.Size = new System.Drawing.Size(55, 17);
this.TriFlag1CheckBox.TabIndex = 21;
this.TriFlag1CheckBox.Text = "Flag 1";
this.TriFlag1CheckBox.UseVisualStyleBackColor = true;
this.TriFlag1CheckBox.CheckedChanged += new System.EventHandler(this.TriFlag1CheckBox_CheckedChanged);
//
// TriFlag2CheckBox
//
this.TriFlag2CheckBox.AutoSize = true;
this.TriFlag2CheckBox.Location = new System.Drawing.Point(224, 137);
this.TriFlag2CheckBox.Name = "TriFlag2CheckBox";
this.TriFlag2CheckBox.Size = new System.Drawing.Size(55, 17);
this.TriFlag2CheckBox.TabIndex = 22;
this.TriFlag2CheckBox.Text = "Flag 2";
this.TriFlag2CheckBox.UseVisualStyleBackColor = true;
this.TriFlag2CheckBox.CheckedChanged += new System.EventHandler(this.TriFlag2CheckBox_CheckedChanged);
//
// TriFlag3CheckBox
//
this.TriFlag3CheckBox.AutoSize = true;
this.TriFlag3CheckBox.Location = new System.Drawing.Point(224, 163);
this.TriFlag3CheckBox.Name = "TriFlag3CheckBox";
this.TriFlag3CheckBox.Size = new System.Drawing.Size(55, 17);
this.TriFlag3CheckBox.TabIndex = 23;
this.TriFlag3CheckBox.Text = "Flag 3";
this.TriFlag3CheckBox.UseVisualStyleBackColor = true;
this.TriFlag3CheckBox.CheckedChanged += new System.EventHandler(this.TriFlag3CheckBox_CheckedChanged);
//
// MaterialTabControl
//
this.MaterialTabControl.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.MaterialTabControl.Controls.Add(this.MaterialTabPage);
this.MaterialTabControl.Location = new System.Drawing.Point(0, 225);
this.MaterialTabControl.Name = "MaterialTabControl";
this.MaterialTabControl.SelectedIndex = 0;
this.MaterialTabControl.Size = new System.Drawing.Size(564, 279);
this.MaterialTabControl.TabIndex = 1;
//
// MaterialTabPage
//
this.MaterialTabPage.Controls.Add(this.UpdateSharedMaterialCheckBox);
this.MaterialTabPage.Controls.Add(this.MatFlagsCheckedListBox);
this.MaterialTabPage.Controls.Add(this.MatColourUpDown);
this.MaterialTabPage.Controls.Add(this.label25);
this.MaterialTabPage.Controls.Add(this.MatUnkUpDown);
this.MaterialTabPage.Controls.Add(this.label21);
this.MaterialTabPage.Controls.Add(this.MatPedDensityUpDown);
this.MaterialTabPage.Controls.Add(this.label22);
this.MaterialTabPage.Controls.Add(this.MatRoomIDUpDown);
this.MaterialTabPage.Controls.Add(this.label23);
this.MaterialTabPage.Controls.Add(this.MatProceduralIDUpDown);
this.MaterialTabPage.Controls.Add(this.label24);
this.MaterialTabPage.Controls.Add(this.MatTypeCombo);
this.MaterialTabPage.Controls.Add(this.label20);
this.MaterialTabPage.Location = new System.Drawing.Point(4, 22);
this.MaterialTabPage.Name = "MaterialTabPage";
this.MaterialTabPage.Padding = new System.Windows.Forms.Padding(3);
this.MaterialTabPage.Size = new System.Drawing.Size(556, 253);
this.MaterialTabPage.TabIndex = 0;
this.MaterialTabPage.Text = "Material";
this.MaterialTabPage.UseVisualStyleBackColor = true;
this.SphereTabPage.Controls.Add(this.SphRadiusTextBox);
this.SphereTabPage.Controls.Add(this.SphPositionTextBox);
this.SphereTabPage.Controls.Add(this.label6);
this.SphereTabPage.Controls.Add(this.label8);
this.SphereTabPage.Location = new System.Drawing.Point(4, 22);
this.SphereTabPage.Name = "SphereTabPage";
this.SphereTabPage.Padding = new System.Windows.Forms.Padding(3);
this.SphereTabPage.Size = new System.Drawing.Size(556, 128);
this.SphereTabPage.TabIndex = 1;
this.SphereTabPage.Text = "Sphere";
this.SphereTabPage.UseVisualStyleBackColor = true;
//
// SphRadiusTextBox
//
@@ -479,6 +277,21 @@
this.label8.TabIndex = 11;
this.label8.Text = "Position:";
//
// CapsuleTabPage
//
this.CapsuleTabPage.Controls.Add(this.CapRadiusTextBox);
this.CapsuleTabPage.Controls.Add(this.label9);
this.CapsuleTabPage.Controls.Add(this.CapVertex2TextBox);
this.CapsuleTabPage.Controls.Add(this.CapVertex1TextBox);
this.CapsuleTabPage.Controls.Add(this.label10);
this.CapsuleTabPage.Controls.Add(this.label12);
this.CapsuleTabPage.Location = new System.Drawing.Point(4, 22);
this.CapsuleTabPage.Name = "CapsuleTabPage";
this.CapsuleTabPage.Size = new System.Drawing.Size(556, 128);
this.CapsuleTabPage.TabIndex = 2;
this.CapsuleTabPage.Text = "Capsule";
this.CapsuleTabPage.UseVisualStyleBackColor = true;
//
// CapRadiusTextBox
//
this.CapRadiusTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -536,62 +349,22 @@
this.label12.TabIndex = 13;
this.label12.Text = "Vertex 1:";
//
// CylRadiusTextBox
// BoxTabPage
//
this.CylRadiusTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.CylRadiusTextBox.Location = new System.Drawing.Point(92, 58);
this.CylRadiusTextBox.Name = "CylRadiusTextBox";
this.CylRadiusTextBox.Size = new System.Drawing.Size(457, 20);
this.CylRadiusTextBox.TabIndex = 24;
this.CylRadiusTextBox.TextChanged += new System.EventHandler(this.CylRadiusTextBox_TextChanged);
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(37, 61);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(43, 13);
this.label13.TabIndex = 23;
this.label13.Text = "Radius:";
//
// CylVertex2TextBox
//
this.CylVertex2TextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.CylVertex2TextBox.Location = new System.Drawing.Point(92, 32);
this.CylVertex2TextBox.Name = "CylVertex2TextBox";
this.CylVertex2TextBox.Size = new System.Drawing.Size(457, 20);
this.CylVertex2TextBox.TabIndex = 22;
this.CylVertex2TextBox.TextChanged += new System.EventHandler(this.CylVertex2TextBox_TextChanged);
//
// CylVertex1TextBox
//
this.CylVertex1TextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.CylVertex1TextBox.Location = new System.Drawing.Point(92, 6);
this.CylVertex1TextBox.Name = "CylVertex1TextBox";
this.CylVertex1TextBox.Size = new System.Drawing.Size(457, 20);
this.CylVertex1TextBox.TabIndex = 20;
this.CylVertex1TextBox.TextChanged += new System.EventHandler(this.CylVertex1TextBox_TextChanged);
//
// label14
//
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(37, 35);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(49, 13);
this.label14.TabIndex = 21;
this.label14.Text = "Vertex 2:";
//
// label15
//
this.label15.AutoSize = true;
this.label15.Location = new System.Drawing.Point(37, 9);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(49, 13);
this.label15.TabIndex = 19;
this.label15.Text = "Vertex 1:";
this.BoxTabPage.Controls.Add(this.BoxVertex4TextBox);
this.BoxTabPage.Controls.Add(this.label16);
this.BoxTabPage.Controls.Add(this.BoxVertex3TextBox);
this.BoxTabPage.Controls.Add(this.label17);
this.BoxTabPage.Controls.Add(this.BoxVertex2TextBox);
this.BoxTabPage.Controls.Add(this.BoxVertex1TextBox);
this.BoxTabPage.Controls.Add(this.label18);
this.BoxTabPage.Controls.Add(this.label19);
this.BoxTabPage.Location = new System.Drawing.Point(4, 22);
this.BoxTabPage.Name = "BoxTabPage";
this.BoxTabPage.Size = new System.Drawing.Size(556, 111);
this.BoxTabPage.TabIndex = 3;
this.BoxTabPage.Text = "Box";
this.BoxTabPage.UseVisualStyleBackColor = true;
//
// BoxVertex4TextBox
//
@@ -669,23 +442,174 @@
this.label19.TabIndex = 15;
this.label19.Text = "Vertex 1:";
//
// MatTypeCombo
// CylinderTabPage
//
this.MatTypeCombo.FormattingEnabled = true;
this.MatTypeCombo.Location = new System.Drawing.Point(92, 6);
this.MatTypeCombo.Name = "MatTypeCombo";
this.MatTypeCombo.Size = new System.Drawing.Size(195, 21);
this.MatTypeCombo.TabIndex = 20;
this.MatTypeCombo.SelectedIndexChanged += new System.EventHandler(this.MatTypeCombo_SelectedIndexChanged);
this.CylinderTabPage.Controls.Add(this.CylRadiusTextBox);
this.CylinderTabPage.Controls.Add(this.label13);
this.CylinderTabPage.Controls.Add(this.CylVertex2TextBox);
this.CylinderTabPage.Controls.Add(this.CylVertex1TextBox);
this.CylinderTabPage.Controls.Add(this.label14);
this.CylinderTabPage.Controls.Add(this.label15);
this.CylinderTabPage.Location = new System.Drawing.Point(4, 22);
this.CylinderTabPage.Name = "CylinderTabPage";
this.CylinderTabPage.Size = new System.Drawing.Size(556, 128);
this.CylinderTabPage.TabIndex = 4;
this.CylinderTabPage.Text = "Cylinder";
this.CylinderTabPage.UseVisualStyleBackColor = true;
//
// label20
// CylRadiusTextBox
//
this.label20.AutoSize = true;
this.label20.Location = new System.Drawing.Point(39, 9);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(47, 13);
this.label20.TabIndex = 19;
this.label20.Text = "Material:";
this.CylRadiusTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.CylRadiusTextBox.Location = new System.Drawing.Point(92, 58);
this.CylRadiusTextBox.Name = "CylRadiusTextBox";
this.CylRadiusTextBox.Size = new System.Drawing.Size(457, 20);
this.CylRadiusTextBox.TabIndex = 24;
this.CylRadiusTextBox.TextChanged += new System.EventHandler(this.CylRadiusTextBox_TextChanged);
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(37, 61);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(43, 13);
this.label13.TabIndex = 23;
this.label13.Text = "Radius:";
//
// CylVertex2TextBox
//
this.CylVertex2TextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.CylVertex2TextBox.Location = new System.Drawing.Point(92, 32);
this.CylVertex2TextBox.Name = "CylVertex2TextBox";
this.CylVertex2TextBox.Size = new System.Drawing.Size(457, 20);
this.CylVertex2TextBox.TabIndex = 22;
this.CylVertex2TextBox.TextChanged += new System.EventHandler(this.CylVertex2TextBox_TextChanged);
//
// CylVertex1TextBox
//
this.CylVertex1TextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.CylVertex1TextBox.Location = new System.Drawing.Point(92, 6);
this.CylVertex1TextBox.Name = "CylVertex1TextBox";
this.CylVertex1TextBox.Size = new System.Drawing.Size(457, 20);
this.CylVertex1TextBox.TabIndex = 20;
this.CylVertex1TextBox.TextChanged += new System.EventHandler(this.CylVertex1TextBox_TextChanged);
//
// label14
//
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(37, 35);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(49, 13);
this.label14.TabIndex = 21;
this.label14.Text = "Vertex 2:";
//
// label15
//
this.label15.AutoSize = true;
this.label15.Location = new System.Drawing.Point(37, 9);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(49, 13);
this.label15.TabIndex = 19;
this.label15.Text = "Vertex 1:";
//
// MaterialTabControl
//
this.MaterialTabControl.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.MaterialTabControl.Controls.Add(this.MaterialTabPage);
this.MaterialTabControl.Location = new System.Drawing.Point(0, 151);
this.MaterialTabControl.Name = "MaterialTabControl";
this.MaterialTabControl.SelectedIndex = 0;
this.MaterialTabControl.Size = new System.Drawing.Size(564, 353);
this.MaterialTabControl.TabIndex = 1;
//
// MaterialTabPage
//
this.MaterialTabPage.Controls.Add(this.UpdateSharedMaterialCheckBox);
this.MaterialTabPage.Controls.Add(this.MatFlagsCheckedListBox);
this.MaterialTabPage.Controls.Add(this.MatColourUpDown);
this.MaterialTabPage.Controls.Add(this.label25);
this.MaterialTabPage.Controls.Add(this.MatUnkUpDown);
this.MaterialTabPage.Controls.Add(this.label21);
this.MaterialTabPage.Controls.Add(this.MatPedDensityUpDown);
this.MaterialTabPage.Controls.Add(this.label22);
this.MaterialTabPage.Controls.Add(this.MatRoomIDUpDown);
this.MaterialTabPage.Controls.Add(this.label23);
this.MaterialTabPage.Controls.Add(this.MatProceduralIDUpDown);
this.MaterialTabPage.Controls.Add(this.label24);
this.MaterialTabPage.Controls.Add(this.MatTypeCombo);
this.MaterialTabPage.Controls.Add(this.label20);
this.MaterialTabPage.Location = new System.Drawing.Point(4, 22);
this.MaterialTabPage.Name = "MaterialTabPage";
this.MaterialTabPage.Padding = new System.Windows.Forms.Padding(3);
this.MaterialTabPage.Size = new System.Drawing.Size(556, 327);
this.MaterialTabPage.TabIndex = 0;
this.MaterialTabPage.Text = "Material";
this.MaterialTabPage.UseVisualStyleBackColor = true;
//
// UpdateSharedMaterialCheckBox
//
this.UpdateSharedMaterialCheckBox.AutoSize = true;
this.UpdateSharedMaterialCheckBox.Location = new System.Drawing.Point(92, 172);
this.UpdateSharedMaterialCheckBox.Name = "UpdateSharedMaterialCheckBox";
this.UpdateSharedMaterialCheckBox.Size = new System.Drawing.Size(170, 17);
this.UpdateSharedMaterialCheckBox.TabIndex = 32;
this.UpdateSharedMaterialCheckBox.Text = "Update shared material on edit";
this.UpdateSharedMaterialCheckBox.UseVisualStyleBackColor = true;
//
// MatFlagsCheckedListBox
//
this.MatFlagsCheckedListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.MatFlagsCheckedListBox.CheckOnClick = true;
this.MatFlagsCheckedListBox.FormattingEnabled = true;
this.MatFlagsCheckedListBox.Items.AddRange(new object[] {
"0 - Stairs",
"1 - Not Climbable",
"2 - See Through",
"3 - Shoot Through",
"4 - Not Cover",
"5 - Walkable Path",
"6 - No Cam Collision",
"7 - Shoot Through FX",
"8 - No Decal",
"9 - No Navmesh",
"10 - No Ragdoll",
"11 - Vehicle Wheel",
"12 - No PTFX",
"13 - Too Steep for Player",
"14 - No Network Spawn",
"15 - No Cam Collision Allow Clipping"});
this.MatFlagsCheckedListBox.Location = new System.Drawing.Point(326, 6);
this.MatFlagsCheckedListBox.Name = "MatFlagsCheckedListBox";
this.MatFlagsCheckedListBox.Size = new System.Drawing.Size(223, 319);
this.MatFlagsCheckedListBox.TabIndex = 31;
this.MatFlagsCheckedListBox.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.MatFlagsCheckedListBox_ItemCheck);
//
// MatColourUpDown
//
this.MatColourUpDown.Location = new System.Drawing.Point(92, 33);
this.MatColourUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
this.MatColourUpDown.Name = "MatColourUpDown";
this.MatColourUpDown.Size = new System.Drawing.Size(64, 20);
this.MatColourUpDown.TabIndex = 22;
this.MatColourUpDown.ValueChanged += new System.EventHandler(this.MatColourUpDown_ValueChanged);
//
// label25
//
this.label25.AutoSize = true;
this.label25.Location = new System.Drawing.Point(6, 35);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(80, 13);
this.label25.TabIndex = 21;
this.label25.Text = "Material Colour:";
//
// MatUnkUpDown
//
@@ -775,66 +699,23 @@
this.label24.TabIndex = 23;
this.label24.Text = "Procedural ID:";
//
// MatColourUpDown
// MatTypeCombo
//
this.MatColourUpDown.Location = new System.Drawing.Point(92, 33);
this.MatColourUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
this.MatColourUpDown.Name = "MatColourUpDown";
this.MatColourUpDown.Size = new System.Drawing.Size(64, 20);
this.MatColourUpDown.TabIndex = 22;
this.MatColourUpDown.ValueChanged += new System.EventHandler(this.MatColourUpDown_ValueChanged);
this.MatTypeCombo.FormattingEnabled = true;
this.MatTypeCombo.Location = new System.Drawing.Point(92, 6);
this.MatTypeCombo.Name = "MatTypeCombo";
this.MatTypeCombo.Size = new System.Drawing.Size(195, 21);
this.MatTypeCombo.TabIndex = 20;
this.MatTypeCombo.SelectedIndexChanged += new System.EventHandler(this.MatTypeCombo_SelectedIndexChanged);
//
// label25
// label20
//
this.label25.AutoSize = true;
this.label25.Location = new System.Drawing.Point(6, 35);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(80, 13);
this.label25.TabIndex = 21;
this.label25.Text = "Material Colour:";
//
// MatFlagsCheckedListBox
//
this.MatFlagsCheckedListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.MatFlagsCheckedListBox.CheckOnClick = true;
this.MatFlagsCheckedListBox.FormattingEnabled = true;
this.MatFlagsCheckedListBox.Items.AddRange(new object[] {
"0 - Stairs",
"1 - Not Climbable",
"2 - See Through",
"3 - Shoot Through",
"4 - Not Cover",
"5 - Walkable Path",
"6 - No Cam Collision",
"7 - Shoot Through FX",
"8 - No Decal",
"9 - No Navmesh",
"10 - No Ragdoll",
"11 - Vehicle Wheel",
"12 - No PTFX",
"13 - Too Steep for Player",
"14 - No Network Spawn",
"15 - No Cam Collision Allow Clipping"});
this.MatFlagsCheckedListBox.Location = new System.Drawing.Point(326, 6);
this.MatFlagsCheckedListBox.Name = "MatFlagsCheckedListBox";
this.MatFlagsCheckedListBox.Size = new System.Drawing.Size(223, 244);
this.MatFlagsCheckedListBox.TabIndex = 31;
this.MatFlagsCheckedListBox.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.MatFlagsCheckedListBox_ItemCheck);
//
// UpdateSharedMaterialCheckBox
//
this.UpdateSharedMaterialCheckBox.AutoSize = true;
this.UpdateSharedMaterialCheckBox.Location = new System.Drawing.Point(92, 172);
this.UpdateSharedMaterialCheckBox.Name = "UpdateSharedMaterialCheckBox";
this.UpdateSharedMaterialCheckBox.Size = new System.Drawing.Size(170, 17);
this.UpdateSharedMaterialCheckBox.TabIndex = 32;
this.UpdateSharedMaterialCheckBox.Text = "Update shared material on edit";
this.UpdateSharedMaterialCheckBox.UseVisualStyleBackColor = true;
this.label20.AutoSize = true;
this.label20.Location = new System.Drawing.Point(39, 9);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(47, 13);
this.label20.TabIndex = 19;
this.label20.Text = "Material:";
//
// DeleteButton
//
@@ -881,17 +762,14 @@
this.BoxTabPage.PerformLayout();
this.CylinderTabPage.ResumeLayout(false);
this.CylinderTabPage.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.TriEdge1UpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.TriEdge2UpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.TriEdge3UpDown)).EndInit();
this.MaterialTabControl.ResumeLayout(false);
this.MaterialTabPage.ResumeLayout(false);
this.MaterialTabPage.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.MatColourUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.MatUnkUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.MatPedDensityUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.MatRoomIDUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.MatProceduralIDUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.MatColourUpDown)).EndInit();
this.ResumeLayout(false);
}
@@ -910,14 +788,6 @@
private System.Windows.Forms.TextBox TriVertex1TextBox;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox TriAreaTextBox;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.NumericUpDown TriEdge1UpDown;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.NumericUpDown TriEdge3UpDown;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.NumericUpDown TriEdge2UpDown;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckBox TriFlag3CheckBox;
private System.Windows.Forms.CheckBox TriFlag2CheckBox;
private System.Windows.Forms.CheckBox TriFlag1CheckBox;