diff --git a/AboutForm.Designer.cs b/AboutForm.Designer.cs index b3ef4ee..1cf69c4 100644 --- a/AboutForm.Designer.cs +++ b/AboutForm.Designer.cs @@ -37,7 +37,7 @@ // OkButton // this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.OkButton.Location = new System.Drawing.Point(317, 173); + this.OkButton.Location = new System.Drawing.Point(311, 177); this.OkButton.Name = "OkButton"; this.OkButton.Size = new System.Drawing.Size(75, 23); this.OkButton.TabIndex = 0; @@ -52,7 +52,7 @@ | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(12, 35); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(380, 164); + this.label1.Size = new System.Drawing.Size(374, 168); this.label1.TabIndex = 1; this.label1.Text = resources.GetString("label1.Text"); this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -64,7 +64,7 @@ this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(12, 9); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(380, 26); + this.label2.Size = new System.Drawing.Size(374, 26); this.label2.TabIndex = 2; this.label2.Text = "CodeWalker by dexyfex"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -73,7 +73,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(404, 208); + this.ClientSize = new System.Drawing.Size(398, 212); this.Controls.Add(this.label2); this.Controls.Add(this.OkButton); this.Controls.Add(this.label1); diff --git a/AboutForm.resx b/AboutForm.resx index 5b28ab9..5d8db52 100644 --- a/AboutForm.resx +++ b/AboutForm.resx @@ -125,7 +125,8 @@ Special thanks to: -- Neodymium -- tgascoigne -- CamxxCore -- -- Tadden -- Gramz -- Kai -- Vertigo -- HL -- Pouaichh -- -- Dilapidated -- dav90 -- Neos7 -- Jevi -- sollaholla -- --- The .White team -- CP -- Kilian -- PNWParksFan -- +-- The .White team -- CP -- Kilian -- PNWParksFan -- +-- Skylumz -- diff --git a/BinarySearchForm.Designer.cs b/BinarySearchForm.Designer.cs index c2aadf5..fb9ecd6 100644 --- a/BinarySearchForm.Designer.cs +++ b/BinarySearchForm.Designer.cs @@ -41,9 +41,11 @@ this.FolderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog(); this.MainTabControl = new System.Windows.Forms.TabControl(); this.SearchRPFTabPage = new System.Windows.Forms.TabPage(); + this.SearchFileSystemTab = new System.Windows.Forms.TabPage(); + this.MainStatusStrip = new System.Windows.Forms.StatusStrip(); + this.StatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + this.FileSearchPanel = new System.Windows.Forms.Panel(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); - this.RpfSearchOnlyTextBox = new System.Windows.Forms.TextBox(); - this.RpfSearchOnlyCheckBox = new System.Windows.Forms.CheckBox(); this.RpfSearchSaveResultsButton = new System.Windows.Forms.Button(); this.RpfSearchIgnoreTextBox = new System.Windows.Forms.TextBox(); this.RpfSearchIgnoreCheckBox = new System.Windows.Forms.CheckBox(); @@ -58,28 +60,26 @@ this.RpfSearchButton = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.RpfSearchTextBox = new System.Windows.Forms.TextBox(); - this.ExportCompressCheckBox = new System.Windows.Forms.CheckBox(); - this.ExportButton = new System.Windows.Forms.Button(); - this.FileInfoLabel = new System.Windows.Forms.Label(); + this.RpfSearchOnlyTextBox = new System.Windows.Forms.TextBox(); + this.RpfSearchOnlyCheckBox = new System.Windows.Forms.CheckBox(); this.ShowLargeFileContentsCheckBox = new System.Windows.Forms.CheckBox(); this.DataHexLineCombo = new System.Windows.Forms.ComboBox(); this.DataTextRadio = new System.Windows.Forms.RadioButton(); this.DataHexRadio = new System.Windows.Forms.RadioButton(); this.DataTextBox = new System.Windows.Forms.TextBox(); - this.SearchFileSystemTab = new System.Windows.Forms.TabPage(); - this.FileSearchPanel = new System.Windows.Forms.Panel(); - this.MainStatusStrip = new System.Windows.Forms.StatusStrip(); - this.StatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + this.FileInfoLabel = new System.Windows.Forms.Label(); this.SaveFileDialog = new System.Windows.Forms.SaveFileDialog(); + this.ExportCompressCheckBox = new System.Windows.Forms.CheckBox(); + this.ExportButton = new System.Windows.Forms.Button(); this.MainTabControl.SuspendLayout(); this.SearchRPFTabPage.SuspendLayout(); + this.SearchFileSystemTab.SuspendLayout(); + this.MainStatusStrip.SuspendLayout(); + this.FileSearchPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); - this.SearchFileSystemTab.SuspendLayout(); - this.FileSearchPanel.SuspendLayout(); - this.MainStatusStrip.SuspendLayout(); this.SuspendLayout(); // // FileSearchTextRadio @@ -87,7 +87,7 @@ this.FileSearchTextRadio.AutoSize = true; this.FileSearchTextRadio.Location = new System.Drawing.Point(162, 30); this.FileSearchTextRadio.Name = "FileSearchTextRadio"; - this.FileSearchTextRadio.Size = new System.Drawing.Size(48, 19); + this.FileSearchTextRadio.Size = new System.Drawing.Size(46, 17); this.FileSearchTextRadio.TabIndex = 45; this.FileSearchTextRadio.Text = "Text"; this.FileSearchTextRadio.UseVisualStyleBackColor = true; @@ -98,7 +98,7 @@ this.FileSearchHexRadio.Checked = true; this.FileSearchHexRadio.Location = new System.Drawing.Point(112, 30); this.FileSearchHexRadio.Name = "FileSearchHexRadio"; - this.FileSearchHexRadio.Size = new System.Drawing.Size(47, 19); + this.FileSearchHexRadio.Size = new System.Drawing.Size(44, 17); this.FileSearchHexRadio.TabIndex = 44; this.FileSearchHexRadio.TabStop = true; this.FileSearchHexRadio.Text = "Hex"; @@ -160,7 +160,7 @@ this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(3, 6); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(83, 15); + this.label2.Size = new System.Drawing.Size(73, 13); this.label2.TabIndex = 38; this.label2.Text = "Search folder:"; // @@ -196,6 +196,51 @@ this.SearchRPFTabPage.Text = "Search RPF contents"; this.SearchRPFTabPage.UseVisualStyleBackColor = true; // + // SearchFileSystemTab + // + this.SearchFileSystemTab.Controls.Add(this.FileSearchPanel); + this.SearchFileSystemTab.Controls.Add(this.FileSearchResultsTextBox); + this.SearchFileSystemTab.Location = new System.Drawing.Point(4, 22); + this.SearchFileSystemTab.Name = "SearchFileSystemTab"; + this.SearchFileSystemTab.Padding = new System.Windows.Forms.Padding(3); + this.SearchFileSystemTab.Size = new System.Drawing.Size(849, 499); + this.SearchFileSystemTab.TabIndex = 1; + this.SearchFileSystemTab.Text = "Search file system"; + this.SearchFileSystemTab.UseVisualStyleBackColor = true; + // + // MainStatusStrip + // + this.MainStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.StatusLabel}); + this.MainStatusStrip.Location = new System.Drawing.Point(0, 533); + this.MainStatusStrip.Name = "MainStatusStrip"; + this.MainStatusStrip.Size = new System.Drawing.Size(852, 22); + this.MainStatusStrip.TabIndex = 47; + this.MainStatusStrip.Text = "statusStrip1"; + // + // StatusLabel + // + this.StatusLabel.Name = "StatusLabel"; + this.StatusLabel.Size = new System.Drawing.Size(837, 17); + this.StatusLabel.Spring = true; + this.StatusLabel.Text = "Initialising..."; + this.StatusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // FileSearchPanel + // + this.FileSearchPanel.Controls.Add(this.FileSearchFolderTextBox); + this.FileSearchPanel.Controls.Add(this.FileSearchFolderBrowseButton); + this.FileSearchPanel.Controls.Add(this.FileSearchTextRadio); + this.FileSearchPanel.Controls.Add(this.FileSearchTextBox); + this.FileSearchPanel.Controls.Add(this.FileSearchButton); + this.FileSearchPanel.Controls.Add(this.FileSearchHexRadio); + this.FileSearchPanel.Controls.Add(this.FileSearchAbortButton); + this.FileSearchPanel.Controls.Add(this.label2); + this.FileSearchPanel.Location = new System.Drawing.Point(3, 6); + this.FileSearchPanel.Name = "FileSearchPanel"; + this.FileSearchPanel.Size = new System.Drawing.Size(536, 66); + this.FileSearchPanel.TabIndex = 46; + // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; @@ -234,28 +279,6 @@ this.splitContainer1.SplitterDistance = 270; this.splitContainer1.TabIndex = 1; // - // RpfSearchOnlyTextBox - // - this.RpfSearchOnlyTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.RpfSearchOnlyTextBox.Enabled = false; - this.RpfSearchOnlyTextBox.Location = new System.Drawing.Point(68, 92); - this.RpfSearchOnlyTextBox.Name = "RpfSearchOnlyTextBox"; - this.RpfSearchOnlyTextBox.Size = new System.Drawing.Size(198, 20); - this.RpfSearchOnlyTextBox.TabIndex = 66; - this.RpfSearchOnlyTextBox.Text = ".ysc, .rel"; - // - // RpfSearchOnlyCheckBox - // - this.RpfSearchOnlyCheckBox.AutoSize = true; - this.RpfSearchOnlyCheckBox.Location = new System.Drawing.Point(9, 94); - this.RpfSearchOnlyCheckBox.Name = "RpfSearchOnlyCheckBox"; - this.RpfSearchOnlyCheckBox.Size = new System.Drawing.Size(53, 19); - this.RpfSearchOnlyCheckBox.TabIndex = 65; - this.RpfSearchOnlyCheckBox.Text = "Only:"; - this.RpfSearchOnlyCheckBox.UseVisualStyleBackColor = true; - this.RpfSearchOnlyCheckBox.CheckedChanged += new System.EventHandler(this.RpfSearchOnlyCheckBox_CheckedChanged); - // // RpfSearchSaveResultsButton // this.RpfSearchSaveResultsButton.Enabled = false; @@ -284,7 +307,7 @@ this.RpfSearchIgnoreCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.RpfSearchIgnoreCheckBox.Location = new System.Drawing.Point(9, 70); this.RpfSearchIgnoreCheckBox.Name = "RpfSearchIgnoreCheckBox"; - this.RpfSearchIgnoreCheckBox.Size = new System.Drawing.Size(64, 19); + this.RpfSearchIgnoreCheckBox.Size = new System.Drawing.Size(59, 17); this.RpfSearchIgnoreCheckBox.TabIndex = 58; this.RpfSearchIgnoreCheckBox.Text = "Ignore:"; this.RpfSearchIgnoreCheckBox.UseVisualStyleBackColor = true; @@ -297,7 +320,7 @@ this.RpfSearchBothDirectionsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.RpfSearchBothDirectionsCheckBox.Location = new System.Drawing.Point(109, 48); this.RpfSearchBothDirectionsCheckBox.Name = "RpfSearchBothDirectionsCheckBox"; - this.RpfSearchBothDirectionsCheckBox.Size = new System.Drawing.Size(107, 19); + this.RpfSearchBothDirectionsCheckBox.Size = new System.Drawing.Size(96, 17); this.RpfSearchBothDirectionsCheckBox.TabIndex = 57; this.RpfSearchBothDirectionsCheckBox.Text = "Both directions"; this.RpfSearchBothDirectionsCheckBox.UseVisualStyleBackColor = true; @@ -307,7 +330,7 @@ this.RpfSearchCaseSensitiveCheckBox.AutoSize = true; this.RpfSearchCaseSensitiveCheckBox.Location = new System.Drawing.Point(9, 48); this.RpfSearchCaseSensitiveCheckBox.Name = "RpfSearchCaseSensitiveCheckBox"; - this.RpfSearchCaseSensitiveCheckBox.Size = new System.Drawing.Size(105, 19); + this.RpfSearchCaseSensitiveCheckBox.Size = new System.Drawing.Size(94, 17); this.RpfSearchCaseSensitiveCheckBox.TabIndex = 56; this.RpfSearchCaseSensitiveCheckBox.Text = "Case-sensitive"; this.RpfSearchCaseSensitiveCheckBox.UseVisualStyleBackColor = true; @@ -317,7 +340,7 @@ this.RpfSearchHexRadioButton.AutoSize = true; this.RpfSearchHexRadioButton.Location = new System.Drawing.Point(158, 5); this.RpfSearchHexRadioButton.Name = "RpfSearchHexRadioButton"; - this.RpfSearchHexRadioButton.Size = new System.Drawing.Size(47, 19); + this.RpfSearchHexRadioButton.Size = new System.Drawing.Size(44, 17); this.RpfSearchHexRadioButton.TabIndex = 55; this.RpfSearchHexRadioButton.Text = "Hex"; this.RpfSearchHexRadioButton.UseVisualStyleBackColor = true; @@ -328,7 +351,7 @@ this.RpfSearchTextRadioButton.Checked = true; this.RpfSearchTextRadioButton.Location = new System.Drawing.Point(106, 5); this.RpfSearchTextRadioButton.Name = "RpfSearchTextRadioButton"; - this.RpfSearchTextRadioButton.Size = new System.Drawing.Size(48, 19); + this.RpfSearchTextRadioButton.Size = new System.Drawing.Size(46, 17); this.RpfSearchTextRadioButton.TabIndex = 54; this.RpfSearchTextRadioButton.TabStop = true; this.RpfSearchTextRadioButton.Text = "Text"; @@ -390,7 +413,7 @@ this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(7, 7); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(104, 15); + this.label3.Size = new System.Drawing.Size(91, 13); this.label3.TabIndex = 64; this.label3.Text = "Search in files for:"; // @@ -403,43 +426,34 @@ this.RpfSearchTextBox.Size = new System.Drawing.Size(263, 20); this.RpfSearchTextBox.TabIndex = 53; // - // ExportCompressCheckBox + // RpfSearchOnlyTextBox // - this.ExportCompressCheckBox.AutoSize = true; - this.ExportCompressCheckBox.Location = new System.Drawing.Point(87, 35); - this.ExportCompressCheckBox.Name = "ExportCompressCheckBox"; - this.ExportCompressCheckBox.Size = new System.Drawing.Size(119, 19); - this.ExportCompressCheckBox.TabIndex = 112; - this.ExportCompressCheckBox.Text = "Compress export"; - this.ExportCompressCheckBox.UseVisualStyleBackColor = true; - // - // ExportButton - // - this.ExportButton.Location = new System.Drawing.Point(6, 31); - this.ExportButton.Name = "ExportButton"; - this.ExportButton.Size = new System.Drawing.Size(75, 23); - this.ExportButton.TabIndex = 111; - this.ExportButton.Text = "Export..."; - this.ExportButton.UseVisualStyleBackColor = true; - this.ExportButton.Click += new System.EventHandler(this.ExportButton_Click); - // - // FileInfoLabel - // - this.FileInfoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.RpfSearchOnlyTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.FileInfoLabel.AutoEllipsis = true; - this.FileInfoLabel.Location = new System.Drawing.Point(3, 7); - this.FileInfoLabel.Name = "FileInfoLabel"; - this.FileInfoLabel.Size = new System.Drawing.Size(549, 16); - this.FileInfoLabel.TabIndex = 110; - this.FileInfoLabel.Text = "[Nothing selected]"; + this.RpfSearchOnlyTextBox.Enabled = false; + this.RpfSearchOnlyTextBox.Location = new System.Drawing.Point(68, 92); + this.RpfSearchOnlyTextBox.Name = "RpfSearchOnlyTextBox"; + this.RpfSearchOnlyTextBox.Size = new System.Drawing.Size(198, 20); + this.RpfSearchOnlyTextBox.TabIndex = 66; + this.RpfSearchOnlyTextBox.Text = ".ysc, .rel"; + // + // RpfSearchOnlyCheckBox + // + this.RpfSearchOnlyCheckBox.AutoSize = true; + this.RpfSearchOnlyCheckBox.Location = new System.Drawing.Point(9, 94); + this.RpfSearchOnlyCheckBox.Name = "RpfSearchOnlyCheckBox"; + this.RpfSearchOnlyCheckBox.Size = new System.Drawing.Size(50, 17); + this.RpfSearchOnlyCheckBox.TabIndex = 65; + this.RpfSearchOnlyCheckBox.Text = "Only:"; + this.RpfSearchOnlyCheckBox.UseVisualStyleBackColor = true; + this.RpfSearchOnlyCheckBox.CheckedChanged += new System.EventHandler(this.RpfSearchOnlyCheckBox_CheckedChanged); // // ShowLargeFileContentsCheckBox // this.ShowLargeFileContentsCheckBox.AutoSize = true; this.ShowLargeFileContentsCheckBox.Location = new System.Drawing.Point(392, 62); this.ShowLargeFileContentsCheckBox.Name = "ShowLargeFileContentsCheckBox"; - this.ShowLargeFileContentsCheckBox.Size = new System.Drawing.Size(156, 19); + this.ShowLargeFileContentsCheckBox.Size = new System.Drawing.Size(139, 17); this.ShowLargeFileContentsCheckBox.TabIndex = 109; this.ShowLargeFileContentsCheckBox.Text = "Show large file contents"; this.ShowLargeFileContentsCheckBox.UseVisualStyleBackColor = true; @@ -464,7 +478,7 @@ this.DataTextRadio.AutoSize = true; this.DataTextRadio.Location = new System.Drawing.Point(135, 61); this.DataTextRadio.Name = "DataTextRadio"; - this.DataTextRadio.Size = new System.Drawing.Size(48, 19); + this.DataTextRadio.Size = new System.Drawing.Size(46, 17); this.DataTextRadio.TabIndex = 107; this.DataTextRadio.Text = "Text"; this.DataTextRadio.UseVisualStyleBackColor = true; @@ -475,7 +489,7 @@ this.DataHexRadio.Checked = true; this.DataHexRadio.Location = new System.Drawing.Point(6, 61); this.DataHexRadio.Name = "DataHexRadio"; - this.DataHexRadio.Size = new System.Drawing.Size(47, 19); + this.DataHexRadio.Size = new System.Drawing.Size(44, 17); this.DataHexRadio.TabIndex = 105; this.DataHexRadio.TabStop = true; this.DataHexRadio.Text = "Hex"; @@ -498,55 +512,41 @@ this.DataTextBox.Text = "[Please select a search result]"; this.DataTextBox.WordWrap = false; // - // SearchFileSystemTab + // FileInfoLabel // - this.SearchFileSystemTab.Controls.Add(this.FileSearchPanel); - this.SearchFileSystemTab.Controls.Add(this.FileSearchResultsTextBox); - this.SearchFileSystemTab.Location = new System.Drawing.Point(4, 22); - this.SearchFileSystemTab.Name = "SearchFileSystemTab"; - this.SearchFileSystemTab.Padding = new System.Windows.Forms.Padding(3); - this.SearchFileSystemTab.Size = new System.Drawing.Size(838, 499); - this.SearchFileSystemTab.TabIndex = 1; - this.SearchFileSystemTab.Text = "Search file system"; - this.SearchFileSystemTab.UseVisualStyleBackColor = true; - // - // FileSearchPanel - // - this.FileSearchPanel.Controls.Add(this.FileSearchFolderTextBox); - this.FileSearchPanel.Controls.Add(this.FileSearchFolderBrowseButton); - this.FileSearchPanel.Controls.Add(this.FileSearchTextRadio); - this.FileSearchPanel.Controls.Add(this.FileSearchTextBox); - this.FileSearchPanel.Controls.Add(this.FileSearchButton); - this.FileSearchPanel.Controls.Add(this.FileSearchHexRadio); - this.FileSearchPanel.Controls.Add(this.FileSearchAbortButton); - this.FileSearchPanel.Controls.Add(this.label2); - this.FileSearchPanel.Location = new System.Drawing.Point(3, 6); - this.FileSearchPanel.Name = "FileSearchPanel"; - this.FileSearchPanel.Size = new System.Drawing.Size(536, 66); - this.FileSearchPanel.TabIndex = 46; - // - // MainStatusStrip - // - this.MainStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.StatusLabel}); - this.MainStatusStrip.Location = new System.Drawing.Point(0, 533); - this.MainStatusStrip.Name = "MainStatusStrip"; - this.MainStatusStrip.Size = new System.Drawing.Size(852, 22); - this.MainStatusStrip.TabIndex = 47; - this.MainStatusStrip.Text = "statusStrip1"; - // - // StatusLabel - // - this.StatusLabel.Name = "StatusLabel"; - this.StatusLabel.Size = new System.Drawing.Size(806, 17); - this.StatusLabel.Spring = true; - this.StatusLabel.Text = "Initialising..."; - this.StatusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.FileInfoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.FileInfoLabel.AutoEllipsis = true; + this.FileInfoLabel.Location = new System.Drawing.Point(3, 7); + this.FileInfoLabel.Name = "FileInfoLabel"; + this.FileInfoLabel.Size = new System.Drawing.Size(549, 16); + this.FileInfoLabel.TabIndex = 110; + this.FileInfoLabel.Text = "[Nothing selected]"; // // SaveFileDialog // this.SaveFileDialog.AddExtension = false; // + // ExportCompressCheckBox + // + this.ExportCompressCheckBox.AutoSize = true; + this.ExportCompressCheckBox.Location = new System.Drawing.Point(87, 35); + this.ExportCompressCheckBox.Name = "ExportCompressCheckBox"; + this.ExportCompressCheckBox.Size = new System.Drawing.Size(104, 17); + this.ExportCompressCheckBox.TabIndex = 112; + this.ExportCompressCheckBox.Text = "Compress export"; + this.ExportCompressCheckBox.UseVisualStyleBackColor = true; + // + // ExportButton + // + this.ExportButton.Location = new System.Drawing.Point(6, 31); + this.ExportButton.Name = "ExportButton"; + this.ExportButton.Size = new System.Drawing.Size(75, 23); + this.ExportButton.TabIndex = 111; + this.ExportButton.Text = "Export..."; + this.ExportButton.UseVisualStyleBackColor = true; + this.ExportButton.Click += new System.EventHandler(this.ExportButton_Click); + // // BinarySearchForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -560,18 +560,18 @@ this.Load += new System.EventHandler(this.BinarySearchForm_Load); this.MainTabControl.ResumeLayout(false); this.SearchRPFTabPage.ResumeLayout(false); + this.SearchFileSystemTab.ResumeLayout(false); + this.SearchFileSystemTab.PerformLayout(); + this.MainStatusStrip.ResumeLayout(false); + this.MainStatusStrip.PerformLayout(); + this.FileSearchPanel.ResumeLayout(false); + this.FileSearchPanel.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel1.PerformLayout(); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); - this.SearchFileSystemTab.ResumeLayout(false); - this.SearchFileSystemTab.PerformLayout(); - this.FileSearchPanel.ResumeLayout(false); - this.FileSearchPanel.PerformLayout(); - this.MainStatusStrip.ResumeLayout(false); - this.MainStatusStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -592,6 +592,7 @@ private System.Windows.Forms.TabControl MainTabControl; private System.Windows.Forms.TabPage SearchRPFTabPage; private System.Windows.Forms.TabPage SearchFileSystemTab; + private System.Windows.Forms.StatusStrip MainStatusStrip; private System.Windows.Forms.ToolStripStatusLabel StatusLabel; private System.Windows.Forms.Panel FileSearchPanel; private System.Windows.Forms.SplitContainer splitContainer1; @@ -620,6 +621,5 @@ private System.Windows.Forms.SaveFileDialog SaveFileDialog; private System.Windows.Forms.CheckBox ExportCompressCheckBox; private System.Windows.Forms.Button ExportButton; - public System.Windows.Forms.StatusStrip MainStatusStrip; } } \ No newline at end of file diff --git a/BinarySearchForm.cs b/BinarySearchForm.cs index 2ff136c..5533f53 100644 --- a/BinarySearchForm.cs +++ b/BinarySearchForm.cs @@ -53,6 +53,10 @@ namespace CodeWalker } } + + + + private void UpdateStatus(string text) { try diff --git a/CodeWalker.Core/GameFiles/FileTypes/YnvFile.cs b/CodeWalker.Core/GameFiles/FileTypes/YnvFile.cs index 1fd6ea1..8118c79 100644 --- a/CodeWalker.Core/GameFiles/FileTypes/YnvFile.cs +++ b/CodeWalker.Core/GameFiles/FileTypes/YnvFile.cs @@ -116,6 +116,14 @@ namespace CodeWalker.GameFiles poly.Index = i; poly.CalculatePosition(); //calc poly center for display purposes.. Polys.Add(poly); + + if (poly.PortalType > 0) + { + if (poly.PortalType != 2) //seems to be what portal links need to understand.. + { } + + } + } } if (Nav.Portals != null) @@ -127,8 +135,8 @@ namespace CodeWalker.GameFiles YnvPortal portal = new YnvPortal(); portal.Init(this, portals[i]); portal.Index = i; - portal.Position1 = posoffset + portal._RawData.Position1.ToVector3() * aabbsize; - portal.Position2 = posoffset + portal._RawData.Position2.ToVector3() * aabbsize; + portal.PositionFrom = posoffset + portal._RawData.PositionFrom.ToVector3() * aabbsize; + portal.PositionTo = posoffset + portal._RawData.PositionTo.ToVector3() * aabbsize; Portals.Add(portal); } } @@ -194,7 +202,7 @@ namespace CodeWalker.GameFiles return data; } - public void BuildStructs() + private void BuildStructs() { Vector3 posoffset = Nav.SectorTree?.AABBMin.XYZ() ?? Vector3.Zero; Vector3 aabbsize = Nav.AABBSize; @@ -213,9 +221,32 @@ namespace CodeWalker.GameFiles { for (int i = 0; i < Polys.Count; i++) { + Polys[i].Index = i; polylist.Add(Polys[i].RawData); } } + var portallist = new List(); + if (Portals != null) + { + for (int i = 0; i < Portals.Count; i++) + { + var portal = Portals[i]; + var pdata = portal.RawData; + pdata.PositionFrom = NavMeshVertex.Create((portal.PositionFrom - posoffset) * aabbsizeinv); + pdata.PositionTo = NavMeshVertex.Create((portal.PositionTo - posoffset) * aabbsizeinv); + portallist.Add(pdata); + } + } + + if (Points != null) + { + for (int i = 0; i < Points.Count; i++) + { + var point = Points[i]; + var pdata = point.RawData; + pdata.Position = point.Position; + } + } if (Nav.Vertices == null) @@ -248,6 +279,9 @@ namespace CodeWalker.GameFiles Nav.Polys.RebuildList(polylist); + Nav.Portals = (portallist.Count > 0) ? portallist.ToArray() : null; + Nav.PortalsCount = (uint)(Nav.Portals?.Length ?? 0); + //TODO: update portal links data..... for (int i = 0; i < Nav.Polys.ListParts.Count; i++) //reassign part id's on all the polys... @@ -262,16 +296,126 @@ namespace CodeWalker.GameFiles } } + + + //Build Sector Tree + int depth = 0; + if ((Nav.ContentFlags & NavMeshFlags.Vehicle) == 0) depth = 2; + //vehicle navmesh has a single level, static has 3.. + + NavMeshSector orig = Nav.SectorTree; + NavMeshSector root = new NavMeshSector(); + root.SetAABBs(orig.AABBMin.XYZ(), orig.AABBMax.XYZ()); + + uint pointindex = 0; + + BuildSectorTree(root, depth, ref pointindex); + + Nav.SectorTree = root; + + } + + private void BuildSectorTree(NavMeshSector node, int depth, ref uint pointindex) + { + Vector3 min = node.AABBMin.XYZ(); + Vector3 max = node.AABBMax.XYZ(); + Vector3 cen = (min + max) * 0.5f; + + if (depth <= 0) + { + //go through polys and points and create new lists for this node + NavMeshSectorData data = new NavMeshSectorData(); + node.Data = data; + + data.PointsStartID = pointindex; + + if (Polys != null) + { + List polyids = new List(); + for (int i = 0; i < Polys.Count; i++) + { + var poly = Polys[i]; + var b = poly._RawData.CellAABB; + if (BoxOverlaps(b, node.CellAABB)) + { + polyids.Add((ushort)poly.Index); + } + } + if (polyids.Count > 0) + { + data.PolyIDs = polyids.ToArray(); + } + } + + if (Points != null) + { + List points = new List(); + for (int i = 0; i < Points.Count; i++) + { + var point = Points[i]; + if (IsInBox(point.Position, min, max)) + { + points.Add(point.RawData); + } + } + if (points.Count > 0) + { + data.Points = points.ToArray(); + pointindex += (uint)points.Count; + } + } + + } + else + { + //recurse quadtree... clockwise from +XY (top right) + int cdepth = depth - 1; + node.SubTree1 = new NavMeshSector(); + node.SubTree2 = new NavMeshSector(); + node.SubTree3 = new NavMeshSector(); + node.SubTree4 = new NavMeshSector(); + node.SubTree1.SetAABBs(new Vector3(cen.X, cen.Y, cen.Z), new Vector3(max.X, max.Y, max.Z)); //for some reason Z values seem to get arranged like this... + node.SubTree2.SetAABBs(new Vector3(cen.X, min.Y, 0.0f), new Vector3(max.X, cen.Y, 0.0f)); + node.SubTree3.SetAABBs(new Vector3(min.X, min.Y, min.Z), new Vector3(cen.X, cen.Y, cen.Z)); + node.SubTree4.SetAABBs(new Vector3(min.X, cen.Y, 0.0f), new Vector3(cen.X, max.Y, 0.0f)); + BuildSectorTree(node.SubTree1, cdepth, ref pointindex); + BuildSectorTree(node.SubTree2, cdepth, ref pointindex); + BuildSectorTree(node.SubTree3, cdepth, ref pointindex); + BuildSectorTree(node.SubTree4, cdepth, ref pointindex); + } + } + + private bool IsInBox(Vector3 p, Vector3 min, Vector3 max) + { + return (p.X >= min.X) && (p.X < max.X) && + (p.Y >= min.Y) && (p.Y < max.Y);// && + //(p.Z >= min.Z) && (p.Z < max.Z); + } + private bool BoxOverlaps(Vector3 bmin, Vector3 bmax, Vector3 min, Vector3 max) + { + return (bmax.X >= min.X) && (bmin.X <= max.X) && + (bmax.Y >= min.Y) && (bmin.Y <= max.Y);// && + //(bmax.Z >= min.Z) && (bmin.Z <= max.Z); + } + private bool BoxOverlaps(NavMeshAABB a, NavMeshAABB b) + { + return (a.MaxX >= b.MinX) && (a.MinX <= b.MaxX) && + (a.MaxY >= b.MinY) && (a.MinY <= b.MaxY); } - - - public bool RemovePoly(YnvPoly poly) { return false; } + public bool RemovePoint(YnvPoint point) + { + return false; + } + public bool RemovePortal(YnvPortal portal) + { + return false; + } @@ -298,9 +442,9 @@ namespace CodeWalker.GameFiles for (int i = 0; i < cnt; i++) { var portal = Portals[i]; - nv.Add(new Vector4(portal.Position1, 1.0f)); - v.Position = portal.Position1; lv.Add(v); - v.Position = portal.Position2; lv.Add(v); + nv.Add(new Vector4(portal.PositionFrom, 1.0f)); + v.Position = portal.PositionFrom; lv.Add(v); + v.Position = portal.PositionTo; lv.Add(v); } } @@ -434,8 +578,8 @@ namespace CodeWalker.GameFiles public ushort AreaID { get { return _RawData.AreaID; } set { _RawData.AreaID = value; } } public ushort PartID { get { return _RawData.PartID; } set { _RawData.PartID = value; } } - public ushort PortalID { get { return _RawData.PortalID; } set { _RawData.PortalID = value; } } - public byte PortalUnk { get { return _RawData.PortalUnk; } set { _RawData.PortalUnk = value; } } + public ushort PortalLinkID { get { return _RawData.PortalLinkID; } set { _RawData.PortalLinkID = value; } } + public byte PortalType { get { return _RawData.PortalType; } set { _RawData.PortalType = value; } } public byte Flags1 { get { return (byte)(_RawData.Unknown_00h & 0xFF); } set { _RawData.Unknown_00h = (ushort)((_RawData.Unknown_00h & 0xFF00) | (value & 0xFF)); } } public byte Flags2 { get { return (byte)((_RawData.Unknown_24h.Value >> 0) & 0xFF); } set { _RawData.Unknown_24h = ((_RawData.Unknown_24h.Value & 0xFFFFFF00u) | ((value & 0xFFu) << 0)); } } public byte Flags3 { get { return (byte)((_RawData.Unknown_24h.Value >> 9) & 0xFF); } set { _RawData.Unknown_24h = ((_RawData.Unknown_24h.Value & 0xFFFE01FFu) | ((value & 0xFFu) << 9)); } } @@ -473,10 +617,6 @@ namespace CodeWalker.GameFiles public bool B30_SlopeNorthWest { get { return (_RawData.Unknown_28h.Value & 2097152) > 0; } set { _RawData.Unknown_28h = BitUtil.UpdateBit(_RawData.Unknown_28h.Value, 21, value); } } public bool B31_SlopeWest { get { return (_RawData.Unknown_28h.Value & 4194304) > 0; } set { _RawData.Unknown_28h = BitUtil.UpdateBit(_RawData.Unknown_28h.Value, 22, value); } } public bool B32_SlopeSouthWest { get { return (_RawData.Unknown_28h.Value & 8388608) > 0; } set { _RawData.Unknown_28h = BitUtil.UpdateBit(_RawData.Unknown_28h.Value, 23, value); } } - //public bool B33_PortalUnk1 { get { return (_RawData.PortalUnk & 1) > 0; } } - //public bool B34_PortalUnk2 { get { return (_RawData.PortalUnk & 2) > 0; } } - //public bool B35_PortalUnk3 { get { return (_RawData.PortalUnk & 4) > 0; } } - //public bool B36_PortalUnk4 { get { return (_RawData.PortalUnk & 8) > 0; } } public byte UnkX { get { return _RawData.Unknown_28h_8a; } set { _RawData.Unknown_28h_8a = value; } } public byte UnkY { get { return _RawData.Unknown_28h_8b; } set { _RawData.Unknown_28h_8b = value; } } @@ -547,13 +687,17 @@ namespace CodeWalker.GameFiles //if ((u5 & 8388608) > 0) colour.Red += 1.0f; //slope facing -X,-Y (southwest) //if (u5 >= 16777216) { } //other bits unused - var u1 = _RawData.PortalUnk; + var u1 = _RawData.PortalType; //if ((u1 & 1) > 0) colour.Red += 1.0f; //portal - don't interact? //if ((u1 & 2) > 0) colour.Green += 1.0f; //portal - ladder/fence interaction? //if ((u1 & 4) > 0) colour.Blue += 1.0f; //portal - fence interaction / go away from? //if ((u1 & 8) > 0) colour.Red += 1.0f;//something file-specific? portal index related? + //colour.Red = (PortalID) / 65535.0f; //portal ID testing... portalID only valid when portalType > 0! + //colour.Green = (PortalID%5)/4.0f; + //colour.Blue = ((PortalID/5)%5)/4.0f; + colour.Alpha = 0.75f; @@ -606,10 +750,43 @@ namespace CodeWalker.GameFiles public YnvFile Ynv { get; set; } public NavMeshPortal RawData { get { return _RawData; } set { _RawData = value; } } - public Vector3 Position { get { return Position1; } set { Position1 = value; } } - public Vector3 Position1 { get; set; } - public Vector3 Position2 { get; set; } + public Vector3 Position { get { return PositionFrom; } set { PositionFrom = value; } } + public Vector3 PositionFrom { get; set; } + public Vector3 PositionTo { get; set; } + + public byte Angle { get { return _RawData.Angle; } set { _RawData.Angle = value; } } + public float Direction + { + get + { + return (float)Math.PI * 2.0f * Angle / 255.0f; + } + set + { + Angle = (byte)(value * 255.0f / ((float)Math.PI * 2.0f)); + } + } + public Quaternion Orientation + { + get { return Quaternion.RotationAxis(Vector3.UnitZ, Direction); } + set + { + Vector3 dir = value.Multiply(Vector3.UnitX); + float dira = (float)Math.Atan2(dir.Y, dir.X); + Direction = dira; + } + } + public int Index { get; set; } + public byte Type { get { return _RawData.Type; } set { _RawData.Type = value; } } + public ushort AreaIDFrom { get { return _RawData.AreaIDFrom; } set { _RawData.AreaIDFrom = value; } } + public ushort AreaIDTo { get { return _RawData.AreaIDTo; } set { _RawData.AreaIDTo = value; } } + public ushort PolyIDFrom1 { get { return _RawData.PolyIDFrom1; } set { _RawData.PolyIDFrom1 = value; } } + public ushort PolyIDFrom2 { get { return _RawData.PolyIDFrom2; } set { _RawData.PolyIDFrom2 = value; } } + public ushort PolyIDTo1 { get { return _RawData.PolyIDTo1; } set { _RawData.PolyIDTo1 = value; } } + public ushort PolyIDTo2 { get { return _RawData.PolyIDTo2; } set { _RawData.PolyIDTo2 = value; } } + public ushort Unk1 { get { return _RawData.FlagsUnk; } set { _RawData.FlagsUnk = value; } } + public byte Unk2 { get { return _RawData.AreaUnk; } set { _RawData.AreaUnk = value; } } public void Init(YnvFile ynv, NavMeshPortal portal) @@ -620,9 +797,15 @@ namespace CodeWalker.GameFiles public void SetPosition(Vector3 pos) { - Position = pos; + var delta = pos - PositionFrom; + PositionFrom = pos; + PositionTo += delta; //TODO: update _RawData positions! } + public void SetOrientation(Quaternion orientation) + { + Orientation = orientation; + } public override string ToString() { @@ -638,15 +821,16 @@ namespace CodeWalker.GameFiles public NavMeshPoint RawData { get { return _RawData; } set { _RawData = value; } } public Vector3 Position { get; set; } + public byte Angle { get { return _RawData.Angle; } set { _RawData.Angle = value; } } public float Direction { get { - return (float)Math.PI * 2.0f * _RawData.Angle / 255.0f; + return (float)Math.PI * 2.0f * Angle / 255.0f; } set { - _RawData.Angle = (byte)(value * 255.0f / ((float)Math.PI * 2.0f)); + Angle = (byte)(value * 255.0f / ((float)Math.PI * 2.0f)); } } public Quaternion Orientation @@ -661,7 +845,7 @@ namespace CodeWalker.GameFiles } public int Index { get; set; } - public byte Flags { get { return _RawData.Flags; } set { _RawData.Flags = value; } } + public byte Type { get { return _RawData.Type; } set { _RawData.Type = value; } } public void Init(YnvFile ynv, NavMeshPoint point) { @@ -681,7 +865,7 @@ namespace CodeWalker.GameFiles public override string ToString() { - return Index.ToString() + ": " + Flags.ToString(); + return Index.ToString() + ": " + Type.ToString(); } } diff --git a/CodeWalker.Core/GameFiles/GameFileCache.cs b/CodeWalker.Core/GameFiles/GameFileCache.cs index b97d2f7..4752a07 100644 --- a/CodeWalker.Core/GameFiles/GameFileCache.cs +++ b/CodeWalker.Core/GameFiles/GameFileCache.cs @@ -1834,6 +1834,8 @@ namespace CodeWalker.GameFiles var mloa = arch as MloArchetype; if (mloa != null) { + Vector3 mlobbmin = Vector3.Zero; + Vector3 mlobbmax = Vector3.Zero; Vector3[] c = new Vector3[8]; var rooms = mloa.rooms; if (rooms != null) @@ -1876,8 +1878,12 @@ namespace CodeWalker.GameFiles } room.BBMin_CW = min; room.BBMax_CW = max; + mlobbmin = Vector3.Min(mlobbmin, min); + mlobbmax = Vector3.Max(mlobbmax, max); } } + mloa.BBMin = mlobbmin; + mloa.BBMax = mlobbmax; } } } diff --git a/CodeWalker.Core/GameFiles/Resources/Nav.cs b/CodeWalker.Core/GameFiles/Resources/Nav.cs index 59777c9..8f0e0c7 100644 --- a/CodeWalker.Core/GameFiles/Resources/Nav.cs +++ b/CodeWalker.Core/GameFiles/Resources/Nav.cs @@ -65,7 +65,7 @@ namespace CodeWalker.GameFiles public uint PolysCount { get; set; } public uint AreaID { get; set; } // X + Y*100 public uint TotalBytes { get; set; } - public uint SectorUnkCount { get; set; } + public uint PointsCount { get; set; } public uint PortalsCount { get; set; } public uint PortalLinksCount { get; set; } public uint Unused_154h { get; set; } // 0x00000000 @@ -120,7 +120,7 @@ namespace CodeWalker.GameFiles PolysCount = reader.ReadUInt32(); AreaID = reader.ReadUInt32(); TotalBytes = reader.ReadUInt32(); - SectorUnkCount = reader.ReadUInt32(); + PointsCount = reader.ReadUInt32(); PortalsCount = reader.ReadUInt32(); PortalLinksCount = reader.ReadUInt32(); Unused_154h = reader.ReadUInt32(); @@ -180,7 +180,7 @@ namespace CodeWalker.GameFiles writer.Write(PolysCount); writer.Write(AreaID); writer.Write(TotalBytes); - writer.Write(SectorUnkCount); + writer.Write(PointsCount); writer.Write(PortalsCount); writer.Write(PortalLinksCount); writer.Write(Unused_154h); @@ -570,8 +570,16 @@ namespace CodeWalker.GameFiles public short MinZ { get; set; } public short MaxZ { get; set; } - public Vector3 Min { get { return new Vector3(MinX / 4.0f, MinY / 4.0f, MinZ / 4.0f); } } - public Vector3 Max { get { return new Vector3(MaxX / 4.0f, MaxY / 4.0f, MaxZ / 4.0f); } } + public Vector3 Min + { + get { return new Vector3(MinX / 4.0f, MinY / 4.0f, MinZ / 4.0f); } + set { var v = value * 4.0f; MinX = (short)v.X; MinY = (short)v.Y; MinZ = (short)v.Z; } + } + public Vector3 Max + { + get { return new Vector3(MaxX / 4.0f, MaxY / 4.0f, MaxZ / 4.0f); } + set { var v = value * 4.0f; MaxX = (short)v.X; MaxY = (short)v.Y; MaxZ = (short)v.Z; } + } public override string ToString() { @@ -635,7 +643,7 @@ namespace CodeWalker.GameFiles public FlagsUint Unknown_24h { get; set; } public FlagsUint Unknown_28h { get; set; } public ushort PartFlags { get; set; } - public ushort PortalID { get; set; } + public ushort PortalLinkID { get; set; } //public int IndexUnk { get { return (IndexFlags >> 0) & 31; } } //always 0 @@ -643,7 +651,7 @@ namespace CodeWalker.GameFiles //public int PartUnk1 { get { return (PartFlags >> 0) & 0xF; } } //always 0 public ushort PartID { get { return (ushort)((PartFlags >> 4) & 0xFF); } set { PartFlags = (ushort)((PartFlags & 0xF00F) | ((value & 0xFF) << 4)); } } - public byte PortalUnk { get { return (byte)((PartFlags >> 12) & 0xF); } set { PartFlags = (ushort)((PartFlags & 0x0FFF) | ((value & 0xF) << 12)); } } + public byte PortalType { get { return (byte)((PartFlags >> 12) & 0xF); } set { PartFlags = (ushort)((PartFlags & 0x0FFF) | ((value & 0xF) << 12)); } } public ushort Unknown_28h_16 { get { return (ushort)((Unknown_28h.Value & 0xFFFF)); } set { Unknown_28h = (Unknown_28h.Value & 0xFFFF0000) | (value & 0xFFFFu); } } @@ -664,8 +672,8 @@ namespace CodeWalker.GameFiles Unknown_28h.Hex + ", " + //PartFlags.ToString() + ", " + //PartUnk1.ToString() + ", " + PartID.ToString() + ", " + - PortalUnk.ToString() + ", " + - PortalID.ToString(); + PortalType.ToString() + ", " + + PortalLinkID.ToString(); } } @@ -750,6 +758,14 @@ namespace CodeWalker.GameFiles } + public void SetAABBs(Vector3 min, Vector3 max) + { + AABBMin = new Vector4(min, float.NaN); + AABBMax = new Vector4(max, float.NaN); + CellAABB = new NavMeshAABB() { Min = min, Max = max }; + } + + public override string ToString() { return "[Min: "+AABBMin.ToString() + "], [Max:" + AABBMax.ToString() + "]"; @@ -763,7 +779,7 @@ namespace CodeWalker.GameFiles get { return 32; } } - public uint UnkDataStartID { get; set; } + public uint PointsStartID { get; set; } public uint Unused_04h { get; set; } // 0x00000000 public ulong PolyIDsPointer { get; set; } public ulong PointsPointer { get; set; } @@ -779,7 +795,7 @@ namespace CodeWalker.GameFiles public override void Read(ResourceDataReader reader, params object[] parameters) { - UnkDataStartID = reader.ReadUInt32(); + PointsStartID = reader.ReadUInt32(); Unused_04h = reader.ReadUInt32(); PolyIDsPointer = reader.ReadUInt64(); PointsPointer = reader.ReadUInt64(); @@ -800,7 +816,7 @@ namespace CodeWalker.GameFiles PointsCount = (ushort)(Points?.Length ?? 0); - writer.Write(UnkDataStartID); + writer.Write(PointsStartID); writer.Write(Unused_04h); writer.Write(PolyIDsPointer); writer.Write(PointsPointer); @@ -830,7 +846,7 @@ namespace CodeWalker.GameFiles public override string ToString() { - return "(Polys: " + PolyIDsCount.ToString() + ", UnkOffset: " + UnkDataStartID.ToString() + ", UnkCount: " + PointsCount.ToString() + ")"; + return "(Polys: " + PolyIDsCount.ToString() + ", PointsCount: " + PointsCount.ToString() + ", PointsStartID: " + PointsStartID.ToString() + ")"; } } @@ -840,20 +856,28 @@ namespace CodeWalker.GameFiles public ushort Y { get; set; } public ushort Z { get; set; } public byte Angle { get; set; } - public byte Flags { get; set; } + public byte Type { get; set; } - public Vector3 Position { get { return ToVector3(); } } - - public Vector3 ToVector3() + public Vector3 Position { - const float usmax = ushort.MaxValue; - return new Vector3(X / usmax, Y / usmax, Z / usmax); + get + { + const float usmax = ushort.MaxValue; + return new Vector3(X / usmax, Y / usmax, Z / usmax); + } + set + { + const float usmax = ushort.MaxValue; + X = (ushort)(value.X * usmax); + Y = (ushort)(value.Y * usmax); + Z = (ushort)(value.Z * usmax); + } } public override string ToString() { - return Flags.ToString() + ": " + Angle.ToString() + ", " + Position.ToString(); + return Type.ToString() + ": " + Angle.ToString() + ", " + Position.ToString(); } @@ -863,31 +887,28 @@ namespace CodeWalker.GameFiles [TypeConverter(typeof(ExpandableObjectConverter))] public struct NavMeshPortal { - public uint TypeFlags { get; set; } - public NavMeshVertex Position1 { get; set; } - public NavMeshVertex Position2 { get; set; } - public ushort PolyID1a { get; set; } - public ushort PolyID1b { get; set; } - public ushort PolyID2a { get; set; } - public ushort PolyID2b { get; set; } + public byte Type { get; set; } + public byte Angle { get; set; } + public ushort FlagsUnk { get; set; } + public NavMeshVertex PositionFrom { get; set; } + public NavMeshVertex PositionTo { get; set; } + public ushort PolyIDFrom1 { get; set; } + public ushort PolyIDFrom2 { get; set; } + public ushort PolyIDTo1 { get; set; } + public ushort PolyIDTo2 { get; set; } public uint AreaFlags { get; set; } - public uint Type1 { get { return TypeFlags & 0xFF; } } - public uint Type2 { get { return (TypeFlags >> 8) & 0xF; } } - public uint Type3 { get { return (TypeFlags >> 12) & 0xF; } } - public uint Type4 { get { return (TypeFlags >> 16) & 0xFFFF; } } - - public ushort AreaID1 { get { return (ushort)(AreaFlags & 0x3FFF); } } - public ushort AreaID2 { get { return (ushort)((AreaFlags >> 14) & 0x3FFF); } } - public byte AreaUnk { get { return (byte)((AreaFlags >> 28) & 0xF); } } + public ushort AreaIDFrom { get { return (ushort)(AreaFlags & 0x3FFF); } set { AreaFlags = (AreaFlags & 0xFFFFC000) | (value & 0x3FFFu); } } + public ushort AreaIDTo { get { return (ushort)((AreaFlags >> 14) & 0x3FFF); } set { AreaFlags = (AreaFlags & 0xF0003FFF) | ((value & 0x3FFFu) << 14); } } + public byte AreaUnk { get { return (byte)((AreaFlags >> 28) & 0xF); } set { AreaFlags = (AreaFlags & 0x0FFFFFFF) | ((value & 0xFu) << 28); } } public override string ToString() { - return AreaID1.ToString() + ", " + AreaID2.ToString() + ", " + AreaUnk.ToString() + ", " + - PolyID1a.ToString() + ", " + PolyID1b.ToString() + ", " + - PolyID2a.ToString() + ", " + PolyID2b.ToString() + ", " + - Type1.ToString() + ", " + Type2.ToString() + ", " + Type3.ToString() + ", " + Type4.ToString() + ", " + - "(" + Position1.ToString() + " | " + Position2.ToString() + ")"; + return AreaIDFrom.ToString() + ", " + AreaIDTo.ToString() + ", " + AreaUnk.ToString() + ", " + + PolyIDFrom1.ToString() + ", " + PolyIDFrom2.ToString() + ", " + + PolyIDTo1.ToString() + ", " + PolyIDTo2.ToString() + ", " + + Type.ToString() + ", " + Angle.ToString() + ", " + FlagsUnk.ToString() + ", " + + "(" + PositionFrom.ToString() + " | " + PositionTo.ToString() + ")"; } } diff --git a/CodeWalker.WinForms/FormUtils.cs b/CodeWalker.WinForms/FormUtils.cs index 6f1ab24..56a7ec2 100644 --- a/CodeWalker.WinForms/FormUtils.cs +++ b/CodeWalker.WinForms/FormUtils.cs @@ -244,7 +244,7 @@ namespace CodeWalker Text = caption, StartPosition = FormStartPosition.CenterParent, MaximizeBox = false, - MinimizeBox = false + MinimizeBox = false }; FormTheme.SetTheme(prompt, theme); var textLabel = new Label() { Left = 30, Top = 20, Width = 370, Height = 20, Text = text, }; @@ -333,7 +333,7 @@ namespace CodeWalker else if ((c is Button) || (c is GroupBox)) { c.ForeColor = form.ForeColor; - c.BackColor = btnback; + c.BackColor = btnback; } else if (c is TreeView) { diff --git a/CodeWalker.csproj b/CodeWalker.csproj index c258d29..6d2938e 100644 --- a/CodeWalker.csproj +++ b/CodeWalker.csproj @@ -364,12 +364,24 @@ EditYnvPanel.cs + + Form + + + EditYnvPointPanel.cs + Form EditYnvPolyPanel.cs + + Form + + + EditYnvPortalPanel.cs + Form @@ -602,9 +614,15 @@ EditYnvPanel.cs + + EditYnvPointPanel.cs + EditYnvPolyPanel.cs + + EditYnvPortalPanel.cs + EditYtypPanel.cs diff --git a/Project/Panels/EditYnvPanel.Designer.cs b/Project/Panels/EditYnvPanel.Designer.cs index fd95f08..e98b59f 100644 --- a/Project/Panels/EditYnvPanel.Designer.cs +++ b/Project/Panels/EditYnvPanel.Designer.cs @@ -41,13 +41,13 @@ this.YnvPolyCountLabel = new System.Windows.Forms.Label(); this.YnvPortalCountLabel = new System.Windows.Forms.Label(); this.YnvPortalLinkCountLabel = new System.Windows.Forms.Label(); - this.YnvSectorUnkCountLabel = new System.Windows.Forms.Label(); + this.YnvPointCountLabel = new System.Windows.Forms.Label(); this.YnvByteCountLabel = new System.Windows.Forms.Label(); this.YnvFlagsGroupBox = new System.Windows.Forms.GroupBox(); - this.YnvFlagsVerticesCheckBox = new System.Windows.Forms.CheckBox(); - this.YnvFlagsPortalsCheckBox = new System.Windows.Forms.CheckBox(); - this.YnvFlagsVehicleCheckBox = new System.Windows.Forms.CheckBox(); this.YnvFlagsUnknownCheckBox = new System.Windows.Forms.CheckBox(); + this.YnvFlagsVehicleCheckBox = new System.Windows.Forms.CheckBox(); + this.YnvFlagsPortalsCheckBox = new System.Windows.Forms.CheckBox(); + this.YnvFlagsVerticesCheckBox = new System.Windows.Forms.CheckBox(); this.YnvVersionUnkHashTextBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); @@ -177,14 +177,14 @@ this.YnvPortalLinkCountLabel.TabIndex = 42; this.YnvPortalLinkCountLabel.Text = "Portal link count: 0"; // - // YnvSectorUnkCountLabel + // YnvPointCountLabel // - this.YnvSectorUnkCountLabel.AutoSize = true; - this.YnvSectorUnkCountLabel.Location = new System.Drawing.Point(358, 127); - this.YnvSectorUnkCountLabel.Name = "YnvSectorUnkCountLabel"; - this.YnvSectorUnkCountLabel.Size = new System.Drawing.Size(101, 13); - this.YnvSectorUnkCountLabel.TabIndex = 43; - this.YnvSectorUnkCountLabel.Text = "Sector unk count: 0"; + this.YnvPointCountLabel.AutoSize = true; + this.YnvPointCountLabel.Location = new System.Drawing.Point(358, 127); + this.YnvPointCountLabel.Name = "YnvPointCountLabel"; + this.YnvPointCountLabel.Size = new System.Drawing.Size(73, 13); + this.YnvPointCountLabel.TabIndex = 43; + this.YnvPointCountLabel.Text = "Point count: 0"; // // YnvByteCountLabel // @@ -208,27 +208,16 @@ this.YnvFlagsGroupBox.TabStop = false; this.YnvFlagsGroupBox.Text = "Content flags"; // - // YnvFlagsVerticesCheckBox + // YnvFlagsUnknownCheckBox // - this.YnvFlagsVerticesCheckBox.AutoSize = true; - this.YnvFlagsVerticesCheckBox.Location = new System.Drawing.Point(12, 19); - this.YnvFlagsVerticesCheckBox.Name = "YnvFlagsVerticesCheckBox"; - this.YnvFlagsVerticesCheckBox.Size = new System.Drawing.Size(64, 17); - this.YnvFlagsVerticesCheckBox.TabIndex = 0; - this.YnvFlagsVerticesCheckBox.Text = "Vertices"; - this.YnvFlagsVerticesCheckBox.UseVisualStyleBackColor = true; - this.YnvFlagsVerticesCheckBox.CheckedChanged += new System.EventHandler(this.YnvFlagsVerticesCheckBox_CheckedChanged); - // - // YnvFlagsPortalsCheckBox - // - this.YnvFlagsPortalsCheckBox.AutoSize = true; - this.YnvFlagsPortalsCheckBox.Location = new System.Drawing.Point(12, 42); - this.YnvFlagsPortalsCheckBox.Name = "YnvFlagsPortalsCheckBox"; - this.YnvFlagsPortalsCheckBox.Size = new System.Drawing.Size(58, 17); - this.YnvFlagsPortalsCheckBox.TabIndex = 1; - this.YnvFlagsPortalsCheckBox.Text = "Portals"; - this.YnvFlagsPortalsCheckBox.UseVisualStyleBackColor = true; - this.YnvFlagsPortalsCheckBox.CheckedChanged += new System.EventHandler(this.YnvFlagsPortalsCheckBox_CheckedChanged); + this.YnvFlagsUnknownCheckBox.AutoSize = true; + this.YnvFlagsUnknownCheckBox.Location = new System.Drawing.Point(12, 88); + this.YnvFlagsUnknownCheckBox.Name = "YnvFlagsUnknownCheckBox"; + this.YnvFlagsUnknownCheckBox.Size = new System.Drawing.Size(78, 17); + this.YnvFlagsUnknownCheckBox.TabIndex = 3; + this.YnvFlagsUnknownCheckBox.Text = "[Unknown]"; + this.YnvFlagsUnknownCheckBox.UseVisualStyleBackColor = true; + this.YnvFlagsUnknownCheckBox.CheckedChanged += new System.EventHandler(this.YnvFlagsUnknownCheckBox_CheckedChanged); // // YnvFlagsVehicleCheckBox // @@ -241,16 +230,27 @@ this.YnvFlagsVehicleCheckBox.UseVisualStyleBackColor = true; this.YnvFlagsVehicleCheckBox.CheckedChanged += new System.EventHandler(this.YnvFlagsVehicleCheckBox_CheckedChanged); // - // YnvFlagsUnknownCheckBox + // YnvFlagsPortalsCheckBox // - this.YnvFlagsUnknownCheckBox.AutoSize = true; - this.YnvFlagsUnknownCheckBox.Location = new System.Drawing.Point(12, 88); - this.YnvFlagsUnknownCheckBox.Name = "YnvFlagsUnknownCheckBox"; - this.YnvFlagsUnknownCheckBox.Size = new System.Drawing.Size(78, 17); - this.YnvFlagsUnknownCheckBox.TabIndex = 3; - this.YnvFlagsUnknownCheckBox.Text = "[Unknown]"; - this.YnvFlagsUnknownCheckBox.UseVisualStyleBackColor = true; - this.YnvFlagsUnknownCheckBox.CheckedChanged += new System.EventHandler(this.YnvFlagsUnknownCheckBox_CheckedChanged); + this.YnvFlagsPortalsCheckBox.AutoSize = true; + this.YnvFlagsPortalsCheckBox.Location = new System.Drawing.Point(12, 42); + this.YnvFlagsPortalsCheckBox.Name = "YnvFlagsPortalsCheckBox"; + this.YnvFlagsPortalsCheckBox.Size = new System.Drawing.Size(58, 17); + this.YnvFlagsPortalsCheckBox.TabIndex = 1; + this.YnvFlagsPortalsCheckBox.Text = "Portals"; + this.YnvFlagsPortalsCheckBox.UseVisualStyleBackColor = true; + this.YnvFlagsPortalsCheckBox.CheckedChanged += new System.EventHandler(this.YnvFlagsPortalsCheckBox_CheckedChanged); + // + // YnvFlagsVerticesCheckBox + // + this.YnvFlagsVerticesCheckBox.AutoSize = true; + this.YnvFlagsVerticesCheckBox.Location = new System.Drawing.Point(12, 19); + this.YnvFlagsVerticesCheckBox.Name = "YnvFlagsVerticesCheckBox"; + this.YnvFlagsVerticesCheckBox.Size = new System.Drawing.Size(64, 17); + this.YnvFlagsVerticesCheckBox.TabIndex = 0; + this.YnvFlagsVerticesCheckBox.Text = "Vertices"; + this.YnvFlagsVerticesCheckBox.UseVisualStyleBackColor = true; + this.YnvFlagsVerticesCheckBox.CheckedChanged += new System.EventHandler(this.YnvFlagsVerticesCheckBox_CheckedChanged); // // YnvVersionUnkHashTextBox // @@ -357,7 +357,7 @@ this.Controls.Add(this.label1); this.Controls.Add(this.YnvFlagsGroupBox); this.Controls.Add(this.YnvByteCountLabel); - this.Controls.Add(this.YnvSectorUnkCountLabel); + this.Controls.Add(this.YnvPointCountLabel); this.Controls.Add(this.YnvPortalLinkCountLabel); this.Controls.Add(this.YnvPortalCountLabel); this.Controls.Add(this.YnvPolyCountLabel); @@ -396,7 +396,7 @@ private System.Windows.Forms.Label YnvPolyCountLabel; private System.Windows.Forms.Label YnvPortalCountLabel; private System.Windows.Forms.Label YnvPortalLinkCountLabel; - private System.Windows.Forms.Label YnvSectorUnkCountLabel; + private System.Windows.Forms.Label YnvPointCountLabel; private System.Windows.Forms.Label YnvByteCountLabel; private System.Windows.Forms.GroupBox YnvFlagsGroupBox; private System.Windows.Forms.CheckBox YnvFlagsUnknownCheckBox; diff --git a/Project/Panels/EditYnvPanel.cs b/Project/Panels/EditYnvPanel.cs index 433f59f..9d63133 100644 --- a/Project/Panels/EditYnvPanel.cs +++ b/Project/Panels/EditYnvPanel.cs @@ -72,7 +72,7 @@ namespace CodeWalker.Project.Panels YnvPolyCountLabel.Text = "Poly count: -"; YnvPortalCountLabel.Text = "Portal count: -"; YnvPortalLinkCountLabel.Text = "Portal link count: -"; - YnvSectorUnkCountLabel.Text = "Sector unk count: -"; + YnvPointCountLabel.Text = "Sector unk count: -"; YnvByteCountLabel.Text = "Byte count: -"; YnvVersionUnkHashTextBox.Text = string.Empty; } @@ -95,7 +95,7 @@ namespace CodeWalker.Project.Panels YnvPolyCountLabel.Text = "Poly count: " + nv.PolysCount.ToString(); YnvPortalCountLabel.Text = "Portal count: " + nv.PortalsCount.ToString(); YnvPortalLinkCountLabel.Text = "Portal link count: " + nv.PortalLinksCount.ToString(); - YnvSectorUnkCountLabel.Text = "Sector unk count: " + nv.SectorUnkCount.ToString(); + YnvPointCountLabel.Text = "Point count: " + nv.PointsCount.ToString(); YnvByteCountLabel.Text = "Byte count: " + nv.TotalBytes.ToString(); YnvVersionUnkHashTextBox.Text = nv.VersionUnk2.ToString(); YnvAdjAreaIDsTextBox.Text = GetAdjAreaIDsString(nv.AdjAreaIDs.Values); diff --git a/Project/Panels/EditYnvPointPanel.Designer.cs b/Project/Panels/EditYnvPointPanel.Designer.cs new file mode 100644 index 0000000..17a7ff0 --- /dev/null +++ b/Project/Panels/EditYnvPointPanel.Designer.cs @@ -0,0 +1,174 @@ +namespace CodeWalker.Project.Panels +{ + partial class EditYnvPointPanel + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditYnvPointPanel)); + this.DeletePointButton = new System.Windows.Forms.Button(); + this.AddToProjectButton = new System.Windows.Forms.Button(); + this.YnvPointGoToButton = new System.Windows.Forms.Button(); + this.YnvPointPositionTextBox = new System.Windows.Forms.TextBox(); + this.label55 = new System.Windows.Forms.Label(); + this.YnvPointTypeUpDown = new System.Windows.Forms.NumericUpDown(); + this.label49 = new System.Windows.Forms.Label(); + this.YnvPointAngleUpDown = new System.Windows.Forms.NumericUpDown(); + this.label1 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.YnvPointTypeUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.YnvPointAngleUpDown)).BeginInit(); + this.SuspendLayout(); + // + // DeletePointButton + // + this.DeletePointButton.Enabled = false; + this.DeletePointButton.Location = new System.Drawing.Point(120, 119); + this.DeletePointButton.Name = "DeletePointButton"; + this.DeletePointButton.Size = new System.Drawing.Size(90, 23); + this.DeletePointButton.TabIndex = 8; + this.DeletePointButton.Text = "Delete Point"; + this.DeletePointButton.UseVisualStyleBackColor = true; + this.DeletePointButton.Click += new System.EventHandler(this.DeletePointButton_Click); + // + // AddToProjectButton + // + this.AddToProjectButton.Enabled = false; + this.AddToProjectButton.Location = new System.Drawing.Point(24, 119); + this.AddToProjectButton.Name = "AddToProjectButton"; + this.AddToProjectButton.Size = new System.Drawing.Size(90, 23); + this.AddToProjectButton.TabIndex = 7; + this.AddToProjectButton.Text = "Add to Project"; + this.AddToProjectButton.UseVisualStyleBackColor = true; + this.AddToProjectButton.Click += new System.EventHandler(this.AddToProjectButton_Click); + // + // YnvPointGoToButton + // + this.YnvPointGoToButton.Location = new System.Drawing.Point(280, 10); + this.YnvPointGoToButton.Name = "YnvPointGoToButton"; + this.YnvPointGoToButton.Size = new System.Drawing.Size(68, 23); + this.YnvPointGoToButton.TabIndex = 2; + this.YnvPointGoToButton.Text = "Go to"; + this.YnvPointGoToButton.UseVisualStyleBackColor = true; + this.YnvPointGoToButton.Click += new System.EventHandler(this.YnvPointGoToButton_Click); + // + // YnvPointPositionTextBox + // + this.YnvPointPositionTextBox.Location = new System.Drawing.Point(74, 12); + this.YnvPointPositionTextBox.Name = "YnvPointPositionTextBox"; + this.YnvPointPositionTextBox.Size = new System.Drawing.Size(200, 20); + this.YnvPointPositionTextBox.TabIndex = 1; + this.YnvPointPositionTextBox.TextChanged += new System.EventHandler(this.YnvPointPositionTextBox_TextChanged); + // + // label55 + // + this.label55.AutoSize = true; + this.label55.Location = new System.Drawing.Point(21, 15); + this.label55.Name = "label55"; + this.label55.Size = new System.Drawing.Size(47, 13); + this.label55.TabIndex = 0; + this.label55.Text = "Position:"; + // + // YnvPointTypeUpDown + // + this.YnvPointTypeUpDown.Location = new System.Drawing.Point(74, 64); + this.YnvPointTypeUpDown.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.YnvPointTypeUpDown.Name = "YnvPointTypeUpDown"; + this.YnvPointTypeUpDown.Size = new System.Drawing.Size(74, 20); + this.YnvPointTypeUpDown.TabIndex = 6; + this.YnvPointTypeUpDown.ValueChanged += new System.EventHandler(this.YnvPointTypeUpDown_ValueChanged); + // + // label49 + // + this.label49.AutoSize = true; + this.label49.Location = new System.Drawing.Point(34, 66); + this.label49.Name = "label49"; + this.label49.Size = new System.Drawing.Size(34, 13); + this.label49.TabIndex = 5; + this.label49.Text = "Type:"; + // + // YnvPointAngleUpDown + // + this.YnvPointAngleUpDown.Location = new System.Drawing.Point(74, 38); + this.YnvPointAngleUpDown.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.YnvPointAngleUpDown.Name = "YnvPointAngleUpDown"; + this.YnvPointAngleUpDown.Size = new System.Drawing.Size(74, 20); + this.YnvPointAngleUpDown.TabIndex = 4; + this.YnvPointAngleUpDown.ValueChanged += new System.EventHandler(this.YnvPointAngleUpDown_ValueChanged); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(18, 40); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(50, 13); + this.label1.TabIndex = 3; + this.label1.Text = "Rotation:"; + // + // EditYnvPointPanel + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(434, 243); + this.Controls.Add(this.YnvPointAngleUpDown); + this.Controls.Add(this.label1); + this.Controls.Add(this.YnvPointTypeUpDown); + this.Controls.Add(this.label49); + this.Controls.Add(this.DeletePointButton); + this.Controls.Add(this.AddToProjectButton); + this.Controls.Add(this.YnvPointGoToButton); + this.Controls.Add(this.YnvPointPositionTextBox); + this.Controls.Add(this.label55); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Name = "EditYnvPointPanel"; + this.Text = "Edit Ynv Point"; + ((System.ComponentModel.ISupportInitialize)(this.YnvPointTypeUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.YnvPointAngleUpDown)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button DeletePointButton; + private System.Windows.Forms.Button AddToProjectButton; + private System.Windows.Forms.Button YnvPointGoToButton; + private System.Windows.Forms.TextBox YnvPointPositionTextBox; + private System.Windows.Forms.Label label55; + private System.Windows.Forms.NumericUpDown YnvPointTypeUpDown; + private System.Windows.Forms.Label label49; + private System.Windows.Forms.NumericUpDown YnvPointAngleUpDown; + private System.Windows.Forms.Label label1; + } +} \ No newline at end of file diff --git a/Project/Panels/EditYnvPointPanel.cs b/Project/Panels/EditYnvPointPanel.cs new file mode 100644 index 0000000..28c17ab --- /dev/null +++ b/Project/Panels/EditYnvPointPanel.cs @@ -0,0 +1,150 @@ +using CodeWalker.GameFiles; +using SharpDX; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace CodeWalker.Project.Panels +{ + public partial class EditYnvPointPanel : ProjectPanel + { + public ProjectForm ProjectForm; + public YnvPoint YnvPoint { get; set; } + + private bool populatingui = false; + + public EditYnvPointPanel(ProjectForm projectForm) + { + ProjectForm = projectForm; + InitializeComponent(); + } + + public void SetYnvPoint(YnvPoint ynvPoint) + { + YnvPoint = ynvPoint; + Tag = ynvPoint; + UpdateFormTitle(); + UpdateYnvPointUI(); + } + + private void UpdateFormTitle() + { + Text = "Nav Point " + YnvPoint.Index.ToString(); + } + + + public void UpdateYnvPointUI() + { + if (YnvPoint == null) + { + ////YnvPointPanel.Enabled = false; + DeletePointButton.Enabled = false; + AddToProjectButton.Enabled = false; + YnvPointPositionTextBox.Text = string.Empty; + YnvPointAngleUpDown.Value = 0; + YnvPointTypeUpDown.Value = 0; + } + else + { + populatingui = true; + ////YnvPortalPanel.Enabled = true; + DeletePointButton.Enabled = ProjectForm.YnvExistsInProject(YnvPoint.Ynv); + AddToProjectButton.Enabled = !DeletePointButton.Enabled; + YnvPointPositionTextBox.Text = FloatUtil.GetVector3String(YnvPoint.Position); + YnvPointAngleUpDown.Value = YnvPoint.Angle; + YnvPointTypeUpDown.Value = YnvPoint.Type; + populatingui = false; + } + } + + private void YnvPointPositionTextBox_TextChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPoint == null) return; + Vector3 v = FloatUtil.ParseVector3String(YnvPointPositionTextBox.Text); + bool change = false; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPoint.Position != v) + { + YnvPoint.SetPosition(v); + ProjectForm.SetYnvHasChanged(true); + change = true; + } + } + if (change) + { + if (ProjectForm.WorldForm != null) + { + ProjectForm.WorldForm.SetWidgetPosition(YnvPoint.Position); + ProjectForm.WorldForm.UpdateNavPointGraphics(YnvPoint, false); + } + } + } + + private void YnvPointAngleUpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPoint == null) return; + byte ang = (byte)YnvPointAngleUpDown.Value; + bool change = false; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPoint.Angle != ang) + { + YnvPoint.Angle = ang; + ProjectForm.SetYnvHasChanged(true); + change = true; + } + } + if (change) + { + if (ProjectForm.WorldForm != null) + { + ProjectForm.WorldForm.SetWidgetRotation(YnvPoint.Orientation); + //ProjectForm.WorldForm.UpdateNavPointGraphics(YnvPoint, false); + } + } + } + + private void YnvPointTypeUpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPoint == null) return; + byte typ = (byte)YnvPointTypeUpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPoint.Type != typ) + { + YnvPoint.Type = typ; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void YnvPointGoToButton_Click(object sender, EventArgs e) + { + if (YnvPoint == null) return; + if (ProjectForm.WorldForm == null) return; + ProjectForm.WorldForm.GoToPosition(YnvPoint.Position); + } + + private void AddToProjectButton_Click(object sender, EventArgs e) + { + if (YnvPoint == null) return; + ProjectForm.SetProjectItem(YnvPoint); + ProjectForm.AddYnvToProject(YnvPoint.Ynv); + } + + private void DeletePointButton_Click(object sender, EventArgs e) + { + MessageBox.Show("Delete Point TODO!"); + } + } +} diff --git a/Project/Panels/EditYnvPointPanel.resx b/Project/Panels/EditYnvPointPanel.resx new file mode 100644 index 0000000..1431f6b --- /dev/null +++ b/Project/Panels/EditYnvPointPanel.resx @@ -0,0 +1,409 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms,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AAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////w////4 + P///+D////g8//D4MH/geCB/4Dggf+A4IH/wOCD/+DAB//hgAf//gAP//wAAB/AAAAPwAAAD8AAAA/AA + AAfjAAEHgYADAQPgBwEDEAEBAghgAQwIIEH8CCB//Bggf/wYMH/8ODD///h/////////////KAAAABAA + AAAgAAAAAQAYAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///+vv/fL1/v///wAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///4+Vx7/F5v///wAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAP///4CHtrS62////////////////////wAAAAAAAAAAAP////H0/vf6/v// + /////////4yTwrrB4f///+zw+7rA6P39/////wAAAAAAAAAAAP///56l2BkcguXr/P///////42Uw8jO + 6P///ysvjWVqtP///////wAAAAAAAAAAAP////D0/0hPpsDG6////////6y02d7k8////3qAx+/z/f// + /wAAAAAAAAAAAAAAAAAAAP///////////////8zT8V5ns1Rcrdzh9f///////////wAAAAAAAAAAAAAA + AAAAAP////////7+/6ix3nmBxFthtmdwu09WqbC54/v9//r8//j6//39/wAAAAAAAAAAAOjt/H6I0FJc + skpSqHF+wRMahFZhs4iT1AsNc1pgrm52v2RsuO/z/gAAAP////////L2/cLJ7rrD64+V4DY+ozU+mYmU + 0X2Hy1hfss7V8urv/PP2/v///wAAAP///+Pp+d/k9////////+Pp/4uR3ysymW14xYOM0fD0/P///+Xq + +ri/6Pj6/wAAAOrv/j5DnbS75P////////////X4/+/0/ubr+/r7/////////9rh+hgZhKGo2QAAAPDz + /eLn+f////j6/2Nqttrg9////+Hn+P3+//3+/1hescLJ6/////L2/eru/AAAAAAAAAAA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AAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////// + ///////4D/////////AH////////8Af////////wB/////////AH////////8Af////////wB/////// + //AH////////8Af////////wB/////////AH////////8AfwP//////wB8Af//+Af/AHgB///wA/8AcA + H///AB/wBgAf//8AD/AGAB///wAH8AYAH///AAPwBAAf//8AA/AEAD///wAD8AQAP///AAPwBAB///+A + A/AEAP///8AD4AAA////4AcAAAH////wDgAAAf/////8AAAH//////gAAAf/////4AAAAf/////gAAAA + /f//+AAAAAAAD//AAAAAAAAH/4AAAAAAAAf/gAAAAAAAB/+AAAAAAAAH/4AAAAAAAAf/gAAAAAAAB/+A + AAAAAAAP/4AAAAAAAB//wAAAAABAf/4HwAAAAYAf8APAAAADgA/gA+AAAAMAA8AD8AAABwADgAP8AAAf + AAOAA/4AAB8AA4ADAAAAAQADgAIAcA4AgAOABgBwDgBAA4AMAGAMADADwDwAYAwAOAfg+ABgBAAeH//4 + AEAEAB////gAwAYAH///+ADABgAf///4AcAGAB////gBwAcAH///+APAB4A////8B+AHwH//////4A// + ///////gD/////////Af//////////////8= + + + \ No newline at end of file diff --git a/Project/Panels/EditYnvPolyPanel.Designer.cs b/Project/Panels/EditYnvPolyPanel.Designer.cs index cce52d1..4830cec 100644 --- a/Project/Panels/EditYnvPolyPanel.Designer.cs +++ b/Project/Panels/EditYnvPolyPanel.Designer.cs @@ -46,14 +46,14 @@ this.label4 = new System.Windows.Forms.Label(); this.DeletePolyButton = new System.Windows.Forms.Button(); this.AddToProjectButton = new System.Windows.Forms.Button(); - this.PortalUnkUpDown = new System.Windows.Forms.NumericUpDown(); + this.PortalTypeUpDown = new System.Windows.Forms.NumericUpDown(); this.label6 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.AreaIDUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PartIDUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PortalIDUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.UnkXUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.UnkYUpDown)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.PortalUnkUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.PortalTypeUpDown)).BeginInit(); this.SuspendLayout(); // // AreaIDUpDown @@ -102,7 +102,7 @@ // // PortalIDUpDown // - this.PortalIDUpDown.Location = new System.Drawing.Point(338, 12); + this.PortalIDUpDown.Location = new System.Drawing.Point(346, 12); this.PortalIDUpDown.Maximum = new decimal(new int[] { 65535, 0, @@ -116,11 +116,11 @@ // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(281, 14); + this.label2.Location = new System.Drawing.Point(280, 14); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(51, 13); + this.label2.Size = new System.Drawing.Size(60, 13); this.label2.TabIndex = 5; - this.label2.Text = "Portal ID:"; + this.label2.Text = "Portal Link:"; // // FlagsCheckedListBox1 // @@ -273,34 +273,34 @@ this.AddToProjectButton.UseVisualStyleBackColor = true; this.AddToProjectButton.Click += new System.EventHandler(this.AddToProjectButton_Click); // - // PortalUnkUpDown + // PortalTypeUpDown // - this.PortalUnkUpDown.Location = new System.Drawing.Point(495, 12); - this.PortalUnkUpDown.Maximum = new decimal(new int[] { + this.PortalTypeUpDown.Location = new System.Drawing.Point(495, 12); + this.PortalTypeUpDown.Maximum = new decimal(new int[] { 15, 0, 0, 0}); - this.PortalUnkUpDown.Name = "PortalUnkUpDown"; - this.PortalUnkUpDown.Size = new System.Drawing.Size(57, 20); - this.PortalUnkUpDown.TabIndex = 8; - this.PortalUnkUpDown.ValueChanged += new System.EventHandler(this.PortalUnkUpDown_ValueChanged); + this.PortalTypeUpDown.Name = "PortalTypeUpDown"; + this.PortalTypeUpDown.Size = new System.Drawing.Size(57, 20); + this.PortalTypeUpDown.TabIndex = 8; + this.PortalTypeUpDown.ValueChanged += new System.EventHandler(this.PortalTypeUpDown_ValueChanged); // // label6 // this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(431, 14); + this.label6.Location = new System.Drawing.Point(429, 14); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(58, 13); + this.label6.Size = new System.Drawing.Size(60, 13); this.label6.TabIndex = 7; - this.label6.Text = "Portal unk:"; + this.label6.Text = "Portal type:"; // // EditYnvPolyPanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(562, 404); - this.Controls.Add(this.PortalUnkUpDown); + this.Controls.Add(this.PortalTypeUpDown); this.Controls.Add(this.label6); this.Controls.Add(this.DeletePolyButton); this.Controls.Add(this.AddToProjectButton); @@ -327,7 +327,7 @@ ((System.ComponentModel.ISupportInitialize)(this.PortalIDUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.UnkXUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.UnkYUpDown)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.PortalUnkUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.PortalTypeUpDown)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -352,7 +352,7 @@ private System.Windows.Forms.Label label4; private System.Windows.Forms.Button DeletePolyButton; private System.Windows.Forms.Button AddToProjectButton; - private System.Windows.Forms.NumericUpDown PortalUnkUpDown; + private System.Windows.Forms.NumericUpDown PortalTypeUpDown; private System.Windows.Forms.Label label6; } } \ No newline at end of file diff --git a/Project/Panels/EditYnvPolyPanel.cs b/Project/Panels/EditYnvPolyPanel.cs index c77ab2c..595fc73 100644 --- a/Project/Panels/EditYnvPolyPanel.cs +++ b/Project/Panels/EditYnvPolyPanel.cs @@ -48,7 +48,7 @@ namespace CodeWalker.Project.Panels AreaIDUpDown.Value = 0; PartIDUpDown.Value = 0; PortalIDUpDown.Value = 0; - PortalUnkUpDown.Value = 0; + PortalTypeUpDown.Value = 0; SetCheckedListBoxValues(FlagsCheckedListBox1, 0); SetCheckedListBoxValues(FlagsCheckedListBox2, 0); SetCheckedListBoxValues(FlagsCheckedListBox3, 0); @@ -64,8 +64,8 @@ namespace CodeWalker.Project.Panels AddToProjectButton.Enabled = !DeletePolyButton.Enabled; AreaIDUpDown.Value = YnvPoly.AreaID; PartIDUpDown.Value = YnvPoly.PartID; - PortalIDUpDown.Value = YnvPoly.PortalID; - PortalUnkUpDown.Value = YnvPoly.PortalUnk; + PortalIDUpDown.Value = YnvPoly.PortalLinkID; + PortalTypeUpDown.Value = YnvPoly.PortalType; SetCheckedListBoxValues(FlagsCheckedListBox1, YnvPoly.Flags1); SetCheckedListBoxValues(FlagsCheckedListBox2, YnvPoly.Flags2); SetCheckedListBoxValues(FlagsCheckedListBox3, YnvPoly.Flags3); @@ -144,24 +144,24 @@ namespace CodeWalker.Project.Panels ushort portalid = (ushort)PortalIDUpDown.Value; lock (ProjectForm.ProjectSyncRoot) { - if (YnvPoly.PortalID != portalid) + if (YnvPoly.PortalLinkID != portalid) { - YnvPoly.PortalID = portalid; + YnvPoly.PortalLinkID = portalid; ProjectForm.SetYnvHasChanged(true); } } } - private void PortalUnkUpDown_ValueChanged(object sender, EventArgs e) + private void PortalTypeUpDown_ValueChanged(object sender, EventArgs e) { if (populatingui) return; if (YnvPoly == null) return; - byte portalunk = (byte)PortalUnkUpDown.Value; + byte portalunk = (byte)PortalTypeUpDown.Value; lock (ProjectForm.ProjectSyncRoot) { - if (YnvPoly.PortalUnk != portalunk) + if (YnvPoly.PortalType != portalunk) { - YnvPoly.PortalUnk = portalunk; + YnvPoly.PortalType = portalunk; ProjectForm.SetYnvHasChanged(true); } } diff --git a/Project/Panels/EditYnvPortalPanel.Designer.cs b/Project/Panels/EditYnvPortalPanel.Designer.cs new file mode 100644 index 0000000..9748c81 --- /dev/null +++ b/Project/Panels/EditYnvPortalPanel.Designer.cs @@ -0,0 +1,437 @@ +namespace CodeWalker.Project.Panels +{ + partial class EditYnvPortalPanel + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditYnvPortalPanel)); + this.AngleUpDown = new System.Windows.Forms.NumericUpDown(); + this.label1 = new System.Windows.Forms.Label(); + this.TypeUpDown = new System.Windows.Forms.NumericUpDown(); + this.label49 = new System.Windows.Forms.Label(); + this.DeletePortalButton = new System.Windows.Forms.Button(); + this.AddToProjectButton = new System.Windows.Forms.Button(); + this.GoToButton = new System.Windows.Forms.Button(); + this.PositionFromTextBox = new System.Windows.Forms.TextBox(); + this.label55 = new System.Windows.Forms.Label(); + this.PositionToTextBox = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.AreaIDFromUpDown = new System.Windows.Forms.NumericUpDown(); + this.label92 = new System.Windows.Forms.Label(); + this.AreaIDToUpDown = new System.Windows.Forms.NumericUpDown(); + this.label3 = new System.Windows.Forms.Label(); + this.PolyIDTo1UpDown = new System.Windows.Forms.NumericUpDown(); + this.label4 = new System.Windows.Forms.Label(); + this.PolyIDFrom1UpDown = new System.Windows.Forms.NumericUpDown(); + this.label5 = new System.Windows.Forms.Label(); + this.PolyIDTo2UpDown = new System.Windows.Forms.NumericUpDown(); + this.label6 = new System.Windows.Forms.Label(); + this.PolyIDFrom2UpDown = new System.Windows.Forms.NumericUpDown(); + this.label7 = new System.Windows.Forms.Label(); + this.Unk2UpDown = new System.Windows.Forms.NumericUpDown(); + this.label8 = new System.Windows.Forms.Label(); + this.Unk1UpDown = new System.Windows.Forms.NumericUpDown(); + this.label9 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.AngleUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.TypeUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.AreaIDFromUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.AreaIDToUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.PolyIDTo1UpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.PolyIDFrom1UpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.PolyIDTo2UpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.PolyIDFrom2UpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.Unk2UpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.Unk1UpDown)).BeginInit(); + this.SuspendLayout(); + // + // AngleUpDown + // + this.AngleUpDown.Location = new System.Drawing.Point(96, 64); + this.AngleUpDown.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.AngleUpDown.Name = "AngleUpDown"; + this.AngleUpDown.Size = new System.Drawing.Size(71, 20); + this.AngleUpDown.TabIndex = 13; + this.AngleUpDown.ValueChanged += new System.EventHandler(this.AngleUpDown_ValueChanged); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(40, 66); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(50, 13); + this.label1.TabIndex = 12; + this.label1.Text = "Rotation:"; + // + // TypeUpDown + // + this.TypeUpDown.Location = new System.Drawing.Point(256, 64); + this.TypeUpDown.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.TypeUpDown.Name = "TypeUpDown"; + this.TypeUpDown.Size = new System.Drawing.Size(71, 20); + this.TypeUpDown.TabIndex = 15; + this.TypeUpDown.ValueChanged += new System.EventHandler(this.TypeUpDown_ValueChanged); + // + // label49 + // + this.label49.AutoSize = true; + this.label49.Location = new System.Drawing.Point(216, 66); + this.label49.Name = "label49"; + this.label49.Size = new System.Drawing.Size(34, 13); + this.label49.TabIndex = 14; + this.label49.Text = "Type:"; + // + // DeletePortalButton + // + this.DeletePortalButton.Enabled = false; + this.DeletePortalButton.Location = new System.Drawing.Point(133, 215); + this.DeletePortalButton.Name = "DeletePortalButton"; + this.DeletePortalButton.Size = new System.Drawing.Size(90, 23); + this.DeletePortalButton.TabIndex = 17; + this.DeletePortalButton.Text = "Delete Portal"; + this.DeletePortalButton.UseVisualStyleBackColor = true; + this.DeletePortalButton.Click += new System.EventHandler(this.DeletePortalButton_Click); + // + // AddToProjectButton + // + this.AddToProjectButton.Enabled = false; + this.AddToProjectButton.Location = new System.Drawing.Point(37, 215); + this.AddToProjectButton.Name = "AddToProjectButton"; + this.AddToProjectButton.Size = new System.Drawing.Size(90, 23); + this.AddToProjectButton.TabIndex = 16; + this.AddToProjectButton.Text = "Add to Project"; + this.AddToProjectButton.UseVisualStyleBackColor = true; + this.AddToProjectButton.Click += new System.EventHandler(this.AddToProjectButton_Click); + // + // GoToButton + // + this.GoToButton.Location = new System.Drawing.Point(302, 10); + this.GoToButton.Name = "GoToButton"; + this.GoToButton.Size = new System.Drawing.Size(68, 23); + this.GoToButton.TabIndex = 11; + this.GoToButton.Text = "Go to"; + this.GoToButton.UseVisualStyleBackColor = true; + this.GoToButton.Click += new System.EventHandler(this.GoToButton_Click); + // + // PositionFromTextBox + // + this.PositionFromTextBox.Location = new System.Drawing.Point(96, 12); + this.PositionFromTextBox.Name = "PositionFromTextBox"; + this.PositionFromTextBox.Size = new System.Drawing.Size(200, 20); + this.PositionFromTextBox.TabIndex = 10; + this.PositionFromTextBox.TextChanged += new System.EventHandler(this.PositionFromTextBox_TextChanged); + // + // label55 + // + this.label55.AutoSize = true; + this.label55.Location = new System.Drawing.Point(17, 15); + this.label55.Name = "label55"; + this.label55.Size = new System.Drawing.Size(73, 13); + this.label55.TabIndex = 9; + this.label55.Text = "From Position:"; + // + // PositionToTextBox + // + this.PositionToTextBox.Location = new System.Drawing.Point(96, 38); + this.PositionToTextBox.Name = "PositionToTextBox"; + this.PositionToTextBox.Size = new System.Drawing.Size(200, 20); + this.PositionToTextBox.TabIndex = 19; + this.PositionToTextBox.TextChanged += new System.EventHandler(this.PositionToTextBox_TextChanged); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(27, 41); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(63, 13); + this.label2.TabIndex = 18; + this.label2.Text = "To Position:"; + // + // AreaIDFromUpDown + // + this.AreaIDFromUpDown.Location = new System.Drawing.Point(96, 90); + this.AreaIDFromUpDown.Maximum = new decimal(new int[] { + 16383, + 0, + 0, + 0}); + this.AreaIDFromUpDown.Name = "AreaIDFromUpDown"; + this.AreaIDFromUpDown.Size = new System.Drawing.Size(71, 20); + this.AreaIDFromUpDown.TabIndex = 21; + this.AreaIDFromUpDown.ValueChanged += new System.EventHandler(this.AreaIDFromUpDown_ValueChanged); + // + // label92 + // + this.label92.AutoSize = true; + this.label92.Location = new System.Drawing.Point(18, 92); + this.label92.Name = "label92"; + this.label92.Size = new System.Drawing.Size(72, 13); + this.label92.TabIndex = 20; + this.label92.Text = "From Area ID:"; + // + // AreaIDToUpDown + // + this.AreaIDToUpDown.Location = new System.Drawing.Point(256, 90); + this.AreaIDToUpDown.Maximum = new decimal(new int[] { + 16383, + 0, + 0, + 0}); + this.AreaIDToUpDown.Name = "AreaIDToUpDown"; + this.AreaIDToUpDown.Size = new System.Drawing.Size(71, 20); + this.AreaIDToUpDown.TabIndex = 23; + this.AreaIDToUpDown.ValueChanged += new System.EventHandler(this.AreaIDToUpDown_ValueChanged); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(188, 92); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(62, 13); + this.label3.TabIndex = 22; + this.label3.Text = "To Area ID:"; + // + // PolyIDTo1UpDown + // + this.PolyIDTo1UpDown.Location = new System.Drawing.Point(256, 116); + this.PolyIDTo1UpDown.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.PolyIDTo1UpDown.Name = "PolyIDTo1UpDown"; + this.PolyIDTo1UpDown.Size = new System.Drawing.Size(71, 20); + this.PolyIDTo1UpDown.TabIndex = 27; + this.PolyIDTo1UpDown.ValueChanged += new System.EventHandler(this.PolyIDTo1UpDown_ValueChanged); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(181, 118); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(69, 13); + this.label4.TabIndex = 26; + this.label4.Text = "To Poly ID 1:"; + // + // PolyIDFrom1UpDown + // + this.PolyIDFrom1UpDown.Location = new System.Drawing.Point(96, 116); + this.PolyIDFrom1UpDown.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.PolyIDFrom1UpDown.Name = "PolyIDFrom1UpDown"; + this.PolyIDFrom1UpDown.Size = new System.Drawing.Size(71, 20); + this.PolyIDFrom1UpDown.TabIndex = 25; + this.PolyIDFrom1UpDown.ValueChanged += new System.EventHandler(this.PolyIDFrom1UpDown_ValueChanged); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(11, 118); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(79, 13); + this.label5.TabIndex = 24; + this.label5.Text = "From Poly ID 1:"; + // + // PolyIDTo2UpDown + // + this.PolyIDTo2UpDown.Location = new System.Drawing.Point(256, 142); + this.PolyIDTo2UpDown.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.PolyIDTo2UpDown.Name = "PolyIDTo2UpDown"; + this.PolyIDTo2UpDown.Size = new System.Drawing.Size(71, 20); + this.PolyIDTo2UpDown.TabIndex = 31; + this.PolyIDTo2UpDown.ValueChanged += new System.EventHandler(this.PolyIDTo2UpDown_ValueChanged); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(181, 144); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(69, 13); + this.label6.TabIndex = 30; + this.label6.Text = "To Poly ID 2:"; + // + // PolyIDFrom2UpDown + // + this.PolyIDFrom2UpDown.Location = new System.Drawing.Point(96, 142); + this.PolyIDFrom2UpDown.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.PolyIDFrom2UpDown.Name = "PolyIDFrom2UpDown"; + this.PolyIDFrom2UpDown.Size = new System.Drawing.Size(71, 20); + this.PolyIDFrom2UpDown.TabIndex = 29; + this.PolyIDFrom2UpDown.ValueChanged += new System.EventHandler(this.PolyIDFrom2UpDown_ValueChanged); + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(11, 144); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(79, 13); + this.label7.TabIndex = 28; + this.label7.Text = "From Poly ID 2:"; + // + // Unk2UpDown + // + this.Unk2UpDown.Location = new System.Drawing.Point(256, 168); + this.Unk2UpDown.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.Unk2UpDown.Name = "Unk2UpDown"; + this.Unk2UpDown.Size = new System.Drawing.Size(71, 20); + this.Unk2UpDown.TabIndex = 35; + this.Unk2UpDown.ValueChanged += new System.EventHandler(this.Unk2UpDown_ValueChanged); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(211, 170); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(39, 13); + this.label8.TabIndex = 34; + this.label8.Text = "Unk 2:"; + // + // Unk1UpDown + // + this.Unk1UpDown.Location = new System.Drawing.Point(96, 168); + this.Unk1UpDown.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.Unk1UpDown.Name = "Unk1UpDown"; + this.Unk1UpDown.Size = new System.Drawing.Size(71, 20); + this.Unk1UpDown.TabIndex = 33; + this.Unk1UpDown.ValueChanged += new System.EventHandler(this.Unk1UpDown_ValueChanged); + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(51, 170); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(39, 13); + this.label9.TabIndex = 32; + this.label9.Text = "Unk 1:"; + // + // EditYnvPortalPanel + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(454, 295); + this.Controls.Add(this.Unk2UpDown); + this.Controls.Add(this.label8); + this.Controls.Add(this.Unk1UpDown); + this.Controls.Add(this.label9); + this.Controls.Add(this.PolyIDTo2UpDown); + this.Controls.Add(this.label6); + this.Controls.Add(this.PolyIDFrom2UpDown); + this.Controls.Add(this.label7); + this.Controls.Add(this.PolyIDTo1UpDown); + this.Controls.Add(this.label4); + this.Controls.Add(this.PolyIDFrom1UpDown); + this.Controls.Add(this.label5); + this.Controls.Add(this.AreaIDToUpDown); + this.Controls.Add(this.label3); + this.Controls.Add(this.AreaIDFromUpDown); + this.Controls.Add(this.label92); + this.Controls.Add(this.PositionToTextBox); + this.Controls.Add(this.label2); + this.Controls.Add(this.AngleUpDown); + this.Controls.Add(this.label1); + this.Controls.Add(this.TypeUpDown); + this.Controls.Add(this.label49); + this.Controls.Add(this.DeletePortalButton); + this.Controls.Add(this.AddToProjectButton); + this.Controls.Add(this.GoToButton); + this.Controls.Add(this.PositionFromTextBox); + this.Controls.Add(this.label55); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Name = "EditYnvPortalPanel"; + this.Text = "Edit Ynv Portal"; + ((System.ComponentModel.ISupportInitialize)(this.AngleUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.TypeUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.AreaIDFromUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.AreaIDToUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.PolyIDTo1UpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.PolyIDFrom1UpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.PolyIDTo2UpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.PolyIDFrom2UpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.Unk2UpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.Unk1UpDown)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.NumericUpDown AngleUpDown; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.NumericUpDown TypeUpDown; + private System.Windows.Forms.Label label49; + private System.Windows.Forms.Button DeletePortalButton; + private System.Windows.Forms.Button AddToProjectButton; + private System.Windows.Forms.Button GoToButton; + private System.Windows.Forms.TextBox PositionFromTextBox; + private System.Windows.Forms.Label label55; + private System.Windows.Forms.TextBox PositionToTextBox; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.NumericUpDown AreaIDFromUpDown; + private System.Windows.Forms.Label label92; + private System.Windows.Forms.NumericUpDown AreaIDToUpDown; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.NumericUpDown PolyIDTo1UpDown; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.NumericUpDown PolyIDFrom1UpDown; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.NumericUpDown PolyIDTo2UpDown; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.NumericUpDown PolyIDFrom2UpDown; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.NumericUpDown Unk2UpDown; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.NumericUpDown Unk1UpDown; + private System.Windows.Forms.Label label9; + } +} \ No newline at end of file diff --git a/Project/Panels/EditYnvPortalPanel.cs b/Project/Panels/EditYnvPortalPanel.cs new file mode 100644 index 0000000..97f3196 --- /dev/null +++ b/Project/Panels/EditYnvPortalPanel.cs @@ -0,0 +1,311 @@ +using CodeWalker.GameFiles; +using SharpDX; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace CodeWalker.Project.Panels +{ + public partial class EditYnvPortalPanel : ProjectPanel + { + public ProjectForm ProjectForm; + public YnvPortal YnvPortal { get; set; } + + private bool populatingui = false; + + public EditYnvPortalPanel(ProjectForm projectForm) + { + ProjectForm = projectForm; + InitializeComponent(); + } + + public void SetYnvPortal(YnvPortal ynvPortal) + { + YnvPortal = ynvPortal; + Tag = ynvPortal; + UpdateFormTitle(); + UpdateYnvPortalUI(); + } + + private void UpdateFormTitle() + { + Text = "Nav Portal " + YnvPortal.Index.ToString(); + } + + + public void UpdateYnvPortalUI() + { + if (YnvPortal == null) + { + DeletePortalButton.Enabled = false; + AddToProjectButton.Enabled = false; + PositionFromTextBox.Text = string.Empty; + PositionToTextBox.Text = string.Empty; + AngleUpDown.Value = 0; + TypeUpDown.Value = 0; + AreaIDFromUpDown.Value = 0; + AreaIDToUpDown.Value = 0; + PolyIDFrom1UpDown.Value = 0; + PolyIDTo1UpDown.Value = 0; + PolyIDFrom2UpDown.Value = 0; + PolyIDTo2UpDown.Value = 0; + Unk1UpDown.Value = 0; + Unk2UpDown.Value = 0; + } + else + { + populatingui = true; + DeletePortalButton.Enabled = ProjectForm.YnvExistsInProject(YnvPortal.Ynv); + AddToProjectButton.Enabled = !DeletePortalButton.Enabled; + PositionFromTextBox.Text = FloatUtil.GetVector3String(YnvPortal.PositionFrom); + PositionToTextBox.Text = FloatUtil.GetVector3String(YnvPortal.PositionTo); + AngleUpDown.Value = YnvPortal.Angle; + TypeUpDown.Value = YnvPortal.Type; + AreaIDFromUpDown.Value = YnvPortal.AreaIDFrom; + AreaIDToUpDown.Value = YnvPortal.AreaIDTo; + PolyIDFrom1UpDown.Value = YnvPortal.PolyIDFrom1; + PolyIDTo1UpDown.Value = YnvPortal.PolyIDTo1; + PolyIDFrom2UpDown.Value = YnvPortal.PolyIDFrom2; + PolyIDTo2UpDown.Value = YnvPortal.PolyIDTo2; + Unk1UpDown.Value = YnvPortal.Unk1; + Unk2UpDown.Value = YnvPortal.Unk2; + populatingui = false; + } + } + + private void PositionFromTextBox_TextChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + Vector3 v = FloatUtil.ParseVector3String(PositionFromTextBox.Text); + bool change = false; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.PositionFrom != v) + { + YnvPortal.PositionFrom = v; + ProjectForm.SetYnvHasChanged(true); + change = true; + } + } + if (change) + { + if (ProjectForm.WorldForm != null) + { + ProjectForm.WorldForm.SetWidgetPosition(YnvPortal.Position); + ProjectForm.WorldForm.UpdateNavPortalGraphics(YnvPortal, false); + } + } + } + + private void PositionToTextBox_TextChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + Vector3 v = FloatUtil.ParseVector3String(PositionToTextBox.Text); + bool change = false; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.PositionTo != v) + { + YnvPortal.PositionTo = v; + ProjectForm.SetYnvHasChanged(true); + change = true; + } + } + if (change) + { + if (ProjectForm.WorldForm != null) + { + ProjectForm.WorldForm.SetWidgetPosition(YnvPortal.Position); + ProjectForm.WorldForm.UpdateNavPortalGraphics(YnvPortal, false); + } + } + } + + private void AngleUpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + byte ang = (byte)AngleUpDown.Value; + bool change = false; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.Angle != ang) + { + YnvPortal.Angle = ang; + ProjectForm.SetYnvHasChanged(true); + change = true; + } + } + if (change) + { + if (ProjectForm.WorldForm != null) + { + ProjectForm.WorldForm.SetWidgetRotation(YnvPortal.Orientation); + //ProjectForm.WorldForm.UpdateNavPortalGraphics(YnvPortal, false); + } + } + } + + private void TypeUpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + byte typ = (byte)TypeUpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.Type != typ) + { + YnvPortal.Type = typ; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void AreaIDFromUpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + ushort id = (ushort)AreaIDFromUpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.AreaIDFrom != id) + { + YnvPortal.AreaIDFrom = id; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void AreaIDToUpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + ushort id = (ushort)AreaIDToUpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.AreaIDTo != id) + { + YnvPortal.AreaIDTo = id; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void PolyIDFrom1UpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + ushort id = (ushort)PolyIDFrom1UpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.PolyIDFrom1 != id) + { + YnvPortal.PolyIDFrom1 = id; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void PolyIDTo1UpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + ushort id = (ushort)PolyIDTo1UpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.PolyIDTo1 != id) + { + YnvPortal.PolyIDTo1 = id; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void PolyIDFrom2UpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + ushort id = (ushort)PolyIDFrom2UpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.PolyIDFrom2 != id) + { + YnvPortal.PolyIDFrom2 = id; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void PolyIDTo2UpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + ushort id = (ushort)PolyIDTo2UpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.PolyIDTo2 != id) + { + YnvPortal.PolyIDTo2 = id; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void Unk1UpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + ushort unk = (ushort)Unk1UpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.Unk1 != unk) + { + YnvPortal.Unk1 = unk; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void Unk2UpDown_ValueChanged(object sender, EventArgs e) + { + if (populatingui) return; + if (YnvPortal == null) return; + byte unk = (byte)Unk2UpDown.Value; + lock (ProjectForm.ProjectSyncRoot) + { + if (YnvPortal.Unk2 != unk) + { + YnvPortal.Unk2 = unk; + ProjectForm.SetYnvHasChanged(true); + } + } + } + + private void GoToButton_Click(object sender, EventArgs e) + { + if (YnvPortal == null) return; + if (ProjectForm.WorldForm == null) return; + ProjectForm.WorldForm.GoToPosition(YnvPortal.Position); + } + + private void AddToProjectButton_Click(object sender, EventArgs e) + { + if (YnvPortal == null) return; + ProjectForm.SetProjectItem(YnvPortal); + ProjectForm.AddYnvToProject(YnvPortal.Ynv); + } + + private void DeletePortalButton_Click(object sender, EventArgs e) + { + MessageBox.Show("Delete Portal TODO!"); + } + } +} diff --git a/Project/Panels/EditYnvPortalPanel.resx b/Project/Panels/EditYnvPortalPanel.resx new file mode 100644 index 0000000..1431f6b --- /dev/null +++ b/Project/Panels/EditYnvPortalPanel.resx @@ -0,0 +1,409 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + AAABAAMAICAAAAAAGACoDAAANgAAABAQAAAAABgAaAMAAN4MAABAQAAAAAAYACgyAABGEAAAKAAAACAA + AABAAAAAAQAYAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPv8/u3v+Pn6//7+/wAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AP7+/vX3/rzA3OHl9fz9/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7//+zv+3Z6qcLI5Pr7/wAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAP7+/+br+15in6+33vf5/wAAAAAAAAAAAAAAAP7+//7+/wAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAA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AAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////w////4 + P///+D////g8//D4MH/geCB/4Dggf+A4IH/wOCD/+DAB//hgAf//gAP//wAAB/AAAAPwAAAD8AAAA/AA + AAfjAAEHgYADAQPgBwEDEAEBAghgAQwIIEH8CCB//Bggf/wYMH/8ODD///h/////////////KAAAABAA + AAAgAAAAAQAYAAAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///+vv/fL1/v///wAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///4+Vx7/F5v///wAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAP///4CHtrS62////////////////////wAAAAAAAAAAAP////H0/vf6/v// + /////////4yTwrrB4f///+zw+7rA6P39/////wAAAAAAAAAAAP///56l2BkcguXr/P///////42Uw8jO + 6P///ysvjWVqtP///////wAAAAAAAAAAAP////D0/0hPpsDG6////////6y02d7k8////3qAx+/z/f// + /wAAAAAAAAAAAAAAAAAAAP///////////////8zT8V5ns1Rcrdzh9f///////////wAAAAAAAAAAAAAA + AAAAAP////////7+/6ix3nmBxFthtmdwu09WqbC54/v9//r8//j6//39/wAAAAAAAAAAAOjt/H6I0FJc + skpSqHF+wRMahFZhs4iT1AsNc1pgrm52v2RsuO/z/gAAAP////////L2/cLJ7rrD64+V4DY+ozU+mYmU + 0X2Hy1hfss7V8urv/PP2/v///wAAAP///+Pp+d/k9////////+Pp/4uR3ysymW14xYOM0fD0/P///+Xq + +ri/6Pj6/wAAAOrv/j5DnbS75P////////////X4/+/0/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AAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////// + ///////4D/////////AH////////8Af////////wB/////////AH////////8Af////////wB/////// + //AH////////8Af////////wB/////////AH////////8AfwP//////wB8Af//+Af/AHgB///wA/8AcA + H///AB/wBgAf//8AD/AGAB///wAH8AYAH///AAPwBAAf//8AA/AEAD///wAD8AQAP///AAPwBAB///+A + A/AEAP///8AD4AAA////4AcAAAH////wDgAAAf/////8AAAH//////gAAAf/////4AAAAf/////gAAAA + /f//+AAAAAAAD//AAAAAAAAH/4AAAAAAAAf/gAAAAAAAB/+AAAAAAAAH/4AAAAAAAAf/gAAAAAAAB/+A + AAAAAAAP/4AAAAAAAB//wAAAAABAf/4HwAAAAYAf8APAAAADgA/gA+AAAAMAA8AD8AAABwADgAP8AAAf + AAOAA/4AAB8AA4ADAAAAAQADgAIAcA4AgAOABgBwDgBAA4AMAGAMADADwDwAYAwAOAfg+ABgBAAeH//4 + AEAEAB////gAwAYAH///+ADABgAf///4AcAGAB////gBwAcAH///+APAB4A////8B+AHwH//////4A// + ///////gD/////////Af//////////////8= + + + \ No newline at end of file diff --git a/Project/Panels/ProjectExplorerPanel.cs b/Project/Panels/ProjectExplorerPanel.cs index d1d3a87..a27344b 100644 --- a/Project/Panels/ProjectExplorerPanel.cs +++ b/Project/Panels/ProjectExplorerPanel.cs @@ -274,6 +274,10 @@ namespace CodeWalker.Project.Panels n.Name = "EditPortal"; n.Tag = ynv; //this tag should get updated with the selected portal! + n = node.Nodes.Add("Edit Point"); + n.Name = "EditPoint"; + n.Tag = ynv; //this tag should get updated with the selected point! + } private void LoadTrainTrackTreeNodes(TrainTrack track, TreeNode node) @@ -640,6 +644,36 @@ namespace CodeWalker.Project.Panels //} //return null; } + public TreeNode FindNavPointTreeNode(YnvPoint p) + { + if (p == null) return null; + TreeNode ynvnode = FindYnvTreeNode(p.Ynv); + var pointnode = GetChildTreeNode(ynvnode, "EditPoint"); + if (pointnode == null) return null; + pointnode.Tag = p; + return pointnode; + //for (int i = 0; i < pointsnode.Nodes.Count; i++) + //{ + // TreeNode pnode = pointsnode.Nodes[i]; + // if (pnode.Tag == p) return pnode; + //} + //return null; + } + public TreeNode FindNavPortalTreeNode(YnvPortal p) + { + if (p == null) return null; + TreeNode ynvnode = FindYnvTreeNode(p.Ynv); + var portalnode = GetChildTreeNode(ynvnode, "EditPortal"); + if (portalnode == null) return null; + portalnode.Tag = p; + return portalnode; + //for (int i = 0; i < portalsnode.Nodes.Count; i++) + //{ + // TreeNode pnode = portalsnode.Nodes[i]; + // if (pnode.Tag == p) return pnode; + //} + //return null; + } public TreeNode FindTrainTrackTreeNode(TrainTrack track) { if (ProjectTreeView.Nodes.Count <= 0) return null; @@ -769,6 +803,44 @@ namespace CodeWalker.Project.Panels } } } + public void TrySelectNavPointTreeNode(YnvPoint point) + { + TreeNode tnode = FindNavPointTreeNode(point); + if (tnode == null) + { + tnode = FindYnvTreeNode(point?.Ynv); + } + if (tnode != null) + { + if (ProjectTreeView.SelectedNode == tnode) + { + OnItemSelected?.Invoke(point); + } + else + { + ProjectTreeView.SelectedNode = tnode; + } + } + } + public void TrySelectNavPortalTreeNode(YnvPortal portal) + { + TreeNode tnode = FindNavPortalTreeNode(portal); + if (tnode == null) + { + tnode = FindYnvTreeNode(portal?.Ynv); + } + if (tnode != null) + { + if (ProjectTreeView.SelectedNode == tnode) + { + OnItemSelected?.Invoke(portal); + } + else + { + ProjectTreeView.SelectedNode = tnode; + } + } + } public void TrySelectTrainNodeTreeNode(TrainTrackNode node) { TreeNode tnode = FindTrainNodeTreeNode(node); diff --git a/Project/ProjectForm.cs b/Project/ProjectForm.cs index 94e97fe..845b3dc 100644 --- a/Project/ProjectForm.cs +++ b/Project/ProjectForm.cs @@ -50,6 +50,8 @@ namespace CodeWalker.Project private YnvFile CurrentYnvFile; private YnvPoly CurrentNavPoly; + private YnvPoint CurrentNavPoint; + private YnvPortal CurrentNavPortal; private TrainTrack CurrentTrainTrack; private TrainTrackNode CurrentTrainNode; @@ -373,6 +375,20 @@ namespace CodeWalker.Project (panel) => { panel.SetYnvPoly(CurrentNavPoly); }, //updateFunc (panel) => { return panel.YnvPoly == CurrentNavPoly; }); //findFunc } + private void ShowEditYnvPointPanel(bool promote) + { + ShowPanel(promote, + () => { return new EditYnvPointPanel(this); }, //createFunc + (panel) => { panel.SetYnvPoint(CurrentNavPoint); }, //updateFunc + (panel) => { return panel.YnvPoint == CurrentNavPoint; }); //findFunc + } + private void ShowEditYnvPortalPanel(bool promote) + { + ShowPanel(promote, + () => { return new EditYnvPortalPanel(this); }, //createFunc + (panel) => { panel.SetYnvPortal(CurrentNavPortal); }, //updateFunc + (panel) => { return panel.YnvPortal == CurrentNavPortal; }); //findFunc + } private void ShowEditTrainTrackPanel(bool promote) { ShowPanel(promote, @@ -436,6 +452,14 @@ namespace CodeWalker.Project { ShowEditYnvPolyPanel(promote); } + else if (CurrentNavPoint != null) + { + ShowEditYnvPointPanel(promote); + } + else if (CurrentNavPortal != null) + { + ShowEditYnvPortalPanel(promote); + } else if (CurrentYnvFile != null) { ShowEditYnvPanel(promote); @@ -485,6 +509,8 @@ namespace CodeWalker.Project CurrentPathNode = item as YndNode; CurrentYnvFile = item as YnvFile; CurrentNavPoly = item as YnvPoly; + CurrentNavPoint = item as YnvPoint; + CurrentNavPortal = item as YnvPortal; CurrentTrainTrack = item as TrainTrack; CurrentTrainNode = item as TrainTrackNode; CurrentScenario = item as YmtFile; @@ -511,6 +537,14 @@ namespace CodeWalker.Project { CurrentYnvFile = CurrentNavPoly.Ynv; } + if (CurrentNavPoint != null) + { + CurrentYnvFile = CurrentNavPoint.Ynv; + } + if (CurrentNavPortal != null) + { + CurrentYnvFile = CurrentNavPortal.Ynv; + } if (CurrentTrainNode != null) { CurrentTrainTrack = CurrentTrainNode.Track; @@ -2165,6 +2199,30 @@ namespace CodeWalker.Project return poly == CurrentNavPoly; } + public void NewNavPoint(YnvPoint copy = null, bool copyposition = false)//TODO! + { + } + public bool DeleteNavPoint()//TODO! + { + return false; + } + public bool IsCurrentNavPoint(YnvPoint point) + { + return point == CurrentNavPoint; + } + + public void NewNavPortal(YnvPortal copy = null, bool copyposition = false)//TODO! + { + } + public bool DeleteNavPortal()//TODO! + { + return false; + } + public bool IsCurrentNavPortal(YnvPortal portal) + { + return portal == CurrentNavPortal; + } + public void NewTrainTrack() @@ -3759,12 +3817,14 @@ namespace CodeWalker.Project var pathnode = sel.PathNode; var pathlink = sel.PathLink; var navpoly = sel.NavPoly; + var navpoint = sel.NavPoint; + var navportal = sel.NavPortal; var trainnode = sel.TrainTrackNode; var scenariond = sel.ScenarioNode; var scenarioedge = sel.ScenarioEdge; YmapFile ymap = ent?.Ymap ?? cargen?.Ymap ?? grassbatch?.Ymap; YndFile ynd = pathnode?.Ynd; - YnvFile ynv = navpoly?.Ynv; + YnvFile ynv = navpoly?.Ynv ?? navpoint?.Ynv ?? navportal?.Ynv; TrainTrack traintrack = trainnode?.Track; YmtFile scenario = scenariond?.Ymt ?? scenarioedge?.Region?.Ymt; bool showcurrent = false; @@ -3793,6 +3853,14 @@ namespace CodeWalker.Project { ProjectExplorer?.TrySelectNavPolyTreeNode(navpoly); } + if (navpoint != CurrentNavPoint) + { + ProjectExplorer?.TrySelectNavPointTreeNode(navpoint); + } + if (navportal != CurrentNavPortal) + { + ProjectExplorer?.TrySelectNavPortalTreeNode(navportal); + } } else if (TrainTrackExistsInProject(traintrack)) { @@ -3825,6 +3893,8 @@ namespace CodeWalker.Project CurrentPathLink = pathlink; CurrentYnvFile = ynv; CurrentNavPoly = navpoly; + CurrentNavPoint = navpoint; + CurrentNavPortal = navportal; CurrentTrainTrack = traintrack; CurrentTrainNode = trainnode; CurrentScenario = scenario; @@ -3863,6 +3933,14 @@ namespace CodeWalker.Project { OnWorldNavPolyModified(sel.NavPoly); } + else if (sel.NavPoint != null) + { + OnWorldNavPointModified(sel.NavPoint); + } + else if (sel.NavPortal != null) + { + OnWorldNavPortalModified(sel.NavPortal); + } else if (sel.TrainTrackNode != null) { OnWorldTrainNodeModified(sel.TrainTrackNode); @@ -4064,6 +4142,98 @@ namespace CodeWalker.Project } catch { } } + private void OnWorldNavPointModified(YnvPoint point) + { + try + { + if (InvokeRequired) + { + BeginInvoke(new Action(() => { OnWorldNavPointModified(point); })); + } + else + { + if (point?.Ynv == null) return; + + if (CurrentProjectFile == null) + { + NewProject(); + } + + if (!YnvExistsInProject(point.Ynv)) + { + point.Ynv.HasChanged = true; + AddYnvToProject(point.Ynv); + ProjectExplorer?.TrySelectNavPointTreeNode(point); + } + + if (point != CurrentNavPoint) + { + CurrentNavPoint = point; + ProjectExplorer?.TrySelectNavPointTreeNode(point); + } + + if (point == CurrentNavPoint) + { + ShowEditYnvPointPanel(false); + + //////UpdateNavPointTreeNode(poly); + + if (point.Ynv != null) + { + SetYnvHasChanged(true); + } + } + + } + } + catch { } + } + private void OnWorldNavPortalModified(YnvPortal portal) + { + try + { + if (InvokeRequired) + { + BeginInvoke(new Action(() => { OnWorldNavPortalModified(portal); })); + } + else + { + if (portal?.Ynv == null) return; + + if (CurrentProjectFile == null) + { + NewProject(); + } + + if (!YnvExistsInProject(portal.Ynv)) + { + portal.Ynv.HasChanged = true; + AddYnvToProject(portal.Ynv); + ProjectExplorer?.TrySelectNavPortalTreeNode(portal); + } + + if (portal != CurrentNavPortal) + { + CurrentNavPortal = portal; + ProjectExplorer?.TrySelectNavPortalTreeNode(portal); + } + + if (portal == CurrentNavPortal) + { + ShowEditYnvPortalPanel(false); + + //////UpdateNavPortalTreeNode(poly); + + if (portal.Ynv != null) + { + SetYnvHasChanged(true); + } + } + + } + } + catch { } + } private void OnWorldTrainNodeModified(TrainTrackNode node) { try diff --git a/Project/UndoStep.cs b/Project/UndoStep.cs index 3c1dd6d..2a05baa 100644 --- a/Project/UndoStep.cs +++ b/Project/UndoStep.cs @@ -62,6 +62,7 @@ namespace CodeWalker.Project { Dictionary pathYnds = new Dictionary(); + Dictionary navYnvs = new Dictionary(); Dictionary trainTracks = new Dictionary(); Dictionary scenarioYmts = new Dictionary(); @@ -73,6 +74,18 @@ namespace CodeWalker.Project { pathYnds[item.PathNode.Ynd] = 1; } + if (item.NavPoly != null) + { + navYnvs[item.NavPoly.Ynv] = 1; + } + if (item.NavPoint != null) + { + navYnvs[item.NavPoint.Ynv] = 1; + } + if (item.NavPortal != null) + { + navYnvs[item.NavPortal.Ynv] = 1; + } if (item.TrainTrackNode != null) { trainTracks[item.TrainTrackNode.Track] = 1; @@ -88,6 +101,10 @@ namespace CodeWalker.Project { wf.UpdatePathYndGraphics(kvp.Key, true); } + foreach (var kvp in navYnvs) + { + wf.UpdateNavYnvGraphics(kvp.Key, true); + } foreach (var kvp in trainTracks) { wf.UpdateTrainTrackGraphics(kvp.Key, false); @@ -491,6 +508,222 @@ namespace CodeWalker.Project } + + public class NavPointPositionUndoStep : UndoStep + { + public YnvPoint Point { get; set; } + public Vector3 StartPosition { get; set; } + public Vector3 EndPosition { get; set; } + + public NavPointPositionUndoStep(YnvPoint point, Vector3 startpos, WorldForm wf) + { + Point = point; + StartPosition = startpos; + EndPosition = point?.Position ?? Vector3.Zero; + + UpdateGraphics(wf); //forces the update of the path graphics when it's moved... + } + + private void Update(WorldForm wf, ref MapSelection sel, Vector3 p) + { + Point?.SetPosition(p); + + if (Point != sel.NavPoint) + { + wf.SelectNavPoint(Point); + } + wf.SetWidgetPosition(p); + + + UpdateGraphics(wf); + } + + private void UpdateGraphics(WorldForm wf) + { + if (Point != null) + { + //Ynv graphics needs to be updated..... + wf.UpdateNavYnvGraphics(Point.Ynv, false); + } + } + + + public override void Undo(WorldForm wf, ref MapSelection sel) + { + Update(wf, ref sel, StartPosition); + } + + public override void Redo(WorldForm wf, ref MapSelection sel) + { + Update(wf, ref sel, EndPosition); + } + + public override string ToString() + { + return "NavPoint " + (Point?.ToString() ?? "") + ": Position"; + } + } + + public class NavPointRotationUndoStep : UndoStep + { + public YnvPoint Point { get; set; } + public Quaternion StartRotation { get; set; } + public Quaternion EndRotation { get; set; } + + public NavPointRotationUndoStep(YnvPoint point, Quaternion startrot, WorldForm wf) + { + Point = point; + StartRotation = startrot; + EndRotation = point?.Orientation ?? Quaternion.Identity; + + //UpdateGraphics(wf); + } + + + private void Update(WorldForm wf, ref MapSelection sel, Quaternion q) + { + Point?.SetOrientation(q); + + if (Point != sel.NavPoint) wf.SelectNavPoint(Point); + wf.SetWidgetRotation(q); + + //UpdateGraphics(wf); + } + + private void UpdateGraphics(WorldForm wf) + { + ////this function shouldn't actually be needed for rotating... + //if (Point != null) + //{ + // //Ynv graphics needs to be updated..... + // wf.UpdateNavYnvGraphics(Point.Ynv, false); + //} + } + + public override void Undo(WorldForm wf, ref MapSelection sel) + { + Update(wf, ref sel, StartRotation); + } + + public override void Redo(WorldForm wf, ref MapSelection sel) + { + Update(wf, ref sel, EndRotation); + } + + public override string ToString() + { + return "NavPoint " + (Point?.ToString() ?? "") + ": Rotation"; + } + } + + public class NavPortalPositionUndoStep : UndoStep + { + public YnvPortal Portal { get; set; } + public Vector3 StartPosition { get; set; } + public Vector3 EndPosition { get; set; } + + public NavPortalPositionUndoStep(YnvPortal portal, Vector3 startpos, WorldForm wf) + { + Portal = portal; + StartPosition = startpos; + EndPosition = portal?.Position ?? Vector3.Zero; + + UpdateGraphics(wf); //forces the update of the path graphics when it's moved... + } + + private void Update(WorldForm wf, ref MapSelection sel, Vector3 p) + { + Portal?.SetPosition(p); + + if (Portal != sel.NavPortal) + { + wf.SelectNavPortal(Portal); + } + wf.SetWidgetPosition(p); + + + UpdateGraphics(wf); + } + + private void UpdateGraphics(WorldForm wf) + { + if (Portal != null) + { + //Ynv graphics needs to be updated..... + wf.UpdateNavYnvGraphics(Portal.Ynv, false); + } + } + + + public override void Undo(WorldForm wf, ref MapSelection sel) + { + Update(wf, ref sel, StartPosition); + } + + public override void Redo(WorldForm wf, ref MapSelection sel) + { + Update(wf, ref sel, EndPosition); + } + + public override string ToString() + { + return "NavPortal " + (Portal?.ToString() ?? "") + ": Position"; + } + } + public class NavPortalRotationUndoStep : UndoStep + { + public YnvPortal Portal { get; set; } + public Quaternion StartRotation { get; set; } + public Quaternion EndRotation { get; set; } + + public NavPortalRotationUndoStep(YnvPortal portal, Quaternion startrot, WorldForm wf) + { + Portal = portal; + StartRotation = startrot; + EndRotation = portal?.Orientation ?? Quaternion.Identity; + + //UpdateGraphics(wf); + } + + + private void Update(WorldForm wf, ref MapSelection sel, Quaternion q) + { + Portal?.SetOrientation(q); + + if (Portal != sel.NavPortal) wf.SelectNavPortal(Portal); + wf.SetWidgetRotation(q); + + //UpdateGraphics(wf); + } + + private void UpdateGraphics(WorldForm wf) + { + ////this function shouldn't actually be needed for rotating... + //if (Point != null) + //{ + // //Ynv graphics needs to be updated..... + // wf.UpdateNavYnvGraphics(Point.Ynv, false); + //} + } + + public override void Undo(WorldForm wf, ref MapSelection sel) + { + Update(wf, ref sel, StartRotation); + } + + public override void Redo(WorldForm wf, ref MapSelection sel) + { + Update(wf, ref sel, EndRotation); + } + + public override string ToString() + { + return "NavPortal " + (Portal?.ToString() ?? "") + ": Rotation"; + } + } + + + public class TrainTrackNodePositionUndoStep : UndoStep { public TrainTrackNode Node { get; set; } diff --git a/Rendering/DirectX/DXManager.cs b/Rendering/DirectX/DXManager.cs index 7c6a1c9..e38d480 100644 --- a/Rendering/DirectX/DXManager.cs +++ b/Rendering/DirectX/DXManager.cs @@ -71,6 +71,7 @@ namespace CodeWalker.Rendering //#endif Device dev = null; SwapChain sc = null; + Exception exc = null; bool success = false; try @@ -78,7 +79,7 @@ namespace CodeWalker.Rendering Device.CreateWithSwapChain(DriverType.Hardware, flags, levels, scd, out dev, out sc); success = true; } - catch { } + catch(Exception ex) { exc = ex; } if (!success) { @@ -90,12 +91,17 @@ namespace CodeWalker.Rendering Device.CreateWithSwapChain(DriverType.Hardware, flags, levels, scd, out dev, out sc); success = true; } - catch { } + catch (Exception ex) { exc = ex; } } if (!success) { - throw new Exception("CodeWalker was unable to initialise the graphics device. Please ensure your system meets the minimum requirements and that your graphics drivers and DirectX are up to date."); + var msg = "CodeWalker was unable to initialise the graphics device. Please ensure your system meets the minimum requirements and that your graphics drivers and DirectX are up to date."; + if (exc != null) + { + msg += "\n\nException info: " + exc.ToString(); + } + throw new Exception(msg); } device = dev; @@ -130,7 +136,7 @@ namespace CodeWalker.Rendering } catch (Exception ex) { - MessageBox.Show("Unable to initialise DirectX11.\n" + ex.ToString()); + MessageBox.Show("Unable to initialise DirectX11.\n" + ex.Message, "CodeWalker - Error!"); return false; } } diff --git a/Utils/MapUtils.cs b/Utils/MapUtils.cs index 248bd90..fdadbca 100644 --- a/Utils/MapUtils.cs +++ b/Utils/MapUtils.cs @@ -587,7 +587,7 @@ namespace CodeWalker } else if (NavPortal != null) { - return Quaternion.Identity; + return NavPortal.Orientation; } else if (PathNode != null) { @@ -634,7 +634,7 @@ namespace CodeWalker } else if (NavPortal != null) { - return WidgetAxis.None; + return WidgetAxis.Z; } else if (PathNode != null) { @@ -787,6 +787,10 @@ namespace CodeWalker { NavPoint.SetOrientation(newrot); } + else if (NavPortal != null) + { + NavPortal.SetOrientation(newrot); + } else if (Audio != null) { Audio.SetOrientation(newrot); diff --git a/WorldForm.Designer.cs b/WorldForm.Designer.cs index fa5d527..5051f92 100644 --- a/WorldForm.Designer.cs +++ b/WorldForm.Designer.cs @@ -37,6 +37,161 @@ namespace CodeWalker this.StatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.MousedLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.StatsLabel = new System.Windows.Forms.ToolStripStatusLabel(); + this.ModelComboBox = new System.Windows.Forms.ComboBox(); + this.ToolsPanel = new System.Windows.Forms.Panel(); + this.ToolsDragPanel = new System.Windows.Forms.Panel(); + this.AboutButton = new System.Windows.Forms.Button(); + this.ToolsButton = new System.Windows.Forms.Button(); + this.ToolsPanelExpandButton = new System.Windows.Forms.Button(); + this.ToolsTabControl = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.ViewTabControl = new System.Windows.Forms.TabControl(); + this.ViewWorldTabPage = new System.Windows.Forms.TabPage(); + this.EnableModsCheckBox = new System.Windows.Forms.CheckBox(); + this.label30 = new System.Windows.Forms.Label(); + this.DlcLevelComboBox = new System.Windows.Forms.ComboBox(); + this.EnableDlcCheckBox = new System.Windows.Forms.CheckBox(); + this.WorldYmapWeatherFilterCheckBox = new System.Windows.Forms.CheckBox(); + this.WorldYmapTimeFilterCheckBox = new System.Windows.Forms.CheckBox(); + this.WorldScriptedYmapsCheckBox = new System.Windows.Forms.CheckBox(); + this.WorldDetailDistLabel = new System.Windows.Forms.Label(); + this.label18 = new System.Windows.Forms.Label(); + this.WorldDetailDistTrackBar = new System.Windows.Forms.TrackBar(); + this.WorldLodDistLabel = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.WorldLodDistTrackBar = new System.Windows.Forms.TrackBar(); + this.label15 = new System.Windows.Forms.Label(); + this.WorldMaxLodComboBox = new System.Windows.Forms.ComboBox(); + this.ViewYmapsTabPage = new System.Windows.Forms.TabPage(); + this.ShowYmapChildrenCheckBox = new System.Windows.Forms.CheckBox(); + this.label2 = new System.Windows.Forms.Label(); + this.DetailTrackBar = new System.Windows.Forms.TrackBar(); + this.DynamicLODCheckBox = new System.Windows.Forms.CheckBox(); + this.ViewModelTabPage = new System.Windows.Forms.TabPage(); + this.label1 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.ViewModeComboBox = new System.Windows.Forms.ComboBox(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.label27 = new System.Windows.Forms.Label(); + this.CameraPositionTextBox = new System.Windows.Forms.TextBox(); + this.AddSelectionMarkerButton = new System.Windows.Forms.Button(); + this.AddCurrentPositonMarkerButton = new System.Windows.Forms.Button(); + this.ResetMarkersButton = new System.Windows.Forms.Button(); + this.ClearMarkersButton = new System.Windows.Forms.Button(); + this.GoToButton = new System.Windows.Forms.Button(); + this.ShowLocatorCheckBox = new System.Windows.Forms.CheckBox(); + this.label6 = new System.Windows.Forms.Label(); + this.LocateTextBox = new System.Windows.Forms.TextBox(); + this.label7 = new System.Windows.Forms.Label(); + this.AddMarkersButton = new System.Windows.Forms.Button(); + this.tabPage3 = new System.Windows.Forms.TabPage(); + this.label25 = new System.Windows.Forms.Label(); + this.SelectionModeComboBox = new System.Windows.Forms.ComboBox(); + this.SelectionNameTextBox = new System.Windows.Forms.TextBox(); + this.SelectionTabControl = new System.Windows.Forms.TabControl(); + this.SelectionEntityTabPage = new System.Windows.Forms.TabPage(); + this.SelectionArchetypeTabPage = new System.Windows.Forms.TabPage(); + this.SelectionDrawableTabPage = new System.Windows.Forms.TabPage(); + this.tabControl3 = new System.Windows.Forms.TabControl(); + this.tabPage11 = new System.Windows.Forms.TabPage(); + this.tabPage12 = new System.Windows.Forms.TabPage(); + this.tabPage13 = new System.Windows.Forms.TabPage(); + this.SelectionExtensionTabPage = new System.Windows.Forms.TabPage(); + this.MouseSelectCheckBox = new System.Windows.Forms.CheckBox(); + this.tabPage4 = new System.Windows.Forms.TabPage(); + this.OptionsTabControl = new System.Windows.Forms.TabControl(); + this.tabPage8 = new System.Windows.Forms.TabPage(); + this.AdvancedSettingsButton = new System.Windows.Forms.Button(); + this.ControlSettingsButton = new System.Windows.Forms.Button(); + this.MapViewDetailLabel = new System.Windows.Forms.Label(); + this.label28 = new System.Windows.Forms.Label(); + this.MapViewDetailTrackBar = new System.Windows.Forms.TrackBar(); + this.CameraModeComboBox = new System.Windows.Forms.ComboBox(); + this.label24 = new System.Windows.Forms.Label(); + this.WaterQuadsCheckBox = new System.Windows.Forms.CheckBox(); + this.FieldOfViewLabel = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); + this.TimedEntitiesAlwaysOnCheckBox = new System.Windows.Forms.CheckBox(); + this.GrassCheckBox = new System.Windows.Forms.CheckBox(); + this.InteriorsCheckBox = new System.Windows.Forms.CheckBox(); + this.CollisionMeshLayerDrawableCheckBox = new System.Windows.Forms.CheckBox(); + this.CollisionMeshLayer2CheckBox = new System.Windows.Forms.CheckBox(); + this.CollisionMeshLayer1CheckBox = new System.Windows.Forms.CheckBox(); + this.label13 = new System.Windows.Forms.Label(); + this.CollisionMeshLayer0CheckBox = new System.Windows.Forms.CheckBox(); + this.label12 = new System.Windows.Forms.Label(); + this.CollisionMeshRangeTrackBar = new System.Windows.Forms.TrackBar(); + this.CollisionMeshesCheckBox = new System.Windows.Forms.CheckBox(); + this.FullScreenCheckBox = new System.Windows.Forms.CheckBox(); + this.TimedEntitiesCheckBox = new System.Windows.Forms.CheckBox(); + this.FieldOfViewTrackBar = new System.Windows.Forms.TrackBar(); + this.tabPage14 = new System.Windows.Forms.TabPage(); + this.WireframeCheckBox = new System.Windows.Forms.CheckBox(); + this.RenderModeComboBox = new System.Windows.Forms.ComboBox(); + this.label11 = new System.Windows.Forms.Label(); + this.TextureSamplerComboBox = new System.Windows.Forms.ComboBox(); + this.TextureCoordsComboBox = new System.Windows.Forms.ComboBox(); + this.label10 = new System.Windows.Forms.Label(); + this.AnisotropicFilteringCheckBox = new System.Windows.Forms.CheckBox(); + this.ProxiesCheckBox = new System.Windows.Forms.CheckBox(); + this.WaitForChildrenCheckBox = new System.Windows.Forms.CheckBox(); + this.label14 = new System.Windows.Forms.Label(); + this.tabPage9 = new System.Windows.Forms.TabPage(); + this.SnapGridSizeUpDown = new System.Windows.Forms.NumericUpDown(); + this.label26 = new System.Windows.Forms.Label(); + this.SkeletonsCheckBox = new System.Windows.Forms.CheckBox(); + this.AudioOuterBoundsCheckBox = new System.Windows.Forms.CheckBox(); + this.PopZonesCheckBox = new System.Windows.Forms.CheckBox(); + this.NavMeshesCheckBox = new System.Windows.Forms.CheckBox(); + this.TrainPathsCheckBox = new System.Windows.Forms.CheckBox(); + this.PathsDepthClipCheckBox = new System.Windows.Forms.CheckBox(); + this.PathBoundsCheckBox = new System.Windows.Forms.CheckBox(); + this.SelectionWidgetCheckBox = new System.Windows.Forms.CheckBox(); + this.MarkerStyleComboBox = new System.Windows.Forms.ComboBox(); + this.ShowToolbarCheckBox = new System.Windows.Forms.CheckBox(); + this.label4 = new System.Windows.Forms.Label(); + this.LocatorStyleComboBox = new System.Windows.Forms.ComboBox(); + this.label5 = new System.Windows.Forms.Label(); + this.MarkerDepthClipCheckBox = new System.Windows.Forms.CheckBox(); + this.label9 = new System.Windows.Forms.Label(); + this.PathsCheckBox = new System.Windows.Forms.CheckBox(); + this.SelectionBoundsCheckBox = new System.Windows.Forms.CheckBox(); + this.BoundsDepthClipCheckBox = new System.Windows.Forms.CheckBox(); + this.BoundsRangeTrackBar = new System.Windows.Forms.TrackBar(); + this.BoundsStyleComboBox = new System.Windows.Forms.ComboBox(); + this.label8 = new System.Windows.Forms.Label(); + this.tabPage10 = new System.Windows.Forms.TabPage(); + this.WeatherRegionComboBox = new System.Windows.Forms.ComboBox(); + this.label29 = new System.Windows.Forms.Label(); + this.CloudParamTrackBar = new System.Windows.Forms.TrackBar(); + this.CloudParamComboBox = new System.Windows.Forms.ComboBox(); + this.label23 = new System.Windows.Forms.Label(); + this.CloudsComboBox = new System.Windows.Forms.ComboBox(); + this.label21 = new System.Windows.Forms.Label(); + this.TimeSpeedLabel = new System.Windows.Forms.Label(); + this.label20 = new System.Windows.Forms.Label(); + this.TimeSpeedTrackBar = new System.Windows.Forms.TrackBar(); + this.TimeStartStopButton = new System.Windows.Forms.Button(); + this.ArtificialAmbientLightCheckBox = new System.Windows.Forms.CheckBox(); + this.NaturalAmbientLightCheckBox = new System.Windows.Forms.CheckBox(); + this.DistantLODLightsCheckBox = new System.Windows.Forms.CheckBox(); + this.HDRRenderingCheckBox = new System.Windows.Forms.CheckBox(); + this.ControlTimeOfDayCheckBox = new System.Windows.Forms.CheckBox(); + this.TimeOfDayLabel = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.TimeOfDayTrackBar = new System.Windows.Forms.TrackBar(); + this.WeatherComboBox = new System.Windows.Forms.ComboBox(); + this.label17 = new System.Windows.Forms.Label(); + this.ControlLightDirectionCheckBox = new System.Windows.Forms.CheckBox(); + this.SkydomeCheckBox = new System.Windows.Forms.CheckBox(); + this.ShadowsCheckBox = new System.Windows.Forms.CheckBox(); + this.StatusBarCheckBox = new System.Windows.Forms.CheckBox(); + this.QuitButton = new System.Windows.Forms.Button(); + this.ReloadSettingsButton = new System.Windows.Forms.Button(); + this.SaveSettingsButton = new System.Windows.Forms.Button(); + this.ReloadShadersButton = new System.Windows.Forms.Button(); + this.ErrorConsoleCheckBox = new System.Windows.Forms.CheckBox(); + this.ToolsPanelHideButton = new System.Windows.Forms.Button(); this.ToolsPanelShowButton = new System.Windows.Forms.Button(); this.ConsolePanel = new System.Windows.Forms.Panel(); this.StatsUpdateTimer = new System.Windows.Forms.Timer(this.components); @@ -58,164 +213,8 @@ namespace CodeWalker this.ToolsMenuExtractShaders = new System.Windows.Forms.ToolStripMenuItem(); this.ToolsMenuOptions = new System.Windows.Forms.ToolStripMenuItem(); this.ToolbarPanel = new System.Windows.Forms.Panel(); - this.VSExtender = new WeifenLuo.WinFormsUI.Docking.VisualStudioToolStripExtender(this.components); - this.ToolsPanelHideButton = new System.Windows.Forms.Button(); - this.ToolsTabControl = new System.Windows.Forms.TabControl(); - this.tabPage4 = new System.Windows.Forms.TabPage(); - this.ErrorConsoleCheckBox = new System.Windows.Forms.CheckBox(); - this.ReloadShadersButton = new System.Windows.Forms.Button(); - this.SaveSettingsButton = new System.Windows.Forms.Button(); - this.ReloadSettingsButton = new System.Windows.Forms.Button(); - this.QuitButton = new System.Windows.Forms.Button(); - this.StatusBarCheckBox = new System.Windows.Forms.CheckBox(); - this.OptionsTabControl = new System.Windows.Forms.TabControl(); - this.tabPage10 = new System.Windows.Forms.TabPage(); - this.ShadowsCheckBox = new System.Windows.Forms.CheckBox(); - this.SkydomeCheckBox = new System.Windows.Forms.CheckBox(); - this.ControlLightDirectionCheckBox = new System.Windows.Forms.CheckBox(); - this.label17 = new System.Windows.Forms.Label(); - this.WeatherComboBox = new System.Windows.Forms.ComboBox(); - this.TimeOfDayTrackBar = new System.Windows.Forms.TrackBar(); - this.label19 = new System.Windows.Forms.Label(); - this.TimeOfDayLabel = new System.Windows.Forms.Label(); - this.ControlTimeOfDayCheckBox = new System.Windows.Forms.CheckBox(); - this.HDRRenderingCheckBox = new System.Windows.Forms.CheckBox(); - this.DistantLODLightsCheckBox = new System.Windows.Forms.CheckBox(); - this.NaturalAmbientLightCheckBox = new System.Windows.Forms.CheckBox(); - this.ArtificialAmbientLightCheckBox = new System.Windows.Forms.CheckBox(); - this.TimeStartStopButton = new System.Windows.Forms.Button(); - this.TimeSpeedTrackBar = new System.Windows.Forms.TrackBar(); - this.label20 = new System.Windows.Forms.Label(); - this.TimeSpeedLabel = new System.Windows.Forms.Label(); - this.label21 = new System.Windows.Forms.Label(); - this.CloudsComboBox = new System.Windows.Forms.ComboBox(); - this.label23 = new System.Windows.Forms.Label(); - this.CloudParamComboBox = new System.Windows.Forms.ComboBox(); - this.CloudParamTrackBar = new System.Windows.Forms.TrackBar(); - this.label29 = new System.Windows.Forms.Label(); - this.WeatherRegionComboBox = new System.Windows.Forms.ComboBox(); - this.tabPage9 = new System.Windows.Forms.TabPage(); - this.label8 = new System.Windows.Forms.Label(); - this.BoundsStyleComboBox = new System.Windows.Forms.ComboBox(); - this.BoundsRangeTrackBar = new System.Windows.Forms.TrackBar(); - this.BoundsDepthClipCheckBox = new System.Windows.Forms.CheckBox(); - this.SelectionBoundsCheckBox = new System.Windows.Forms.CheckBox(); - this.PathsCheckBox = new System.Windows.Forms.CheckBox(); - this.label9 = new System.Windows.Forms.Label(); - this.MarkerDepthClipCheckBox = new System.Windows.Forms.CheckBox(); - this.label5 = new System.Windows.Forms.Label(); - this.LocatorStyleComboBox = new System.Windows.Forms.ComboBox(); - this.label4 = new System.Windows.Forms.Label(); - this.ShowToolbarCheckBox = new System.Windows.Forms.CheckBox(); - this.MarkerStyleComboBox = new System.Windows.Forms.ComboBox(); - this.SelectionWidgetCheckBox = new System.Windows.Forms.CheckBox(); - this.PathBoundsCheckBox = new System.Windows.Forms.CheckBox(); - this.PathsDepthClipCheckBox = new System.Windows.Forms.CheckBox(); - this.TrainPathsCheckBox = new System.Windows.Forms.CheckBox(); - this.NavMeshesCheckBox = new System.Windows.Forms.CheckBox(); - this.PopZonesCheckBox = new System.Windows.Forms.CheckBox(); - this.AudioOuterBoundsCheckBox = new System.Windows.Forms.CheckBox(); - this.SkeletonsCheckBox = new System.Windows.Forms.CheckBox(); - this.label26 = new System.Windows.Forms.Label(); - this.SnapGridSizeUpDown = new System.Windows.Forms.NumericUpDown(); - this.tabPage14 = new System.Windows.Forms.TabPage(); - this.label14 = new System.Windows.Forms.Label(); - this.WaitForChildrenCheckBox = new System.Windows.Forms.CheckBox(); - this.ProxiesCheckBox = new System.Windows.Forms.CheckBox(); - this.AnisotropicFilteringCheckBox = new System.Windows.Forms.CheckBox(); - this.label10 = new System.Windows.Forms.Label(); - this.TextureCoordsComboBox = new System.Windows.Forms.ComboBox(); - this.TextureSamplerComboBox = new System.Windows.Forms.ComboBox(); - this.label11 = new System.Windows.Forms.Label(); - this.RenderModeComboBox = new System.Windows.Forms.ComboBox(); - this.WireframeCheckBox = new System.Windows.Forms.CheckBox(); - this.tabPage8 = new System.Windows.Forms.TabPage(); - this.FieldOfViewTrackBar = new System.Windows.Forms.TrackBar(); - this.TimedEntitiesCheckBox = new System.Windows.Forms.CheckBox(); - this.FullScreenCheckBox = new System.Windows.Forms.CheckBox(); - this.CollisionMeshesCheckBox = new System.Windows.Forms.CheckBox(); - this.CollisionMeshRangeTrackBar = new System.Windows.Forms.TrackBar(); - this.label12 = new System.Windows.Forms.Label(); - this.CollisionMeshLayer0CheckBox = new System.Windows.Forms.CheckBox(); - this.label13 = new System.Windows.Forms.Label(); - this.CollisionMeshLayer1CheckBox = new System.Windows.Forms.CheckBox(); - this.CollisionMeshLayer2CheckBox = new System.Windows.Forms.CheckBox(); - this.CollisionMeshLayerDrawableCheckBox = new System.Windows.Forms.CheckBox(); - this.InteriorsCheckBox = new System.Windows.Forms.CheckBox(); - this.GrassCheckBox = new System.Windows.Forms.CheckBox(); - this.TimedEntitiesAlwaysOnCheckBox = new System.Windows.Forms.CheckBox(); - this.label22 = new System.Windows.Forms.Label(); - this.FieldOfViewLabel = new System.Windows.Forms.Label(); - this.WaterQuadsCheckBox = new System.Windows.Forms.CheckBox(); - this.label24 = new System.Windows.Forms.Label(); - this.CameraModeComboBox = new System.Windows.Forms.ComboBox(); - this.MapViewDetailTrackBar = new System.Windows.Forms.TrackBar(); - this.label28 = new System.Windows.Forms.Label(); - this.MapViewDetailLabel = new System.Windows.Forms.Label(); - this.ControlSettingsButton = new System.Windows.Forms.Button(); - this.AdvancedSettingsButton = new System.Windows.Forms.Button(); - this.tabPage3 = new System.Windows.Forms.TabPage(); - this.MouseSelectCheckBox = new System.Windows.Forms.CheckBox(); - this.SelectionTabControl = new System.Windows.Forms.TabControl(); - this.SelectionExtensionTabPage = new System.Windows.Forms.TabPage(); - this.SelectionDrawableTabPage = new System.Windows.Forms.TabPage(); - this.tabControl3 = new System.Windows.Forms.TabControl(); - this.tabPage13 = new System.Windows.Forms.TabPage(); - this.tabPage12 = new System.Windows.Forms.TabPage(); - this.tabPage11 = new System.Windows.Forms.TabPage(); - this.SelectionArchetypeTabPage = new System.Windows.Forms.TabPage(); - this.SelectionEntityTabPage = new System.Windows.Forms.TabPage(); - this.SelectionNameTextBox = new System.Windows.Forms.TextBox(); - this.SelectionModeComboBox = new System.Windows.Forms.ComboBox(); - this.label25 = new System.Windows.Forms.Label(); - this.tabPage2 = new System.Windows.Forms.TabPage(); - this.AddMarkersButton = new System.Windows.Forms.Button(); - this.label7 = new System.Windows.Forms.Label(); - this.LocateTextBox = new System.Windows.Forms.TextBox(); - this.label6 = new System.Windows.Forms.Label(); - this.ShowLocatorCheckBox = new System.Windows.Forms.CheckBox(); - this.GoToButton = new System.Windows.Forms.Button(); - this.ClearMarkersButton = new System.Windows.Forms.Button(); - this.ResetMarkersButton = new System.Windows.Forms.Button(); - this.AddCurrentPositonMarkerButton = new System.Windows.Forms.Button(); - this.AddSelectionMarkerButton = new System.Windows.Forms.Button(); - this.CameraPositionTextBox = new System.Windows.Forms.TextBox(); - this.label27 = new System.Windows.Forms.Label(); - this.tabPage1 = new System.Windows.Forms.TabPage(); - this.ViewModeComboBox = new System.Windows.Forms.ComboBox(); - this.label3 = new System.Windows.Forms.Label(); - this.ViewTabControl = new System.Windows.Forms.TabControl(); - this.ViewModelTabPage = new System.Windows.Forms.TabPage(); - this.ModelComboBox = new System.Windows.Forms.ComboBox(); - this.label1 = new System.Windows.Forms.Label(); - this.ViewYmapsTabPage = new System.Windows.Forms.TabPage(); - this.DynamicLODCheckBox = new System.Windows.Forms.CheckBox(); - this.DetailTrackBar = new System.Windows.Forms.TrackBar(); - this.label2 = new System.Windows.Forms.Label(); - this.ShowYmapChildrenCheckBox = new System.Windows.Forms.CheckBox(); - this.ViewWorldTabPage = new System.Windows.Forms.TabPage(); - this.WorldMaxLodComboBox = new System.Windows.Forms.ComboBox(); - this.label15 = new System.Windows.Forms.Label(); - this.WorldLodDistTrackBar = new System.Windows.Forms.TrackBar(); - this.label16 = new System.Windows.Forms.Label(); - this.WorldLodDistLabel = new System.Windows.Forms.Label(); - this.WorldDetailDistTrackBar = new System.Windows.Forms.TrackBar(); - this.label18 = new System.Windows.Forms.Label(); - this.WorldDetailDistLabel = new System.Windows.Forms.Label(); - this.WorldScriptedYmapsCheckBox = new System.Windows.Forms.CheckBox(); - this.WorldYmapTimeFilterCheckBox = new System.Windows.Forms.CheckBox(); - this.WorldYmapWeatherFilterCheckBox = new System.Windows.Forms.CheckBox(); - this.EnableDlcCheckBox = new System.Windows.Forms.CheckBox(); - this.DlcLevelComboBox = new System.Windows.Forms.ComboBox(); - this.label30 = new System.Windows.Forms.Label(); - this.EnableModsCheckBox = new System.Windows.Forms.CheckBox(); - this.ToolsPanelExpandButton = new System.Windows.Forms.Button(); - this.ToolsButton = new System.Windows.Forms.Button(); - this.AboutButton = new System.Windows.Forms.Button(); - this.ToolsDragPanel = new System.Windows.Forms.Panel(); - this.ToolsPanel = new System.Windows.Forms.Panel(); - this.label31 = new System.Windows.Forms.Label(); this.ThemeComboBox = new System.Windows.Forms.ComboBox(); + this.label31 = new System.Windows.Forms.Label(); this.Toolbar = new CodeWalker.WinForms.ToolStripFix(); this.ToolbarNewButton = new System.Windows.Forms.ToolStripSplitButton(); this.ToolbarNewProjectButton = new System.Windows.Forms.ToolStripMenuItem(); @@ -288,45 +287,45 @@ namespace CodeWalker this.SelDrawableTexturesTreeView = new CodeWalker.WinForms.TreeViewFix(); this.SelExtensionPropertyGrid = new CodeWalker.WinForms.ReadOnlyPropertyGrid(); this.StatusStrip.SuspendLayout(); + this.ToolsPanel.SuspendLayout(); + this.ToolsTabControl.SuspendLayout(); + this.tabPage1.SuspendLayout(); + this.ViewTabControl.SuspendLayout(); + this.ViewWorldTabPage.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.WorldDetailDistTrackBar)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.WorldLodDistTrackBar)).BeginInit(); + this.ViewYmapsTabPage.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.DetailTrackBar)).BeginInit(); + this.ViewModelTabPage.SuspendLayout(); + this.tabPage2.SuspendLayout(); + this.tabPage3.SuspendLayout(); + this.SelectionTabControl.SuspendLayout(); + this.SelectionEntityTabPage.SuspendLayout(); + this.SelectionArchetypeTabPage.SuspendLayout(); + this.SelectionDrawableTabPage.SuspendLayout(); + this.tabControl3.SuspendLayout(); + this.tabPage11.SuspendLayout(); + this.tabPage12.SuspendLayout(); + this.tabPage13.SuspendLayout(); + this.SelectionExtensionTabPage.SuspendLayout(); + this.tabPage4.SuspendLayout(); + this.OptionsTabControl.SuspendLayout(); + this.tabPage8.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.MapViewDetailTrackBar)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CollisionMeshRangeTrackBar)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.FieldOfViewTrackBar)).BeginInit(); + this.tabPage14.SuspendLayout(); + this.tabPage9.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.SnapGridSizeUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.BoundsRangeTrackBar)).BeginInit(); + this.tabPage10.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CloudParamTrackBar)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.TimeSpeedTrackBar)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.TimeOfDayTrackBar)).BeginInit(); this.ConsolePanel.SuspendLayout(); this.SelectedMarkerPanel.SuspendLayout(); this.ToolsMenu.SuspendLayout(); this.ToolbarPanel.SuspendLayout(); - this.ToolsTabControl.SuspendLayout(); - this.tabPage4.SuspendLayout(); - this.OptionsTabControl.SuspendLayout(); - this.tabPage10.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.TimeOfDayTrackBar)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.TimeSpeedTrackBar)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.CloudParamTrackBar)).BeginInit(); - this.tabPage9.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.BoundsRangeTrackBar)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.SnapGridSizeUpDown)).BeginInit(); - this.tabPage14.SuspendLayout(); - this.tabPage8.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.FieldOfViewTrackBar)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.CollisionMeshRangeTrackBar)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.MapViewDetailTrackBar)).BeginInit(); - this.tabPage3.SuspendLayout(); - this.SelectionTabControl.SuspendLayout(); - this.SelectionExtensionTabPage.SuspendLayout(); - this.SelectionDrawableTabPage.SuspendLayout(); - this.tabControl3.SuspendLayout(); - this.tabPage13.SuspendLayout(); - this.tabPage12.SuspendLayout(); - this.tabPage11.SuspendLayout(); - this.SelectionArchetypeTabPage.SuspendLayout(); - this.SelectionEntityTabPage.SuspendLayout(); - this.tabPage2.SuspendLayout(); - this.tabPage1.SuspendLayout(); - this.ViewTabControl.SuspendLayout(); - this.ViewModelTabPage.SuspendLayout(); - this.ViewYmapsTabPage.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.DetailTrackBar)).BeginInit(); - this.ViewWorldTabPage.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.WorldLodDistTrackBar)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.WorldDetailDistTrackBar)).BeginInit(); - this.ToolsPanel.SuspendLayout(); this.Toolbar.SuspendLayout(); this.SuspendLayout(); // @@ -366,6 +365,1989 @@ namespace CodeWalker this.StatsLabel.Size = new System.Drawing.Size(85, 17); this.StatsLabel.Text = "0 geometries"; // + // ModelComboBox + // + this.ModelComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.ModelComboBox.FormattingEnabled = true; + this.ModelComboBox.Items.AddRange(new object[] { + "dt1_lod_slod3", + "dt1_tc_dufo_core", + "dt1_tc_ufocore", + "ex_office_citymodel_01", + "id1_30_build3_dtl2", + "imp_prop_ship_01a", + "prop_alien_egg_01", + "prop_fruit_stand_02", + "prop_fruit_stand_03", + "dune", + "dune2", + "dune2_hi", + "adder", + "adder_hi", + "kuruma2", + "kuruma2_hi", + "infernus", + "infernus_hi", + "buzzard", + "buzzard_hi", + "rhino", + "rhino_hi", + "lazer", + "lazer_hi", + "duster", + "duster_hi", + "marquis", + "marquis_hi", + "submersible", + "submersible_hi", + "cargobob", + "cargobob_hi", + "sanchez", + "sanchez_hi"}); + this.ModelComboBox.Location = new System.Drawing.Point(44, 7); + this.ModelComboBox.Name = "ModelComboBox"; + this.ModelComboBox.Size = new System.Drawing.Size(153, 21); + this.ModelComboBox.TabIndex = 11; + this.ModelComboBox.SelectedIndexChanged += new System.EventHandler(this.ModelComboBox_SelectedIndexChanged); + this.ModelComboBox.TextUpdate += new System.EventHandler(this.ModelComboBox_TextUpdate); + // + // ToolsPanel + // + this.ToolsPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Right))); + this.ToolsPanel.BackColor = System.Drawing.SystemColors.ControlDark; + this.ToolsPanel.Controls.Add(this.ToolsDragPanel); + this.ToolsPanel.Controls.Add(this.AboutButton); + this.ToolsPanel.Controls.Add(this.ToolsButton); + this.ToolsPanel.Controls.Add(this.ToolsPanelExpandButton); + this.ToolsPanel.Controls.Add(this.ToolsTabControl); + this.ToolsPanel.Controls.Add(this.ToolsPanelHideButton); + this.ToolsPanel.Location = new System.Drawing.Point(754, 12); + this.ToolsPanel.Name = "ToolsPanel"; + this.ToolsPanel.Size = new System.Drawing.Size(218, 665); + this.ToolsPanel.TabIndex = 2; + this.ToolsPanel.Visible = false; + // + // ToolsDragPanel + // + this.ToolsDragPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left))); + this.ToolsDragPanel.Cursor = System.Windows.Forms.Cursors.VSplit; + this.ToolsDragPanel.Location = new System.Drawing.Point(0, 0); + this.ToolsDragPanel.Name = "ToolsDragPanel"; + this.ToolsDragPanel.Size = new System.Drawing.Size(4, 665); + this.ToolsDragPanel.TabIndex = 16; + this.ToolsDragPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ToolsDragPanel_MouseDown); + this.ToolsDragPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ToolsDragPanel_MouseMove); + this.ToolsDragPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ToolsDragPanel_MouseUp); + // + // AboutButton + // + this.AboutButton.Location = new System.Drawing.Point(64, 3); + this.AboutButton.Name = "AboutButton"; + this.AboutButton.Size = new System.Drawing.Size(55, 23); + this.AboutButton.TabIndex = 15; + this.AboutButton.Text = "About..."; + this.AboutButton.UseVisualStyleBackColor = true; + this.AboutButton.Click += new System.EventHandler(this.AboutButton_Click); + // + // ToolsButton + // + this.ToolsButton.Location = new System.Drawing.Point(3, 3); + this.ToolsButton.Name = "ToolsButton"; + this.ToolsButton.Size = new System.Drawing.Size(55, 23); + this.ToolsButton.TabIndex = 14; + this.ToolsButton.Text = "Tools..."; + this.ToolsButton.UseVisualStyleBackColor = true; + this.ToolsButton.Click += new System.EventHandler(this.ToolsButton_Click); + // + // ToolsPanelExpandButton + // + this.ToolsPanelExpandButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.ToolsPanelExpandButton.Location = new System.Drawing.Point(149, 3); + this.ToolsPanelExpandButton.Name = "ToolsPanelExpandButton"; + this.ToolsPanelExpandButton.Size = new System.Drawing.Size(30, 23); + this.ToolsPanelExpandButton.TabIndex = 13; + this.ToolsPanelExpandButton.Text = "<<"; + this.ToolsPanelExpandButton.UseVisualStyleBackColor = true; + this.ToolsPanelExpandButton.Click += new System.EventHandler(this.ToolsPanelExpandButton_Click); + // + // ToolsTabControl + // + this.ToolsTabControl.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.ToolsTabControl.Controls.Add(this.tabPage1); + this.ToolsTabControl.Controls.Add(this.tabPage2); + this.ToolsTabControl.Controls.Add(this.tabPage3); + this.ToolsTabControl.Controls.Add(this.tabPage4); + this.ToolsTabControl.Location = new System.Drawing.Point(3, 30); + this.ToolsTabControl.Name = "ToolsTabControl"; + this.ToolsTabControl.SelectedIndex = 0; + this.ToolsTabControl.Size = new System.Drawing.Size(213, 632); + this.ToolsTabControl.TabIndex = 12; + // + // tabPage1 + // + this.tabPage1.Controls.Add(this.ViewTabControl); + this.tabPage1.Controls.Add(this.label3); + this.tabPage1.Controls.Add(this.ViewModeComboBox); + this.tabPage1.Location = new System.Drawing.Point(4, 22); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(205, 606); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "View"; + this.tabPage1.UseVisualStyleBackColor = true; + // + // ViewTabControl + // + this.ViewTabControl.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.ViewTabControl.Controls.Add(this.ViewWorldTabPage); + this.ViewTabControl.Controls.Add(this.ViewYmapsTabPage); + this.ViewTabControl.Controls.Add(this.ViewModelTabPage); + this.ViewTabControl.Location = new System.Drawing.Point(0, 32); + this.ViewTabControl.Name = "ViewTabControl"; + this.ViewTabControl.SelectedIndex = 0; + this.ViewTabControl.Size = new System.Drawing.Size(205, 574); + this.ViewTabControl.TabIndex = 12; + // + // ViewWorldTabPage + // + this.ViewWorldTabPage.Controls.Add(this.EnableModsCheckBox); + this.ViewWorldTabPage.Controls.Add(this.label30); + this.ViewWorldTabPage.Controls.Add(this.DlcLevelComboBox); + this.ViewWorldTabPage.Controls.Add(this.EnableDlcCheckBox); + this.ViewWorldTabPage.Controls.Add(this.WorldYmapWeatherFilterCheckBox); + this.ViewWorldTabPage.Controls.Add(this.WorldYmapTimeFilterCheckBox); + this.ViewWorldTabPage.Controls.Add(this.WorldScriptedYmapsCheckBox); + this.ViewWorldTabPage.Controls.Add(this.WorldDetailDistLabel); + this.ViewWorldTabPage.Controls.Add(this.label18); + this.ViewWorldTabPage.Controls.Add(this.WorldDetailDistTrackBar); + this.ViewWorldTabPage.Controls.Add(this.WorldLodDistLabel); + this.ViewWorldTabPage.Controls.Add(this.label16); + this.ViewWorldTabPage.Controls.Add(this.WorldLodDistTrackBar); + this.ViewWorldTabPage.Controls.Add(this.label15); + this.ViewWorldTabPage.Controls.Add(this.WorldMaxLodComboBox); + this.ViewWorldTabPage.Location = new System.Drawing.Point(4, 22); + this.ViewWorldTabPage.Name = "ViewWorldTabPage"; + this.ViewWorldTabPage.Padding = new System.Windows.Forms.Padding(3); + this.ViewWorldTabPage.Size = new System.Drawing.Size(197, 548); + this.ViewWorldTabPage.TabIndex = 0; + this.ViewWorldTabPage.Text = "World"; + this.ViewWorldTabPage.UseVisualStyleBackColor = true; + // + // EnableModsCheckBox + // + this.EnableModsCheckBox.AutoSize = true; + this.EnableModsCheckBox.Enabled = false; + this.EnableModsCheckBox.Location = new System.Drawing.Point(6, 280); + this.EnableModsCheckBox.Name = "EnableModsCheckBox"; + this.EnableModsCheckBox.Size = new System.Drawing.Size(99, 19); + this.EnableModsCheckBox.TabIndex = 68; + this.EnableModsCheckBox.Text = "Enable Mods"; + this.EnableModsCheckBox.UseVisualStyleBackColor = true; + this.EnableModsCheckBox.CheckedChanged += new System.EventHandler(this.EnableModsCheckBox_CheckedChanged); + // + // label30 + // + this.label30.AutoSize = true; + this.label30.Location = new System.Drawing.Point(1, 337); + this.label30.Name = "label30"; + this.label30.Size = new System.Drawing.Size(66, 15); + this.label30.TabIndex = 70; + this.label30.Text = "DLC Level:"; + // + // DlcLevelComboBox + // + this.DlcLevelComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.DlcLevelComboBox.Enabled = false; + this.DlcLevelComboBox.FormattingEnabled = true; + this.DlcLevelComboBox.Items.AddRange(new object[] { + ""}); + this.DlcLevelComboBox.Location = new System.Drawing.Point(69, 334); + this.DlcLevelComboBox.Name = "DlcLevelComboBox"; + this.DlcLevelComboBox.Size = new System.Drawing.Size(119, 21); + this.DlcLevelComboBox.TabIndex = 70; + this.DlcLevelComboBox.SelectedIndexChanged += new System.EventHandler(this.DlcLevelComboBox_SelectedIndexChanged); + this.DlcLevelComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.DlcLevelComboBox_KeyPress); + // + // EnableDlcCheckBox + // + this.EnableDlcCheckBox.AutoSize = true; + this.EnableDlcCheckBox.Enabled = false; + this.EnableDlcCheckBox.Location = new System.Drawing.Point(6, 311); + this.EnableDlcCheckBox.Name = "EnableDlcCheckBox"; + this.EnableDlcCheckBox.Size = new System.Drawing.Size(92, 19); + this.EnableDlcCheckBox.TabIndex = 69; + this.EnableDlcCheckBox.Text = "Enable DLC"; + this.EnableDlcCheckBox.UseVisualStyleBackColor = true; + this.EnableDlcCheckBox.CheckedChanged += new System.EventHandler(this.EnableDlcCheckBox_CheckedChanged); + // + // WorldYmapWeatherFilterCheckBox + // + this.WorldYmapWeatherFilterCheckBox.AutoSize = true; + this.WorldYmapWeatherFilterCheckBox.Checked = true; + this.WorldYmapWeatherFilterCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.WorldYmapWeatherFilterCheckBox.Location = new System.Drawing.Point(6, 237); + this.WorldYmapWeatherFilterCheckBox.Name = "WorldYmapWeatherFilterCheckBox"; + this.WorldYmapWeatherFilterCheckBox.Size = new System.Drawing.Size(154, 19); + this.WorldYmapWeatherFilterCheckBox.TabIndex = 67; + this.WorldYmapWeatherFilterCheckBox.Text = "Filter ymaps by weather"; + this.WorldYmapWeatherFilterCheckBox.UseVisualStyleBackColor = true; + this.WorldYmapWeatherFilterCheckBox.CheckedChanged += new System.EventHandler(this.WorldYmapWeatherFilterCheckBox_CheckedChanged); + // + // WorldYmapTimeFilterCheckBox + // + this.WorldYmapTimeFilterCheckBox.AutoSize = true; + this.WorldYmapTimeFilterCheckBox.Checked = true; + this.WorldYmapTimeFilterCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.WorldYmapTimeFilterCheckBox.Location = new System.Drawing.Point(6, 214); + this.WorldYmapTimeFilterCheckBox.Name = "WorldYmapTimeFilterCheckBox"; + this.WorldYmapTimeFilterCheckBox.Size = new System.Drawing.Size(169, 19); + this.WorldYmapTimeFilterCheckBox.TabIndex = 66; + this.WorldYmapTimeFilterCheckBox.Text = "Filter ymaps by time of day"; + this.WorldYmapTimeFilterCheckBox.UseVisualStyleBackColor = true; + this.WorldYmapTimeFilterCheckBox.CheckedChanged += new System.EventHandler(this.WorldYmapTimeFilterCheckBox_CheckedChanged); + // + // WorldScriptedYmapsCheckBox + // + this.WorldScriptedYmapsCheckBox.AutoSize = true; + this.WorldScriptedYmapsCheckBox.Checked = true; + this.WorldScriptedYmapsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.WorldScriptedYmapsCheckBox.Location = new System.Drawing.Point(6, 182); + this.WorldScriptedYmapsCheckBox.Name = "WorldScriptedYmapsCheckBox"; + this.WorldScriptedYmapsCheckBox.Size = new System.Drawing.Size(142, 19); + this.WorldScriptedYmapsCheckBox.TabIndex = 65; + this.WorldScriptedYmapsCheckBox.Text = "Show scripted ymaps"; + this.WorldScriptedYmapsCheckBox.UseVisualStyleBackColor = true; + this.WorldScriptedYmapsCheckBox.CheckedChanged += new System.EventHandler(this.WorldScriptedYmapsCheckBox_CheckedChanged); + // + // WorldDetailDistLabel + // + this.WorldDetailDistLabel.AutoSize = true; + this.WorldDetailDistLabel.Location = new System.Drawing.Point(87, 94); + this.WorldDetailDistLabel.Name = "WorldDetailDistLabel"; + this.WorldDetailDistLabel.Size = new System.Drawing.Size(24, 15); + this.WorldDetailDistLabel.TabIndex = 64; + this.WorldDetailDistLabel.Text = "1.0"; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(1, 94); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(91, 15); + this.label18.TabIndex = 63; + this.label18.Text = "Detail distance:"; + // + // WorldDetailDistTrackBar + // + this.WorldDetailDistTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.WorldDetailDistTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.WorldDetailDistTrackBar.LargeChange = 10; + this.WorldDetailDistTrackBar.Location = new System.Drawing.Point(6, 110); + this.WorldDetailDistTrackBar.Maximum = 30; + this.WorldDetailDistTrackBar.Name = "WorldDetailDistTrackBar"; + this.WorldDetailDistTrackBar.Size = new System.Drawing.Size(185, 45); + this.WorldDetailDistTrackBar.TabIndex = 62; + this.WorldDetailDistTrackBar.TickFrequency = 2; + this.WorldDetailDistTrackBar.Value = 10; + this.WorldDetailDistTrackBar.Scroll += new System.EventHandler(this.WorldDetailDistTrackBar_Scroll); + // + // WorldLodDistLabel + // + this.WorldLodDistLabel.AutoSize = true; + this.WorldLodDistLabel.Location = new System.Drawing.Point(82, 39); + this.WorldLodDistLabel.Name = "WorldLodDistLabel"; + this.WorldLodDistLabel.Size = new System.Drawing.Size(24, 15); + this.WorldLodDistLabel.TabIndex = 61; + this.WorldLodDistLabel.Text = "1.0"; + this.WorldLodDistLabel.Visible = false; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(1, 39); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(84, 15); + this.label16.TabIndex = 60; + this.label16.Text = "LOD distance:"; + this.label16.Visible = false; + // + // WorldLodDistTrackBar + // + this.WorldLodDistTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.WorldLodDistTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.WorldLodDistTrackBar.LargeChange = 10; + this.WorldLodDistTrackBar.Location = new System.Drawing.Point(6, 55); + this.WorldLodDistTrackBar.Maximum = 30; + this.WorldLodDistTrackBar.Name = "WorldLodDistTrackBar"; + this.WorldLodDistTrackBar.Size = new System.Drawing.Size(185, 45); + this.WorldLodDistTrackBar.TabIndex = 59; + this.WorldLodDistTrackBar.TickFrequency = 2; + this.WorldLodDistTrackBar.Value = 10; + this.WorldLodDistTrackBar.Visible = false; + this.WorldLodDistTrackBar.Scroll += new System.EventHandler(this.WorldLodDistTrackBar_Scroll); + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(1, 9); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(62, 15); + this.label15.TabIndex = 58; + this.label15.Text = "Max LOD:"; + // + // WorldMaxLodComboBox + // + this.WorldMaxLodComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.WorldMaxLodComboBox.FormattingEnabled = true; + this.WorldMaxLodComboBox.Items.AddRange(new object[] { + "ORPHANHD", + "HD", + "LOD", + "SLOD1", + "SLOD2", + "SLOD3", + "SLOD4"}); + this.WorldMaxLodComboBox.Location = new System.Drawing.Point(69, 6); + this.WorldMaxLodComboBox.Name = "WorldMaxLodComboBox"; + this.WorldMaxLodComboBox.Size = new System.Drawing.Size(119, 21); + this.WorldMaxLodComboBox.TabIndex = 57; + this.WorldMaxLodComboBox.SelectedIndexChanged += new System.EventHandler(this.WorldMaxLodComboBox_SelectedIndexChanged); + this.WorldMaxLodComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.WorldMaxLodComboBox_KeyPress); + // + // ViewYmapsTabPage + // + this.ViewYmapsTabPage.Controls.Add(this.ShowYmapChildrenCheckBox); + this.ViewYmapsTabPage.Controls.Add(this.label2); + this.ViewYmapsTabPage.Controls.Add(this.DetailTrackBar); + this.ViewYmapsTabPage.Controls.Add(this.DynamicLODCheckBox); + this.ViewYmapsTabPage.Controls.Add(this.YmapsTextBox); + this.ViewYmapsTabPage.Location = new System.Drawing.Point(4, 22); + this.ViewYmapsTabPage.Name = "ViewYmapsTabPage"; + this.ViewYmapsTabPage.Padding = new System.Windows.Forms.Padding(3); + this.ViewYmapsTabPage.Size = new System.Drawing.Size(197, 548); + this.ViewYmapsTabPage.TabIndex = 1; + this.ViewYmapsTabPage.Text = "Ymaps"; + this.ViewYmapsTabPage.UseVisualStyleBackColor = true; + // + // ShowYmapChildrenCheckBox + // + this.ShowYmapChildrenCheckBox.AutoSize = true; + this.ShowYmapChildrenCheckBox.Enabled = false; + this.ShowYmapChildrenCheckBox.Location = new System.Drawing.Point(6, 59); + this.ShowYmapChildrenCheckBox.Name = "ShowYmapChildrenCheckBox"; + this.ShowYmapChildrenCheckBox.Size = new System.Drawing.Size(104, 19); + this.ShowYmapChildrenCheckBox.TabIndex = 35; + this.ShowYmapChildrenCheckBox.Text = "Show children"; + this.ShowYmapChildrenCheckBox.UseVisualStyleBackColor = true; + this.ShowYmapChildrenCheckBox.CheckedChanged += new System.EventHandler(this.ShowYmapChildrenCheckBox_CheckedChanged); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(3, 88); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(88, 15); + this.label2.TabIndex = 8; + this.label2.Text = "Ymaps to load:"; + // + // DetailTrackBar + // + this.DetailTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.DetailTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.DetailTrackBar.Location = new System.Drawing.Point(6, 24); + this.DetailTrackBar.Maximum = 20; + this.DetailTrackBar.Name = "DetailTrackBar"; + this.DetailTrackBar.Size = new System.Drawing.Size(185, 45); + this.DetailTrackBar.TabIndex = 34; + this.DetailTrackBar.Value = 5; + this.DetailTrackBar.Scroll += new System.EventHandler(this.DetailTrackBar_Scroll); + // + // DynamicLODCheckBox + // + this.DynamicLODCheckBox.AutoSize = true; + this.DynamicLODCheckBox.Checked = true; + this.DynamicLODCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.DynamicLODCheckBox.Location = new System.Drawing.Point(6, 6); + this.DynamicLODCheckBox.Name = "DynamicLODCheckBox"; + this.DynamicLODCheckBox.Size = new System.Drawing.Size(102, 19); + this.DynamicLODCheckBox.TabIndex = 33; + this.DynamicLODCheckBox.Text = "Dynamic LOD"; + this.DynamicLODCheckBox.UseVisualStyleBackColor = true; + this.DynamicLODCheckBox.CheckedChanged += new System.EventHandler(this.DynamicLODCheckBox_CheckedChanged); + // + // ViewModelTabPage + // + this.ViewModelTabPage.Controls.Add(this.label1); + this.ViewModelTabPage.Controls.Add(this.ModelComboBox); + this.ViewModelTabPage.Location = new System.Drawing.Point(4, 22); + this.ViewModelTabPage.Name = "ViewModelTabPage"; + this.ViewModelTabPage.Size = new System.Drawing.Size(197, 548); + this.ViewModelTabPage.TabIndex = 2; + this.ViewModelTabPage.Text = "Model"; + this.ViewModelTabPage.UseVisualStyleBackColor = true; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(-1, 10); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(45, 15); + this.label1.TabIndex = 5; + this.label1.Text = "Model:"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(3, 8); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(42, 15); + this.label3.TabIndex = 11; + this.label3.Text = "Mode:"; + // + // ViewModeComboBox + // + this.ViewModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ViewModeComboBox.FormattingEnabled = true; + this.ViewModeComboBox.Items.AddRange(new object[] { + "World view", + "Ymap view", + "Model view"}); + this.ViewModeComboBox.Location = new System.Drawing.Point(48, 5); + this.ViewModeComboBox.Name = "ViewModeComboBox"; + this.ViewModeComboBox.Size = new System.Drawing.Size(111, 21); + this.ViewModeComboBox.TabIndex = 10; + this.ViewModeComboBox.SelectedIndexChanged += new System.EventHandler(this.ViewModeComboBox_SelectedIndexChanged); + this.ViewModeComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ViewModeComboBox_KeyPress); + // + // tabPage2 + // + this.tabPage2.Controls.Add(this.label27); + this.tabPage2.Controls.Add(this.CameraPositionTextBox); + this.tabPage2.Controls.Add(this.AddSelectionMarkerButton); + this.tabPage2.Controls.Add(this.AddCurrentPositonMarkerButton); + this.tabPage2.Controls.Add(this.ResetMarkersButton); + this.tabPage2.Controls.Add(this.ClearMarkersButton); + this.tabPage2.Controls.Add(this.GoToButton); + this.tabPage2.Controls.Add(this.ShowLocatorCheckBox); + this.tabPage2.Controls.Add(this.label6); + this.tabPage2.Controls.Add(this.LocateTextBox); + this.tabPage2.Controls.Add(this.label7); + this.tabPage2.Controls.Add(this.AddMarkersButton); + this.tabPage2.Controls.Add(this.MultiFindTextBox); + this.tabPage2.Location = new System.Drawing.Point(4, 22); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(205, 606); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "Markers"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.Location = new System.Drawing.Point(-4, 69); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(141, 15); + this.label27.TabIndex = 22; + this.label27.Text = "Current camera position:"; + // + // CameraPositionTextBox + // + this.CameraPositionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.CameraPositionTextBox.Location = new System.Drawing.Point(0, 87); + this.CameraPositionTextBox.Name = "CameraPositionTextBox"; + this.CameraPositionTextBox.Size = new System.Drawing.Size(201, 20); + this.CameraPositionTextBox.TabIndex = 16; + this.CameraPositionTextBox.Text = "0, 0, 0"; + // + // AddSelectionMarkerButton + // + this.AddSelectionMarkerButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.AddSelectionMarkerButton.Location = new System.Drawing.Point(0, 571); + this.AddSelectionMarkerButton.Name = "AddSelectionMarkerButton"; + this.AddSelectionMarkerButton.Size = new System.Drawing.Size(97, 23); + this.AddSelectionMarkerButton.TabIndex = 22; + this.AddSelectionMarkerButton.Text = "Add selection"; + this.AddSelectionMarkerButton.UseVisualStyleBackColor = true; + this.AddSelectionMarkerButton.Click += new System.EventHandler(this.AddSelectionMarkerButton_Click); + // + // AddCurrentPositonMarkerButton + // + this.AddCurrentPositonMarkerButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.AddCurrentPositonMarkerButton.Location = new System.Drawing.Point(0, 542); + this.AddCurrentPositonMarkerButton.Name = "AddCurrentPositonMarkerButton"; + this.AddCurrentPositonMarkerButton.Size = new System.Drawing.Size(97, 23); + this.AddCurrentPositonMarkerButton.TabIndex = 20; + this.AddCurrentPositonMarkerButton.Text = "Add current pos"; + this.AddCurrentPositonMarkerButton.UseVisualStyleBackColor = true; + this.AddCurrentPositonMarkerButton.Click += new System.EventHandler(this.AddCurrentPositonMarkerButton_Click); + // + // ResetMarkersButton + // + this.ResetMarkersButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.ResetMarkersButton.Location = new System.Drawing.Point(108, 542); + this.ResetMarkersButton.Name = "ResetMarkersButton"; + this.ResetMarkersButton.Size = new System.Drawing.Size(97, 23); + this.ResetMarkersButton.TabIndex = 21; + this.ResetMarkersButton.Text = "Default markers"; + this.ResetMarkersButton.UseVisualStyleBackColor = true; + this.ResetMarkersButton.Click += new System.EventHandler(this.ResetMarkersButton_Click); + // + // ClearMarkersButton + // + this.ClearMarkersButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.ClearMarkersButton.Location = new System.Drawing.Point(108, 513); + this.ClearMarkersButton.Name = "ClearMarkersButton"; + this.ClearMarkersButton.Size = new System.Drawing.Size(97, 23); + this.ClearMarkersButton.TabIndex = 19; + this.ClearMarkersButton.Text = "Clear markers"; + this.ClearMarkersButton.UseVisualStyleBackColor = true; + this.ClearMarkersButton.Click += new System.EventHandler(this.ClearMarkersButton_Click); + // + // GoToButton + // + this.GoToButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.GoToButton.Location = new System.Drawing.Point(159, 39); + this.GoToButton.Name = "GoToButton"; + this.GoToButton.Size = new System.Drawing.Size(43, 22); + this.GoToButton.TabIndex = 15; + this.GoToButton.Text = "Go to"; + this.GoToButton.UseVisualStyleBackColor = true; + this.GoToButton.Click += new System.EventHandler(this.GoToButton_Click); + // + // ShowLocatorCheckBox + // + this.ShowLocatorCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.ShowLocatorCheckBox.AutoSize = true; + this.ShowLocatorCheckBox.Location = new System.Drawing.Point(98, 15); + this.ShowLocatorCheckBox.Name = "ShowLocatorCheckBox"; + this.ShowLocatorCheckBox.Size = new System.Drawing.Size(99, 19); + this.ShowLocatorCheckBox.TabIndex = 13; + this.ShowLocatorCheckBox.Text = "Show marker"; + this.ShowLocatorCheckBox.UseVisualStyleBackColor = true; + this.ShowLocatorCheckBox.CheckedChanged += new System.EventHandler(this.ShowLocatorCheckBox_CheckedChanged); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(-3, 15); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(84, 15); + this.label6.TabIndex = 13; + this.label6.Text = "Locate: X, Y, Z"; + // + // LocateTextBox + // + this.LocateTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.LocateTextBox.Location = new System.Drawing.Point(0, 40); + this.LocateTextBox.Name = "LocateTextBox"; + this.LocateTextBox.Size = new System.Drawing.Size(153, 20); + this.LocateTextBox.TabIndex = 14; + this.LocateTextBox.Text = "0, 0, 0"; + this.LocateTextBox.TextChanged += new System.EventHandler(this.LocateTextBox_TextChanged); + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(-1, 110); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(138, 15); + this.label7.TabIndex = 11; + this.label7.Text = "Multi-find: X, Y, Z, Name"; + // + // AddMarkersButton + // + this.AddMarkersButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.AddMarkersButton.Location = new System.Drawing.Point(0, 513); + this.AddMarkersButton.Name = "AddMarkersButton"; + this.AddMarkersButton.Size = new System.Drawing.Size(97, 23); + this.AddMarkersButton.TabIndex = 18; + this.AddMarkersButton.Text = "Add markers"; + this.AddMarkersButton.UseVisualStyleBackColor = true; + this.AddMarkersButton.Click += new System.EventHandler(this.AddMarkersButton_Click); + // + // tabPage3 + // + this.tabPage3.Controls.Add(this.label25); + this.tabPage3.Controls.Add(this.SelectionModeComboBox); + this.tabPage3.Controls.Add(this.SelectionNameTextBox); + this.tabPage3.Controls.Add(this.SelectionTabControl); + this.tabPage3.Controls.Add(this.MouseSelectCheckBox); + this.tabPage3.Location = new System.Drawing.Point(4, 22); + this.tabPage3.Name = "tabPage3"; + this.tabPage3.Size = new System.Drawing.Size(205, 606); + this.tabPage3.TabIndex = 2; + this.tabPage3.Text = "Selection"; + this.tabPage3.UseVisualStyleBackColor = true; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Location = new System.Drawing.Point(6, 33); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(42, 15); + this.label25.TabIndex = 28; + this.label25.Text = "Mode:"; + // + // SelectionModeComboBox + // + this.SelectionModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.SelectionModeComboBox.FormattingEnabled = true; + this.SelectionModeComboBox.Items.AddRange(new object[] { + "Entity", + "Entity Extension", + "Archetype Extension", + "Time Cycle Modifier", + "Car Generator", + "Grass", + "Water Quad", + "Collision", + "Nav Mesh", + "Path", + "Train Track", + "Distant Lod Lights", + "Mlo Instance", + "Scenario", + "Audio"}); + this.SelectionModeComboBox.Location = new System.Drawing.Point(51, 30); + this.SelectionModeComboBox.Name = "SelectionModeComboBox"; + this.SelectionModeComboBox.Size = new System.Drawing.Size(121, 21); + this.SelectionModeComboBox.TabIndex = 23; + this.SelectionModeComboBox.SelectedIndexChanged += new System.EventHandler(this.SelectionModeComboBox_SelectedIndexChanged); + this.SelectionModeComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.SelectionModeComboBox_KeyPress); + // + // SelectionNameTextBox + // + this.SelectionNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.SelectionNameTextBox.BackColor = System.Drawing.Color.White; + this.SelectionNameTextBox.Location = new System.Drawing.Point(3, 66); + this.SelectionNameTextBox.Name = "SelectionNameTextBox"; + this.SelectionNameTextBox.ReadOnly = true; + this.SelectionNameTextBox.Size = new System.Drawing.Size(197, 20); + this.SelectionNameTextBox.TabIndex = 26; + this.SelectionNameTextBox.Text = "Nothing selected"; + // + // SelectionTabControl + // + this.SelectionTabControl.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.SelectionTabControl.Controls.Add(this.SelectionEntityTabPage); + this.SelectionTabControl.Controls.Add(this.SelectionArchetypeTabPage); + this.SelectionTabControl.Controls.Add(this.SelectionDrawableTabPage); + this.SelectionTabControl.Controls.Add(this.SelectionExtensionTabPage); + this.SelectionTabControl.Location = new System.Drawing.Point(0, 95); + this.SelectionTabControl.Margin = new System.Windows.Forms.Padding(0); + this.SelectionTabControl.Name = "SelectionTabControl"; + this.SelectionTabControl.SelectedIndex = 0; + this.SelectionTabControl.Size = new System.Drawing.Size(203, 511); + this.SelectionTabControl.TabIndex = 28; + // + // SelectionEntityTabPage + // + this.SelectionEntityTabPage.Controls.Add(this.SelEntityPropertyGrid); + this.SelectionEntityTabPage.Location = new System.Drawing.Point(4, 22); + this.SelectionEntityTabPage.Name = "SelectionEntityTabPage"; + this.SelectionEntityTabPage.Padding = new System.Windows.Forms.Padding(3); + this.SelectionEntityTabPage.Size = new System.Drawing.Size(195, 485); + this.SelectionEntityTabPage.TabIndex = 0; + this.SelectionEntityTabPage.Text = "Entity"; + this.SelectionEntityTabPage.UseVisualStyleBackColor = true; + // + // SelectionArchetypeTabPage + // + this.SelectionArchetypeTabPage.Controls.Add(this.SelArchetypePropertyGrid); + this.SelectionArchetypeTabPage.Location = new System.Drawing.Point(4, 22); + this.SelectionArchetypeTabPage.Name = "SelectionArchetypeTabPage"; + this.SelectionArchetypeTabPage.Padding = new System.Windows.Forms.Padding(3); + this.SelectionArchetypeTabPage.Size = new System.Drawing.Size(197, 485); + this.SelectionArchetypeTabPage.TabIndex = 1; + this.SelectionArchetypeTabPage.Text = "Archetype"; + this.SelectionArchetypeTabPage.UseVisualStyleBackColor = true; + // + // SelectionDrawableTabPage + // + this.SelectionDrawableTabPage.Controls.Add(this.tabControl3); + this.SelectionDrawableTabPage.Location = new System.Drawing.Point(4, 22); + this.SelectionDrawableTabPage.Margin = new System.Windows.Forms.Padding(0); + this.SelectionDrawableTabPage.Name = "SelectionDrawableTabPage"; + this.SelectionDrawableTabPage.Size = new System.Drawing.Size(197, 485); + this.SelectionDrawableTabPage.TabIndex = 2; + this.SelectionDrawableTabPage.Text = "Drawable"; + this.SelectionDrawableTabPage.UseVisualStyleBackColor = true; + // + // tabControl3 + // + this.tabControl3.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.tabControl3.Controls.Add(this.tabPage11); + this.tabControl3.Controls.Add(this.tabPage12); + this.tabControl3.Controls.Add(this.tabPage13); + this.tabControl3.Location = new System.Drawing.Point(-4, 7); + this.tabControl3.Name = "tabControl3"; + this.tabControl3.SelectedIndex = 0; + this.tabControl3.Size = new System.Drawing.Size(205, 478); + this.tabControl3.TabIndex = 28; + // + // tabPage11 + // + this.tabPage11.Controls.Add(this.SelDrawablePropertyGrid); + this.tabPage11.Location = new System.Drawing.Point(4, 22); + this.tabPage11.Margin = new System.Windows.Forms.Padding(0); + this.tabPage11.Name = "tabPage11"; + this.tabPage11.Size = new System.Drawing.Size(197, 452); + this.tabPage11.TabIndex = 0; + this.tabPage11.Text = "Info"; + this.tabPage11.UseVisualStyleBackColor = true; + // + // tabPage12 + // + this.tabPage12.Controls.Add(this.SelDrawableModelsTreeView); + this.tabPage12.Location = new System.Drawing.Point(4, 22); + this.tabPage12.Name = "tabPage12"; + this.tabPage12.Padding = new System.Windows.Forms.Padding(3); + this.tabPage12.Size = new System.Drawing.Size(197, 452); + this.tabPage12.TabIndex = 1; + this.tabPage12.Text = "Models"; + this.tabPage12.UseVisualStyleBackColor = true; + // + // tabPage13 + // + this.tabPage13.Controls.Add(this.SelDrawableTexturesTreeView); + this.tabPage13.Location = new System.Drawing.Point(4, 22); + this.tabPage13.Name = "tabPage13"; + this.tabPage13.Size = new System.Drawing.Size(197, 452); + this.tabPage13.TabIndex = 2; + this.tabPage13.Text = "Textures"; + this.tabPage13.UseVisualStyleBackColor = true; + // + // SelectionExtensionTabPage + // + this.SelectionExtensionTabPage.Controls.Add(this.SelExtensionPropertyGrid); + this.SelectionExtensionTabPage.Location = new System.Drawing.Point(4, 22); + this.SelectionExtensionTabPage.Name = "SelectionExtensionTabPage"; + this.SelectionExtensionTabPage.Size = new System.Drawing.Size(197, 485); + this.SelectionExtensionTabPage.TabIndex = 3; + this.SelectionExtensionTabPage.Text = "Ext"; + this.SelectionExtensionTabPage.UseVisualStyleBackColor = true; + // + // MouseSelectCheckBox + // + this.MouseSelectCheckBox.AutoSize = true; + this.MouseSelectCheckBox.Location = new System.Drawing.Point(8, 7); + this.MouseSelectCheckBox.Name = "MouseSelectCheckBox"; + this.MouseSelectCheckBox.Size = new System.Drawing.Size(161, 19); + this.MouseSelectCheckBox.TabIndex = 22; + this.MouseSelectCheckBox.Text = "Mouse select (right click)"; + this.MouseSelectCheckBox.UseVisualStyleBackColor = true; + this.MouseSelectCheckBox.CheckedChanged += new System.EventHandler(this.MouseSelectCheckBox_CheckedChanged); + // + // tabPage4 + // + this.tabPage4.Controls.Add(this.OptionsTabControl); + this.tabPage4.Controls.Add(this.StatusBarCheckBox); + this.tabPage4.Controls.Add(this.QuitButton); + this.tabPage4.Controls.Add(this.ReloadSettingsButton); + this.tabPage4.Controls.Add(this.SaveSettingsButton); + this.tabPage4.Controls.Add(this.ReloadShadersButton); + this.tabPage4.Controls.Add(this.ErrorConsoleCheckBox); + this.tabPage4.Location = new System.Drawing.Point(4, 22); + this.tabPage4.Name = "tabPage4"; + this.tabPage4.Size = new System.Drawing.Size(205, 606); + this.tabPage4.TabIndex = 3; + this.tabPage4.Text = "Options"; + this.tabPage4.UseVisualStyleBackColor = true; + // + // OptionsTabControl + // + this.OptionsTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.OptionsTabControl.Controls.Add(this.tabPage8); + this.OptionsTabControl.Controls.Add(this.tabPage14); + this.OptionsTabControl.Controls.Add(this.tabPage9); + this.OptionsTabControl.Controls.Add(this.tabPage10); + this.OptionsTabControl.Location = new System.Drawing.Point(0, 3); + this.OptionsTabControl.Name = "OptionsTabControl"; + this.OptionsTabControl.SelectedIndex = 0; + this.OptionsTabControl.Size = new System.Drawing.Size(206, 508); + this.OptionsTabControl.TabIndex = 50; + // + // tabPage8 + // + this.tabPage8.Controls.Add(this.label31); + this.tabPage8.Controls.Add(this.ThemeComboBox); + this.tabPage8.Controls.Add(this.AdvancedSettingsButton); + this.tabPage8.Controls.Add(this.ControlSettingsButton); + this.tabPage8.Controls.Add(this.MapViewDetailLabel); + this.tabPage8.Controls.Add(this.label28); + this.tabPage8.Controls.Add(this.MapViewDetailTrackBar); + this.tabPage8.Controls.Add(this.CameraModeComboBox); + this.tabPage8.Controls.Add(this.label24); + this.tabPage8.Controls.Add(this.WaterQuadsCheckBox); + this.tabPage8.Controls.Add(this.FieldOfViewLabel); + this.tabPage8.Controls.Add(this.label22); + this.tabPage8.Controls.Add(this.TimedEntitiesAlwaysOnCheckBox); + this.tabPage8.Controls.Add(this.GrassCheckBox); + this.tabPage8.Controls.Add(this.InteriorsCheckBox); + this.tabPage8.Controls.Add(this.CollisionMeshLayerDrawableCheckBox); + this.tabPage8.Controls.Add(this.CollisionMeshLayer2CheckBox); + this.tabPage8.Controls.Add(this.CollisionMeshLayer1CheckBox); + this.tabPage8.Controls.Add(this.label13); + this.tabPage8.Controls.Add(this.CollisionMeshLayer0CheckBox); + this.tabPage8.Controls.Add(this.label12); + this.tabPage8.Controls.Add(this.CollisionMeshRangeTrackBar); + this.tabPage8.Controls.Add(this.CollisionMeshesCheckBox); + this.tabPage8.Controls.Add(this.FullScreenCheckBox); + this.tabPage8.Controls.Add(this.TimedEntitiesCheckBox); + this.tabPage8.Controls.Add(this.FieldOfViewTrackBar); + this.tabPage8.Location = new System.Drawing.Point(4, 22); + this.tabPage8.Name = "tabPage8"; + this.tabPage8.Padding = new System.Windows.Forms.Padding(3); + this.tabPage8.Size = new System.Drawing.Size(198, 482); + this.tabPage8.TabIndex = 0; + this.tabPage8.Text = "General"; + this.tabPage8.UseVisualStyleBackColor = true; + // + // AdvancedSettingsButton + // + this.AdvancedSettingsButton.Location = new System.Drawing.Point(101, 456); + this.AdvancedSettingsButton.Name = "AdvancedSettingsButton"; + this.AdvancedSettingsButton.Size = new System.Drawing.Size(93, 23); + this.AdvancedSettingsButton.TabIndex = 61; + this.AdvancedSettingsButton.Text = "Advanced..."; + this.AdvancedSettingsButton.UseVisualStyleBackColor = true; + this.AdvancedSettingsButton.Click += new System.EventHandler(this.AdvancedSettingsButton_Click); + // + // ControlSettingsButton + // + this.ControlSettingsButton.Location = new System.Drawing.Point(2, 456); + this.ControlSettingsButton.Name = "ControlSettingsButton"; + this.ControlSettingsButton.Size = new System.Drawing.Size(93, 23); + this.ControlSettingsButton.TabIndex = 60; + this.ControlSettingsButton.Text = "Controls..."; + this.ControlSettingsButton.UseVisualStyleBackColor = true; + this.ControlSettingsButton.Click += new System.EventHandler(this.ControlSettingsButton_Click); + // + // MapViewDetailLabel + // + this.MapViewDetailLabel.AutoSize = true; + this.MapViewDetailLabel.Location = new System.Drawing.Point(94, 391); + this.MapViewDetailLabel.Name = "MapViewDetailLabel"; + this.MapViewDetailLabel.Size = new System.Drawing.Size(24, 15); + this.MapViewDetailLabel.TabIndex = 66; + this.MapViewDetailLabel.Text = "1.0"; + // + // label28 + // + this.label28.AutoSize = true; + this.label28.Location = new System.Drawing.Point(4, 391); + this.label28.Name = "label28"; + this.label28.Size = new System.Drawing.Size(95, 15); + this.label28.TabIndex = 65; + this.label28.Text = "Map view detail:"; + // + // MapViewDetailTrackBar + // + this.MapViewDetailTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.MapViewDetailTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.MapViewDetailTrackBar.Enabled = false; + this.MapViewDetailTrackBar.LargeChange = 1; + this.MapViewDetailTrackBar.Location = new System.Drawing.Point(6, 407); + this.MapViewDetailTrackBar.Maximum = 30; + this.MapViewDetailTrackBar.Minimum = 2; + this.MapViewDetailTrackBar.Name = "MapViewDetailTrackBar"; + this.MapViewDetailTrackBar.Size = new System.Drawing.Size(186, 45); + this.MapViewDetailTrackBar.TabIndex = 58; + this.MapViewDetailTrackBar.TickFrequency = 2; + this.MapViewDetailTrackBar.Value = 10; + this.MapViewDetailTrackBar.Scroll += new System.EventHandler(this.MapViewDetailTrackBar_Scroll); + // + // CameraModeComboBox + // + this.CameraModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.CameraModeComboBox.FormattingEnabled = true; + this.CameraModeComboBox.Items.AddRange(new object[] { + "Perspective", + "Orthographic", + "2D Map"}); + this.CameraModeComboBox.Location = new System.Drawing.Point(89, 257); + this.CameraModeComboBox.Name = "CameraModeComboBox"; + this.CameraModeComboBox.Size = new System.Drawing.Size(105, 21); + this.CameraModeComboBox.TabIndex = 56; + this.CameraModeComboBox.SelectedIndexChanged += new System.EventHandler(this.CameraModeComboBox_SelectedIndexChanged); + this.CameraModeComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.CameraModeComboBox_KeyPress); + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Location = new System.Drawing.Point(4, 260); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(89, 15); + this.label24.TabIndex = 63; + this.label24.Text = "Camera mode:"; + // + // WaterQuadsCheckBox + // + this.WaterQuadsCheckBox.AutoSize = true; + this.WaterQuadsCheckBox.Checked = true; + this.WaterQuadsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.WaterQuadsCheckBox.Location = new System.Drawing.Point(10, 104); + this.WaterQuadsCheckBox.Name = "WaterQuadsCheckBox"; + this.WaterQuadsCheckBox.Size = new System.Drawing.Size(127, 19); + this.WaterQuadsCheckBox.TabIndex = 39; + this.WaterQuadsCheckBox.Text = "Show water quads"; + this.WaterQuadsCheckBox.UseVisualStyleBackColor = true; + this.WaterQuadsCheckBox.CheckedChanged += new System.EventHandler(this.WaterQuadsCheckBox_CheckedChanged); + // + // FieldOfViewLabel + // + this.FieldOfViewLabel.AutoSize = true; + this.FieldOfViewLabel.Location = new System.Drawing.Point(79, 335); + this.FieldOfViewLabel.Name = "FieldOfViewLabel"; + this.FieldOfViewLabel.Size = new System.Drawing.Size(24, 15); + this.FieldOfViewLabel.TabIndex = 59; + this.FieldOfViewLabel.Text = "1.0"; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(4, 335); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(77, 15); + this.label22.TabIndex = 58; + this.label22.Text = "Field of view:"; + // + // TimedEntitiesAlwaysOnCheckBox + // + this.TimedEntitiesAlwaysOnCheckBox.AutoSize = true; + this.TimedEntitiesAlwaysOnCheckBox.Location = new System.Drawing.Point(138, 58); + this.TimedEntitiesAlwaysOnCheckBox.Name = "TimedEntitiesAlwaysOnCheckBox"; + this.TimedEntitiesAlwaysOnCheckBox.Size = new System.Drawing.Size(63, 19); + this.TimedEntitiesAlwaysOnCheckBox.TabIndex = 37; + this.TimedEntitiesAlwaysOnCheckBox.Text = "always"; + this.TimedEntitiesAlwaysOnCheckBox.UseVisualStyleBackColor = true; + this.TimedEntitiesAlwaysOnCheckBox.CheckedChanged += new System.EventHandler(this.TimedEntitiesAlwaysOnCheckBox_CheckedChanged); + // + // GrassCheckBox + // + this.GrassCheckBox.AutoSize = true; + this.GrassCheckBox.Checked = true; + this.GrassCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.GrassCheckBox.Location = new System.Drawing.Point(10, 35); + this.GrassCheckBox.Name = "GrassCheckBox"; + this.GrassCheckBox.Size = new System.Drawing.Size(90, 19); + this.GrassCheckBox.TabIndex = 35; + this.GrassCheckBox.Text = "Show grass"; + this.GrassCheckBox.UseVisualStyleBackColor = true; + this.GrassCheckBox.CheckedChanged += new System.EventHandler(this.GrassCheckBox_CheckedChanged); + // + // InteriorsCheckBox + // + this.InteriorsCheckBox.AutoSize = true; + this.InteriorsCheckBox.Checked = true; + this.InteriorsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.InteriorsCheckBox.Location = new System.Drawing.Point(10, 81); + this.InteriorsCheckBox.Name = "InteriorsCheckBox"; + this.InteriorsCheckBox.Size = new System.Drawing.Size(104, 19); + this.InteriorsCheckBox.TabIndex = 38; + this.InteriorsCheckBox.Text = "Show interiors"; + this.InteriorsCheckBox.UseVisualStyleBackColor = true; + this.InteriorsCheckBox.CheckedChanged += new System.EventHandler(this.InteriorsCheckBox_CheckedChanged); + // + // CollisionMeshLayerDrawableCheckBox + // + this.CollisionMeshLayerDrawableCheckBox.AutoSize = true; + this.CollisionMeshLayerDrawableCheckBox.Checked = true; + this.CollisionMeshLayerDrawableCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.CollisionMeshLayerDrawableCheckBox.Location = new System.Drawing.Point(118, 220); + this.CollisionMeshLayerDrawableCheckBox.Name = "CollisionMeshLayerDrawableCheckBox"; + this.CollisionMeshLayerDrawableCheckBox.Size = new System.Drawing.Size(79, 19); + this.CollisionMeshLayerDrawableCheckBox.TabIndex = 52; + this.CollisionMeshLayerDrawableCheckBox.Text = "Drawable"; + this.CollisionMeshLayerDrawableCheckBox.UseVisualStyleBackColor = true; + this.CollisionMeshLayerDrawableCheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshLayerDrawableCheckBox_CheckedChanged); + // + // CollisionMeshLayer2CheckBox + // + this.CollisionMeshLayer2CheckBox.AutoSize = true; + this.CollisionMeshLayer2CheckBox.Checked = true; + this.CollisionMeshLayer2CheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.CollisionMeshLayer2CheckBox.Location = new System.Drawing.Point(82, 220); + this.CollisionMeshLayer2CheckBox.Name = "CollisionMeshLayer2CheckBox"; + this.CollisionMeshLayer2CheckBox.Size = new System.Drawing.Size(33, 19); + this.CollisionMeshLayer2CheckBox.TabIndex = 51; + this.CollisionMeshLayer2CheckBox.Text = "2"; + this.CollisionMeshLayer2CheckBox.UseVisualStyleBackColor = true; + this.CollisionMeshLayer2CheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshLayer2CheckBox_CheckedChanged); + // + // CollisionMeshLayer1CheckBox + // + this.CollisionMeshLayer1CheckBox.AutoSize = true; + this.CollisionMeshLayer1CheckBox.Checked = true; + this.CollisionMeshLayer1CheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.CollisionMeshLayer1CheckBox.Location = new System.Drawing.Point(46, 220); + this.CollisionMeshLayer1CheckBox.Name = "CollisionMeshLayer1CheckBox"; + this.CollisionMeshLayer1CheckBox.Size = new System.Drawing.Size(33, 19); + this.CollisionMeshLayer1CheckBox.TabIndex = 50; + this.CollisionMeshLayer1CheckBox.Text = "1"; + this.CollisionMeshLayer1CheckBox.UseVisualStyleBackColor = true; + this.CollisionMeshLayer1CheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshLayer1CheckBox_CheckedChanged); + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(4, 202); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(126, 15); + this.label13.TabIndex = 54; + this.label13.Text = "Collision mesh layers:"; + // + // CollisionMeshLayer0CheckBox + // + this.CollisionMeshLayer0CheckBox.AutoSize = true; + this.CollisionMeshLayer0CheckBox.Checked = true; + this.CollisionMeshLayer0CheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.CollisionMeshLayer0CheckBox.Location = new System.Drawing.Point(10, 220); + this.CollisionMeshLayer0CheckBox.Name = "CollisionMeshLayer0CheckBox"; + this.CollisionMeshLayer0CheckBox.Size = new System.Drawing.Size(33, 19); + this.CollisionMeshLayer0CheckBox.TabIndex = 49; + this.CollisionMeshLayer0CheckBox.Text = "0"; + this.CollisionMeshLayer0CheckBox.UseVisualStyleBackColor = true; + this.CollisionMeshLayer0CheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshLayer0CheckBox_CheckedChanged); + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(4, 151); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(148, 15); + this.label12.TabIndex = 51; + this.label12.Text = "Collision/nav mesh range:"; + // + // CollisionMeshRangeTrackBar + // + this.CollisionMeshRangeTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.CollisionMeshRangeTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.CollisionMeshRangeTrackBar.LargeChange = 1; + this.CollisionMeshRangeTrackBar.Location = new System.Drawing.Point(6, 167); + this.CollisionMeshRangeTrackBar.Maximum = 15; + this.CollisionMeshRangeTrackBar.Minimum = 1; + this.CollisionMeshRangeTrackBar.Name = "CollisionMeshRangeTrackBar"; + this.CollisionMeshRangeTrackBar.Size = new System.Drawing.Size(186, 45); + this.CollisionMeshRangeTrackBar.TabIndex = 48; + this.CollisionMeshRangeTrackBar.Value = 6; + this.CollisionMeshRangeTrackBar.Scroll += new System.EventHandler(this.CollisionMeshRangeTrackBar_Scroll); + // + // CollisionMeshesCheckBox + // + this.CollisionMeshesCheckBox.AutoSize = true; + this.CollisionMeshesCheckBox.Location = new System.Drawing.Point(10, 129); + this.CollisionMeshesCheckBox.Name = "CollisionMeshesCheckBox"; + this.CollisionMeshesCheckBox.Size = new System.Drawing.Size(152, 19); + this.CollisionMeshesCheckBox.TabIndex = 47; + this.CollisionMeshesCheckBox.Text = "Show collision meshes"; + this.CollisionMeshesCheckBox.UseVisualStyleBackColor = true; + this.CollisionMeshesCheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshesCheckBox_CheckedChanged); + // + // FullScreenCheckBox + // + this.FullScreenCheckBox.AutoSize = true; + this.FullScreenCheckBox.Location = new System.Drawing.Point(10, 9); + this.FullScreenCheckBox.Name = "FullScreenCheckBox"; + this.FullScreenCheckBox.Size = new System.Drawing.Size(200, 19); + this.FullScreenCheckBox.TabIndex = 28; + this.FullScreenCheckBox.Text = "Full screen (borderless window)"; + this.FullScreenCheckBox.UseVisualStyleBackColor = true; + this.FullScreenCheckBox.CheckedChanged += new System.EventHandler(this.FullScreenCheckBox_CheckedChanged); + // + // TimedEntitiesCheckBox + // + this.TimedEntitiesCheckBox.AutoSize = true; + this.TimedEntitiesCheckBox.Checked = true; + this.TimedEntitiesCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.TimedEntitiesCheckBox.Location = new System.Drawing.Point(10, 58); + this.TimedEntitiesCheckBox.Name = "TimedEntitiesCheckBox"; + this.TimedEntitiesCheckBox.Size = new System.Drawing.Size(133, 19); + this.TimedEntitiesCheckBox.TabIndex = 36; + this.TimedEntitiesCheckBox.Text = "Show timed entities"; + this.TimedEntitiesCheckBox.UseVisualStyleBackColor = true; + this.TimedEntitiesCheckBox.CheckedChanged += new System.EventHandler(this.TimedEntitiesCheckBox_CheckedChanged); + // + // FieldOfViewTrackBar + // + this.FieldOfViewTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.FieldOfViewTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.FieldOfViewTrackBar.LargeChange = 1; + this.FieldOfViewTrackBar.Location = new System.Drawing.Point(6, 351); + this.FieldOfViewTrackBar.Maximum = 200; + this.FieldOfViewTrackBar.Minimum = 10; + this.FieldOfViewTrackBar.Name = "FieldOfViewTrackBar"; + this.FieldOfViewTrackBar.Size = new System.Drawing.Size(186, 45); + this.FieldOfViewTrackBar.TabIndex = 57; + this.FieldOfViewTrackBar.TickFrequency = 10; + this.FieldOfViewTrackBar.Value = 100; + this.FieldOfViewTrackBar.Scroll += new System.EventHandler(this.FieldOfViewTrackBar_Scroll); + // + // tabPage14 + // + this.tabPage14.Controls.Add(this.WireframeCheckBox); + this.tabPage14.Controls.Add(this.RenderModeComboBox); + this.tabPage14.Controls.Add(this.label11); + this.tabPage14.Controls.Add(this.TextureSamplerComboBox); + this.tabPage14.Controls.Add(this.TextureCoordsComboBox); + this.tabPage14.Controls.Add(this.label10); + this.tabPage14.Controls.Add(this.AnisotropicFilteringCheckBox); + this.tabPage14.Controls.Add(this.ProxiesCheckBox); + this.tabPage14.Controls.Add(this.WaitForChildrenCheckBox); + this.tabPage14.Controls.Add(this.label14); + this.tabPage14.Location = new System.Drawing.Point(4, 22); + this.tabPage14.Name = "tabPage14"; + this.tabPage14.Size = new System.Drawing.Size(200, 482); + this.tabPage14.TabIndex = 3; + this.tabPage14.Text = "Render"; + this.tabPage14.UseVisualStyleBackColor = true; + // + // WireframeCheckBox + // + this.WireframeCheckBox.AutoSize = true; + this.WireframeCheckBox.Location = new System.Drawing.Point(10, 115); + this.WireframeCheckBox.Name = "WireframeCheckBox"; + this.WireframeCheckBox.Size = new System.Drawing.Size(83, 19); + this.WireframeCheckBox.TabIndex = 49; + this.WireframeCheckBox.Text = "Wireframe"; + this.WireframeCheckBox.UseVisualStyleBackColor = true; + this.WireframeCheckBox.CheckedChanged += new System.EventHandler(this.WireframeCheckBox_CheckedChanged); + // + // RenderModeComboBox + // + this.RenderModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.RenderModeComboBox.FormattingEnabled = true; + this.RenderModeComboBox.Items.AddRange(new object[] { + "Default", + "Single texture", + "Vertex normals", + "Vertex tangents", + "Vertex colour 1", + "Vertex colour 2", + "Texture coord 1", + "Texture coord 2", + "Texture coord 3"}); + this.RenderModeComboBox.Location = new System.Drawing.Point(80, 16); + this.RenderModeComboBox.Name = "RenderModeComboBox"; + this.RenderModeComboBox.Size = new System.Drawing.Size(114, 21); + this.RenderModeComboBox.TabIndex = 46; + this.RenderModeComboBox.SelectedIndexChanged += new System.EventHandler(this.RenderModeComboBox_SelectedIndexChanged); + this.RenderModeComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.RenderModeComboBox_KeyPress); + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(4, 46); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(78, 15); + this.label11.TabIndex = 50; + this.label11.Text = "Tex sampler:"; + // + // TextureSamplerComboBox + // + this.TextureSamplerComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.TextureSamplerComboBox.Enabled = false; + this.TextureSamplerComboBox.FormattingEnabled = true; + this.TextureSamplerComboBox.Location = new System.Drawing.Point(80, 43); + this.TextureSamplerComboBox.Name = "TextureSamplerComboBox"; + this.TextureSamplerComboBox.Size = new System.Drawing.Size(114, 21); + this.TextureSamplerComboBox.TabIndex = 47; + this.TextureSamplerComboBox.SelectedIndexChanged += new System.EventHandler(this.TextureSamplerComboBox_SelectedIndexChanged); + this.TextureSamplerComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TextureSamplerComboBox_KeyPress); + // + // TextureCoordsComboBox + // + this.TextureCoordsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.TextureCoordsComboBox.Enabled = false; + this.TextureCoordsComboBox.FormattingEnabled = true; + this.TextureCoordsComboBox.Items.AddRange(new object[] { + "Texture coord 1", + "Texture coord 2", + "Texture coord 3"}); + this.TextureCoordsComboBox.Location = new System.Drawing.Point(80, 70); + this.TextureCoordsComboBox.Name = "TextureCoordsComboBox"; + this.TextureCoordsComboBox.Size = new System.Drawing.Size(114, 21); + this.TextureCoordsComboBox.TabIndex = 48; + this.TextureCoordsComboBox.SelectedIndexChanged += new System.EventHandler(this.TextureCoordsComboBox_SelectedIndexChanged); + this.TextureCoordsComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TextureCoordsComboBox_KeyPress); + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(4, 19); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(86, 15); + this.label10.TabIndex = 48; + this.label10.Text = "Render mode:"; + // + // AnisotropicFilteringCheckBox + // + this.AnisotropicFilteringCheckBox.AutoSize = true; + this.AnisotropicFilteringCheckBox.Checked = true; + this.AnisotropicFilteringCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.AnisotropicFilteringCheckBox.Location = new System.Drawing.Point(10, 138); + this.AnisotropicFilteringCheckBox.Name = "AnisotropicFilteringCheckBox"; + this.AnisotropicFilteringCheckBox.Size = new System.Drawing.Size(129, 19); + this.AnisotropicFilteringCheckBox.TabIndex = 50; + this.AnisotropicFilteringCheckBox.Text = "Anisotropic filtering"; + this.AnisotropicFilteringCheckBox.UseVisualStyleBackColor = true; + this.AnisotropicFilteringCheckBox.CheckedChanged += new System.EventHandler(this.AnisotropicFilteringCheckBox_CheckedChanged); + // + // ProxiesCheckBox + // + this.ProxiesCheckBox.AutoSize = true; + this.ProxiesCheckBox.Location = new System.Drawing.Point(10, 199); + this.ProxiesCheckBox.Name = "ProxiesCheckBox"; + this.ProxiesCheckBox.Size = new System.Drawing.Size(100, 19); + this.ProxiesCheckBox.TabIndex = 52; + this.ProxiesCheckBox.Text = "Show proxies"; + this.ProxiesCheckBox.UseVisualStyleBackColor = true; + this.ProxiesCheckBox.CheckedChanged += new System.EventHandler(this.ProxiesCheckBox_CheckedChanged); + // + // WaitForChildrenCheckBox + // + this.WaitForChildrenCheckBox.AutoSize = true; + this.WaitForChildrenCheckBox.Checked = true; + this.WaitForChildrenCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.WaitForChildrenCheckBox.Location = new System.Drawing.Point(10, 161); + this.WaitForChildrenCheckBox.Name = "WaitForChildrenCheckBox"; + this.WaitForChildrenCheckBox.Size = new System.Drawing.Size(154, 19); + this.WaitForChildrenCheckBox.TabIndex = 51; + this.WaitForChildrenCheckBox.Text = "Wait for children to load"; + this.WaitForChildrenCheckBox.UseVisualStyleBackColor = true; + this.WaitForChildrenCheckBox.CheckedChanged += new System.EventHandler(this.WaitForChildrenCheckBox_CheckedChanged); + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(4, 73); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(70, 15); + this.label14.TabIndex = 56; + this.label14.Text = "Tex coords:"; + // + // tabPage9 + // + this.tabPage9.Controls.Add(this.SnapGridSizeUpDown); + this.tabPage9.Controls.Add(this.label26); + this.tabPage9.Controls.Add(this.SkeletonsCheckBox); + this.tabPage9.Controls.Add(this.AudioOuterBoundsCheckBox); + this.tabPage9.Controls.Add(this.PopZonesCheckBox); + this.tabPage9.Controls.Add(this.NavMeshesCheckBox); + this.tabPage9.Controls.Add(this.TrainPathsCheckBox); + this.tabPage9.Controls.Add(this.PathsDepthClipCheckBox); + this.tabPage9.Controls.Add(this.PathBoundsCheckBox); + this.tabPage9.Controls.Add(this.SelectionWidgetCheckBox); + this.tabPage9.Controls.Add(this.MarkerStyleComboBox); + this.tabPage9.Controls.Add(this.ShowToolbarCheckBox); + this.tabPage9.Controls.Add(this.label4); + this.tabPage9.Controls.Add(this.LocatorStyleComboBox); + this.tabPage9.Controls.Add(this.label5); + this.tabPage9.Controls.Add(this.MarkerDepthClipCheckBox); + this.tabPage9.Controls.Add(this.label9); + this.tabPage9.Controls.Add(this.PathsCheckBox); + this.tabPage9.Controls.Add(this.SelectionBoundsCheckBox); + this.tabPage9.Controls.Add(this.BoundsDepthClipCheckBox); + this.tabPage9.Controls.Add(this.BoundsRangeTrackBar); + this.tabPage9.Controls.Add(this.BoundsStyleComboBox); + this.tabPage9.Controls.Add(this.label8); + this.tabPage9.Location = new System.Drawing.Point(4, 22); + this.tabPage9.Name = "tabPage9"; + this.tabPage9.Padding = new System.Windows.Forms.Padding(3); + this.tabPage9.Size = new System.Drawing.Size(200, 482); + this.tabPage9.TabIndex = 1; + this.tabPage9.Text = "Helpers"; + this.tabPage9.UseVisualStyleBackColor = true; + // + // SnapGridSizeUpDown + // + this.SnapGridSizeUpDown.DecimalPlaces = 2; + this.SnapGridSizeUpDown.Location = new System.Drawing.Point(86, 291); + this.SnapGridSizeUpDown.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.SnapGridSizeUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 131072}); + this.SnapGridSizeUpDown.Name = "SnapGridSizeUpDown"; + this.SnapGridSizeUpDown.Size = new System.Drawing.Size(108, 20); + this.SnapGridSizeUpDown.TabIndex = 49; + this.SnapGridSizeUpDown.Value = new decimal(new int[] { + 100, + 0, + 0, + 131072}); + this.SnapGridSizeUpDown.ValueChanged += new System.EventHandler(this.SnapGridSizeUpDown_ValueChanged); + // + // label26 + // + this.label26.AutoSize = true; + this.label26.Location = new System.Drawing.Point(4, 293); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(88, 15); + this.label26.TabIndex = 48; + this.label26.Text = "Snap grid size:"; + // + // SkeletonsCheckBox + // + this.SkeletonsCheckBox.AutoSize = true; + this.SkeletonsCheckBox.Location = new System.Drawing.Point(10, 411); + this.SkeletonsCheckBox.Name = "SkeletonsCheckBox"; + this.SkeletonsCheckBox.Size = new System.Drawing.Size(112, 19); + this.SkeletonsCheckBox.TabIndex = 55; + this.SkeletonsCheckBox.Text = "Show skeletons"; + this.SkeletonsCheckBox.UseVisualStyleBackColor = true; + this.SkeletonsCheckBox.CheckedChanged += new System.EventHandler(this.SkeletonsCheckBox_CheckedChanged); + // + // AudioOuterBoundsCheckBox + // + this.AudioOuterBoundsCheckBox.AutoSize = true; + this.AudioOuterBoundsCheckBox.Checked = true; + this.AudioOuterBoundsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.AudioOuterBoundsCheckBox.Location = new System.Drawing.Point(10, 457); + this.AudioOuterBoundsCheckBox.Name = "AudioOuterBoundsCheckBox"; + this.AudioOuterBoundsCheckBox.Size = new System.Drawing.Size(166, 19); + this.AudioOuterBoundsCheckBox.TabIndex = 57; + this.AudioOuterBoundsCheckBox.Text = "Show audio outer bounds"; + this.AudioOuterBoundsCheckBox.UseVisualStyleBackColor = true; + this.AudioOuterBoundsCheckBox.CheckedChanged += new System.EventHandler(this.AudioOuterBoundsCheckBox_CheckedChanged); + // + // PopZonesCheckBox + // + this.PopZonesCheckBox.AutoSize = true; + this.PopZonesCheckBox.Location = new System.Drawing.Point(10, 388); + this.PopZonesCheckBox.Name = "PopZonesCheckBox"; + this.PopZonesCheckBox.Size = new System.Drawing.Size(154, 19); + this.PopZonesCheckBox.TabIndex = 54; + this.PopZonesCheckBox.Text = "Show population zones"; + this.PopZonesCheckBox.UseVisualStyleBackColor = true; + this.PopZonesCheckBox.CheckedChanged += new System.EventHandler(this.PopZonesCheckBox_CheckedChanged); + // + // NavMeshesCheckBox + // + this.NavMeshesCheckBox.AutoSize = true; + this.NavMeshesCheckBox.Location = new System.Drawing.Point(10, 365); + this.NavMeshesCheckBox.Name = "NavMeshesCheckBox"; + this.NavMeshesCheckBox.Size = new System.Drawing.Size(126, 19); + this.NavMeshesCheckBox.TabIndex = 53; + this.NavMeshesCheckBox.Text = "Show nav meshes"; + this.NavMeshesCheckBox.UseVisualStyleBackColor = true; + this.NavMeshesCheckBox.CheckedChanged += new System.EventHandler(this.NavMeshesCheckBox_CheckedChanged); + // + // TrainPathsCheckBox + // + this.TrainPathsCheckBox.AutoSize = true; + this.TrainPathsCheckBox.Location = new System.Drawing.Point(10, 342); + this.TrainPathsCheckBox.Name = "TrainPathsCheckBox"; + this.TrainPathsCheckBox.Size = new System.Drawing.Size(117, 19); + this.TrainPathsCheckBox.TabIndex = 52; + this.TrainPathsCheckBox.Text = "Show train paths"; + this.TrainPathsCheckBox.UseVisualStyleBackColor = true; + this.TrainPathsCheckBox.CheckedChanged += new System.EventHandler(this.TrainPathsCheckBox_CheckedChanged); + // + // PathsDepthClipCheckBox + // + this.PathsDepthClipCheckBox.AutoSize = true; + this.PathsDepthClipCheckBox.Checked = true; + this.PathsDepthClipCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.PathsDepthClipCheckBox.Location = new System.Drawing.Point(10, 434); + this.PathsDepthClipCheckBox.Name = "PathsDepthClipCheckBox"; + this.PathsDepthClipCheckBox.Size = new System.Drawing.Size(113, 19); + this.PathsDepthClipCheckBox.TabIndex = 56; + this.PathsDepthClipCheckBox.Text = "Paths depth clip"; + this.PathsDepthClipCheckBox.UseVisualStyleBackColor = true; + this.PathsDepthClipCheckBox.CheckedChanged += new System.EventHandler(this.PathsDepthClipCheckBox_CheckedChanged); + // + // PathBoundsCheckBox + // + this.PathBoundsCheckBox.AutoSize = true; + this.PathBoundsCheckBox.Checked = true; + this.PathBoundsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.PathBoundsCheckBox.Location = new System.Drawing.Point(98, 319); + this.PathBoundsCheckBox.Name = "PathBoundsCheckBox"; + this.PathBoundsCheckBox.Size = new System.Drawing.Size(95, 19); + this.PathBoundsCheckBox.TabIndex = 51; + this.PathBoundsCheckBox.Text = "Path bounds"; + this.PathBoundsCheckBox.UseVisualStyleBackColor = true; + this.PathBoundsCheckBox.CheckedChanged += new System.EventHandler(this.PathBoundsCheckBox_CheckedChanged); + // + // SelectionWidgetCheckBox + // + this.SelectionWidgetCheckBox.AutoSize = true; + this.SelectionWidgetCheckBox.Checked = true; + this.SelectionWidgetCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.SelectionWidgetCheckBox.Location = new System.Drawing.Point(10, 241); + this.SelectionWidgetCheckBox.Name = "SelectionWidgetCheckBox"; + this.SelectionWidgetCheckBox.Size = new System.Drawing.Size(96, 19); + this.SelectionWidgetCheckBox.TabIndex = 46; + this.SelectionWidgetCheckBox.Text = "Show widget"; + this.SelectionWidgetCheckBox.UseVisualStyleBackColor = true; + this.SelectionWidgetCheckBox.CheckedChanged += new System.EventHandler(this.SelectionWidgetCheckBox_CheckedChanged); + // + // MarkerStyleComboBox + // + this.MarkerStyleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.MarkerStyleComboBox.FormattingEnabled = true; + this.MarkerStyleComboBox.Location = new System.Drawing.Point(80, 6); + this.MarkerStyleComboBox.Name = "MarkerStyleComboBox"; + this.MarkerStyleComboBox.Size = new System.Drawing.Size(114, 21); + this.MarkerStyleComboBox.TabIndex = 38; + this.MarkerStyleComboBox.SelectedIndexChanged += new System.EventHandler(this.MarkerStyleComboBox_SelectedIndexChanged); + this.MarkerStyleComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MarkerStyleComboBox_KeyPress); + // + // ShowToolbarCheckBox + // + this.ShowToolbarCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.ShowToolbarCheckBox.AutoSize = true; + this.ShowToolbarCheckBox.Location = new System.Drawing.Point(10, 262); + this.ShowToolbarCheckBox.Name = "ShowToolbarCheckBox"; + this.ShowToolbarCheckBox.Size = new System.Drawing.Size(120, 19); + this.ShowToolbarCheckBox.TabIndex = 47; + this.ShowToolbarCheckBox.Text = "Show Toolbar (T)"; + this.ShowToolbarCheckBox.UseVisualStyleBackColor = true; + this.ShowToolbarCheckBox.CheckedChanged += new System.EventHandler(this.ShowToolbarCheckBox_CheckedChanged); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(4, 9); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(76, 15); + this.label4.TabIndex = 17; + this.label4.Text = "Marker style:"; + // + // LocatorStyleComboBox + // + this.LocatorStyleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.LocatorStyleComboBox.FormattingEnabled = true; + this.LocatorStyleComboBox.Location = new System.Drawing.Point(80, 33); + this.LocatorStyleComboBox.Name = "LocatorStyleComboBox"; + this.LocatorStyleComboBox.Size = new System.Drawing.Size(114, 21); + this.LocatorStyleComboBox.TabIndex = 39; + this.LocatorStyleComboBox.SelectedIndexChanged += new System.EventHandler(this.LocatorStyleComboBox_SelectedIndexChanged); + this.LocatorStyleComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.LocatorStyleComboBox_KeyPress); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(4, 36); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(78, 15); + this.label5.TabIndex = 19; + this.label5.Text = "Locator style:"; + // + // MarkerDepthClipCheckBox + // + this.MarkerDepthClipCheckBox.AutoSize = true; + this.MarkerDepthClipCheckBox.Location = new System.Drawing.Point(10, 60); + this.MarkerDepthClipCheckBox.Name = "MarkerDepthClipCheckBox"; + this.MarkerDepthClipCheckBox.Size = new System.Drawing.Size(121, 19); + this.MarkerDepthClipCheckBox.TabIndex = 40; + this.MarkerDepthClipCheckBox.Text = "Marker depth clip"; + this.MarkerDepthClipCheckBox.UseVisualStyleBackColor = true; + this.MarkerDepthClipCheckBox.Visible = false; + this.MarkerDepthClipCheckBox.CheckedChanged += new System.EventHandler(this.MarkerDepthClipCheckBox_CheckedChanged); + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(4, 151); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(87, 15); + this.label9.TabIndex = 27; + this.label9.Text = "Bounds range:"; + // + // PathsCheckBox + // + this.PathsCheckBox.AutoSize = true; + this.PathsCheckBox.Location = new System.Drawing.Point(10, 319); + this.PathsCheckBox.Name = "PathsCheckBox"; + this.PathsCheckBox.Size = new System.Drawing.Size(90, 19); + this.PathsCheckBox.TabIndex = 50; + this.PathsCheckBox.Text = "Show paths"; + this.PathsCheckBox.UseVisualStyleBackColor = true; + this.PathsCheckBox.CheckedChanged += new System.EventHandler(this.PathsCheckBox_CheckedChanged); + // + // SelectionBoundsCheckBox + // + this.SelectionBoundsCheckBox.AutoSize = true; + this.SelectionBoundsCheckBox.Checked = true; + this.SelectionBoundsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.SelectionBoundsCheckBox.Location = new System.Drawing.Point(10, 218); + this.SelectionBoundsCheckBox.Name = "SelectionBoundsCheckBox"; + this.SelectionBoundsCheckBox.Size = new System.Drawing.Size(153, 19); + this.SelectionBoundsCheckBox.TabIndex = 45; + this.SelectionBoundsCheckBox.Text = "Show selection bounds"; + this.SelectionBoundsCheckBox.UseVisualStyleBackColor = true; + this.SelectionBoundsCheckBox.CheckedChanged += new System.EventHandler(this.SelectionBoundsCheckBox_CheckedChanged); + // + // BoundsDepthClipCheckBox + // + this.BoundsDepthClipCheckBox.AutoSize = true; + this.BoundsDepthClipCheckBox.Checked = true; + this.BoundsDepthClipCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.BoundsDepthClipCheckBox.Location = new System.Drawing.Point(10, 129); + this.BoundsDepthClipCheckBox.Name = "BoundsDepthClipCheckBox"; + this.BoundsDepthClipCheckBox.Size = new System.Drawing.Size(124, 19); + this.BoundsDepthClipCheckBox.TabIndex = 42; + this.BoundsDepthClipCheckBox.Text = "Bounds depth clip"; + this.BoundsDepthClipCheckBox.UseVisualStyleBackColor = true; + this.BoundsDepthClipCheckBox.CheckedChanged += new System.EventHandler(this.BoundsDepthClipCheckBox_CheckedChanged); + // + // BoundsRangeTrackBar + // + this.BoundsRangeTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.BoundsRangeTrackBar.LargeChange = 10; + this.BoundsRangeTrackBar.Location = new System.Drawing.Point(15, 167); + this.BoundsRangeTrackBar.Maximum = 100; + this.BoundsRangeTrackBar.Minimum = 1; + this.BoundsRangeTrackBar.Name = "BoundsRangeTrackBar"; + this.BoundsRangeTrackBar.Size = new System.Drawing.Size(179, 45); + this.BoundsRangeTrackBar.TabIndex = 43; + this.BoundsRangeTrackBar.TickFrequency = 10; + this.BoundsRangeTrackBar.Value = 100; + this.BoundsRangeTrackBar.Scroll += new System.EventHandler(this.BoundsRangeTrackBar_Scroll); + // + // BoundsStyleComboBox + // + this.BoundsStyleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.BoundsStyleComboBox.FormattingEnabled = true; + this.BoundsStyleComboBox.Items.AddRange(new object[] { + "None", + "Boxes", + "Spheres"}); + this.BoundsStyleComboBox.Location = new System.Drawing.Point(80, 102); + this.BoundsStyleComboBox.Name = "BoundsStyleComboBox"; + this.BoundsStyleComboBox.Size = new System.Drawing.Size(114, 21); + this.BoundsStyleComboBox.TabIndex = 41; + this.BoundsStyleComboBox.SelectedIndexChanged += new System.EventHandler(this.BoundsStyleComboBox_SelectedIndexChanged); + this.BoundsStyleComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.BoundsStyleComboBox_KeyPress); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(4, 105); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(79, 15); + this.label8.TabIndex = 25; + this.label8.Text = "Bounds style:"; + // + // tabPage10 + // + this.tabPage10.Controls.Add(this.WeatherRegionComboBox); + this.tabPage10.Controls.Add(this.label29); + this.tabPage10.Controls.Add(this.CloudParamTrackBar); + this.tabPage10.Controls.Add(this.CloudParamComboBox); + this.tabPage10.Controls.Add(this.label23); + this.tabPage10.Controls.Add(this.CloudsComboBox); + this.tabPage10.Controls.Add(this.label21); + this.tabPage10.Controls.Add(this.TimeSpeedLabel); + this.tabPage10.Controls.Add(this.label20); + this.tabPage10.Controls.Add(this.TimeSpeedTrackBar); + this.tabPage10.Controls.Add(this.TimeStartStopButton); + this.tabPage10.Controls.Add(this.ArtificialAmbientLightCheckBox); + this.tabPage10.Controls.Add(this.NaturalAmbientLightCheckBox); + this.tabPage10.Controls.Add(this.DistantLODLightsCheckBox); + this.tabPage10.Controls.Add(this.HDRRenderingCheckBox); + this.tabPage10.Controls.Add(this.ControlTimeOfDayCheckBox); + this.tabPage10.Controls.Add(this.TimeOfDayLabel); + this.tabPage10.Controls.Add(this.label19); + this.tabPage10.Controls.Add(this.TimeOfDayTrackBar); + this.tabPage10.Controls.Add(this.WeatherComboBox); + this.tabPage10.Controls.Add(this.label17); + this.tabPage10.Controls.Add(this.ControlLightDirectionCheckBox); + this.tabPage10.Controls.Add(this.SkydomeCheckBox); + this.tabPage10.Controls.Add(this.ShadowsCheckBox); + this.tabPage10.Location = new System.Drawing.Point(4, 22); + this.tabPage10.Name = "tabPage10"; + this.tabPage10.Size = new System.Drawing.Size(200, 482); + this.tabPage10.TabIndex = 2; + this.tabPage10.Text = "Lighting"; + this.tabPage10.UseVisualStyleBackColor = true; + // + // WeatherRegionComboBox + // + this.WeatherRegionComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.WeatherRegionComboBox.FormattingEnabled = true; + this.WeatherRegionComboBox.Items.AddRange(new object[] { + "GLOBAL", + "URBAN"}); + this.WeatherRegionComboBox.Location = new System.Drawing.Point(61, 355); + this.WeatherRegionComboBox.Name = "WeatherRegionComboBox"; + this.WeatherRegionComboBox.Size = new System.Drawing.Size(133, 21); + this.WeatherRegionComboBox.TabIndex = 43; + this.WeatherRegionComboBox.SelectedIndexChanged += new System.EventHandler(this.WeatherRegionComboBox_SelectedIndexChanged); + this.WeatherRegionComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.WeatherRegionComboBox_KeyPress); + // + // label29 + // + this.label29.AutoSize = true; + this.label29.Location = new System.Drawing.Point(4, 358); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(50, 15); + this.label29.TabIndex = 64; + this.label29.Text = "Region:"; + // + // CloudParamTrackBar + // + this.CloudParamTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.CloudParamTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.CloudParamTrackBar.LargeChange = 10; + this.CloudParamTrackBar.Location = new System.Drawing.Point(6, 436); + this.CloudParamTrackBar.Maximum = 200; + this.CloudParamTrackBar.Name = "CloudParamTrackBar"; + this.CloudParamTrackBar.Size = new System.Drawing.Size(188, 45); + this.CloudParamTrackBar.TabIndex = 63; + this.CloudParamTrackBar.TickFrequency = 10; + this.CloudParamTrackBar.Value = 100; + this.CloudParamTrackBar.Scroll += new System.EventHandler(this.CloudParamTrackBar_Scroll); + // + // CloudParamComboBox + // + this.CloudParamComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.CloudParamComboBox.FormattingEnabled = true; + this.CloudParamComboBox.Items.AddRange(new object[] { + ""}); + this.CloudParamComboBox.Location = new System.Drawing.Point(78, 409); + this.CloudParamComboBox.Name = "CloudParamComboBox"; + this.CloudParamComboBox.Size = new System.Drawing.Size(116, 21); + this.CloudParamComboBox.TabIndex = 62; + this.CloudParamComboBox.SelectedIndexChanged += new System.EventHandler(this.CloudParamComboBox_SelectedIndexChanged); + this.CloudParamComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.CloudParamComboBox_KeyPress); + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Location = new System.Drawing.Point(4, 412); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(81, 15); + this.label23.TabIndex = 61; + this.label23.Text = "Cloud param:"; + // + // CloudsComboBox + // + this.CloudsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.CloudsComboBox.FormattingEnabled = true; + this.CloudsComboBox.Items.AddRange(new object[] { + ""}); + this.CloudsComboBox.Location = new System.Drawing.Point(61, 382); + this.CloudsComboBox.Name = "CloudsComboBox"; + this.CloudsComboBox.Size = new System.Drawing.Size(133, 21); + this.CloudsComboBox.TabIndex = 60; + this.CloudsComboBox.SelectedIndexChanged += new System.EventHandler(this.CloudsComboBox_SelectedIndexChanged); + this.CloudsComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.CloudsComboBox_KeyPress); + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(4, 385); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(48, 15); + this.label21.TabIndex = 59; + this.label21.Text = "Clouds:"; + // + // TimeSpeedLabel + // + this.TimeSpeedLabel.AutoSize = true; + this.TimeSpeedLabel.Location = new System.Drawing.Point(78, 263); + this.TimeSpeedLabel.Name = "TimeSpeedLabel"; + this.TimeSpeedLabel.Size = new System.Drawing.Size(70, 15); + this.TimeSpeedLabel.TabIndex = 58; + this.TimeSpeedLabel.Text = "0.5 min/sec"; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Location = new System.Drawing.Point(3, 263); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(75, 15); + this.label20.TabIndex = 57; + this.label20.Text = "Time speed:"; + // + // TimeSpeedTrackBar + // + this.TimeSpeedTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.TimeSpeedTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.TimeSpeedTrackBar.Location = new System.Drawing.Point(61, 279); + this.TimeSpeedTrackBar.Maximum = 100; + this.TimeSpeedTrackBar.Minimum = 40; + this.TimeSpeedTrackBar.Name = "TimeSpeedTrackBar"; + this.TimeSpeedTrackBar.Size = new System.Drawing.Size(133, 45); + this.TimeSpeedTrackBar.TabIndex = 41; + this.TimeSpeedTrackBar.TickFrequency = 5; + this.TimeSpeedTrackBar.Value = 50; + this.TimeSpeedTrackBar.Scroll += new System.EventHandler(this.TimeSpeedTrackBar_Scroll); + // + // TimeStartStopButton + // + this.TimeStartStopButton.Location = new System.Drawing.Point(10, 279); + this.TimeStartStopButton.Name = "TimeStartStopButton"; + this.TimeStartStopButton.Size = new System.Drawing.Size(45, 23); + this.TimeStartStopButton.TabIndex = 40; + this.TimeStartStopButton.Text = "Start"; + this.TimeStartStopButton.UseVisualStyleBackColor = true; + this.TimeStartStopButton.Click += new System.EventHandler(this.TimeStartStopButton_Click); + // + // ArtificialAmbientLightCheckBox + // + this.ArtificialAmbientLightCheckBox.AutoSize = true; + this.ArtificialAmbientLightCheckBox.Checked = true; + this.ArtificialAmbientLightCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.ArtificialAmbientLightCheckBox.Location = new System.Drawing.Point(10, 129); + this.ArtificialAmbientLightCheckBox.Name = "ArtificialAmbientLightCheckBox"; + this.ArtificialAmbientLightCheckBox.Size = new System.Drawing.Size(142, 19); + this.ArtificialAmbientLightCheckBox.TabIndex = 36; + this.ArtificialAmbientLightCheckBox.Text = "Artificial ambient light"; + this.ArtificialAmbientLightCheckBox.UseVisualStyleBackColor = true; + this.ArtificialAmbientLightCheckBox.CheckedChanged += new System.EventHandler(this.ArtificialAmbientLightCheckBox_CheckedChanged); + // + // NaturalAmbientLightCheckBox + // + this.NaturalAmbientLightCheckBox.AutoSize = true; + this.NaturalAmbientLightCheckBox.Checked = true; + this.NaturalAmbientLightCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.NaturalAmbientLightCheckBox.Location = new System.Drawing.Point(10, 106); + this.NaturalAmbientLightCheckBox.Name = "NaturalAmbientLightCheckBox"; + this.NaturalAmbientLightCheckBox.Size = new System.Drawing.Size(140, 19); + this.NaturalAmbientLightCheckBox.TabIndex = 35; + this.NaturalAmbientLightCheckBox.Text = "Natural ambient light"; + this.NaturalAmbientLightCheckBox.UseVisualStyleBackColor = true; + this.NaturalAmbientLightCheckBox.CheckedChanged += new System.EventHandler(this.NaturalAmbientLightCheckBox_CheckedChanged); + // + // DistantLODLightsCheckBox + // + this.DistantLODLightsCheckBox.AutoSize = true; + this.DistantLODLightsCheckBox.Checked = true; + this.DistantLODLightsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.DistantLODLightsCheckBox.Location = new System.Drawing.Point(10, 83); + this.DistantLODLightsCheckBox.Name = "DistantLODLightsCheckBox"; + this.DistantLODLightsCheckBox.Size = new System.Drawing.Size(124, 19); + this.DistantLODLightsCheckBox.TabIndex = 34; + this.DistantLODLightsCheckBox.Text = "Distant LOD lights"; + this.DistantLODLightsCheckBox.UseVisualStyleBackColor = true; + this.DistantLODLightsCheckBox.CheckedChanged += new System.EventHandler(this.DistantLODLightsCheckBox_CheckedChanged); + // + // HDRRenderingCheckBox + // + this.HDRRenderingCheckBox.AutoSize = true; + this.HDRRenderingCheckBox.Checked = true; + this.HDRRenderingCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.HDRRenderingCheckBox.Location = new System.Drawing.Point(10, 9); + this.HDRRenderingCheckBox.Name = "HDRRenderingCheckBox"; + this.HDRRenderingCheckBox.Size = new System.Drawing.Size(109, 19); + this.HDRRenderingCheckBox.TabIndex = 31; + this.HDRRenderingCheckBox.Text = "HDR rendering"; + this.HDRRenderingCheckBox.UseVisualStyleBackColor = true; + this.HDRRenderingCheckBox.CheckedChanged += new System.EventHandler(this.HDRRenderingCheckBox_CheckedChanged); + // + // ControlTimeOfDayCheckBox + // + this.ControlTimeOfDayCheckBox.AutoSize = true; + this.ControlTimeOfDayCheckBox.Checked = true; + this.ControlTimeOfDayCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.ControlTimeOfDayCheckBox.Location = new System.Drawing.Point(10, 180); + this.ControlTimeOfDayCheckBox.Name = "ControlTimeOfDayCheckBox"; + this.ControlTimeOfDayCheckBox.Size = new System.Drawing.Size(191, 19); + this.ControlTimeOfDayCheckBox.TabIndex = 38; + this.ControlTimeOfDayCheckBox.Text = "Control time of day (right-drag)"; + this.ControlTimeOfDayCheckBox.UseVisualStyleBackColor = true; + this.ControlTimeOfDayCheckBox.CheckedChanged += new System.EventHandler(this.ControlTimeOfDayCheckBox_CheckedChanged); + // + // TimeOfDayLabel + // + this.TimeOfDayLabel.AutoSize = true; + this.TimeOfDayLabel.Location = new System.Drawing.Point(75, 208); + this.TimeOfDayLabel.Name = "TimeOfDayLabel"; + this.TimeOfDayLabel.Size = new System.Drawing.Size(38, 15); + this.TimeOfDayLabel.TabIndex = 54; + this.TimeOfDayLabel.Text = "12:00"; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(4, 208); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(73, 15); + this.label19.TabIndex = 53; + this.label19.Text = "Time of day:"; + // + // TimeOfDayTrackBar + // + this.TimeOfDayTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.TimeOfDayTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.TimeOfDayTrackBar.LargeChange = 60; + this.TimeOfDayTrackBar.Location = new System.Drawing.Point(6, 224); + this.TimeOfDayTrackBar.Maximum = 1440; + this.TimeOfDayTrackBar.Name = "TimeOfDayTrackBar"; + this.TimeOfDayTrackBar.Size = new System.Drawing.Size(188, 45); + this.TimeOfDayTrackBar.TabIndex = 39; + this.TimeOfDayTrackBar.TickFrequency = 60; + this.TimeOfDayTrackBar.Value = 720; + this.TimeOfDayTrackBar.Scroll += new System.EventHandler(this.TimeOfDayTrackBar_Scroll); + // + // WeatherComboBox + // + this.WeatherComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.WeatherComboBox.FormattingEnabled = true; + this.WeatherComboBox.Items.AddRange(new object[] { + ""}); + this.WeatherComboBox.Location = new System.Drawing.Point(61, 328); + this.WeatherComboBox.Name = "WeatherComboBox"; + this.WeatherComboBox.Size = new System.Drawing.Size(133, 21); + this.WeatherComboBox.TabIndex = 42; + this.WeatherComboBox.SelectedIndexChanged += new System.EventHandler(this.WeatherComboBox_SelectedIndexChanged); + this.WeatherComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.WeatherComboBox_KeyPress); + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(4, 331); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(56, 15); + this.label17.TabIndex = 39; + this.label17.Text = "Weather:"; + // + // ControlLightDirectionCheckBox + // + this.ControlLightDirectionCheckBox.AutoSize = true; + this.ControlLightDirectionCheckBox.Location = new System.Drawing.Point(10, 157); + this.ControlLightDirectionCheckBox.Name = "ControlLightDirectionCheckBox"; + this.ControlLightDirectionCheckBox.Size = new System.Drawing.Size(205, 19); + this.ControlLightDirectionCheckBox.TabIndex = 37; + this.ControlLightDirectionCheckBox.Text = "Control light direction (right-drag)"; + this.ControlLightDirectionCheckBox.UseVisualStyleBackColor = true; + this.ControlLightDirectionCheckBox.CheckedChanged += new System.EventHandler(this.ControlLightDirectionCheckBox_CheckedChanged); + // + // SkydomeCheckBox + // + this.SkydomeCheckBox.AutoSize = true; + this.SkydomeCheckBox.Checked = true; + this.SkydomeCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.SkydomeCheckBox.Location = new System.Drawing.Point(10, 55); + this.SkydomeCheckBox.Name = "SkydomeCheckBox"; + this.SkydomeCheckBox.Size = new System.Drawing.Size(77, 19); + this.SkydomeCheckBox.TabIndex = 33; + this.SkydomeCheckBox.Text = "Skydome"; + this.SkydomeCheckBox.UseVisualStyleBackColor = true; + this.SkydomeCheckBox.CheckedChanged += new System.EventHandler(this.SkydomeCheckbox_CheckedChanged); + // + // ShadowsCheckBox + // + this.ShadowsCheckBox.AutoSize = true; + this.ShadowsCheckBox.Location = new System.Drawing.Point(10, 32); + this.ShadowsCheckBox.Name = "ShadowsCheckBox"; + this.ShadowsCheckBox.Size = new System.Drawing.Size(77, 19); + this.ShadowsCheckBox.TabIndex = 32; + this.ShadowsCheckBox.Text = "Shadows"; + this.ShadowsCheckBox.UseVisualStyleBackColor = true; + this.ShadowsCheckBox.CheckedChanged += new System.EventHandler(this.ShadowsCheckBox_CheckedChanged); + // + // StatusBarCheckBox + // + this.StatusBarCheckBox.AutoSize = true; + this.StatusBarCheckBox.Checked = true; + this.StatusBarCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.StatusBarCheckBox.Location = new System.Drawing.Point(119, 517); + this.StatusBarCheckBox.Name = "StatusBarCheckBox"; + this.StatusBarCheckBox.Size = new System.Drawing.Size(81, 19); + this.StatusBarCheckBox.TabIndex = 145; + this.StatusBarCheckBox.Text = "Status bar"; + this.StatusBarCheckBox.UseVisualStyleBackColor = true; + this.StatusBarCheckBox.CheckedChanged += new System.EventHandler(this.StatusBarCheckBox_CheckedChanged); + // + // QuitButton + // + this.QuitButton.Location = new System.Drawing.Point(105, 569); + this.QuitButton.Name = "QuitButton"; + this.QuitButton.Size = new System.Drawing.Size(93, 23); + this.QuitButton.TabIndex = 149; + this.QuitButton.Text = "Quit"; + this.QuitButton.UseVisualStyleBackColor = true; + this.QuitButton.Click += new System.EventHandler(this.QuitButton_Click); + // + // ReloadSettingsButton + // + this.ReloadSettingsButton.Enabled = false; + this.ReloadSettingsButton.Location = new System.Drawing.Point(6, 540); + this.ReloadSettingsButton.Name = "ReloadSettingsButton"; + this.ReloadSettingsButton.Size = new System.Drawing.Size(93, 23); + this.ReloadSettingsButton.TabIndex = 146; + this.ReloadSettingsButton.Text = "Reload settings"; + this.ReloadSettingsButton.UseVisualStyleBackColor = true; + this.ReloadSettingsButton.Visible = false; + this.ReloadSettingsButton.Click += new System.EventHandler(this.ReloadSettingsButton_Click); + // + // SaveSettingsButton + // + this.SaveSettingsButton.Location = new System.Drawing.Point(105, 540); + this.SaveSettingsButton.Name = "SaveSettingsButton"; + this.SaveSettingsButton.Size = new System.Drawing.Size(93, 23); + this.SaveSettingsButton.TabIndex = 147; + this.SaveSettingsButton.Text = "Save settings"; + this.SaveSettingsButton.UseVisualStyleBackColor = true; + this.SaveSettingsButton.Click += new System.EventHandler(this.SaveSettingsButton_Click); + // + // ReloadShadersButton + // + this.ReloadShadersButton.Location = new System.Drawing.Point(6, 569); + this.ReloadShadersButton.Name = "ReloadShadersButton"; + this.ReloadShadersButton.Size = new System.Drawing.Size(93, 23); + this.ReloadShadersButton.TabIndex = 148; + this.ReloadShadersButton.Text = "Reload shaders"; + this.ReloadShadersButton.UseVisualStyleBackColor = true; + this.ReloadShadersButton.Click += new System.EventHandler(this.ReloadShadersButton_Click); + // + // ErrorConsoleCheckBox + // + this.ErrorConsoleCheckBox.AutoSize = true; + this.ErrorConsoleCheckBox.Location = new System.Drawing.Point(14, 517); + this.ErrorConsoleCheckBox.Name = "ErrorConsoleCheckBox"; + this.ErrorConsoleCheckBox.Size = new System.Drawing.Size(99, 19); + this.ErrorConsoleCheckBox.TabIndex = 144; + this.ErrorConsoleCheckBox.Text = "Error console"; + this.ErrorConsoleCheckBox.UseVisualStyleBackColor = true; + this.ErrorConsoleCheckBox.CheckedChanged += new System.EventHandler(this.ErrorConsoleCheckBox_CheckedChanged); + // + // ToolsPanelHideButton + // + this.ToolsPanelHideButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.ToolsPanelHideButton.Location = new System.Drawing.Point(185, 3); + this.ToolsPanelHideButton.Name = "ToolsPanelHideButton"; + this.ToolsPanelHideButton.Size = new System.Drawing.Size(30, 23); + this.ToolsPanelHideButton.TabIndex = 4; + this.ToolsPanelHideButton.Text = ">>"; + this.ToolsPanelHideButton.UseVisualStyleBackColor = true; + this.ToolsPanelHideButton.Click += new System.EventHandler(this.ToolsPanelHideButton_Click); + // // ToolsPanelShowButton // this.ToolsPanelShowButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); @@ -433,7 +2415,6 @@ namespace CodeWalker // // ToolsMenu // - this.ToolsMenu.BackColor = System.Drawing.SystemColors.Control; this.ToolsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolsMenuRPFBrowser, this.ToolsMenuRPFExplorer, @@ -449,7 +2430,7 @@ namespace CodeWalker this.ToolsMenuExtractShaders, this.ToolsMenuOptions}); this.ToolsMenu.Name = "ToolsMenu"; - this.ToolsMenu.Size = new System.Drawing.Size(177, 312); + this.ToolsMenu.Size = new System.Drawing.Size(177, 290); // // ToolsMenuRPFBrowser // @@ -557,2018 +2538,30 @@ namespace CodeWalker this.ToolbarPanel.TabIndex = 7; this.ToolbarPanel.Visible = false; // - // VSExtender - // - this.VSExtender.DefaultRenderer = null; - // - // ToolsPanelHideButton - // - this.ToolsPanelHideButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.ToolsPanelHideButton.Location = new System.Drawing.Point(185, 3); - this.ToolsPanelHideButton.Name = "ToolsPanelHideButton"; - this.ToolsPanelHideButton.Size = new System.Drawing.Size(30, 23); - this.ToolsPanelHideButton.TabIndex = 4; - this.ToolsPanelHideButton.Text = ">>"; - this.ToolsPanelHideButton.UseVisualStyleBackColor = true; - this.ToolsPanelHideButton.Click += new System.EventHandler(this.ToolsPanelHideButton_Click); - // - // ToolsTabControl - // - this.ToolsTabControl.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.ToolsTabControl.Controls.Add(this.tabPage1); - this.ToolsTabControl.Controls.Add(this.tabPage2); - this.ToolsTabControl.Controls.Add(this.tabPage3); - this.ToolsTabControl.Controls.Add(this.tabPage4); - this.ToolsTabControl.Location = new System.Drawing.Point(3, 30); - this.ToolsTabControl.Name = "ToolsTabControl"; - this.ToolsTabControl.SelectedIndex = 0; - this.ToolsTabControl.Size = new System.Drawing.Size(213, 632); - this.ToolsTabControl.TabIndex = 12; - // - // tabPage4 - // - this.tabPage4.Controls.Add(this.OptionsTabControl); - this.tabPage4.Controls.Add(this.StatusBarCheckBox); - this.tabPage4.Controls.Add(this.QuitButton); - this.tabPage4.Controls.Add(this.ReloadSettingsButton); - this.tabPage4.Controls.Add(this.SaveSettingsButton); - this.tabPage4.Controls.Add(this.ReloadShadersButton); - this.tabPage4.Controls.Add(this.ErrorConsoleCheckBox); - this.tabPage4.Location = new System.Drawing.Point(4, 22); - this.tabPage4.Name = "tabPage4"; - this.tabPage4.Size = new System.Drawing.Size(205, 606); - this.tabPage4.TabIndex = 3; - this.tabPage4.Text = "Options"; - this.tabPage4.UseVisualStyleBackColor = true; - // - // ErrorConsoleCheckBox - // - this.ErrorConsoleCheckBox.AutoSize = true; - this.ErrorConsoleCheckBox.Location = new System.Drawing.Point(14, 517); - this.ErrorConsoleCheckBox.Name = "ErrorConsoleCheckBox"; - this.ErrorConsoleCheckBox.Size = new System.Drawing.Size(99, 19); - this.ErrorConsoleCheckBox.TabIndex = 144; - this.ErrorConsoleCheckBox.Text = "Error console"; - this.ErrorConsoleCheckBox.UseVisualStyleBackColor = true; - this.ErrorConsoleCheckBox.CheckedChanged += new System.EventHandler(this.ErrorConsoleCheckBox_CheckedChanged); - // - // ReloadShadersButton - // - this.ReloadShadersButton.Location = new System.Drawing.Point(6, 569); - this.ReloadShadersButton.Name = "ReloadShadersButton"; - this.ReloadShadersButton.Size = new System.Drawing.Size(93, 23); - this.ReloadShadersButton.TabIndex = 148; - this.ReloadShadersButton.Text = "Reload shaders"; - this.ReloadShadersButton.UseVisualStyleBackColor = true; - this.ReloadShadersButton.Click += new System.EventHandler(this.ReloadShadersButton_Click); - // - // SaveSettingsButton - // - this.SaveSettingsButton.Location = new System.Drawing.Point(105, 540); - this.SaveSettingsButton.Name = "SaveSettingsButton"; - this.SaveSettingsButton.Size = new System.Drawing.Size(93, 23); - this.SaveSettingsButton.TabIndex = 147; - this.SaveSettingsButton.Text = "Save settings"; - this.SaveSettingsButton.UseVisualStyleBackColor = true; - this.SaveSettingsButton.Click += new System.EventHandler(this.SaveSettingsButton_Click); - // - // ReloadSettingsButton - // - this.ReloadSettingsButton.Enabled = false; - this.ReloadSettingsButton.Location = new System.Drawing.Point(6, 540); - this.ReloadSettingsButton.Name = "ReloadSettingsButton"; - this.ReloadSettingsButton.Size = new System.Drawing.Size(93, 23); - this.ReloadSettingsButton.TabIndex = 146; - this.ReloadSettingsButton.Text = "Reload settings"; - this.ReloadSettingsButton.UseVisualStyleBackColor = true; - this.ReloadSettingsButton.Visible = false; - this.ReloadSettingsButton.Click += new System.EventHandler(this.ReloadSettingsButton_Click); - // - // QuitButton - // - this.QuitButton.Location = new System.Drawing.Point(105, 569); - this.QuitButton.Name = "QuitButton"; - this.QuitButton.Size = new System.Drawing.Size(93, 23); - this.QuitButton.TabIndex = 149; - this.QuitButton.Text = "Quit"; - this.QuitButton.UseVisualStyleBackColor = true; - this.QuitButton.Click += new System.EventHandler(this.QuitButton_Click); - // - // StatusBarCheckBox - // - this.StatusBarCheckBox.AutoSize = true; - this.StatusBarCheckBox.Checked = true; - this.StatusBarCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.StatusBarCheckBox.Location = new System.Drawing.Point(119, 517); - this.StatusBarCheckBox.Name = "StatusBarCheckBox"; - this.StatusBarCheckBox.Size = new System.Drawing.Size(81, 19); - this.StatusBarCheckBox.TabIndex = 145; - this.StatusBarCheckBox.Text = "Status bar"; - this.StatusBarCheckBox.UseVisualStyleBackColor = true; - this.StatusBarCheckBox.CheckedChanged += new System.EventHandler(this.StatusBarCheckBox_CheckedChanged); - // - // OptionsTabControl - // - this.OptionsTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.OptionsTabControl.Controls.Add(this.tabPage8); - this.OptionsTabControl.Controls.Add(this.tabPage14); - this.OptionsTabControl.Controls.Add(this.tabPage9); - this.OptionsTabControl.Controls.Add(this.tabPage10); - this.OptionsTabControl.Location = new System.Drawing.Point(0, 3); - this.OptionsTabControl.Name = "OptionsTabControl"; - this.OptionsTabControl.SelectedIndex = 0; - this.OptionsTabControl.Size = new System.Drawing.Size(208, 508); - this.OptionsTabControl.TabIndex = 50; - // - // tabPage10 - // - this.tabPage10.Controls.Add(this.WeatherRegionComboBox); - this.tabPage10.Controls.Add(this.label29); - this.tabPage10.Controls.Add(this.CloudParamTrackBar); - this.tabPage10.Controls.Add(this.CloudParamComboBox); - this.tabPage10.Controls.Add(this.label23); - this.tabPage10.Controls.Add(this.CloudsComboBox); - this.tabPage10.Controls.Add(this.label21); - this.tabPage10.Controls.Add(this.TimeSpeedLabel); - this.tabPage10.Controls.Add(this.label20); - this.tabPage10.Controls.Add(this.TimeSpeedTrackBar); - this.tabPage10.Controls.Add(this.TimeStartStopButton); - this.tabPage10.Controls.Add(this.ArtificialAmbientLightCheckBox); - this.tabPage10.Controls.Add(this.NaturalAmbientLightCheckBox); - this.tabPage10.Controls.Add(this.DistantLODLightsCheckBox); - this.tabPage10.Controls.Add(this.HDRRenderingCheckBox); - this.tabPage10.Controls.Add(this.ControlTimeOfDayCheckBox); - this.tabPage10.Controls.Add(this.TimeOfDayLabel); - this.tabPage10.Controls.Add(this.label19); - this.tabPage10.Controls.Add(this.TimeOfDayTrackBar); - this.tabPage10.Controls.Add(this.WeatherComboBox); - this.tabPage10.Controls.Add(this.label17); - this.tabPage10.Controls.Add(this.ControlLightDirectionCheckBox); - this.tabPage10.Controls.Add(this.SkydomeCheckBox); - this.tabPage10.Controls.Add(this.ShadowsCheckBox); - this.tabPage10.Location = new System.Drawing.Point(4, 22); - this.tabPage10.Name = "tabPage10"; - this.tabPage10.Size = new System.Drawing.Size(200, 482); - this.tabPage10.TabIndex = 2; - this.tabPage10.Text = "Lighting"; - this.tabPage10.UseVisualStyleBackColor = true; - // - // ShadowsCheckBox - // - this.ShadowsCheckBox.AutoSize = true; - this.ShadowsCheckBox.Location = new System.Drawing.Point(10, 32); - this.ShadowsCheckBox.Name = "ShadowsCheckBox"; - this.ShadowsCheckBox.Size = new System.Drawing.Size(77, 19); - this.ShadowsCheckBox.TabIndex = 32; - this.ShadowsCheckBox.Text = "Shadows"; - this.ShadowsCheckBox.UseVisualStyleBackColor = true; - this.ShadowsCheckBox.CheckedChanged += new System.EventHandler(this.ShadowsCheckBox_CheckedChanged); - // - // SkydomeCheckBox - // - this.SkydomeCheckBox.AutoSize = true; - this.SkydomeCheckBox.Checked = true; - this.SkydomeCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.SkydomeCheckBox.Location = new System.Drawing.Point(10, 55); - this.SkydomeCheckBox.Name = "SkydomeCheckBox"; - this.SkydomeCheckBox.Size = new System.Drawing.Size(77, 19); - this.SkydomeCheckBox.TabIndex = 33; - this.SkydomeCheckBox.Text = "Skydome"; - this.SkydomeCheckBox.UseVisualStyleBackColor = true; - this.SkydomeCheckBox.CheckedChanged += new System.EventHandler(this.SkydomeCheckbox_CheckedChanged); - // - // ControlLightDirectionCheckBox - // - this.ControlLightDirectionCheckBox.AutoSize = true; - this.ControlLightDirectionCheckBox.Location = new System.Drawing.Point(10, 157); - this.ControlLightDirectionCheckBox.Name = "ControlLightDirectionCheckBox"; - this.ControlLightDirectionCheckBox.Size = new System.Drawing.Size(205, 19); - this.ControlLightDirectionCheckBox.TabIndex = 37; - this.ControlLightDirectionCheckBox.Text = "Control light direction (right-drag)"; - this.ControlLightDirectionCheckBox.UseVisualStyleBackColor = true; - this.ControlLightDirectionCheckBox.CheckedChanged += new System.EventHandler(this.ControlLightDirectionCheckBox_CheckedChanged); - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(4, 331); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(56, 15); - this.label17.TabIndex = 39; - this.label17.Text = "Weather:"; - // - // WeatherComboBox - // - this.WeatherComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.WeatherComboBox.FormattingEnabled = true; - this.WeatherComboBox.Items.AddRange(new object[] { - ""}); - this.WeatherComboBox.Location = new System.Drawing.Point(61, 328); - this.WeatherComboBox.Name = "WeatherComboBox"; - this.WeatherComboBox.Size = new System.Drawing.Size(133, 21); - this.WeatherComboBox.TabIndex = 42; - this.WeatherComboBox.SelectedIndexChanged += new System.EventHandler(this.WeatherComboBox_SelectedIndexChanged); - this.WeatherComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.WeatherComboBox_KeyPress); - // - // TimeOfDayTrackBar - // - this.TimeOfDayTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.TimeOfDayTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.TimeOfDayTrackBar.LargeChange = 60; - this.TimeOfDayTrackBar.Location = new System.Drawing.Point(6, 224); - this.TimeOfDayTrackBar.Maximum = 1440; - this.TimeOfDayTrackBar.Name = "TimeOfDayTrackBar"; - this.TimeOfDayTrackBar.Size = new System.Drawing.Size(188, 45); - this.TimeOfDayTrackBar.TabIndex = 39; - this.TimeOfDayTrackBar.TickFrequency = 60; - this.TimeOfDayTrackBar.Value = 720; - this.TimeOfDayTrackBar.Scroll += new System.EventHandler(this.TimeOfDayTrackBar_Scroll); - // - // label19 - // - this.label19.AutoSize = true; - this.label19.Location = new System.Drawing.Point(4, 208); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(73, 15); - this.label19.TabIndex = 53; - this.label19.Text = "Time of day:"; - // - // TimeOfDayLabel - // - this.TimeOfDayLabel.AutoSize = true; - this.TimeOfDayLabel.Location = new System.Drawing.Point(75, 208); - this.TimeOfDayLabel.Name = "TimeOfDayLabel"; - this.TimeOfDayLabel.Size = new System.Drawing.Size(38, 15); - this.TimeOfDayLabel.TabIndex = 54; - this.TimeOfDayLabel.Text = "12:00"; - // - // ControlTimeOfDayCheckBox - // - this.ControlTimeOfDayCheckBox.AutoSize = true; - this.ControlTimeOfDayCheckBox.Checked = true; - this.ControlTimeOfDayCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.ControlTimeOfDayCheckBox.Location = new System.Drawing.Point(10, 180); - this.ControlTimeOfDayCheckBox.Name = "ControlTimeOfDayCheckBox"; - this.ControlTimeOfDayCheckBox.Size = new System.Drawing.Size(191, 19); - this.ControlTimeOfDayCheckBox.TabIndex = 38; - this.ControlTimeOfDayCheckBox.Text = "Control time of day (right-drag)"; - this.ControlTimeOfDayCheckBox.UseVisualStyleBackColor = true; - this.ControlTimeOfDayCheckBox.CheckedChanged += new System.EventHandler(this.ControlTimeOfDayCheckBox_CheckedChanged); - // - // HDRRenderingCheckBox - // - this.HDRRenderingCheckBox.AutoSize = true; - this.HDRRenderingCheckBox.Checked = true; - this.HDRRenderingCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.HDRRenderingCheckBox.Location = new System.Drawing.Point(10, 9); - this.HDRRenderingCheckBox.Name = "HDRRenderingCheckBox"; - this.HDRRenderingCheckBox.Size = new System.Drawing.Size(109, 19); - this.HDRRenderingCheckBox.TabIndex = 31; - this.HDRRenderingCheckBox.Text = "HDR rendering"; - this.HDRRenderingCheckBox.UseVisualStyleBackColor = true; - this.HDRRenderingCheckBox.CheckedChanged += new System.EventHandler(this.HDRRenderingCheckBox_CheckedChanged); - // - // DistantLODLightsCheckBox - // - this.DistantLODLightsCheckBox.AutoSize = true; - this.DistantLODLightsCheckBox.Checked = true; - this.DistantLODLightsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.DistantLODLightsCheckBox.Location = new System.Drawing.Point(10, 83); - this.DistantLODLightsCheckBox.Name = "DistantLODLightsCheckBox"; - this.DistantLODLightsCheckBox.Size = new System.Drawing.Size(124, 19); - this.DistantLODLightsCheckBox.TabIndex = 34; - this.DistantLODLightsCheckBox.Text = "Distant LOD lights"; - this.DistantLODLightsCheckBox.UseVisualStyleBackColor = true; - this.DistantLODLightsCheckBox.CheckedChanged += new System.EventHandler(this.DistantLODLightsCheckBox_CheckedChanged); - // - // NaturalAmbientLightCheckBox - // - this.NaturalAmbientLightCheckBox.AutoSize = true; - this.NaturalAmbientLightCheckBox.Checked = true; - this.NaturalAmbientLightCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.NaturalAmbientLightCheckBox.Location = new System.Drawing.Point(10, 106); - this.NaturalAmbientLightCheckBox.Name = "NaturalAmbientLightCheckBox"; - this.NaturalAmbientLightCheckBox.Size = new System.Drawing.Size(140, 19); - this.NaturalAmbientLightCheckBox.TabIndex = 35; - this.NaturalAmbientLightCheckBox.Text = "Natural ambient light"; - this.NaturalAmbientLightCheckBox.UseVisualStyleBackColor = true; - this.NaturalAmbientLightCheckBox.CheckedChanged += new System.EventHandler(this.NaturalAmbientLightCheckBox_CheckedChanged); - // - // ArtificialAmbientLightCheckBox - // - this.ArtificialAmbientLightCheckBox.AutoSize = true; - this.ArtificialAmbientLightCheckBox.Checked = true; - this.ArtificialAmbientLightCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.ArtificialAmbientLightCheckBox.Location = new System.Drawing.Point(10, 129); - this.ArtificialAmbientLightCheckBox.Name = "ArtificialAmbientLightCheckBox"; - this.ArtificialAmbientLightCheckBox.Size = new System.Drawing.Size(142, 19); - this.ArtificialAmbientLightCheckBox.TabIndex = 36; - this.ArtificialAmbientLightCheckBox.Text = "Artificial ambient light"; - this.ArtificialAmbientLightCheckBox.UseVisualStyleBackColor = true; - this.ArtificialAmbientLightCheckBox.CheckedChanged += new System.EventHandler(this.ArtificialAmbientLightCheckBox_CheckedChanged); - // - // TimeStartStopButton - // - this.TimeStartStopButton.Location = new System.Drawing.Point(10, 279); - this.TimeStartStopButton.Name = "TimeStartStopButton"; - this.TimeStartStopButton.Size = new System.Drawing.Size(45, 23); - this.TimeStartStopButton.TabIndex = 40; - this.TimeStartStopButton.Text = "Start"; - this.TimeStartStopButton.UseVisualStyleBackColor = true; - this.TimeStartStopButton.Click += new System.EventHandler(this.TimeStartStopButton_Click); - // - // TimeSpeedTrackBar - // - this.TimeSpeedTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.TimeSpeedTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.TimeSpeedTrackBar.Location = new System.Drawing.Point(61, 279); - this.TimeSpeedTrackBar.Maximum = 100; - this.TimeSpeedTrackBar.Minimum = 40; - this.TimeSpeedTrackBar.Name = "TimeSpeedTrackBar"; - this.TimeSpeedTrackBar.Size = new System.Drawing.Size(133, 45); - this.TimeSpeedTrackBar.TabIndex = 41; - this.TimeSpeedTrackBar.TickFrequency = 5; - this.TimeSpeedTrackBar.Value = 50; - this.TimeSpeedTrackBar.Scroll += new System.EventHandler(this.TimeSpeedTrackBar_Scroll); - // - // label20 - // - this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(3, 263); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(75, 15); - this.label20.TabIndex = 57; - this.label20.Text = "Time speed:"; - // - // TimeSpeedLabel - // - this.TimeSpeedLabel.AutoSize = true; - this.TimeSpeedLabel.Location = new System.Drawing.Point(78, 263); - this.TimeSpeedLabel.Name = "TimeSpeedLabel"; - this.TimeSpeedLabel.Size = new System.Drawing.Size(70, 15); - this.TimeSpeedLabel.TabIndex = 58; - this.TimeSpeedLabel.Text = "0.5 min/sec"; - // - // label21 - // - this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(4, 385); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(48, 15); - this.label21.TabIndex = 59; - this.label21.Text = "Clouds:"; - // - // CloudsComboBox - // - this.CloudsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.CloudsComboBox.FormattingEnabled = true; - this.CloudsComboBox.Items.AddRange(new object[] { - ""}); - this.CloudsComboBox.Location = new System.Drawing.Point(61, 382); - this.CloudsComboBox.Name = "CloudsComboBox"; - this.CloudsComboBox.Size = new System.Drawing.Size(133, 21); - this.CloudsComboBox.TabIndex = 60; - this.CloudsComboBox.SelectedIndexChanged += new System.EventHandler(this.CloudsComboBox_SelectedIndexChanged); - this.CloudsComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.CloudsComboBox_KeyPress); - // - // label23 - // - this.label23.AutoSize = true; - this.label23.Location = new System.Drawing.Point(4, 412); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(81, 15); - this.label23.TabIndex = 61; - this.label23.Text = "Cloud param:"; - // - // CloudParamComboBox - // - this.CloudParamComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.CloudParamComboBox.FormattingEnabled = true; - this.CloudParamComboBox.Items.AddRange(new object[] { - ""}); - this.CloudParamComboBox.Location = new System.Drawing.Point(78, 409); - this.CloudParamComboBox.Name = "CloudParamComboBox"; - this.CloudParamComboBox.Size = new System.Drawing.Size(116, 21); - this.CloudParamComboBox.TabIndex = 62; - this.CloudParamComboBox.SelectedIndexChanged += new System.EventHandler(this.CloudParamComboBox_SelectedIndexChanged); - this.CloudParamComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.CloudParamComboBox_KeyPress); - // - // CloudParamTrackBar - // - this.CloudParamTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.CloudParamTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.CloudParamTrackBar.LargeChange = 10; - this.CloudParamTrackBar.Location = new System.Drawing.Point(6, 436); - this.CloudParamTrackBar.Maximum = 200; - this.CloudParamTrackBar.Name = "CloudParamTrackBar"; - this.CloudParamTrackBar.Size = new System.Drawing.Size(188, 45); - this.CloudParamTrackBar.TabIndex = 63; - this.CloudParamTrackBar.TickFrequency = 10; - this.CloudParamTrackBar.Value = 100; - this.CloudParamTrackBar.Scroll += new System.EventHandler(this.CloudParamTrackBar_Scroll); - // - // label29 - // - this.label29.AutoSize = true; - this.label29.Location = new System.Drawing.Point(4, 358); - this.label29.Name = "label29"; - this.label29.Size = new System.Drawing.Size(50, 15); - this.label29.TabIndex = 64; - this.label29.Text = "Region:"; - // - // WeatherRegionComboBox - // - this.WeatherRegionComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.WeatherRegionComboBox.FormattingEnabled = true; - this.WeatherRegionComboBox.Items.AddRange(new object[] { - "GLOBAL", - "URBAN"}); - this.WeatherRegionComboBox.Location = new System.Drawing.Point(61, 355); - this.WeatherRegionComboBox.Name = "WeatherRegionComboBox"; - this.WeatherRegionComboBox.Size = new System.Drawing.Size(133, 21); - this.WeatherRegionComboBox.TabIndex = 43; - this.WeatherRegionComboBox.SelectedIndexChanged += new System.EventHandler(this.WeatherRegionComboBox_SelectedIndexChanged); - this.WeatherRegionComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.WeatherRegionComboBox_KeyPress); - // - // tabPage9 - // - this.tabPage9.Controls.Add(this.SnapGridSizeUpDown); - this.tabPage9.Controls.Add(this.label26); - this.tabPage9.Controls.Add(this.SkeletonsCheckBox); - this.tabPage9.Controls.Add(this.AudioOuterBoundsCheckBox); - this.tabPage9.Controls.Add(this.PopZonesCheckBox); - this.tabPage9.Controls.Add(this.NavMeshesCheckBox); - this.tabPage9.Controls.Add(this.TrainPathsCheckBox); - this.tabPage9.Controls.Add(this.PathsDepthClipCheckBox); - this.tabPage9.Controls.Add(this.PathBoundsCheckBox); - this.tabPage9.Controls.Add(this.SelectionWidgetCheckBox); - this.tabPage9.Controls.Add(this.MarkerStyleComboBox); - this.tabPage9.Controls.Add(this.ShowToolbarCheckBox); - this.tabPage9.Controls.Add(this.label4); - this.tabPage9.Controls.Add(this.LocatorStyleComboBox); - this.tabPage9.Controls.Add(this.label5); - this.tabPage9.Controls.Add(this.MarkerDepthClipCheckBox); - this.tabPage9.Controls.Add(this.label9); - this.tabPage9.Controls.Add(this.PathsCheckBox); - this.tabPage9.Controls.Add(this.SelectionBoundsCheckBox); - this.tabPage9.Controls.Add(this.BoundsDepthClipCheckBox); - this.tabPage9.Controls.Add(this.BoundsRangeTrackBar); - this.tabPage9.Controls.Add(this.BoundsStyleComboBox); - this.tabPage9.Controls.Add(this.label8); - this.tabPage9.Location = new System.Drawing.Point(4, 22); - this.tabPage9.Name = "tabPage9"; - this.tabPage9.Padding = new System.Windows.Forms.Padding(3); - this.tabPage9.Size = new System.Drawing.Size(200, 482); - this.tabPage9.TabIndex = 1; - this.tabPage9.Text = "Helpers"; - this.tabPage9.UseVisualStyleBackColor = true; - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(4, 105); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(79, 15); - this.label8.TabIndex = 25; - this.label8.Text = "Bounds style:"; - // - // BoundsStyleComboBox - // - this.BoundsStyleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.BoundsStyleComboBox.FormattingEnabled = true; - this.BoundsStyleComboBox.Items.AddRange(new object[] { - "None", - "Boxes", - "Spheres"}); - this.BoundsStyleComboBox.Location = new System.Drawing.Point(80, 102); - this.BoundsStyleComboBox.Name = "BoundsStyleComboBox"; - this.BoundsStyleComboBox.Size = new System.Drawing.Size(114, 21); - this.BoundsStyleComboBox.TabIndex = 41; - this.BoundsStyleComboBox.SelectedIndexChanged += new System.EventHandler(this.BoundsStyleComboBox_SelectedIndexChanged); - this.BoundsStyleComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.BoundsStyleComboBox_KeyPress); - // - // BoundsRangeTrackBar - // - this.BoundsRangeTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.BoundsRangeTrackBar.LargeChange = 10; - this.BoundsRangeTrackBar.Location = new System.Drawing.Point(15, 167); - this.BoundsRangeTrackBar.Maximum = 100; - this.BoundsRangeTrackBar.Minimum = 1; - this.BoundsRangeTrackBar.Name = "BoundsRangeTrackBar"; - this.BoundsRangeTrackBar.Size = new System.Drawing.Size(179, 45); - this.BoundsRangeTrackBar.TabIndex = 43; - this.BoundsRangeTrackBar.TickFrequency = 10; - this.BoundsRangeTrackBar.Value = 100; - this.BoundsRangeTrackBar.Scroll += new System.EventHandler(this.BoundsRangeTrackBar_Scroll); - // - // BoundsDepthClipCheckBox - // - this.BoundsDepthClipCheckBox.AutoSize = true; - this.BoundsDepthClipCheckBox.Checked = true; - this.BoundsDepthClipCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.BoundsDepthClipCheckBox.Location = new System.Drawing.Point(10, 129); - this.BoundsDepthClipCheckBox.Name = "BoundsDepthClipCheckBox"; - this.BoundsDepthClipCheckBox.Size = new System.Drawing.Size(124, 19); - this.BoundsDepthClipCheckBox.TabIndex = 42; - this.BoundsDepthClipCheckBox.Text = "Bounds depth clip"; - this.BoundsDepthClipCheckBox.UseVisualStyleBackColor = true; - this.BoundsDepthClipCheckBox.CheckedChanged += new System.EventHandler(this.BoundsDepthClipCheckBox_CheckedChanged); - // - // SelectionBoundsCheckBox - // - this.SelectionBoundsCheckBox.AutoSize = true; - this.SelectionBoundsCheckBox.Checked = true; - this.SelectionBoundsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.SelectionBoundsCheckBox.Location = new System.Drawing.Point(10, 218); - this.SelectionBoundsCheckBox.Name = "SelectionBoundsCheckBox"; - this.SelectionBoundsCheckBox.Size = new System.Drawing.Size(153, 19); - this.SelectionBoundsCheckBox.TabIndex = 45; - this.SelectionBoundsCheckBox.Text = "Show selection bounds"; - this.SelectionBoundsCheckBox.UseVisualStyleBackColor = true; - this.SelectionBoundsCheckBox.CheckedChanged += new System.EventHandler(this.SelectionBoundsCheckBox_CheckedChanged); - // - // PathsCheckBox - // - this.PathsCheckBox.AutoSize = true; - this.PathsCheckBox.Location = new System.Drawing.Point(10, 319); - this.PathsCheckBox.Name = "PathsCheckBox"; - this.PathsCheckBox.Size = new System.Drawing.Size(90, 19); - this.PathsCheckBox.TabIndex = 50; - this.PathsCheckBox.Text = "Show paths"; - this.PathsCheckBox.UseVisualStyleBackColor = true; - this.PathsCheckBox.CheckedChanged += new System.EventHandler(this.PathsCheckBox_CheckedChanged); - // - // label9 - // - this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(4, 151); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(87, 15); - this.label9.TabIndex = 27; - this.label9.Text = "Bounds range:"; - // - // MarkerDepthClipCheckBox - // - this.MarkerDepthClipCheckBox.AutoSize = true; - this.MarkerDepthClipCheckBox.Location = new System.Drawing.Point(10, 60); - this.MarkerDepthClipCheckBox.Name = "MarkerDepthClipCheckBox"; - this.MarkerDepthClipCheckBox.Size = new System.Drawing.Size(121, 19); - this.MarkerDepthClipCheckBox.TabIndex = 40; - this.MarkerDepthClipCheckBox.Text = "Marker depth clip"; - this.MarkerDepthClipCheckBox.UseVisualStyleBackColor = true; - this.MarkerDepthClipCheckBox.Visible = false; - this.MarkerDepthClipCheckBox.CheckedChanged += new System.EventHandler(this.MarkerDepthClipCheckBox_CheckedChanged); - // - // label5 - // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(4, 36); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(78, 15); - this.label5.TabIndex = 19; - this.label5.Text = "Locator style:"; - // - // LocatorStyleComboBox - // - this.LocatorStyleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.LocatorStyleComboBox.FormattingEnabled = true; - this.LocatorStyleComboBox.Location = new System.Drawing.Point(80, 33); - this.LocatorStyleComboBox.Name = "LocatorStyleComboBox"; - this.LocatorStyleComboBox.Size = new System.Drawing.Size(114, 21); - this.LocatorStyleComboBox.TabIndex = 39; - this.LocatorStyleComboBox.SelectedIndexChanged += new System.EventHandler(this.LocatorStyleComboBox_SelectedIndexChanged); - this.LocatorStyleComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.LocatorStyleComboBox_KeyPress); - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(4, 9); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(76, 15); - this.label4.TabIndex = 17; - this.label4.Text = "Marker style:"; - // - // ShowToolbarCheckBox - // - this.ShowToolbarCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.ShowToolbarCheckBox.AutoSize = true; - this.ShowToolbarCheckBox.Location = new System.Drawing.Point(10, 262); - this.ShowToolbarCheckBox.Name = "ShowToolbarCheckBox"; - this.ShowToolbarCheckBox.Size = new System.Drawing.Size(120, 19); - this.ShowToolbarCheckBox.TabIndex = 47; - this.ShowToolbarCheckBox.Text = "Show Toolbar (T)"; - this.ShowToolbarCheckBox.UseVisualStyleBackColor = true; - this.ShowToolbarCheckBox.CheckedChanged += new System.EventHandler(this.ShowToolbarCheckBox_CheckedChanged); - // - // MarkerStyleComboBox - // - this.MarkerStyleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.MarkerStyleComboBox.FormattingEnabled = true; - this.MarkerStyleComboBox.Location = new System.Drawing.Point(80, 6); - this.MarkerStyleComboBox.Name = "MarkerStyleComboBox"; - this.MarkerStyleComboBox.Size = new System.Drawing.Size(114, 21); - this.MarkerStyleComboBox.TabIndex = 38; - this.MarkerStyleComboBox.SelectedIndexChanged += new System.EventHandler(this.MarkerStyleComboBox_SelectedIndexChanged); - this.MarkerStyleComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MarkerStyleComboBox_KeyPress); - // - // SelectionWidgetCheckBox - // - this.SelectionWidgetCheckBox.AutoSize = true; - this.SelectionWidgetCheckBox.Checked = true; - this.SelectionWidgetCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.SelectionWidgetCheckBox.Location = new System.Drawing.Point(10, 241); - this.SelectionWidgetCheckBox.Name = "SelectionWidgetCheckBox"; - this.SelectionWidgetCheckBox.Size = new System.Drawing.Size(96, 19); - this.SelectionWidgetCheckBox.TabIndex = 46; - this.SelectionWidgetCheckBox.Text = "Show widget"; - this.SelectionWidgetCheckBox.UseVisualStyleBackColor = true; - this.SelectionWidgetCheckBox.CheckedChanged += new System.EventHandler(this.SelectionWidgetCheckBox_CheckedChanged); - // - // PathBoundsCheckBox - // - this.PathBoundsCheckBox.AutoSize = true; - this.PathBoundsCheckBox.Checked = true; - this.PathBoundsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.PathBoundsCheckBox.Location = new System.Drawing.Point(98, 319); - this.PathBoundsCheckBox.Name = "PathBoundsCheckBox"; - this.PathBoundsCheckBox.Size = new System.Drawing.Size(95, 19); - this.PathBoundsCheckBox.TabIndex = 51; - this.PathBoundsCheckBox.Text = "Path bounds"; - this.PathBoundsCheckBox.UseVisualStyleBackColor = true; - this.PathBoundsCheckBox.CheckedChanged += new System.EventHandler(this.PathBoundsCheckBox_CheckedChanged); - // - // PathsDepthClipCheckBox - // - this.PathsDepthClipCheckBox.AutoSize = true; - this.PathsDepthClipCheckBox.Checked = true; - this.PathsDepthClipCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.PathsDepthClipCheckBox.Location = new System.Drawing.Point(10, 434); - this.PathsDepthClipCheckBox.Name = "PathsDepthClipCheckBox"; - this.PathsDepthClipCheckBox.Size = new System.Drawing.Size(113, 19); - this.PathsDepthClipCheckBox.TabIndex = 56; - this.PathsDepthClipCheckBox.Text = "Paths depth clip"; - this.PathsDepthClipCheckBox.UseVisualStyleBackColor = true; - this.PathsDepthClipCheckBox.CheckedChanged += new System.EventHandler(this.PathsDepthClipCheckBox_CheckedChanged); - // - // TrainPathsCheckBox - // - this.TrainPathsCheckBox.AutoSize = true; - this.TrainPathsCheckBox.Location = new System.Drawing.Point(10, 342); - this.TrainPathsCheckBox.Name = "TrainPathsCheckBox"; - this.TrainPathsCheckBox.Size = new System.Drawing.Size(117, 19); - this.TrainPathsCheckBox.TabIndex = 52; - this.TrainPathsCheckBox.Text = "Show train paths"; - this.TrainPathsCheckBox.UseVisualStyleBackColor = true; - this.TrainPathsCheckBox.CheckedChanged += new System.EventHandler(this.TrainPathsCheckBox_CheckedChanged); - // - // NavMeshesCheckBox - // - this.NavMeshesCheckBox.AutoSize = true; - this.NavMeshesCheckBox.Location = new System.Drawing.Point(10, 365); - this.NavMeshesCheckBox.Name = "NavMeshesCheckBox"; - this.NavMeshesCheckBox.Size = new System.Drawing.Size(126, 19); - this.NavMeshesCheckBox.TabIndex = 53; - this.NavMeshesCheckBox.Text = "Show nav meshes"; - this.NavMeshesCheckBox.UseVisualStyleBackColor = true; - this.NavMeshesCheckBox.CheckedChanged += new System.EventHandler(this.NavMeshesCheckBox_CheckedChanged); - // - // PopZonesCheckBox - // - this.PopZonesCheckBox.AutoSize = true; - this.PopZonesCheckBox.Location = new System.Drawing.Point(10, 388); - this.PopZonesCheckBox.Name = "PopZonesCheckBox"; - this.PopZonesCheckBox.Size = new System.Drawing.Size(154, 19); - this.PopZonesCheckBox.TabIndex = 54; - this.PopZonesCheckBox.Text = "Show population zones"; - this.PopZonesCheckBox.UseVisualStyleBackColor = true; - this.PopZonesCheckBox.CheckedChanged += new System.EventHandler(this.PopZonesCheckBox_CheckedChanged); - // - // AudioOuterBoundsCheckBox - // - this.AudioOuterBoundsCheckBox.AutoSize = true; - this.AudioOuterBoundsCheckBox.Checked = true; - this.AudioOuterBoundsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.AudioOuterBoundsCheckBox.Location = new System.Drawing.Point(10, 457); - this.AudioOuterBoundsCheckBox.Name = "AudioOuterBoundsCheckBox"; - this.AudioOuterBoundsCheckBox.Size = new System.Drawing.Size(166, 19); - this.AudioOuterBoundsCheckBox.TabIndex = 57; - this.AudioOuterBoundsCheckBox.Text = "Show audio outer bounds"; - this.AudioOuterBoundsCheckBox.UseVisualStyleBackColor = true; - this.AudioOuterBoundsCheckBox.CheckedChanged += new System.EventHandler(this.AudioOuterBoundsCheckBox_CheckedChanged); - // - // SkeletonsCheckBox - // - this.SkeletonsCheckBox.AutoSize = true; - this.SkeletonsCheckBox.Location = new System.Drawing.Point(10, 411); - this.SkeletonsCheckBox.Name = "SkeletonsCheckBox"; - this.SkeletonsCheckBox.Size = new System.Drawing.Size(112, 19); - this.SkeletonsCheckBox.TabIndex = 55; - this.SkeletonsCheckBox.Text = "Show skeletons"; - this.SkeletonsCheckBox.UseVisualStyleBackColor = true; - this.SkeletonsCheckBox.CheckedChanged += new System.EventHandler(this.SkeletonsCheckBox_CheckedChanged); - // - // label26 - // - this.label26.AutoSize = true; - this.label26.Location = new System.Drawing.Point(4, 293); - this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(88, 15); - this.label26.TabIndex = 48; - this.label26.Text = "Snap grid size:"; - // - // SnapGridSizeUpDown - // - this.SnapGridSizeUpDown.DecimalPlaces = 2; - this.SnapGridSizeUpDown.Location = new System.Drawing.Point(86, 291); - this.SnapGridSizeUpDown.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.SnapGridSizeUpDown.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 131072}); - this.SnapGridSizeUpDown.Name = "SnapGridSizeUpDown"; - this.SnapGridSizeUpDown.Size = new System.Drawing.Size(108, 20); - this.SnapGridSizeUpDown.TabIndex = 49; - this.SnapGridSizeUpDown.Value = new decimal(new int[] { - 100, - 0, - 0, - 131072}); - this.SnapGridSizeUpDown.ValueChanged += new System.EventHandler(this.SnapGridSizeUpDown_ValueChanged); - // - // tabPage14 - // - this.tabPage14.Controls.Add(this.WireframeCheckBox); - this.tabPage14.Controls.Add(this.RenderModeComboBox); - this.tabPage14.Controls.Add(this.label11); - this.tabPage14.Controls.Add(this.TextureSamplerComboBox); - this.tabPage14.Controls.Add(this.TextureCoordsComboBox); - this.tabPage14.Controls.Add(this.label10); - this.tabPage14.Controls.Add(this.AnisotropicFilteringCheckBox); - this.tabPage14.Controls.Add(this.ProxiesCheckBox); - this.tabPage14.Controls.Add(this.WaitForChildrenCheckBox); - this.tabPage14.Controls.Add(this.label14); - this.tabPage14.Location = new System.Drawing.Point(4, 22); - this.tabPage14.Name = "tabPage14"; - this.tabPage14.Size = new System.Drawing.Size(200, 482); - this.tabPage14.TabIndex = 3; - this.tabPage14.Text = "Render"; - this.tabPage14.UseVisualStyleBackColor = true; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(4, 73); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(70, 15); - this.label14.TabIndex = 56; - this.label14.Text = "Tex coords:"; - // - // WaitForChildrenCheckBox - // - this.WaitForChildrenCheckBox.AutoSize = true; - this.WaitForChildrenCheckBox.Checked = true; - this.WaitForChildrenCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.WaitForChildrenCheckBox.Location = new System.Drawing.Point(10, 161); - this.WaitForChildrenCheckBox.Name = "WaitForChildrenCheckBox"; - this.WaitForChildrenCheckBox.Size = new System.Drawing.Size(154, 19); - this.WaitForChildrenCheckBox.TabIndex = 51; - this.WaitForChildrenCheckBox.Text = "Wait for children to load"; - this.WaitForChildrenCheckBox.UseVisualStyleBackColor = true; - this.WaitForChildrenCheckBox.CheckedChanged += new System.EventHandler(this.WaitForChildrenCheckBox_CheckedChanged); - // - // ProxiesCheckBox - // - this.ProxiesCheckBox.AutoSize = true; - this.ProxiesCheckBox.Location = new System.Drawing.Point(10, 199); - this.ProxiesCheckBox.Name = "ProxiesCheckBox"; - this.ProxiesCheckBox.Size = new System.Drawing.Size(100, 19); - this.ProxiesCheckBox.TabIndex = 52; - this.ProxiesCheckBox.Text = "Show proxies"; - this.ProxiesCheckBox.UseVisualStyleBackColor = true; - this.ProxiesCheckBox.CheckedChanged += new System.EventHandler(this.ProxiesCheckBox_CheckedChanged); - // - // AnisotropicFilteringCheckBox - // - this.AnisotropicFilteringCheckBox.AutoSize = true; - this.AnisotropicFilteringCheckBox.Checked = true; - this.AnisotropicFilteringCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.AnisotropicFilteringCheckBox.Location = new System.Drawing.Point(10, 138); - this.AnisotropicFilteringCheckBox.Name = "AnisotropicFilteringCheckBox"; - this.AnisotropicFilteringCheckBox.Size = new System.Drawing.Size(129, 19); - this.AnisotropicFilteringCheckBox.TabIndex = 50; - this.AnisotropicFilteringCheckBox.Text = "Anisotropic filtering"; - this.AnisotropicFilteringCheckBox.UseVisualStyleBackColor = true; - this.AnisotropicFilteringCheckBox.CheckedChanged += new System.EventHandler(this.AnisotropicFilteringCheckBox_CheckedChanged); - // - // label10 - // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(4, 19); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(86, 15); - this.label10.TabIndex = 48; - this.label10.Text = "Render mode:"; - // - // TextureCoordsComboBox - // - this.TextureCoordsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.TextureCoordsComboBox.Enabled = false; - this.TextureCoordsComboBox.FormattingEnabled = true; - this.TextureCoordsComboBox.Items.AddRange(new object[] { - "Texture coord 1", - "Texture coord 2", - "Texture coord 3"}); - this.TextureCoordsComboBox.Location = new System.Drawing.Point(80, 70); - this.TextureCoordsComboBox.Name = "TextureCoordsComboBox"; - this.TextureCoordsComboBox.Size = new System.Drawing.Size(114, 21); - this.TextureCoordsComboBox.TabIndex = 48; - this.TextureCoordsComboBox.SelectedIndexChanged += new System.EventHandler(this.TextureCoordsComboBox_SelectedIndexChanged); - this.TextureCoordsComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TextureCoordsComboBox_KeyPress); - // - // TextureSamplerComboBox - // - this.TextureSamplerComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.TextureSamplerComboBox.Enabled = false; - this.TextureSamplerComboBox.FormattingEnabled = true; - this.TextureSamplerComboBox.Location = new System.Drawing.Point(80, 43); - this.TextureSamplerComboBox.Name = "TextureSamplerComboBox"; - this.TextureSamplerComboBox.Size = new System.Drawing.Size(114, 21); - this.TextureSamplerComboBox.TabIndex = 47; - this.TextureSamplerComboBox.SelectedIndexChanged += new System.EventHandler(this.TextureSamplerComboBox_SelectedIndexChanged); - this.TextureSamplerComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TextureSamplerComboBox_KeyPress); - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(4, 46); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(78, 15); - this.label11.TabIndex = 50; - this.label11.Text = "Tex sampler:"; - // - // RenderModeComboBox - // - this.RenderModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.RenderModeComboBox.FormattingEnabled = true; - this.RenderModeComboBox.Items.AddRange(new object[] { - "Default", - "Single texture", - "Vertex normals", - "Vertex tangents", - "Vertex colour 1", - "Vertex colour 2", - "Texture coord 1", - "Texture coord 2", - "Texture coord 3"}); - this.RenderModeComboBox.Location = new System.Drawing.Point(80, 16); - this.RenderModeComboBox.Name = "RenderModeComboBox"; - this.RenderModeComboBox.Size = new System.Drawing.Size(114, 21); - this.RenderModeComboBox.TabIndex = 46; - this.RenderModeComboBox.SelectedIndexChanged += new System.EventHandler(this.RenderModeComboBox_SelectedIndexChanged); - this.RenderModeComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.RenderModeComboBox_KeyPress); - // - // WireframeCheckBox - // - this.WireframeCheckBox.AutoSize = true; - this.WireframeCheckBox.Location = new System.Drawing.Point(10, 115); - this.WireframeCheckBox.Name = "WireframeCheckBox"; - this.WireframeCheckBox.Size = new System.Drawing.Size(83, 19); - this.WireframeCheckBox.TabIndex = 49; - this.WireframeCheckBox.Text = "Wireframe"; - this.WireframeCheckBox.UseVisualStyleBackColor = true; - this.WireframeCheckBox.CheckedChanged += new System.EventHandler(this.WireframeCheckBox_CheckedChanged); - // - // tabPage8 - // - this.tabPage8.Controls.Add(this.ThemeComboBox); - this.tabPage8.Controls.Add(this.label31); - this.tabPage8.Controls.Add(this.AdvancedSettingsButton); - this.tabPage8.Controls.Add(this.ControlSettingsButton); - this.tabPage8.Controls.Add(this.MapViewDetailLabel); - this.tabPage8.Controls.Add(this.label28); - this.tabPage8.Controls.Add(this.MapViewDetailTrackBar); - this.tabPage8.Controls.Add(this.CameraModeComboBox); - this.tabPage8.Controls.Add(this.label24); - this.tabPage8.Controls.Add(this.WaterQuadsCheckBox); - this.tabPage8.Controls.Add(this.FieldOfViewLabel); - this.tabPage8.Controls.Add(this.label22); - this.tabPage8.Controls.Add(this.TimedEntitiesAlwaysOnCheckBox); - this.tabPage8.Controls.Add(this.GrassCheckBox); - this.tabPage8.Controls.Add(this.InteriorsCheckBox); - this.tabPage8.Controls.Add(this.CollisionMeshLayerDrawableCheckBox); - this.tabPage8.Controls.Add(this.CollisionMeshLayer2CheckBox); - this.tabPage8.Controls.Add(this.CollisionMeshLayer1CheckBox); - this.tabPage8.Controls.Add(this.label13); - this.tabPage8.Controls.Add(this.CollisionMeshLayer0CheckBox); - this.tabPage8.Controls.Add(this.label12); - this.tabPage8.Controls.Add(this.CollisionMeshRangeTrackBar); - this.tabPage8.Controls.Add(this.CollisionMeshesCheckBox); - this.tabPage8.Controls.Add(this.FullScreenCheckBox); - this.tabPage8.Controls.Add(this.TimedEntitiesCheckBox); - this.tabPage8.Controls.Add(this.FieldOfViewTrackBar); - this.tabPage8.Location = new System.Drawing.Point(4, 22); - this.tabPage8.Name = "tabPage8"; - this.tabPage8.Padding = new System.Windows.Forms.Padding(3); - this.tabPage8.Size = new System.Drawing.Size(200, 482); - this.tabPage8.TabIndex = 0; - this.tabPage8.Text = "General"; - this.tabPage8.UseVisualStyleBackColor = true; - // - // FieldOfViewTrackBar - // - this.FieldOfViewTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.FieldOfViewTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.FieldOfViewTrackBar.LargeChange = 1; - this.FieldOfViewTrackBar.Location = new System.Drawing.Point(6, 351); - this.FieldOfViewTrackBar.Maximum = 200; - this.FieldOfViewTrackBar.Minimum = 10; - this.FieldOfViewTrackBar.Name = "FieldOfViewTrackBar"; - this.FieldOfViewTrackBar.Size = new System.Drawing.Size(188, 45); - this.FieldOfViewTrackBar.TabIndex = 57; - this.FieldOfViewTrackBar.TickFrequency = 10; - this.FieldOfViewTrackBar.Value = 100; - this.FieldOfViewTrackBar.Scroll += new System.EventHandler(this.FieldOfViewTrackBar_Scroll); - // - // TimedEntitiesCheckBox - // - this.TimedEntitiesCheckBox.AutoSize = true; - this.TimedEntitiesCheckBox.Checked = true; - this.TimedEntitiesCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.TimedEntitiesCheckBox.Location = new System.Drawing.Point(10, 58); - this.TimedEntitiesCheckBox.Name = "TimedEntitiesCheckBox"; - this.TimedEntitiesCheckBox.Size = new System.Drawing.Size(133, 19); - this.TimedEntitiesCheckBox.TabIndex = 36; - this.TimedEntitiesCheckBox.Text = "Show timed entities"; - this.TimedEntitiesCheckBox.UseVisualStyleBackColor = true; - this.TimedEntitiesCheckBox.CheckedChanged += new System.EventHandler(this.TimedEntitiesCheckBox_CheckedChanged); - // - // FullScreenCheckBox - // - this.FullScreenCheckBox.AutoSize = true; - this.FullScreenCheckBox.Location = new System.Drawing.Point(10, 9); - this.FullScreenCheckBox.Name = "FullScreenCheckBox"; - this.FullScreenCheckBox.Size = new System.Drawing.Size(200, 19); - this.FullScreenCheckBox.TabIndex = 28; - this.FullScreenCheckBox.Text = "Full screen (borderless window)"; - this.FullScreenCheckBox.UseVisualStyleBackColor = true; - this.FullScreenCheckBox.CheckedChanged += new System.EventHandler(this.FullScreenCheckBox_CheckedChanged); - // - // CollisionMeshesCheckBox - // - this.CollisionMeshesCheckBox.AutoSize = true; - this.CollisionMeshesCheckBox.Location = new System.Drawing.Point(10, 156); - this.CollisionMeshesCheckBox.Name = "CollisionMeshesCheckBox"; - this.CollisionMeshesCheckBox.Size = new System.Drawing.Size(152, 19); - this.CollisionMeshesCheckBox.TabIndex = 47; - this.CollisionMeshesCheckBox.Text = "Show collision meshes"; - this.CollisionMeshesCheckBox.UseVisualStyleBackColor = true; - this.CollisionMeshesCheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshesCheckBox_CheckedChanged); - // - // CollisionMeshRangeTrackBar - // - this.CollisionMeshRangeTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.CollisionMeshRangeTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.CollisionMeshRangeTrackBar.LargeChange = 1; - this.CollisionMeshRangeTrackBar.Location = new System.Drawing.Point(6, 194); - this.CollisionMeshRangeTrackBar.Maximum = 15; - this.CollisionMeshRangeTrackBar.Minimum = 1; - this.CollisionMeshRangeTrackBar.Name = "CollisionMeshRangeTrackBar"; - this.CollisionMeshRangeTrackBar.Size = new System.Drawing.Size(188, 45); - this.CollisionMeshRangeTrackBar.TabIndex = 48; - this.CollisionMeshRangeTrackBar.Value = 6; - this.CollisionMeshRangeTrackBar.Scroll += new System.EventHandler(this.CollisionMeshRangeTrackBar_Scroll); - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(4, 178); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(148, 15); - this.label12.TabIndex = 51; - this.label12.Text = "Collision/nav mesh range:"; - // - // CollisionMeshLayer0CheckBox - // - this.CollisionMeshLayer0CheckBox.AutoSize = true; - this.CollisionMeshLayer0CheckBox.Checked = true; - this.CollisionMeshLayer0CheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.CollisionMeshLayer0CheckBox.Location = new System.Drawing.Point(10, 247); - this.CollisionMeshLayer0CheckBox.Name = "CollisionMeshLayer0CheckBox"; - this.CollisionMeshLayer0CheckBox.Size = new System.Drawing.Size(33, 19); - this.CollisionMeshLayer0CheckBox.TabIndex = 49; - this.CollisionMeshLayer0CheckBox.Text = "0"; - this.CollisionMeshLayer0CheckBox.UseVisualStyleBackColor = true; - this.CollisionMeshLayer0CheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshLayer0CheckBox_CheckedChanged); - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(4, 229); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(126, 15); - this.label13.TabIndex = 54; - this.label13.Text = "Collision mesh layers:"; - // - // CollisionMeshLayer1CheckBox - // - this.CollisionMeshLayer1CheckBox.AutoSize = true; - this.CollisionMeshLayer1CheckBox.Checked = true; - this.CollisionMeshLayer1CheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.CollisionMeshLayer1CheckBox.Location = new System.Drawing.Point(46, 247); - this.CollisionMeshLayer1CheckBox.Name = "CollisionMeshLayer1CheckBox"; - this.CollisionMeshLayer1CheckBox.Size = new System.Drawing.Size(33, 19); - this.CollisionMeshLayer1CheckBox.TabIndex = 50; - this.CollisionMeshLayer1CheckBox.Text = "1"; - this.CollisionMeshLayer1CheckBox.UseVisualStyleBackColor = true; - this.CollisionMeshLayer1CheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshLayer1CheckBox_CheckedChanged); - // - // CollisionMeshLayer2CheckBox - // - this.CollisionMeshLayer2CheckBox.AutoSize = true; - this.CollisionMeshLayer2CheckBox.Checked = true; - this.CollisionMeshLayer2CheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.CollisionMeshLayer2CheckBox.Location = new System.Drawing.Point(82, 247); - this.CollisionMeshLayer2CheckBox.Name = "CollisionMeshLayer2CheckBox"; - this.CollisionMeshLayer2CheckBox.Size = new System.Drawing.Size(33, 19); - this.CollisionMeshLayer2CheckBox.TabIndex = 51; - this.CollisionMeshLayer2CheckBox.Text = "2"; - this.CollisionMeshLayer2CheckBox.UseVisualStyleBackColor = true; - this.CollisionMeshLayer2CheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshLayer2CheckBox_CheckedChanged); - // - // CollisionMeshLayerDrawableCheckBox - // - this.CollisionMeshLayerDrawableCheckBox.AutoSize = true; - this.CollisionMeshLayerDrawableCheckBox.Checked = true; - this.CollisionMeshLayerDrawableCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.CollisionMeshLayerDrawableCheckBox.Location = new System.Drawing.Point(118, 247); - this.CollisionMeshLayerDrawableCheckBox.Name = "CollisionMeshLayerDrawableCheckBox"; - this.CollisionMeshLayerDrawableCheckBox.Size = new System.Drawing.Size(79, 19); - this.CollisionMeshLayerDrawableCheckBox.TabIndex = 52; - this.CollisionMeshLayerDrawableCheckBox.Text = "Drawable"; - this.CollisionMeshLayerDrawableCheckBox.UseVisualStyleBackColor = true; - this.CollisionMeshLayerDrawableCheckBox.CheckedChanged += new System.EventHandler(this.CollisionMeshLayerDrawableCheckBox_CheckedChanged); - // - // InteriorsCheckBox - // - this.InteriorsCheckBox.AutoSize = true; - this.InteriorsCheckBox.Checked = true; - this.InteriorsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.InteriorsCheckBox.Location = new System.Drawing.Point(10, 81); - this.InteriorsCheckBox.Name = "InteriorsCheckBox"; - this.InteriorsCheckBox.Size = new System.Drawing.Size(104, 19); - this.InteriorsCheckBox.TabIndex = 38; - this.InteriorsCheckBox.Text = "Show interiors"; - this.InteriorsCheckBox.UseVisualStyleBackColor = true; - this.InteriorsCheckBox.CheckedChanged += new System.EventHandler(this.InteriorsCheckBox_CheckedChanged); - // - // GrassCheckBox - // - this.GrassCheckBox.AutoSize = true; - this.GrassCheckBox.Checked = true; - this.GrassCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.GrassCheckBox.Location = new System.Drawing.Point(10, 35); - this.GrassCheckBox.Name = "GrassCheckBox"; - this.GrassCheckBox.Size = new System.Drawing.Size(90, 19); - this.GrassCheckBox.TabIndex = 35; - this.GrassCheckBox.Text = "Show grass"; - this.GrassCheckBox.UseVisualStyleBackColor = true; - this.GrassCheckBox.CheckedChanged += new System.EventHandler(this.GrassCheckBox_CheckedChanged); - // - // TimedEntitiesAlwaysOnCheckBox - // - this.TimedEntitiesAlwaysOnCheckBox.AutoSize = true; - this.TimedEntitiesAlwaysOnCheckBox.Location = new System.Drawing.Point(131, 58); - this.TimedEntitiesAlwaysOnCheckBox.Name = "TimedEntitiesAlwaysOnCheckBox"; - this.TimedEntitiesAlwaysOnCheckBox.Size = new System.Drawing.Size(63, 19); - this.TimedEntitiesAlwaysOnCheckBox.TabIndex = 37; - this.TimedEntitiesAlwaysOnCheckBox.Text = "always"; - this.TimedEntitiesAlwaysOnCheckBox.UseVisualStyleBackColor = true; - this.TimedEntitiesAlwaysOnCheckBox.CheckedChanged += new System.EventHandler(this.TimedEntitiesAlwaysOnCheckBox_CheckedChanged); - // - // label22 - // - this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(4, 335); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(77, 15); - this.label22.TabIndex = 58; - this.label22.Text = "Field of view:"; - // - // FieldOfViewLabel - // - this.FieldOfViewLabel.AutoSize = true; - this.FieldOfViewLabel.Location = new System.Drawing.Point(79, 335); - this.FieldOfViewLabel.Name = "FieldOfViewLabel"; - this.FieldOfViewLabel.Size = new System.Drawing.Size(24, 15); - this.FieldOfViewLabel.TabIndex = 59; - this.FieldOfViewLabel.Text = "1.0"; - // - // WaterQuadsCheckBox - // - this.WaterQuadsCheckBox.AutoSize = true; - this.WaterQuadsCheckBox.Checked = true; - this.WaterQuadsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.WaterQuadsCheckBox.Location = new System.Drawing.Point(10, 104); - this.WaterQuadsCheckBox.Name = "WaterQuadsCheckBox"; - this.WaterQuadsCheckBox.Size = new System.Drawing.Size(127, 19); - this.WaterQuadsCheckBox.TabIndex = 39; - this.WaterQuadsCheckBox.Text = "Show water quads"; - this.WaterQuadsCheckBox.UseVisualStyleBackColor = true; - this.WaterQuadsCheckBox.CheckedChanged += new System.EventHandler(this.WaterQuadsCheckBox_CheckedChanged); - // - // label24 - // - this.label24.AutoSize = true; - this.label24.Location = new System.Drawing.Point(-1, 269); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(89, 15); - this.label24.TabIndex = 63; - this.label24.Text = "Camera mode:"; - // - // CameraModeComboBox - // - this.CameraModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.CameraModeComboBox.FormattingEnabled = true; - this.CameraModeComboBox.Items.AddRange(new object[] { - "Perspective", - "Orthographic", - "2D Map"}); - this.CameraModeComboBox.Location = new System.Drawing.Point(84, 269); - this.CameraModeComboBox.Name = "CameraModeComboBox"; - this.CameraModeComboBox.Size = new System.Drawing.Size(114, 21); - this.CameraModeComboBox.TabIndex = 56; - this.CameraModeComboBox.SelectedIndexChanged += new System.EventHandler(this.CameraModeComboBox_SelectedIndexChanged); - this.CameraModeComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.CameraModeComboBox_KeyPress); - // - // MapViewDetailTrackBar - // - this.MapViewDetailTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.MapViewDetailTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.MapViewDetailTrackBar.Enabled = false; - this.MapViewDetailTrackBar.LargeChange = 1; - this.MapViewDetailTrackBar.Location = new System.Drawing.Point(6, 407); - this.MapViewDetailTrackBar.Maximum = 30; - this.MapViewDetailTrackBar.Minimum = 2; - this.MapViewDetailTrackBar.Name = "MapViewDetailTrackBar"; - this.MapViewDetailTrackBar.Size = new System.Drawing.Size(188, 45); - this.MapViewDetailTrackBar.TabIndex = 58; - this.MapViewDetailTrackBar.TickFrequency = 2; - this.MapViewDetailTrackBar.Value = 10; - this.MapViewDetailTrackBar.Scroll += new System.EventHandler(this.MapViewDetailTrackBar_Scroll); - // - // label28 - // - this.label28.AutoSize = true; - this.label28.Location = new System.Drawing.Point(4, 391); - this.label28.Name = "label28"; - this.label28.Size = new System.Drawing.Size(95, 15); - this.label28.TabIndex = 65; - this.label28.Text = "Map view detail:"; - // - // MapViewDetailLabel - // - this.MapViewDetailLabel.AutoSize = true; - this.MapViewDetailLabel.Location = new System.Drawing.Point(94, 391); - this.MapViewDetailLabel.Name = "MapViewDetailLabel"; - this.MapViewDetailLabel.Size = new System.Drawing.Size(24, 15); - this.MapViewDetailLabel.TabIndex = 66; - this.MapViewDetailLabel.Text = "1.0"; - // - // ControlSettingsButton - // - this.ControlSettingsButton.Location = new System.Drawing.Point(2, 456); - this.ControlSettingsButton.Name = "ControlSettingsButton"; - this.ControlSettingsButton.Size = new System.Drawing.Size(93, 23); - this.ControlSettingsButton.TabIndex = 60; - this.ControlSettingsButton.Text = "Controls..."; - this.ControlSettingsButton.UseVisualStyleBackColor = true; - this.ControlSettingsButton.Click += new System.EventHandler(this.ControlSettingsButton_Click); - // - // AdvancedSettingsButton - // - this.AdvancedSettingsButton.Location = new System.Drawing.Point(101, 456); - this.AdvancedSettingsButton.Name = "AdvancedSettingsButton"; - this.AdvancedSettingsButton.Size = new System.Drawing.Size(93, 23); - this.AdvancedSettingsButton.TabIndex = 61; - this.AdvancedSettingsButton.Text = "Advanced..."; - this.AdvancedSettingsButton.UseVisualStyleBackColor = true; - this.AdvancedSettingsButton.Click += new System.EventHandler(this.AdvancedSettingsButton_Click); - // - // tabPage3 - // - this.tabPage3.Controls.Add(this.label25); - this.tabPage3.Controls.Add(this.SelectionModeComboBox); - this.tabPage3.Controls.Add(this.SelectionNameTextBox); - this.tabPage3.Controls.Add(this.SelectionTabControl); - this.tabPage3.Controls.Add(this.MouseSelectCheckBox); - this.tabPage3.Location = new System.Drawing.Point(4, 22); - this.tabPage3.Name = "tabPage3"; - this.tabPage3.Size = new System.Drawing.Size(205, 606); - this.tabPage3.TabIndex = 2; - this.tabPage3.Text = "Selection"; - this.tabPage3.UseVisualStyleBackColor = true; - // - // MouseSelectCheckBox - // - this.MouseSelectCheckBox.AutoSize = true; - this.MouseSelectCheckBox.Location = new System.Drawing.Point(8, 7); - this.MouseSelectCheckBox.Name = "MouseSelectCheckBox"; - this.MouseSelectCheckBox.Size = new System.Drawing.Size(161, 19); - this.MouseSelectCheckBox.TabIndex = 22; - this.MouseSelectCheckBox.Text = "Mouse select (right click)"; - this.MouseSelectCheckBox.UseVisualStyleBackColor = true; - this.MouseSelectCheckBox.CheckedChanged += new System.EventHandler(this.MouseSelectCheckBox_CheckedChanged); - // - // SelectionTabControl - // - this.SelectionTabControl.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.SelectionTabControl.Controls.Add(this.SelectionEntityTabPage); - this.SelectionTabControl.Controls.Add(this.SelectionArchetypeTabPage); - this.SelectionTabControl.Controls.Add(this.SelectionDrawableTabPage); - this.SelectionTabControl.Controls.Add(this.SelectionExtensionTabPage); - this.SelectionTabControl.Location = new System.Drawing.Point(0, 95); - this.SelectionTabControl.Margin = new System.Windows.Forms.Padding(0); - this.SelectionTabControl.Name = "SelectionTabControl"; - this.SelectionTabControl.SelectedIndex = 0; - this.SelectionTabControl.Size = new System.Drawing.Size(205, 511); - this.SelectionTabControl.TabIndex = 28; - // - // SelectionExtensionTabPage - // - this.SelectionExtensionTabPage.Controls.Add(this.SelExtensionPropertyGrid); - this.SelectionExtensionTabPage.Location = new System.Drawing.Point(4, 22); - this.SelectionExtensionTabPage.Name = "SelectionExtensionTabPage"; - this.SelectionExtensionTabPage.Size = new System.Drawing.Size(197, 485); - this.SelectionExtensionTabPage.TabIndex = 3; - this.SelectionExtensionTabPage.Text = "Ext"; - this.SelectionExtensionTabPage.UseVisualStyleBackColor = true; - // - // SelectionDrawableTabPage - // - this.SelectionDrawableTabPage.Controls.Add(this.tabControl3); - this.SelectionDrawableTabPage.Location = new System.Drawing.Point(4, 22); - this.SelectionDrawableTabPage.Margin = new System.Windows.Forms.Padding(0); - this.SelectionDrawableTabPage.Name = "SelectionDrawableTabPage"; - this.SelectionDrawableTabPage.Size = new System.Drawing.Size(197, 485); - this.SelectionDrawableTabPage.TabIndex = 2; - this.SelectionDrawableTabPage.Text = "Drawable"; - this.SelectionDrawableTabPage.UseVisualStyleBackColor = true; - // - // tabControl3 - // - this.tabControl3.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.tabControl3.Controls.Add(this.tabPage11); - this.tabControl3.Controls.Add(this.tabPage12); - this.tabControl3.Controls.Add(this.tabPage13); - this.tabControl3.Location = new System.Drawing.Point(-4, 7); - this.tabControl3.Name = "tabControl3"; - this.tabControl3.SelectedIndex = 0; - this.tabControl3.Size = new System.Drawing.Size(205, 478); - this.tabControl3.TabIndex = 28; - // - // tabPage13 - // - this.tabPage13.Controls.Add(this.SelDrawableTexturesTreeView); - this.tabPage13.Location = new System.Drawing.Point(4, 22); - this.tabPage13.Name = "tabPage13"; - this.tabPage13.Size = new System.Drawing.Size(197, 452); - this.tabPage13.TabIndex = 2; - this.tabPage13.Text = "Textures"; - this.tabPage13.UseVisualStyleBackColor = true; - // - // tabPage12 - // - this.tabPage12.Controls.Add(this.SelDrawableModelsTreeView); - this.tabPage12.Location = new System.Drawing.Point(4, 22); - this.tabPage12.Name = "tabPage12"; - this.tabPage12.Padding = new System.Windows.Forms.Padding(3); - this.tabPage12.Size = new System.Drawing.Size(197, 452); - this.tabPage12.TabIndex = 1; - this.tabPage12.Text = "Models"; - this.tabPage12.UseVisualStyleBackColor = true; - // - // tabPage11 - // - this.tabPage11.Controls.Add(this.SelDrawablePropertyGrid); - this.tabPage11.Location = new System.Drawing.Point(4, 22); - this.tabPage11.Margin = new System.Windows.Forms.Padding(0); - this.tabPage11.Name = "tabPage11"; - this.tabPage11.Size = new System.Drawing.Size(197, 452); - this.tabPage11.TabIndex = 0; - this.tabPage11.Text = "Info"; - this.tabPage11.UseVisualStyleBackColor = true; - // - // SelectionArchetypeTabPage - // - this.SelectionArchetypeTabPage.Controls.Add(this.SelArchetypePropertyGrid); - this.SelectionArchetypeTabPage.Location = new System.Drawing.Point(4, 22); - this.SelectionArchetypeTabPage.Name = "SelectionArchetypeTabPage"; - this.SelectionArchetypeTabPage.Padding = new System.Windows.Forms.Padding(3); - this.SelectionArchetypeTabPage.Size = new System.Drawing.Size(197, 485); - this.SelectionArchetypeTabPage.TabIndex = 1; - this.SelectionArchetypeTabPage.Text = "Archetype"; - this.SelectionArchetypeTabPage.UseVisualStyleBackColor = true; - // - // SelectionEntityTabPage - // - this.SelectionEntityTabPage.Controls.Add(this.SelEntityPropertyGrid); - this.SelectionEntityTabPage.Location = new System.Drawing.Point(4, 22); - this.SelectionEntityTabPage.Name = "SelectionEntityTabPage"; - this.SelectionEntityTabPage.Padding = new System.Windows.Forms.Padding(3); - this.SelectionEntityTabPage.Size = new System.Drawing.Size(197, 485); - this.SelectionEntityTabPage.TabIndex = 0; - this.SelectionEntityTabPage.Text = "Entity"; - this.SelectionEntityTabPage.UseVisualStyleBackColor = true; - // - // SelectionNameTextBox - // - this.SelectionNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.SelectionNameTextBox.BackColor = System.Drawing.Color.White; - this.SelectionNameTextBox.Location = new System.Drawing.Point(3, 66); - this.SelectionNameTextBox.Name = "SelectionNameTextBox"; - this.SelectionNameTextBox.ReadOnly = true; - this.SelectionNameTextBox.Size = new System.Drawing.Size(199, 20); - this.SelectionNameTextBox.TabIndex = 26; - this.SelectionNameTextBox.Text = "Nothing selected"; - // - // SelectionModeComboBox - // - this.SelectionModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.SelectionModeComboBox.FormattingEnabled = true; - this.SelectionModeComboBox.Items.AddRange(new object[] { - "Entity", - "Entity Extension", - "Archetype Extension", - "Time Cycle Modifier", - "Car Generator", - "Grass", - "Water Quad", - "Collision", - "Nav Mesh", - "Path", - "Train Track", - "Distant Lod Lights", - "Mlo Instance", - "Scenario", - "Audio"}); - this.SelectionModeComboBox.Location = new System.Drawing.Point(51, 30); - this.SelectionModeComboBox.Name = "SelectionModeComboBox"; - this.SelectionModeComboBox.Size = new System.Drawing.Size(121, 21); - this.SelectionModeComboBox.TabIndex = 23; - this.SelectionModeComboBox.SelectedIndexChanged += new System.EventHandler(this.SelectionModeComboBox_SelectedIndexChanged); - this.SelectionModeComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.SelectionModeComboBox_KeyPress); - // - // label25 - // - this.label25.AutoSize = true; - this.label25.Location = new System.Drawing.Point(6, 33); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(42, 15); - this.label25.TabIndex = 28; - this.label25.Text = "Mode:"; - // - // tabPage2 - // - this.tabPage2.Controls.Add(this.label27); - this.tabPage2.Controls.Add(this.CameraPositionTextBox); - this.tabPage2.Controls.Add(this.AddSelectionMarkerButton); - this.tabPage2.Controls.Add(this.AddCurrentPositonMarkerButton); - this.tabPage2.Controls.Add(this.ResetMarkersButton); - this.tabPage2.Controls.Add(this.ClearMarkersButton); - this.tabPage2.Controls.Add(this.GoToButton); - this.tabPage2.Controls.Add(this.ShowLocatorCheckBox); - this.tabPage2.Controls.Add(this.label6); - this.tabPage2.Controls.Add(this.LocateTextBox); - this.tabPage2.Controls.Add(this.label7); - this.tabPage2.Controls.Add(this.AddMarkersButton); - this.tabPage2.Controls.Add(this.MultiFindTextBox); - this.tabPage2.Location = new System.Drawing.Point(4, 22); - this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(205, 606); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "Markers"; - this.tabPage2.UseVisualStyleBackColor = true; - // - // AddMarkersButton - // - this.AddMarkersButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.AddMarkersButton.Location = new System.Drawing.Point(0, 496); - this.AddMarkersButton.Name = "AddMarkersButton"; - this.AddMarkersButton.Size = new System.Drawing.Size(97, 23); - this.AddMarkersButton.TabIndex = 18; - this.AddMarkersButton.Text = "Add markers"; - this.AddMarkersButton.UseVisualStyleBackColor = true; - this.AddMarkersButton.Click += new System.EventHandler(this.AddMarkersButton_Click); - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(-2, 110); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(138, 15); - this.label7.TabIndex = 11; - this.label7.Text = "Multi-find: X, Y, Z, Name"; - // - // LocateTextBox - // - this.LocateTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.LocateTextBox.Location = new System.Drawing.Point(0, 31); - this.LocateTextBox.Name = "LocateTextBox"; - this.LocateTextBox.Size = new System.Drawing.Size(156, 20); - this.LocateTextBox.TabIndex = 14; - this.LocateTextBox.Text = "0, 0, 0"; - this.LocateTextBox.TextChanged += new System.EventHandler(this.LocateTextBox_TextChanged); - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(3, 6); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(84, 15); - this.label6.TabIndex = 13; - this.label6.Text = "Locate: X, Y, Z"; - // - // ShowLocatorCheckBox - // - this.ShowLocatorCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.ShowLocatorCheckBox.AutoSize = true; - this.ShowLocatorCheckBox.Location = new System.Drawing.Point(100, 6); - this.ShowLocatorCheckBox.Name = "ShowLocatorCheckBox"; - this.ShowLocatorCheckBox.Size = new System.Drawing.Size(99, 19); - this.ShowLocatorCheckBox.TabIndex = 13; - this.ShowLocatorCheckBox.Text = "Show marker"; - this.ShowLocatorCheckBox.UseVisualStyleBackColor = true; - this.ShowLocatorCheckBox.CheckedChanged += new System.EventHandler(this.ShowLocatorCheckBox_CheckedChanged); - // - // GoToButton - // - this.GoToButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.GoToButton.Location = new System.Drawing.Point(162, 30); - this.GoToButton.Name = "GoToButton"; - this.GoToButton.Size = new System.Drawing.Size(43, 22); - this.GoToButton.TabIndex = 15; - this.GoToButton.Text = "Go to"; - this.GoToButton.UseVisualStyleBackColor = true; - this.GoToButton.Click += new System.EventHandler(this.GoToButton_Click); - // - // ClearMarkersButton - // - this.ClearMarkersButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.ClearMarkersButton.Location = new System.Drawing.Point(108, 496); - this.ClearMarkersButton.Name = "ClearMarkersButton"; - this.ClearMarkersButton.Size = new System.Drawing.Size(97, 23); - this.ClearMarkersButton.TabIndex = 19; - this.ClearMarkersButton.Text = "Clear markers"; - this.ClearMarkersButton.UseVisualStyleBackColor = true; - this.ClearMarkersButton.Click += new System.EventHandler(this.ClearMarkersButton_Click); - // - // ResetMarkersButton - // - this.ResetMarkersButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.ResetMarkersButton.Location = new System.Drawing.Point(108, 525); - this.ResetMarkersButton.Name = "ResetMarkersButton"; - this.ResetMarkersButton.Size = new System.Drawing.Size(97, 23); - this.ResetMarkersButton.TabIndex = 21; - this.ResetMarkersButton.Text = "Default markers"; - this.ResetMarkersButton.UseVisualStyleBackColor = true; - this.ResetMarkersButton.Click += new System.EventHandler(this.ResetMarkersButton_Click); - // - // AddCurrentPositonMarkerButton - // - this.AddCurrentPositonMarkerButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.AddCurrentPositonMarkerButton.Location = new System.Drawing.Point(0, 525); - this.AddCurrentPositonMarkerButton.Name = "AddCurrentPositonMarkerButton"; - this.AddCurrentPositonMarkerButton.Size = new System.Drawing.Size(97, 23); - this.AddCurrentPositonMarkerButton.TabIndex = 20; - this.AddCurrentPositonMarkerButton.Text = "Add current pos"; - this.AddCurrentPositonMarkerButton.UseVisualStyleBackColor = true; - this.AddCurrentPositonMarkerButton.Click += new System.EventHandler(this.AddCurrentPositonMarkerButton_Click); - // - // AddSelectionMarkerButton - // - this.AddSelectionMarkerButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.AddSelectionMarkerButton.Location = new System.Drawing.Point(0, 554); - this.AddSelectionMarkerButton.Name = "AddSelectionMarkerButton"; - this.AddSelectionMarkerButton.Size = new System.Drawing.Size(97, 23); - this.AddSelectionMarkerButton.TabIndex = 22; - this.AddSelectionMarkerButton.Text = "Add selection"; - this.AddSelectionMarkerButton.UseVisualStyleBackColor = true; - this.AddSelectionMarkerButton.Click += new System.EventHandler(this.AddSelectionMarkerButton_Click); - // - // CameraPositionTextBox - // - this.CameraPositionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.CameraPositionTextBox.Location = new System.Drawing.Point(0, 78); - this.CameraPositionTextBox.Name = "CameraPositionTextBox"; - this.CameraPositionTextBox.Size = new System.Drawing.Size(205, 20); - this.CameraPositionTextBox.TabIndex = 16; - this.CameraPositionTextBox.Text = "0, 0, 0"; - // - // label27 - // - this.label27.AutoSize = true; - this.label27.Location = new System.Drawing.Point(-2, 61); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(141, 15); - this.label27.TabIndex = 22; - this.label27.Text = "Current camera position:"; - // - // tabPage1 - // - this.tabPage1.Controls.Add(this.ViewTabControl); - this.tabPage1.Controls.Add(this.label3); - this.tabPage1.Controls.Add(this.ViewModeComboBox); - this.tabPage1.Location = new System.Drawing.Point(4, 22); - this.tabPage1.Name = "tabPage1"; - this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(205, 606); - this.tabPage1.TabIndex = 0; - this.tabPage1.Text = "View"; - this.tabPage1.UseVisualStyleBackColor = true; - // - // ViewModeComboBox - // - this.ViewModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ViewModeComboBox.FormattingEnabled = true; - this.ViewModeComboBox.Items.AddRange(new object[] { - "World view", - "Ymap view", - "Model view"}); - this.ViewModeComboBox.Location = new System.Drawing.Point(48, 5); - this.ViewModeComboBox.Name = "ViewModeComboBox"; - this.ViewModeComboBox.Size = new System.Drawing.Size(111, 21); - this.ViewModeComboBox.TabIndex = 10; - this.ViewModeComboBox.SelectedIndexChanged += new System.EventHandler(this.ViewModeComboBox_SelectedIndexChanged); - this.ViewModeComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ViewModeComboBox_KeyPress); - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(3, 8); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(42, 15); - this.label3.TabIndex = 11; - this.label3.Text = "Mode:"; - // - // ViewTabControl - // - this.ViewTabControl.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.ViewTabControl.Controls.Add(this.ViewWorldTabPage); - this.ViewTabControl.Controls.Add(this.ViewYmapsTabPage); - this.ViewTabControl.Controls.Add(this.ViewModelTabPage); - this.ViewTabControl.Location = new System.Drawing.Point(0, 32); - this.ViewTabControl.Name = "ViewTabControl"; - this.ViewTabControl.SelectedIndex = 0; - this.ViewTabControl.Size = new System.Drawing.Size(208, 574); - this.ViewTabControl.TabIndex = 12; - // - // ViewModelTabPage - // - this.ViewModelTabPage.Controls.Add(this.label1); - this.ViewModelTabPage.Controls.Add(this.ModelComboBox); - this.ViewModelTabPage.Location = new System.Drawing.Point(4, 22); - this.ViewModelTabPage.Name = "ViewModelTabPage"; - this.ViewModelTabPage.Size = new System.Drawing.Size(200, 548); - this.ViewModelTabPage.TabIndex = 2; - this.ViewModelTabPage.Text = "Model"; - this.ViewModelTabPage.UseVisualStyleBackColor = true; - // - // ModelComboBox - // - this.ModelComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ModelComboBox.FormattingEnabled = true; - this.ModelComboBox.Items.AddRange(new object[] { - "dt1_lod_slod3", - "dt1_tc_dufo_core", - "dt1_tc_ufocore", - "ex_office_citymodel_01", - "id1_30_build3_dtl2", - "imp_prop_ship_01a", - "prop_alien_egg_01", - "prop_fruit_stand_02", - "prop_fruit_stand_03", - "dune", - "dune2", - "dune2_hi", - "adder", - "adder_hi", - "kuruma2", - "kuruma2_hi", - "infernus", - "infernus_hi", - "buzzard", - "buzzard_hi", - "rhino", - "rhino_hi", - "lazer", - "lazer_hi", - "duster", - "duster_hi", - "marquis", - "marquis_hi", - "submersible", - "submersible_hi", - "cargobob", - "cargobob_hi", - "sanchez", - "sanchez_hi"}); - this.ModelComboBox.Location = new System.Drawing.Point(44, 7); - this.ModelComboBox.Name = "ModelComboBox"; - this.ModelComboBox.Size = new System.Drawing.Size(156, 21); - this.ModelComboBox.TabIndex = 11; - this.ModelComboBox.SelectedIndexChanged += new System.EventHandler(this.ModelComboBox_SelectedIndexChanged); - this.ModelComboBox.TextUpdate += new System.EventHandler(this.ModelComboBox_TextUpdate); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(-1, 10); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(45, 15); - this.label1.TabIndex = 5; - this.label1.Text = "Model:"; - // - // ViewYmapsTabPage - // - this.ViewYmapsTabPage.Controls.Add(this.ShowYmapChildrenCheckBox); - this.ViewYmapsTabPage.Controls.Add(this.label2); - this.ViewYmapsTabPage.Controls.Add(this.DetailTrackBar); - this.ViewYmapsTabPage.Controls.Add(this.DynamicLODCheckBox); - this.ViewYmapsTabPage.Controls.Add(this.YmapsTextBox); - this.ViewYmapsTabPage.Location = new System.Drawing.Point(4, 22); - this.ViewYmapsTabPage.Name = "ViewYmapsTabPage"; - this.ViewYmapsTabPage.Padding = new System.Windows.Forms.Padding(3); - this.ViewYmapsTabPage.Size = new System.Drawing.Size(200, 548); - this.ViewYmapsTabPage.TabIndex = 1; - this.ViewYmapsTabPage.Text = "Ymaps"; - this.ViewYmapsTabPage.UseVisualStyleBackColor = true; - // - // DynamicLODCheckBox - // - this.DynamicLODCheckBox.AutoSize = true; - this.DynamicLODCheckBox.Checked = true; - this.DynamicLODCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.DynamicLODCheckBox.Location = new System.Drawing.Point(6, 6); - this.DynamicLODCheckBox.Name = "DynamicLODCheckBox"; - this.DynamicLODCheckBox.Size = new System.Drawing.Size(102, 19); - this.DynamicLODCheckBox.TabIndex = 33; - this.DynamicLODCheckBox.Text = "Dynamic LOD"; - this.DynamicLODCheckBox.UseVisualStyleBackColor = true; - this.DynamicLODCheckBox.CheckedChanged += new System.EventHandler(this.DynamicLODCheckBox_CheckedChanged); - // - // DetailTrackBar - // - this.DetailTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.DetailTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.DetailTrackBar.Location = new System.Drawing.Point(6, 24); - this.DetailTrackBar.Maximum = 20; - this.DetailTrackBar.Name = "DetailTrackBar"; - this.DetailTrackBar.Size = new System.Drawing.Size(188, 45); - this.DetailTrackBar.TabIndex = 34; - this.DetailTrackBar.Value = 5; - this.DetailTrackBar.Scroll += new System.EventHandler(this.DetailTrackBar_Scroll); - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(3, 88); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(88, 15); - this.label2.TabIndex = 8; - this.label2.Text = "Ymaps to load:"; - // - // ShowYmapChildrenCheckBox - // - this.ShowYmapChildrenCheckBox.AutoSize = true; - this.ShowYmapChildrenCheckBox.Enabled = false; - this.ShowYmapChildrenCheckBox.Location = new System.Drawing.Point(6, 59); - this.ShowYmapChildrenCheckBox.Name = "ShowYmapChildrenCheckBox"; - this.ShowYmapChildrenCheckBox.Size = new System.Drawing.Size(104, 19); - this.ShowYmapChildrenCheckBox.TabIndex = 35; - this.ShowYmapChildrenCheckBox.Text = "Show children"; - this.ShowYmapChildrenCheckBox.UseVisualStyleBackColor = true; - this.ShowYmapChildrenCheckBox.CheckedChanged += new System.EventHandler(this.ShowYmapChildrenCheckBox_CheckedChanged); - // - // ViewWorldTabPage - // - this.ViewWorldTabPage.Controls.Add(this.EnableModsCheckBox); - this.ViewWorldTabPage.Controls.Add(this.label30); - this.ViewWorldTabPage.Controls.Add(this.DlcLevelComboBox); - this.ViewWorldTabPage.Controls.Add(this.EnableDlcCheckBox); - this.ViewWorldTabPage.Controls.Add(this.WorldYmapWeatherFilterCheckBox); - this.ViewWorldTabPage.Controls.Add(this.WorldYmapTimeFilterCheckBox); - this.ViewWorldTabPage.Controls.Add(this.WorldScriptedYmapsCheckBox); - this.ViewWorldTabPage.Controls.Add(this.WorldDetailDistLabel); - this.ViewWorldTabPage.Controls.Add(this.label18); - this.ViewWorldTabPage.Controls.Add(this.WorldDetailDistTrackBar); - this.ViewWorldTabPage.Controls.Add(this.WorldLodDistLabel); - this.ViewWorldTabPage.Controls.Add(this.label16); - this.ViewWorldTabPage.Controls.Add(this.WorldLodDistTrackBar); - this.ViewWorldTabPage.Controls.Add(this.label15); - this.ViewWorldTabPage.Controls.Add(this.WorldMaxLodComboBox); - this.ViewWorldTabPage.Location = new System.Drawing.Point(4, 22); - this.ViewWorldTabPage.Name = "ViewWorldTabPage"; - this.ViewWorldTabPage.Padding = new System.Windows.Forms.Padding(3); - this.ViewWorldTabPage.Size = new System.Drawing.Size(200, 548); - this.ViewWorldTabPage.TabIndex = 0; - this.ViewWorldTabPage.Text = "World"; - this.ViewWorldTabPage.UseVisualStyleBackColor = true; - // - // WorldMaxLodComboBox - // - this.WorldMaxLodComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.WorldMaxLodComboBox.FlatStyle = System.Windows.Forms.FlatStyle.System; - this.WorldMaxLodComboBox.FormattingEnabled = true; - this.WorldMaxLodComboBox.Items.AddRange(new object[] { - "ORPHANHD", - "HD", - "LOD", - "SLOD1", - "SLOD2", - "SLOD3", - "SLOD4"}); - this.WorldMaxLodComboBox.Location = new System.Drawing.Point(66, 6); - this.WorldMaxLodComboBox.Name = "WorldMaxLodComboBox"; - this.WorldMaxLodComboBox.Size = new System.Drawing.Size(122, 21); - this.WorldMaxLodComboBox.TabIndex = 57; - this.WorldMaxLodComboBox.SelectedIndexChanged += new System.EventHandler(this.WorldMaxLodComboBox_SelectedIndexChanged); - this.WorldMaxLodComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.WorldMaxLodComboBox_KeyPress); - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(1, 9); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(62, 15); - this.label15.TabIndex = 58; - this.label15.Text = "Max LOD:"; - // - // WorldLodDistTrackBar - // - this.WorldLodDistTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.WorldLodDistTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.WorldLodDistTrackBar.LargeChange = 10; - this.WorldLodDistTrackBar.Location = new System.Drawing.Point(6, 55); - this.WorldLodDistTrackBar.Maximum = 30; - this.WorldLodDistTrackBar.Name = "WorldLodDistTrackBar"; - this.WorldLodDistTrackBar.Size = new System.Drawing.Size(188, 45); - this.WorldLodDistTrackBar.TabIndex = 59; - this.WorldLodDistTrackBar.TickFrequency = 2; - this.WorldLodDistTrackBar.Value = 10; - this.WorldLodDistTrackBar.Visible = false; - this.WorldLodDistTrackBar.Scroll += new System.EventHandler(this.WorldLodDistTrackBar_Scroll); - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(1, 39); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(84, 15); - this.label16.TabIndex = 60; - this.label16.Text = "LOD distance:"; - this.label16.Visible = false; - // - // WorldLodDistLabel - // - this.WorldLodDistLabel.AutoSize = true; - this.WorldLodDistLabel.Location = new System.Drawing.Point(82, 39); - this.WorldLodDistLabel.Name = "WorldLodDistLabel"; - this.WorldLodDistLabel.Size = new System.Drawing.Size(24, 15); - this.WorldLodDistLabel.TabIndex = 61; - this.WorldLodDistLabel.Text = "1.0"; - this.WorldLodDistLabel.Visible = false; - // - // WorldDetailDistTrackBar - // - this.WorldDetailDistTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.WorldDetailDistTrackBar.BackColor = System.Drawing.SystemColors.ControlLightLight; - this.WorldDetailDistTrackBar.LargeChange = 10; - this.WorldDetailDistTrackBar.Location = new System.Drawing.Point(6, 110); - this.WorldDetailDistTrackBar.Maximum = 30; - this.WorldDetailDistTrackBar.Name = "WorldDetailDistTrackBar"; - this.WorldDetailDistTrackBar.Size = new System.Drawing.Size(188, 45); - this.WorldDetailDistTrackBar.TabIndex = 62; - this.WorldDetailDistTrackBar.TickFrequency = 2; - this.WorldDetailDistTrackBar.Value = 10; - this.WorldDetailDistTrackBar.Scroll += new System.EventHandler(this.WorldDetailDistTrackBar_Scroll); - // - // label18 - // - this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(1, 94); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(91, 15); - this.label18.TabIndex = 63; - this.label18.Text = "Detail distance:"; - // - // WorldDetailDistLabel - // - this.WorldDetailDistLabel.AutoSize = true; - this.WorldDetailDistLabel.Location = new System.Drawing.Point(87, 94); - this.WorldDetailDistLabel.Name = "WorldDetailDistLabel"; - this.WorldDetailDistLabel.Size = new System.Drawing.Size(24, 15); - this.WorldDetailDistLabel.TabIndex = 64; - this.WorldDetailDistLabel.Text = "1.0"; - // - // WorldScriptedYmapsCheckBox - // - this.WorldScriptedYmapsCheckBox.AutoSize = true; - this.WorldScriptedYmapsCheckBox.Checked = true; - this.WorldScriptedYmapsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.WorldScriptedYmapsCheckBox.Location = new System.Drawing.Point(6, 182); - this.WorldScriptedYmapsCheckBox.Name = "WorldScriptedYmapsCheckBox"; - this.WorldScriptedYmapsCheckBox.Size = new System.Drawing.Size(142, 19); - this.WorldScriptedYmapsCheckBox.TabIndex = 65; - this.WorldScriptedYmapsCheckBox.Text = "Show scripted ymaps"; - this.WorldScriptedYmapsCheckBox.UseVisualStyleBackColor = true; - this.WorldScriptedYmapsCheckBox.CheckedChanged += new System.EventHandler(this.WorldScriptedYmapsCheckBox_CheckedChanged); - // - // WorldYmapTimeFilterCheckBox - // - this.WorldYmapTimeFilterCheckBox.AutoSize = true; - this.WorldYmapTimeFilterCheckBox.Checked = true; - this.WorldYmapTimeFilterCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.WorldYmapTimeFilterCheckBox.Location = new System.Drawing.Point(6, 214); - this.WorldYmapTimeFilterCheckBox.Name = "WorldYmapTimeFilterCheckBox"; - this.WorldYmapTimeFilterCheckBox.Size = new System.Drawing.Size(169, 19); - this.WorldYmapTimeFilterCheckBox.TabIndex = 66; - this.WorldYmapTimeFilterCheckBox.Text = "Filter ymaps by time of day"; - this.WorldYmapTimeFilterCheckBox.UseVisualStyleBackColor = true; - this.WorldYmapTimeFilterCheckBox.CheckedChanged += new System.EventHandler(this.WorldYmapTimeFilterCheckBox_CheckedChanged); - // - // WorldYmapWeatherFilterCheckBox - // - this.WorldYmapWeatherFilterCheckBox.AutoSize = true; - this.WorldYmapWeatherFilterCheckBox.Checked = true; - this.WorldYmapWeatherFilterCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.WorldYmapWeatherFilterCheckBox.Location = new System.Drawing.Point(6, 237); - this.WorldYmapWeatherFilterCheckBox.Name = "WorldYmapWeatherFilterCheckBox"; - this.WorldYmapWeatherFilterCheckBox.Size = new System.Drawing.Size(154, 19); - this.WorldYmapWeatherFilterCheckBox.TabIndex = 67; - this.WorldYmapWeatherFilterCheckBox.Text = "Filter ymaps by weather"; - this.WorldYmapWeatherFilterCheckBox.UseVisualStyleBackColor = true; - this.WorldYmapWeatherFilterCheckBox.CheckedChanged += new System.EventHandler(this.WorldYmapWeatherFilterCheckBox_CheckedChanged); - // - // EnableDlcCheckBox - // - this.EnableDlcCheckBox.AutoSize = true; - this.EnableDlcCheckBox.Enabled = false; - this.EnableDlcCheckBox.Location = new System.Drawing.Point(6, 311); - this.EnableDlcCheckBox.Name = "EnableDlcCheckBox"; - this.EnableDlcCheckBox.Size = new System.Drawing.Size(92, 19); - this.EnableDlcCheckBox.TabIndex = 69; - this.EnableDlcCheckBox.Text = "Enable DLC"; - this.EnableDlcCheckBox.UseVisualStyleBackColor = true; - this.EnableDlcCheckBox.CheckedChanged += new System.EventHandler(this.EnableDlcCheckBox_CheckedChanged); - // - // DlcLevelComboBox - // - this.DlcLevelComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.DlcLevelComboBox.Enabled = false; - this.DlcLevelComboBox.FormattingEnabled = true; - this.DlcLevelComboBox.Items.AddRange(new object[] { - ""}); - this.DlcLevelComboBox.Location = new System.Drawing.Point(67, 334); - this.DlcLevelComboBox.Name = "DlcLevelComboBox"; - this.DlcLevelComboBox.Size = new System.Drawing.Size(121, 21); - this.DlcLevelComboBox.TabIndex = 70; - this.DlcLevelComboBox.SelectedIndexChanged += new System.EventHandler(this.DlcLevelComboBox_SelectedIndexChanged); - this.DlcLevelComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.DlcLevelComboBox_KeyPress); - // - // label30 - // - this.label30.AutoSize = true; - this.label30.Location = new System.Drawing.Point(1, 337); - this.label30.Name = "label30"; - this.label30.Size = new System.Drawing.Size(66, 15); - this.label30.TabIndex = 70; - this.label30.Text = "DLC Level:"; - // - // EnableModsCheckBox - // - this.EnableModsCheckBox.AutoSize = true; - this.EnableModsCheckBox.Enabled = false; - this.EnableModsCheckBox.Location = new System.Drawing.Point(6, 280); - this.EnableModsCheckBox.Name = "EnableModsCheckBox"; - this.EnableModsCheckBox.Size = new System.Drawing.Size(99, 19); - this.EnableModsCheckBox.TabIndex = 68; - this.EnableModsCheckBox.Text = "Enable Mods"; - this.EnableModsCheckBox.UseVisualStyleBackColor = true; - this.EnableModsCheckBox.CheckedChanged += new System.EventHandler(this.EnableModsCheckBox_CheckedChanged); - // - // ToolsPanelExpandButton - // - this.ToolsPanelExpandButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.ToolsPanelExpandButton.Location = new System.Drawing.Point(149, 3); - this.ToolsPanelExpandButton.Name = "ToolsPanelExpandButton"; - this.ToolsPanelExpandButton.Size = new System.Drawing.Size(30, 23); - this.ToolsPanelExpandButton.TabIndex = 13; - this.ToolsPanelExpandButton.Text = "<<"; - this.ToolsPanelExpandButton.UseVisualStyleBackColor = true; - this.ToolsPanelExpandButton.Click += new System.EventHandler(this.ToolsPanelExpandButton_Click); - // - // ToolsButton - // - this.ToolsButton.Location = new System.Drawing.Point(3, 3); - this.ToolsButton.Name = "ToolsButton"; - this.ToolsButton.Size = new System.Drawing.Size(55, 23); - this.ToolsButton.TabIndex = 14; - this.ToolsButton.Text = "Tools..."; - this.ToolsButton.UseVisualStyleBackColor = true; - this.ToolsButton.Click += new System.EventHandler(this.ToolsButton_Click); - // - // AboutButton - // - this.AboutButton.Location = new System.Drawing.Point(64, 3); - this.AboutButton.Name = "AboutButton"; - this.AboutButton.Size = new System.Drawing.Size(55, 23); - this.AboutButton.TabIndex = 15; - this.AboutButton.Text = "About..."; - this.AboutButton.UseVisualStyleBackColor = true; - this.AboutButton.Click += new System.EventHandler(this.AboutButton_Click); - // - // ToolsDragPanel - // - this.ToolsDragPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left))); - this.ToolsDragPanel.Cursor = System.Windows.Forms.Cursors.VSplit; - this.ToolsDragPanel.Location = new System.Drawing.Point(0, 0); - this.ToolsDragPanel.Name = "ToolsDragPanel"; - this.ToolsDragPanel.Size = new System.Drawing.Size(4, 665); - this.ToolsDragPanel.TabIndex = 16; - this.ToolsDragPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ToolsDragPanel_MouseDown); - this.ToolsDragPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ToolsDragPanel_MouseMove); - this.ToolsDragPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ToolsDragPanel_MouseUp); - // - // ToolsPanel - // - this.ToolsPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Right))); - this.ToolsPanel.BackColor = System.Drawing.SystemColors.ControlDark; - this.ToolsPanel.Controls.Add(this.ToolsDragPanel); - this.ToolsPanel.Controls.Add(this.AboutButton); - this.ToolsPanel.Controls.Add(this.ToolsButton); - this.ToolsPanel.Controls.Add(this.ToolsPanelExpandButton); - this.ToolsPanel.Controls.Add(this.ToolsTabControl); - this.ToolsPanel.Controls.Add(this.ToolsPanelHideButton); - this.ToolsPanel.Location = new System.Drawing.Point(754, 12); - this.ToolsPanel.Name = "ToolsPanel"; - this.ToolsPanel.Size = new System.Drawing.Size(218, 665); - this.ToolsPanel.TabIndex = 2; - this.ToolsPanel.Visible = false; - // - // label31 - // - this.label31.AutoSize = true; - this.label31.Location = new System.Drawing.Point(6, 306); - this.label31.Name = "label31"; - this.label31.Size = new System.Drawing.Size(49, 15); - this.label31.TabIndex = 67; - this.label31.Text = "Theme:"; - // // ThemeComboBox // this.ThemeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ThemeComboBox.FormattingEnabled = true; this.ThemeComboBox.Items.AddRange(new object[] { "Windows", - "Blue", "Light", + "Blue", "Dark"}); - this.ThemeComboBox.Location = new System.Drawing.Point(53, 303); + this.ThemeComboBox.Location = new System.Drawing.Point(58, 295); this.ThemeComboBox.Name = "ThemeComboBox"; - this.ThemeComboBox.Size = new System.Drawing.Size(141, 21); - this.ThemeComboBox.TabIndex = 68; + this.ThemeComboBox.Size = new System.Drawing.Size(136, 21); + this.ThemeComboBox.TabIndex = 67; this.ThemeComboBox.SelectedIndexChanged += new System.EventHandler(this.ThemeComboBox_SelectedIndexChanged); // + // label31 + // + this.label31.AutoSize = true; + this.label31.Location = new System.Drawing.Point(7, 298); + this.label31.Name = "label31"; + this.label31.Size = new System.Drawing.Size(49, 15); + this.label31.TabIndex = 68; + this.label31.Text = "Theme:"; + // // Toolbar // this.Toolbar.Dock = System.Windows.Forms.DockStyle.None; @@ -3176,7 +3169,7 @@ namespace CodeWalker this.YmapsTextBox.Multiline = true; this.YmapsTextBox.Name = "YmapsTextBox"; this.YmapsTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.YmapsTextBox.Size = new System.Drawing.Size(200, 444); + this.YmapsTextBox.Size = new System.Drawing.Size(197, 444); this.YmapsTextBox.TabIndex = 36; this.YmapsTextBox.Text = resources.GetString("YmapsTextBox.Text"); this.YmapsTextBox.TextChanged += new System.EventHandler(this.YmapsTextBox_TextChanged); @@ -3186,12 +3179,12 @@ namespace CodeWalker this.MultiFindTextBox.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.MultiFindTextBox.Location = new System.Drawing.Point(0, 135); + this.MultiFindTextBox.Location = new System.Drawing.Point(0, 128); this.MultiFindTextBox.MaxLength = 1048576; this.MultiFindTextBox.Multiline = true; this.MultiFindTextBox.Name = "MultiFindTextBox"; this.MultiFindTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.MultiFindTextBox.Size = new System.Drawing.Size(205, 355); + this.MultiFindTextBox.Size = new System.Drawing.Size(203, 379); this.MultiFindTextBox.TabIndex = 17; // // SelEntityPropertyGrid @@ -3204,7 +3197,7 @@ namespace CodeWalker this.SelEntityPropertyGrid.Name = "SelEntityPropertyGrid"; this.SelEntityPropertyGrid.PropertySort = System.Windows.Forms.PropertySort.NoSort; this.SelEntityPropertyGrid.ReadOnly = true; - this.SelEntityPropertyGrid.Size = new System.Drawing.Size(197, 476); + this.SelEntityPropertyGrid.Size = new System.Drawing.Size(195, 476); this.SelEntityPropertyGrid.TabIndex = 35; this.SelEntityPropertyGrid.ToolbarVisible = false; // @@ -3267,7 +3260,6 @@ namespace CodeWalker this.SelExtensionPropertyGrid.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.SelExtensionPropertyGrid.CommandsActiveLinkColor = System.Drawing.Color.Red; this.SelExtensionPropertyGrid.HelpVisible = false; this.SelExtensionPropertyGrid.Location = new System.Drawing.Point(0, 6); this.SelExtensionPropertyGrid.Name = "SelExtensionPropertyGrid"; @@ -3303,6 +3295,52 @@ namespace CodeWalker this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.WorldForm_MouseUp); this.StatusStrip.ResumeLayout(false); this.StatusStrip.PerformLayout(); + this.ToolsPanel.ResumeLayout(false); + this.ToolsTabControl.ResumeLayout(false); + this.tabPage1.ResumeLayout(false); + this.tabPage1.PerformLayout(); + this.ViewTabControl.ResumeLayout(false); + this.ViewWorldTabPage.ResumeLayout(false); + this.ViewWorldTabPage.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.WorldDetailDistTrackBar)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.WorldLodDistTrackBar)).EndInit(); + this.ViewYmapsTabPage.ResumeLayout(false); + this.ViewYmapsTabPage.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.DetailTrackBar)).EndInit(); + this.ViewModelTabPage.ResumeLayout(false); + this.ViewModelTabPage.PerformLayout(); + this.tabPage2.ResumeLayout(false); + this.tabPage2.PerformLayout(); + this.tabPage3.ResumeLayout(false); + this.tabPage3.PerformLayout(); + this.SelectionTabControl.ResumeLayout(false); + this.SelectionEntityTabPage.ResumeLayout(false); + this.SelectionArchetypeTabPage.ResumeLayout(false); + this.SelectionDrawableTabPage.ResumeLayout(false); + this.tabControl3.ResumeLayout(false); + this.tabPage11.ResumeLayout(false); + this.tabPage12.ResumeLayout(false); + this.tabPage13.ResumeLayout(false); + this.SelectionExtensionTabPage.ResumeLayout(false); + this.tabPage4.ResumeLayout(false); + this.tabPage4.PerformLayout(); + this.OptionsTabControl.ResumeLayout(false); + this.tabPage8.ResumeLayout(false); + this.tabPage8.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.MapViewDetailTrackBar)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CollisionMeshRangeTrackBar)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.FieldOfViewTrackBar)).EndInit(); + this.tabPage14.ResumeLayout(false); + this.tabPage14.PerformLayout(); + this.tabPage9.ResumeLayout(false); + this.tabPage9.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.SnapGridSizeUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.BoundsRangeTrackBar)).EndInit(); + this.tabPage10.ResumeLayout(false); + this.tabPage10.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CloudParamTrackBar)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.TimeSpeedTrackBar)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.TimeOfDayTrackBar)).EndInit(); this.ConsolePanel.ResumeLayout(false); this.ConsolePanel.PerformLayout(); this.SelectedMarkerPanel.ResumeLayout(false); @@ -3310,52 +3348,6 @@ namespace CodeWalker this.ToolsMenu.ResumeLayout(false); this.ToolbarPanel.ResumeLayout(false); this.ToolbarPanel.PerformLayout(); - this.ToolsTabControl.ResumeLayout(false); - this.tabPage4.ResumeLayout(false); - this.tabPage4.PerformLayout(); - this.OptionsTabControl.ResumeLayout(false); - this.tabPage10.ResumeLayout(false); - this.tabPage10.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.TimeOfDayTrackBar)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.TimeSpeedTrackBar)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.CloudParamTrackBar)).EndInit(); - this.tabPage9.ResumeLayout(false); - this.tabPage9.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.BoundsRangeTrackBar)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.SnapGridSizeUpDown)).EndInit(); - this.tabPage14.ResumeLayout(false); - this.tabPage14.PerformLayout(); - this.tabPage8.ResumeLayout(false); - this.tabPage8.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.FieldOfViewTrackBar)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.CollisionMeshRangeTrackBar)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.MapViewDetailTrackBar)).EndInit(); - this.tabPage3.ResumeLayout(false); - this.tabPage3.PerformLayout(); - this.SelectionTabControl.ResumeLayout(false); - this.SelectionExtensionTabPage.ResumeLayout(false); - this.SelectionDrawableTabPage.ResumeLayout(false); - this.tabControl3.ResumeLayout(false); - this.tabPage13.ResumeLayout(false); - this.tabPage12.ResumeLayout(false); - this.tabPage11.ResumeLayout(false); - this.SelectionArchetypeTabPage.ResumeLayout(false); - this.SelectionEntityTabPage.ResumeLayout(false); - this.tabPage2.ResumeLayout(false); - this.tabPage2.PerformLayout(); - this.tabPage1.ResumeLayout(false); - this.tabPage1.PerformLayout(); - this.ViewTabControl.ResumeLayout(false); - this.ViewModelTabPage.ResumeLayout(false); - this.ViewModelTabPage.PerformLayout(); - this.ViewYmapsTabPage.ResumeLayout(false); - this.ViewYmapsTabPage.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.DetailTrackBar)).EndInit(); - this.ViewWorldTabPage.ResumeLayout(false); - this.ViewWorldTabPage.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.WorldLodDistTrackBar)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.WorldDetailDistTrackBar)).EndInit(); - this.ToolsPanel.ResumeLayout(false); this.Toolbar.ResumeLayout(false); this.Toolbar.PerformLayout(); this.ResumeLayout(false); @@ -3368,15 +3360,71 @@ namespace CodeWalker private System.Windows.Forms.FolderBrowserDialog FolderBrowserDialog; private System.Windows.Forms.StatusStrip StatusStrip; private System.Windows.Forms.ToolStripStatusLabel StatusLabel; + private System.Windows.Forms.ComboBox ModelComboBox; + private System.Windows.Forms.Panel ToolsPanel; + private System.Windows.Forms.Label label2; + private TextBoxFix YmapsTextBox; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button ToolsPanelHideButton; private System.Windows.Forms.Button ToolsPanelShowButton; + private System.Windows.Forms.CheckBox WireframeCheckBox; + private System.Windows.Forms.TabControl ToolsTabControl; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.TabPage tabPage3; + private System.Windows.Forms.TabPage tabPage4; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.ComboBox ViewModeComboBox; + private System.Windows.Forms.CheckBox TimedEntitiesCheckBox; + private System.Windows.Forms.CheckBox ErrorConsoleCheckBox; private System.Windows.Forms.Panel ConsolePanel; private TextBoxFix ConsoleTextBox; private System.Windows.Forms.Timer StatsUpdateTimer; private System.Windows.Forms.ToolStripStatusLabel StatsLabel; + private System.Windows.Forms.TrackBar DetailTrackBar; + private System.Windows.Forms.CheckBox DynamicLODCheckBox; + private System.Windows.Forms.Button ReloadShadersButton; + private System.Windows.Forms.ComboBox MarkerStyleComboBox; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.ComboBox LocatorStyleComboBox; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Button ClearMarkersButton; + private System.Windows.Forms.Button GoToButton; + private System.Windows.Forms.CheckBox ShowLocatorCheckBox; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox LocateTextBox; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Button AddMarkersButton; + private TextBoxFix MultiFindTextBox; + private System.Windows.Forms.CheckBox MarkerDepthClipCheckBox; + private System.Windows.Forms.Button ResetMarkersButton; private System.Windows.Forms.Panel SelectedMarkerPanel; private System.Windows.Forms.TextBox SelectedMarkerPositionTextBox; private System.Windows.Forms.TextBox SelectedMarkerNameTextBox; + private System.Windows.Forms.CheckBox SkydomeCheckBox; + private System.Windows.Forms.CheckBox BoundsDepthClipCheckBox; + private System.Windows.Forms.CheckBox MouseSelectCheckBox; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.ComboBox BoundsStyleComboBox; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.TrackBar BoundsRangeTrackBar; + private System.Windows.Forms.Button AddCurrentPositonMarkerButton; + private System.Windows.Forms.CheckBox SelectionBoundsCheckBox; + private ReadOnlyPropertyGrid SelEntityPropertyGrid; + private ReadOnlyPropertyGrid SelArchetypePropertyGrid; + private System.Windows.Forms.TabControl SelectionTabControl; + private System.Windows.Forms.TabPage SelectionEntityTabPage; + private System.Windows.Forms.TabPage SelectionArchetypeTabPage; private System.Windows.Forms.ToolStripStatusLabel MousedLabel; + private System.Windows.Forms.TabPage SelectionDrawableTabPage; + private ReadOnlyPropertyGrid SelDrawablePropertyGrid; + private System.Windows.Forms.Button ToolsPanelExpandButton; + private System.Windows.Forms.Button AddSelectionMarkerButton; + private System.Windows.Forms.CheckBox FullScreenCheckBox; + private System.Windows.Forms.Button QuitButton; + private System.Windows.Forms.Button ReloadSettingsButton; + private System.Windows.Forms.Button SaveSettingsButton; + private System.Windows.Forms.Button ToolsButton; private System.Windows.Forms.ContextMenuStrip ToolsMenu; private System.Windows.Forms.ToolStripMenuItem ToolsMenuRPFBrowser; private System.Windows.Forms.ToolStripMenuItem ToolsMenuBinarySearch; @@ -3385,8 +3433,96 @@ namespace CodeWalker private System.Windows.Forms.ToolStripMenuItem ToolsMenuExtractTextures; private System.Windows.Forms.ToolStripMenuItem ToolsMenuExtractRawFiles; private System.Windows.Forms.ToolStripMenuItem ToolsMenuExtractShaders; + private System.Windows.Forms.Button AboutButton; + private System.Windows.Forms.CheckBox ShadowsCheckBox; + private System.Windows.Forms.CheckBox StatusBarCheckBox; + private System.Windows.Forms.CheckBox WaitForChildrenCheckBox; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.ComboBox RenderModeComboBox; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.ComboBox TextureSamplerComboBox; + private System.Windows.Forms.TabControl OptionsTabControl; + private System.Windows.Forms.TabPage tabPage8; + private System.Windows.Forms.TabPage tabPage9; + private System.Windows.Forms.CheckBox CollisionMeshesCheckBox; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.TrackBar CollisionMeshRangeTrackBar; + private System.Windows.Forms.CheckBox CollisionMeshLayer2CheckBox; + private System.Windows.Forms.CheckBox CollisionMeshLayer1CheckBox; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.CheckBox CollisionMeshLayer0CheckBox; + private System.Windows.Forms.CheckBox ControlLightDirectionCheckBox; + private System.Windows.Forms.TabControl ViewTabControl; + private System.Windows.Forms.TabPage ViewWorldTabPage; + private System.Windows.Forms.TabPage ViewYmapsTabPage; + private System.Windows.Forms.TabPage ViewModelTabPage; + private System.Windows.Forms.CheckBox ShowYmapChildrenCheckBox; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.ComboBox TextureCoordsComboBox; + private System.Windows.Forms.CheckBox AnisotropicFilteringCheckBox; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.ComboBox WorldMaxLodComboBox; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.TrackBar WorldLodDistTrackBar; + private System.Windows.Forms.Label WorldLodDistLabel; + private System.Windows.Forms.Label WorldDetailDistLabel; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.TrackBar WorldDetailDistTrackBar; + private System.Windows.Forms.CheckBox ProxiesCheckBox; + private System.Windows.Forms.CheckBox CollisionMeshLayerDrawableCheckBox; + private System.Windows.Forms.CheckBox InteriorsCheckBox; + private System.Windows.Forms.TabPage tabPage10; + private System.Windows.Forms.ComboBox WeatherComboBox; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label TimeOfDayLabel; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.TrackBar TimeOfDayTrackBar; + private System.Windows.Forms.CheckBox ControlTimeOfDayCheckBox; + private System.Windows.Forms.CheckBox GrassCheckBox; + private System.Windows.Forms.CheckBox TimedEntitiesAlwaysOnCheckBox; + private System.Windows.Forms.CheckBox HDRRenderingCheckBox; + private System.Windows.Forms.CheckBox ArtificialAmbientLightCheckBox; + private System.Windows.Forms.CheckBox NaturalAmbientLightCheckBox; + private System.Windows.Forms.CheckBox DistantLODLightsCheckBox; + private System.Windows.Forms.Label TimeSpeedLabel; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.TrackBar TimeSpeedTrackBar; + private System.Windows.Forms.Button TimeStartStopButton; + private System.Windows.Forms.ComboBox CloudsComboBox; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.Label FieldOfViewLabel; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.TrackBar FieldOfViewTrackBar; + private System.Windows.Forms.TrackBar CloudParamTrackBar; + private System.Windows.Forms.ComboBox CloudParamComboBox; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.TabControl tabControl3; + private System.Windows.Forms.TabPage tabPage11; + private System.Windows.Forms.TabPage tabPage12; + private System.Windows.Forms.TabPage tabPage13; + private TreeViewFix SelDrawableModelsTreeView; + private TreeViewFix SelDrawableTexturesTreeView; + private System.Windows.Forms.CheckBox PathsCheckBox; + private System.Windows.Forms.TabPage tabPage14; private System.Windows.Forms.ToolStripMenuItem ToolsMenuProjectWindow; + private System.Windows.Forms.CheckBox WaterQuadsCheckBox; + private System.Windows.Forms.ComboBox CameraModeComboBox; + private System.Windows.Forms.Label label24; + private System.Windows.Forms.CheckBox SelectionWidgetCheckBox; private System.Windows.Forms.ToolStripMenuItem ToolsMenuSelectionInfo; + private System.Windows.Forms.Label label27; + private System.Windows.Forms.TextBox CameraPositionTextBox; + private System.Windows.Forms.Label MapViewDetailLabel; + private System.Windows.Forms.Label label28; + private System.Windows.Forms.TrackBar MapViewDetailTrackBar; + private System.Windows.Forms.CheckBox WorldScriptedYmapsCheckBox; + private System.Windows.Forms.ComboBox WeatherRegionComboBox; + private System.Windows.Forms.Label label29; + private System.Windows.Forms.CheckBox WorldYmapWeatherFilterCheckBox; + private System.Windows.Forms.CheckBox WorldYmapTimeFilterCheckBox; + private System.Windows.Forms.Label label30; + private System.Windows.Forms.ComboBox DlcLevelComboBox; + private System.Windows.Forms.CheckBox EnableDlcCheckBox; private ToolStripFix Toolbar; private System.Windows.Forms.Panel ToolbarPanel; private System.Windows.Forms.ToolStripButton ToolbarMoveButton; @@ -3416,9 +3552,18 @@ namespace CodeWalker private System.Windows.Forms.ToolStripButton ToolbarPasteButton; private System.Windows.Forms.ToolStripMenuItem ToolbarUndoListButton; private System.Windows.Forms.ToolStripMenuItem ToolbarRedoListButton; + private System.Windows.Forms.CheckBox ShowToolbarCheckBox; private System.Windows.Forms.ToolStripSplitButton ToolbarTransformSpaceButton; private System.Windows.Forms.ToolStripMenuItem ToolbarObjectSpaceButton; private System.Windows.Forms.ToolStripMenuItem ToolbarWorldSpaceButton; + private System.Windows.Forms.TextBox SelectionNameTextBox; + private System.Windows.Forms.Label label25; + private System.Windows.Forms.ComboBox SelectionModeComboBox; + private System.Windows.Forms.TabPage SelectionExtensionTabPage; + private ReadOnlyPropertyGrid SelExtensionPropertyGrid; + private System.Windows.Forms.CheckBox EnableModsCheckBox; + private System.Windows.Forms.Button AdvancedSettingsButton; + private System.Windows.Forms.Button ControlSettingsButton; private System.Windows.Forms.ToolStripMenuItem ToolsMenuOptions; private ToolStripSplitButtonFix ToolbarSelectButton; private System.Windows.Forms.ToolStripMenuItem ToolbarSelectEntityButton; @@ -3434,191 +3579,37 @@ namespace CodeWalker private System.Windows.Forms.ToolStripMenuItem ToolbarSelectMloInstanceButton; private System.Windows.Forms.ToolStripMenuItem ToolsMenuJenkInd; private System.Windows.Forms.ToolStripMenuItem ToolbarSelectTrainTrackButton; + private System.Windows.Forms.CheckBox PathBoundsCheckBox; private System.Windows.Forms.ToolStripMenuItem ToolbarNewYndButton; private System.Windows.Forms.ToolStripMenuItem ToolbarNewTrainsButton; private System.Windows.Forms.ToolStripMenuItem ToolbarOpenYndButton; private System.Windows.Forms.ToolStripMenuItem ToolbarOpenTrainsButton; + private System.Windows.Forms.CheckBox PathsDepthClipCheckBox; + private System.Windows.Forms.CheckBox TrainPathsCheckBox; private System.Windows.Forms.ToolStripMenuItem ToolbarSelectNavMeshButton; + private System.Windows.Forms.CheckBox NavMeshesCheckBox; private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; private System.Windows.Forms.ToolStripSplitButton ToolbarCameraModeButton; private System.Windows.Forms.ToolStripMenuItem ToolbarCameraPerspectiveButton; private System.Windows.Forms.ToolStripMenuItem ToolbarCameraMapViewButton; private System.Windows.Forms.ToolStripMenuItem ToolbarCameraOrthographicButton; private System.Windows.Forms.ToolStripMenuItem ToolbarSelectScenarioButton; + private System.Windows.Forms.Panel ToolsDragPanel; private System.Windows.Forms.ToolStripMenuItem ToolsMenuWorldSearch; private System.Windows.Forms.ToolStripMenuItem ToolsMenuRPFExplorer; private System.Windows.Forms.ToolStripMenuItem ToolbarNewScenarioButton; private System.Windows.Forms.ToolStripMenuItem ToolbarOpenScenarioButton; + private System.Windows.Forms.CheckBox PopZonesCheckBox; private System.Windows.Forms.ToolStripMenuItem ToolbarSelectAudioButton; + private System.Windows.Forms.CheckBox AudioOuterBoundsCheckBox; + private System.Windows.Forms.CheckBox SkeletonsCheckBox; private ToolStripSplitButtonFix ToolbarSnapButton; private System.Windows.Forms.ToolStripMenuItem ToolbarSnapToGroundButton; private System.Windows.Forms.ToolStripMenuItem ToolbarSnapToGridButton; private System.Windows.Forms.ToolStripMenuItem ToolbarSnapToGroundGridButton; - private WeifenLuo.WinFormsUI.Docking.VisualStudioToolStripExtender VSExtender; - private System.Windows.Forms.Button ToolsPanelHideButton; - private System.Windows.Forms.TabControl ToolsTabControl; - private System.Windows.Forms.TabPage tabPage1; - private System.Windows.Forms.TabControl ViewTabControl; - private System.Windows.Forms.TabPage ViewWorldTabPage; - private System.Windows.Forms.CheckBox EnableModsCheckBox; - private System.Windows.Forms.Label label30; - private System.Windows.Forms.ComboBox DlcLevelComboBox; - private System.Windows.Forms.CheckBox EnableDlcCheckBox; - private System.Windows.Forms.CheckBox WorldYmapWeatherFilterCheckBox; - private System.Windows.Forms.CheckBox WorldYmapTimeFilterCheckBox; - private System.Windows.Forms.CheckBox WorldScriptedYmapsCheckBox; - private System.Windows.Forms.Label WorldDetailDistLabel; - private System.Windows.Forms.Label label18; - private System.Windows.Forms.TrackBar WorldDetailDistTrackBar; - private System.Windows.Forms.Label WorldLodDistLabel; - private System.Windows.Forms.Label label16; - private System.Windows.Forms.TrackBar WorldLodDistTrackBar; - private System.Windows.Forms.Label label15; - private System.Windows.Forms.ComboBox WorldMaxLodComboBox; - private System.Windows.Forms.TabPage ViewYmapsTabPage; - private System.Windows.Forms.CheckBox ShowYmapChildrenCheckBox; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.TrackBar DetailTrackBar; - private System.Windows.Forms.CheckBox DynamicLODCheckBox; - private TextBoxFix YmapsTextBox; - private System.Windows.Forms.TabPage ViewModelTabPage; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.ComboBox ModelComboBox; - private System.Windows.Forms.Label label3; - private System.Windows.Forms.ComboBox ViewModeComboBox; - private System.Windows.Forms.TabPage tabPage2; - private System.Windows.Forms.Label label27; - private System.Windows.Forms.TextBox CameraPositionTextBox; - private System.Windows.Forms.Button AddSelectionMarkerButton; - private System.Windows.Forms.Button AddCurrentPositonMarkerButton; - private System.Windows.Forms.Button ResetMarkersButton; - private System.Windows.Forms.Button ClearMarkersButton; - private System.Windows.Forms.Button GoToButton; - private System.Windows.Forms.CheckBox ShowLocatorCheckBox; - private System.Windows.Forms.Label label6; - private System.Windows.Forms.TextBox LocateTextBox; - private System.Windows.Forms.Label label7; - private System.Windows.Forms.Button AddMarkersButton; - private TextBoxFix MultiFindTextBox; - private System.Windows.Forms.TabPage tabPage3; - private System.Windows.Forms.Label label25; - private System.Windows.Forms.ComboBox SelectionModeComboBox; - private System.Windows.Forms.TextBox SelectionNameTextBox; - private System.Windows.Forms.TabControl SelectionTabControl; - private System.Windows.Forms.TabPage SelectionEntityTabPage; - private ReadOnlyPropertyGrid SelEntityPropertyGrid; - private System.Windows.Forms.TabPage SelectionArchetypeTabPage; - private ReadOnlyPropertyGrid SelArchetypePropertyGrid; - private System.Windows.Forms.TabPage SelectionDrawableTabPage; - private System.Windows.Forms.TabControl tabControl3; - private System.Windows.Forms.TabPage tabPage11; - private ReadOnlyPropertyGrid SelDrawablePropertyGrid; - private System.Windows.Forms.TabPage tabPage12; - private TreeViewFix SelDrawableModelsTreeView; - private System.Windows.Forms.TabPage tabPage13; - private TreeViewFix SelDrawableTexturesTreeView; - private System.Windows.Forms.TabPage SelectionExtensionTabPage; - private ReadOnlyPropertyGrid SelExtensionPropertyGrid; - private System.Windows.Forms.CheckBox MouseSelectCheckBox; - private System.Windows.Forms.TabPage tabPage4; - private System.Windows.Forms.TabControl OptionsTabControl; - private System.Windows.Forms.TabPage tabPage8; - private System.Windows.Forms.Button AdvancedSettingsButton; - private System.Windows.Forms.Button ControlSettingsButton; - private System.Windows.Forms.Label MapViewDetailLabel; - private System.Windows.Forms.Label label28; - private System.Windows.Forms.TrackBar MapViewDetailTrackBar; - private System.Windows.Forms.ComboBox CameraModeComboBox; - private System.Windows.Forms.Label label24; - private System.Windows.Forms.CheckBox WaterQuadsCheckBox; - private System.Windows.Forms.Label FieldOfViewLabel; - private System.Windows.Forms.Label label22; - private System.Windows.Forms.CheckBox TimedEntitiesAlwaysOnCheckBox; - private System.Windows.Forms.CheckBox GrassCheckBox; - private System.Windows.Forms.CheckBox InteriorsCheckBox; - private System.Windows.Forms.CheckBox CollisionMeshLayerDrawableCheckBox; - private System.Windows.Forms.CheckBox CollisionMeshLayer2CheckBox; - private System.Windows.Forms.CheckBox CollisionMeshLayer1CheckBox; - private System.Windows.Forms.Label label13; - private System.Windows.Forms.CheckBox CollisionMeshLayer0CheckBox; - private System.Windows.Forms.Label label12; - private System.Windows.Forms.TrackBar CollisionMeshRangeTrackBar; - private System.Windows.Forms.CheckBox CollisionMeshesCheckBox; - private System.Windows.Forms.CheckBox FullScreenCheckBox; - private System.Windows.Forms.CheckBox TimedEntitiesCheckBox; - private System.Windows.Forms.TrackBar FieldOfViewTrackBar; - private System.Windows.Forms.TabPage tabPage14; - private System.Windows.Forms.CheckBox WireframeCheckBox; - private System.Windows.Forms.ComboBox RenderModeComboBox; - private System.Windows.Forms.Label label11; - private System.Windows.Forms.ComboBox TextureSamplerComboBox; - private System.Windows.Forms.ComboBox TextureCoordsComboBox; - private System.Windows.Forms.Label label10; - private System.Windows.Forms.CheckBox AnisotropicFilteringCheckBox; - private System.Windows.Forms.CheckBox ProxiesCheckBox; - private System.Windows.Forms.CheckBox WaitForChildrenCheckBox; - private System.Windows.Forms.Label label14; - private System.Windows.Forms.TabPage tabPage9; private System.Windows.Forms.NumericUpDown SnapGridSizeUpDown; private System.Windows.Forms.Label label26; - private System.Windows.Forms.CheckBox SkeletonsCheckBox; - private System.Windows.Forms.CheckBox AudioOuterBoundsCheckBox; - private System.Windows.Forms.CheckBox PopZonesCheckBox; - private System.Windows.Forms.CheckBox NavMeshesCheckBox; - private System.Windows.Forms.CheckBox TrainPathsCheckBox; - private System.Windows.Forms.CheckBox PathsDepthClipCheckBox; - private System.Windows.Forms.CheckBox PathBoundsCheckBox; - private System.Windows.Forms.CheckBox SelectionWidgetCheckBox; - private System.Windows.Forms.ComboBox MarkerStyleComboBox; - private System.Windows.Forms.CheckBox ShowToolbarCheckBox; - private System.Windows.Forms.Label label4; - private System.Windows.Forms.ComboBox LocatorStyleComboBox; - private System.Windows.Forms.Label label5; - private System.Windows.Forms.CheckBox MarkerDepthClipCheckBox; - private System.Windows.Forms.Label label9; - private System.Windows.Forms.CheckBox PathsCheckBox; - private System.Windows.Forms.CheckBox SelectionBoundsCheckBox; - private System.Windows.Forms.CheckBox BoundsDepthClipCheckBox; - private System.Windows.Forms.TrackBar BoundsRangeTrackBar; - private System.Windows.Forms.ComboBox BoundsStyleComboBox; - private System.Windows.Forms.Label label8; - private System.Windows.Forms.TabPage tabPage10; - private System.Windows.Forms.ComboBox WeatherRegionComboBox; - private System.Windows.Forms.Label label29; - private System.Windows.Forms.TrackBar CloudParamTrackBar; - private System.Windows.Forms.ComboBox CloudParamComboBox; - private System.Windows.Forms.Label label23; - private System.Windows.Forms.ComboBox CloudsComboBox; - private System.Windows.Forms.Label label21; - private System.Windows.Forms.Label TimeSpeedLabel; - private System.Windows.Forms.Label label20; - private System.Windows.Forms.TrackBar TimeSpeedTrackBar; - private System.Windows.Forms.Button TimeStartStopButton; - private System.Windows.Forms.CheckBox ArtificialAmbientLightCheckBox; - private System.Windows.Forms.CheckBox NaturalAmbientLightCheckBox; - private System.Windows.Forms.CheckBox DistantLODLightsCheckBox; - private System.Windows.Forms.CheckBox HDRRenderingCheckBox; - private System.Windows.Forms.CheckBox ControlTimeOfDayCheckBox; - private System.Windows.Forms.Label TimeOfDayLabel; - private System.Windows.Forms.Label label19; - private System.Windows.Forms.TrackBar TimeOfDayTrackBar; - private System.Windows.Forms.ComboBox WeatherComboBox; - private System.Windows.Forms.Label label17; - private System.Windows.Forms.CheckBox ControlLightDirectionCheckBox; - private System.Windows.Forms.CheckBox SkydomeCheckBox; - private System.Windows.Forms.CheckBox ShadowsCheckBox; - private System.Windows.Forms.CheckBox StatusBarCheckBox; - private System.Windows.Forms.Button QuitButton; - private System.Windows.Forms.Button ReloadSettingsButton; - private System.Windows.Forms.Button SaveSettingsButton; - private System.Windows.Forms.Button ReloadShadersButton; - private System.Windows.Forms.CheckBox ErrorConsoleCheckBox; - private System.Windows.Forms.Button ToolsPanelExpandButton; - private System.Windows.Forms.Button ToolsButton; - private System.Windows.Forms.Button AboutButton; - private System.Windows.Forms.Panel ToolsDragPanel; - private System.Windows.Forms.Panel ToolsPanel; - private System.Windows.Forms.ComboBox ThemeComboBox; private System.Windows.Forms.Label label31; + private System.Windows.Forms.ComboBox ThemeComboBox; } } \ No newline at end of file diff --git a/WorldForm.cs b/WorldForm.cs index 16e0709..d9949cd 100644 --- a/WorldForm.cs +++ b/WorldForm.cs @@ -180,6 +180,8 @@ namespace CodeWalker YmapCarGen CopiedCarGen = null; YndNode CopiedPathNode = null; YnvPoly CopiedNavPoly = null; + YnvPoint CopiedNavPoint = null; + YnvPortal CopiedNavPortal = null; TrainTrackNode CopiedTrainNode = null; ScenarioNode CopiedScenarioNode = null; @@ -210,7 +212,7 @@ namespace CodeWalker InitializeComponent(); SetTheme(Settings.Default.WorldWindowTheme, false); - + Renderer = new Renderer(this, gameFileCache); camera = Renderer.camera; timecycle = Renderer.timecycle; @@ -231,6 +233,7 @@ namespace CodeWalker return; } + MouseWheel += WorldForm_MouseWheel; if (!GTAFolder.UpdateGTAFolder(true)) @@ -1244,6 +1247,10 @@ namespace CodeWalker { ori = CurMouseHit.NavPoint.Orientation; } + if (CurMouseHit.NavPortal != null) + { + ori = CurMouseHit.NavPortal.Orientation; + } if (CurMouseHit.Audio != null) { ori = CurMouseHit.Audio.Orientation; @@ -1484,9 +1491,15 @@ namespace CodeWalker } if (selectionItem.NavPortal != null) { - camrel = selectionItem.NavPortal.Position - camera.Position; - } + var navp = selectionItem.NavPortal; + camrel = navp.Position - camera.Position; + //render direction arrow for NavPortal + ori = navp.Orientation; + float arrowlen = 2.0f; + float arrowrad = 0.25f; + Renderer.RenderSelectionArrowOutline(navp.Position, Vector3.UnitY, Vector3.UnitZ, ori, arrowlen, arrowrad, cgrn); + } if (selectionItem.Audio != null) { var au = selectionItem.Audio; @@ -1784,7 +1797,7 @@ namespace CodeWalker public void UpdateNavYnvGraphics(YnvFile ynv, bool fullupdate) { - + ynv.UpdateAllNodePositions(); ynv.UpdateTriangleVertices(); ynv.BuildBVH(); @@ -1799,6 +1812,18 @@ namespace CodeWalker //poly.Ynv.UpdateBvhForPoly(poly);//TODO! UpdateNavYnvGraphics(poly.Ynv, fullupdate); } + public void UpdateNavPointGraphics(YnvPoint point, bool fullupdate) + { + if (point == null) return; + //poly.Ynv.UpdateBvhForPoint(point);//TODO! + UpdateNavYnvGraphics(point.Ynv, fullupdate); + } + public void UpdateNavPortalGraphics(YnvPortal portal, bool fullupdate) + { + if (portal == null) return; + //poly.Ynv.UpdateBvhForPortal(portal);//TODO! + UpdateNavYnvGraphics(portal.Ynv, fullupdate); + } public void UpdateTrainTrackGraphics(TrainTrack tt, bool fullupdate) { @@ -4582,19 +4607,23 @@ namespace CodeWalker - + private bool CanMarkUndo() + { + if (SelectedItem.MultipleSelection) return true; + if (SelectedItem.EntityDef != null) return true; + if (SelectedItem.CarGenerator != null) return true; + if (SelectedItem.PathNode != null) return true; + //if (SelectedItem.NavPoly != null) return true; + if (SelectedItem.NavPoint != null) return true; + if (SelectedItem.NavPortal != null) return true; + if (SelectedItem.TrainTrackNode != null) return true; + if (SelectedItem.ScenarioNode != null) return true; + if (SelectedItem.Audio != null) return true; + return false; + } private void MarkUndoStart(Widget w) { - bool canundo = false; - if (SelectedItem.MultipleSelection) canundo = true; - if (SelectedItem.EntityDef != null) canundo = true; - if (SelectedItem.CarGenerator != null) canundo = true; - if (SelectedItem.PathNode != null) canundo = true; - //if (SelectedItem.NavPoly != null) hasval = true; - if (SelectedItem.TrainTrackNode != null) canundo = true; - if (SelectedItem.ScenarioNode != null) canundo = true; - if (SelectedItem.Audio != null) canundo = true; - if (!canundo) return; + if (!CanMarkUndo()) return; if (Widget is TransformWidget) { UndoStartPosition = Widget.Position; @@ -4604,19 +4633,13 @@ namespace CodeWalker } private void MarkUndoEnd(Widget w) { - bool canundo = false; - if (SelectedItem.MultipleSelection) canundo = true; - if (SelectedItem.EntityDef != null) canundo = true; - if (SelectedItem.CarGenerator != null) canundo = true; - if (SelectedItem.PathNode != null) canundo = true; - //if (SelectedItem.NavPoly != null) hasval = true; - if (SelectedItem.TrainTrackNode != null) canundo = true; - if (SelectedItem.ScenarioNode != null) canundo = true; - if (SelectedItem.Audio != null) canundo = true; - if (!canundo) return; + if (!CanMarkUndo()) return; var ent = SelectedItem.EntityDef; var cargen = SelectedItem.CarGenerator; var pathnode = SelectedItem.PathNode; + var navpoly = SelectedItem.NavPoly; + var navpoint = SelectedItem.NavPoint; + var navportal = SelectedItem.NavPortal; var trainnode = SelectedItem.TrainTrackNode; var scenarionode = SelectedItem.ScenarioNode; var audio = SelectedItem.Audio; @@ -4667,6 +4690,26 @@ namespace CodeWalker case WidgetMode.Position: s = new PathNodePositionUndoStep(pathnode, UndoStartPosition, this); break; } } + else if (navpoly != null) + { + //todo... + } + else if (navpoint != null) + { + switch (tw.Mode) + { + case WidgetMode.Position: s = new NavPointPositionUndoStep(navpoint, UndoStartPosition, this); break; + case WidgetMode.Rotation: s = new NavPointRotationUndoStep(navpoint, UndoStartRotation, this); break; + } + } + else if (navportal != null) + { + switch (tw.Mode) + { + case WidgetMode.Position: s = new NavPortalPositionUndoStep(navportal, UndoStartPosition, this); break; + case WidgetMode.Rotation: s = new NavPortalRotationUndoStep(navportal, UndoStartRotation, this); break; + } + } else if (trainnode != null) { switch (tw.Mode) @@ -4986,9 +5029,9 @@ namespace CodeWalker case MapSelectionMode.Entity: AddEntity(); break; case MapSelectionMode.CarGenerator: AddCarGen(); break; case MapSelectionMode.Path: AddPathNode(); break; - case MapSelectionMode.NavMesh: AddNavPoly(); break; + case MapSelectionMode.NavMesh: AddNavPoly(); break;//how to add points/portals? project window case MapSelectionMode.TrainTrack: AddTrainNode(); break; - case MapSelectionMode.Scenario: AddScenarioNode(); break; + case MapSelectionMode.Scenario: AddScenarioNode(); break; //how to add different node types? project window } } private void DeleteItem() @@ -4997,6 +5040,8 @@ namespace CodeWalker else if (SelectedItem.CarGenerator != null) DeleteCarGen(); else if (SelectedItem.PathNode != null) DeletePathNode(); else if (SelectedItem.NavPoly != null) DeleteNavPoly(); + else if (SelectedItem.NavPoint != null) DeleteNavPoint(); + else if (SelectedItem.NavPortal != null) DeleteNavPortal(); else if (SelectedItem.TrainTrackNode != null) DeleteTrainNode(); else if (SelectedItem.ScenarioNode != null) DeleteScenarioNode(); } @@ -5006,6 +5051,8 @@ namespace CodeWalker else if (SelectedItem.CarGenerator != null) CopyCarGen(); else if (SelectedItem.PathNode != null) CopyPathNode(); else if (SelectedItem.NavPoly != null) CopyNavPoly(); + else if (SelectedItem.NavPoint != null) CopyNavPoint(); + else if (SelectedItem.NavPortal != null) CopyNavPortal(); else if (SelectedItem.TrainTrackNode != null) CopyTrainNode(); else if (SelectedItem.ScenarioNode != null) CopyScenarioNode(); } @@ -5015,6 +5062,8 @@ namespace CodeWalker else if (CopiedCarGen != null) PasteCarGen(); else if (CopiedPathNode != null) PastePathNode(); else if (CopiedNavPoly != null) PasteNavPoly(); + else if (CopiedNavPoint != null) PasteNavPoint(); + else if (CopiedNavPortal != null) PasteNavPortal(); else if (CopiedTrainNode != null) PasteTrainNode(); else if (CopiedScenarioNode != null) PasteScenarioNode(); } @@ -5024,6 +5073,8 @@ namespace CodeWalker else if (SelectedItem.CarGenerator != null) CloneCarGen(); else if (SelectedItem.PathNode != null) ClonePathNode(); else if (SelectedItem.NavPoly != null) CloneNavPoly(); + else if (SelectedItem.NavPoint != null) CloneNavPoint(); + else if (SelectedItem.NavPortal != null) CloneNavPortal(); else if (SelectedItem.TrainTrackNode != null) CloneTrainNode(); else if (SelectedItem.ScenarioNode != null) CloneScenarioNode(); } @@ -5246,6 +5297,114 @@ namespace CodeWalker ProjectForm.NewNavPoly(SelectedItem.NavPoly, true); } + private void AddNavPoint() + { + if (ProjectForm == null) return; + ProjectForm.NewNavPoint(); + } + private void DeleteNavPoint() + { + var navpoint = SelectedItem.NavPoint; + if (navpoint == null) return; + + if ((ProjectForm != null) && (ProjectForm.IsCurrentNavPoint(navpoint))) + { + if (!ProjectForm.DeleteNavPoint()) + { + //MessageBox.Show("Unable to delete this nav point from the current project. Make sure the nav point's ynv exists in the current project."); + } + else + { + SelectItem(null); + } + } + else + { + //project not open, or nav point not selected there, just remove the point from the ynv... + var ynv = navpoint.Ynv; + if (!ynv.RemovePoint(navpoint)) + { + MessageBox.Show("Unable to remove nav point. NavMesh editing TODO!"); + } + else + { + UpdateNavPointGraphics(navpoint, false); + SelectItem(null); + } + } + } + private void CopyNavPoint() + { + CopiedNavPoint = SelectedItem.NavPoint; + ToolbarPasteButton.Enabled = (CopiedNavPoint != null) && ToolbarAddItemButton.Enabled; + } + private void PasteNavPoint() + { + if (CopiedNavPoint == null) return; + if (ProjectForm == null) return; + ProjectForm.NewNavPoint(CopiedNavPoint); + } + private void CloneNavPoint() + { + if (SelectedItem.NavPoint == null) return; + if (ProjectForm == null) return; + ProjectForm.NewNavPoint(SelectedItem.NavPoint, true); + } + + private void AddNavPortal() + { + if (ProjectForm == null) return; + ProjectForm.NewNavPortal(); + } + private void DeleteNavPortal() + { + var navportal = SelectedItem.NavPortal; + if (navportal == null) return; + + if ((ProjectForm != null) && (ProjectForm.IsCurrentNavPortal(navportal))) + { + if (!ProjectForm.DeleteNavPortal()) + { + //MessageBox.Show("Unable to delete this nav portal from the current project. Make sure the nav portal's ynv exists in the current project."); + } + else + { + SelectItem(null); + } + } + else + { + //project not open, or nav portal not selected there, just remove the portal from the ynv... + var ynv = navportal.Ynv; + if (!ynv.RemovePortal(navportal)) + { + MessageBox.Show("Unable to remove nav portal. NavMesh editing TODO!"); + } + else + { + UpdateNavPortalGraphics(navportal, false); + SelectItem(null); + } + } + } + private void CopyNavPortal() + { + CopiedNavPortal = SelectedItem.NavPortal; + ToolbarPasteButton.Enabled = (CopiedNavPortal != null) && ToolbarAddItemButton.Enabled; + } + private void PasteNavPortal() + { + if (CopiedNavPortal == null) return; + if (ProjectForm == null) return; + ProjectForm.NewNavPortal(CopiedNavPortal); + } + private void CloneNavPortal() + { + if (SelectedItem.NavPortal == null) return; + if (ProjectForm == null) return; + ProjectForm.NewNavPortal(SelectedItem.NavPortal, true); + } + private void AddTrainNode() { if (ProjectForm == null) return; diff --git a/WorldForm.resx b/WorldForm.resx index 7881739..65c3bf6 100644 --- a/WorldForm.resx +++ b/WorldForm.resx @@ -123,6 +123,40 @@ 182, 17 + + dt1_lod +hw1_lod +cs1_lod +cs1_lod2 +cs1_lod3 +cs2_lod +cs2_lod2 +cs3_lod +cs4_lod +cs5_lod +cs6_lod +ch1_lod +ch2_lod +ch2_lod2 +ch2_lod3 +ch2_lod4 +ch3_lod +ss1_lod +sc1_lod +sp1_lod +sm_lod +id1_lod +id2_lod +bh1_lod +vb_lod +po1_lod +ap1_lod +kt1_lod +ufo_lod +ufo_eye +ufo + + 298, 17 @@ -206,6 +240,25 @@ YQUAAAAJcEhZcwAADuoAAA7qAaOKY3EAAAB4SURBVDhP3ZC7DcAgDEQZKTMwHOvSIFriS7BlEB+HMic9 QJbvFThLUkpXzjkSpaeuzMPlEELx3jdsBauyCHBY6UWYPQI93KEljQD3jL6EGzN6x0bASyNYwkKU8Udm gd6TMnIikDJyIqjVNz8T7FgKrAwFX6lVinM3aJ05lWDPRRcAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAHRJREFUOE/tk0EKgCAQRedIncGrGZ602lowuFW/kM1ElLYLEh668D1dKO2DmYcQ + gs/EHpTsnIvGmGZKQMrWjnH12y3ztJR9NfBGxiwD6lpPQEYMaxU4n3aF3PcHPh/AY8Ljy67vDkgZ36AG + WlEyBgKdHDIRJSPcKxCRg0UPAAAAAElFT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wAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m - dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADLSURBVDhPpZHRDcIwDEQzWxbqGEjZoOzRqfoBfLS/ - Jnf1IWMKAmrpSYl7d3HSYmaHKOu6msNG2BOKPhVEtdZHiPbqfR0QQqy1Rn4OUMg0TQTrZVlOLt2vLnoJ - EcMw2DzPDMEke9AsYBrHs10vN4I1QqImwwDcFyMjQGaBHr5Bo8nEoYCnCQTGzVeI4oj6fIi+KHgoPBhC - 4knCjTww9vxfbIUQNDEyiGIZ8t6tW/k0vC/AOpuiueNOLwVkUeylvju9FJCg8E1vM/2PlTv5UoervVTJ - uQAAAABJRU5ErkJggg== @@ -406,38 +426,15 @@ QdQiTqrAWNICd7gPnUj+xBKaU9dxfhTkjwV/FxU+AbsiGnc46OYIAAAAAElFTkSuQmCC - - dt1_lod -hw1_lod -cs1_lod -cs1_lod2 -cs1_lod3 -cs2_lod -cs2_lod2 -cs3_lod -cs4_lod -cs5_lod -cs6_lod -ch1_lod -ch2_lod -ch2_lod2 -ch2_lod3 -ch2_lod4 -ch3_lod -ss1_lod -sc1_lod -sp1_lod -sm_lod -id1_lod -id2_lod -bh1_lod -vb_lod -po1_lod -ap1_lod -kt1_lod -ufo_lod -ufo_eye -ufo + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADuoAAA7qAaOKY3EAAAEvSURBVDhP3dK/K0dRGMfxKxRJopCSEkLya/guUhQRmQwG + WfwIkYySgYUSKUKJlOK/MBoMFMofYLUIsfJ+f3NuF3+A8tRree5zP/fcc070f6oHT/jAPTqQj6WvXvCM + TZQgG3H58gFGcYVLtGIN15jBNDbwiGNUIg4pQx8GsQuHhrCDW8yjHyns4Q0DcCXpykM5bFzgHGPYxw1G + UIVMtMHfWUUj4nIg/KurGIYrSAZYOXDGlbhXcZlegUO8Yxzb+BlQAwNW0G0jVAYK0AwHtnCEOyQDZvGC + ObTbKIIvLMA9WIYDizhFMsDjfsAZptCA9JcdfoVBvryOSbgCe4HPTuCz+BQMKEUvJmCy96ET1ehCuAf2 + 5ZF+uwdZKEYtmuBGFSIXhtejBe5PHX7dxL+qKPoEppRHcXOtiDsAAAAASUVORK5CYII= diff --git a/WorldInfoForm.Designer.cs b/WorldInfoForm.Designer.cs index 41425e3..51ccf9c 100644 --- a/WorldInfoForm.Designer.cs +++ b/WorldInfoForm.Designer.cs @@ -294,7 +294,7 @@ namespace CodeWalker this.SelDrawableTexturesTreeView.HideSelection = false; this.SelDrawableTexturesTreeView.Location = new System.Drawing.Point(0, 0); this.SelDrawableTexturesTreeView.Name = "SelDrawableTexturesTreeView"; - this.SelDrawableTexturesTreeView.Size = new System.Drawing.Size(308, 454); + this.SelDrawableTexturesTreeView.Size = new System.Drawing.Size(300, 454); this.SelDrawableTexturesTreeView.TabIndex = 2; this.SelDrawableTexturesTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.SelDrawableTexturesTreeView_AfterSelect); // @@ -335,7 +335,7 @@ namespace CodeWalker this.SelTextureDimensionsLabel.AutoSize = true; this.SelTextureDimensionsLabel.Location = new System.Drawing.Point(334, 400); this.SelTextureDimensionsLabel.Name = "SelTextureDimensionsLabel"; - this.SelTextureDimensionsLabel.Size = new System.Drawing.Size(11, 15); + this.SelTextureDimensionsLabel.Size = new System.Drawing.Size(10, 13); this.SelTextureDimensionsLabel.TabIndex = 37; this.SelTextureDimensionsLabel.Text = "-"; // @@ -358,7 +358,7 @@ namespace CodeWalker this.SelTextureMipLabel.AutoSize = true; this.SelTextureMipLabel.Location = new System.Drawing.Point(40, 400); this.SelTextureMipLabel.Name = "SelTextureMipLabel"; - this.SelTextureMipLabel.Size = new System.Drawing.Size(14, 15); + this.SelTextureMipLabel.Size = new System.Drawing.Size(13, 13); this.SelTextureMipLabel.TabIndex = 35; this.SelTextureMipLabel.Text = "0"; // @@ -368,7 +368,7 @@ namespace CodeWalker this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(7, 400); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(31, 15); + this.label3.Size = new System.Drawing.Size(27, 13); this.label3.TabIndex = 34; this.label3.Text = "Mip:"; // @@ -377,7 +377,7 @@ namespace CodeWalker this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(207, 9); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(64, 15); + this.label2.Size = new System.Drawing.Size(57, 13); this.label2.TabIndex = 33; this.label2.Text = "Dictionary:"; // @@ -489,9 +489,9 @@ namespace CodeWalker // this.MouseSelectCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.MouseSelectCheckBox.AutoSize = true; - this.MouseSelectCheckBox.Location = new System.Drawing.Point(580, 14); + this.MouseSelectCheckBox.Location = new System.Drawing.Point(598, 14); this.MouseSelectCheckBox.Name = "MouseSelectCheckBox"; - this.MouseSelectCheckBox.Size = new System.Drawing.Size(161, 19); + this.MouseSelectCheckBox.Size = new System.Drawing.Size(143, 17); this.MouseSelectCheckBox.TabIndex = 26; this.MouseSelectCheckBox.Text = "Mouse select (right click)"; this.MouseSelectCheckBox.UseVisualStyleBackColor = true; @@ -511,7 +511,7 @@ namespace CodeWalker this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 15); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(44, 15); + this.label1.Size = new System.Drawing.Size(38, 13); this.label1.TabIndex = 30; this.label1.Text = "Name:"; // @@ -521,7 +521,7 @@ namespace CodeWalker this.label25.AutoSize = true; this.label25.Location = new System.Drawing.Point(408, 15); this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(42, 15); + this.label25.Size = new System.Drawing.Size(37, 13); this.label25.TabIndex = 32; this.label25.Text = "Mode:"; //