From c5dcebe57a0976cd8061a5a1cd31e45e5d171e1e Mon Sep 17 00:00:00 2001 From: Lwmte <3331699+Lwmte@users.noreply.github.com> Date: Sun, 24 May 2026 13:17:20 +0200 Subject: [PATCH 1/8] WIP --- TombLib/TombLib/Wad/Wad2.cs | 193 +++++++++++++++++++++-------- TombLib/TombLib/Wad/WadMesh.cs | 177 ++++++++++++++++++-------- WadTool/Forms/FormMain.Designer.cs | 13 +- WadTool/Forms/FormMain.cs | 6 + WadTool/WadActions.cs | 40 ++++++ 5 files changed, 321 insertions(+), 108 deletions(-) diff --git a/TombLib/TombLib/Wad/Wad2.cs b/TombLib/TombLib/Wad/Wad2.cs index 9e729b6fda..3edd0278fc 100644 --- a/TombLib/TombLib/Wad/Wad2.cs +++ b/TombLib/TombLib/Wad/Wad2.cs @@ -267,84 +267,167 @@ public void MergeSimilarTextures(WadMesh mesh) new FileFormat("Tomb Raider Chronicles level", "trc") }; - public static List PackTexturesForExport(Dictionary texturesToPack, int padding) + private class PackedTexturePlacement + { + public WadTexture.AtlasReference TextureReference { get; set; } + public VectorInt2 Position { get; set; } + public int PaddingX { get; set; } + public int PaddingY { get; set; } + } + + private class PackedTexturePage + { + public int Scale { get; set; } + public List Placements { get; } = new List(); + } + + public static List PackTexturesForExport(Dictionary texturesToPack, int padding, int texturePageSize) { var textures = new List(); - var scale = 256; + var scale = Math.Clamp(texturePageSize, 1, 2048); - var packer = new RectPackerTree(new TombLib.VectorInt2(scale, scale)); - var atlas = new WadTexture(ImageC.CreateNew(scale, scale)); - atlas.Image.Fill(new ColorC(0, 0, 0, 0)); - textures.Add(atlas); + var remainingTextures = texturesToPack.Values.ToList(); - for (int i = 0; i < texturesToPack.Count; i++) + while (remainingTextures.Count > 0) + { + var page = PackTexturePage(remainingTextures, padding, scale); + if (page == null || page.Placements.Count == 0) + throw new InvalidOperationException("Unable to pack textures into the requested export page size."); + + var atlas = new WadTexture(ImageC.CreateNew(page.Scale, page.Scale)); + atlas.Image.Fill(new ColorC(0, 0, 0, 0)); + + foreach (var placement in page.Placements) + { + DrawTextureToAtlas(atlas, placement); + + placement.TextureReference.Position = new VectorInt2( + placement.Position.X + placement.PaddingX, + placement.Position.Y + placement.PaddingY); + placement.TextureReference.Atlas = textures.Count; + } + + textures.Add(atlas); + remainingTextures.RemoveRange(0, page.Placements.Count); + } + + return textures; + } + + private static PackedTexturePage PackTexturePage(IReadOnlyList texturesToPack, int padding, int maxScale) + { + PackedTexturePage bestPage = null; + + foreach (var candidateScale in GetCandidateScales(maxScale)) { - var textureRef = texturesToPack.ElementAt(i).Value; + var candidatePage = TryPackTexturePage(texturesToPack, padding, candidateScale); + if (candidatePage.Placements.Count == 0) + continue; + + if (bestPage == null || + candidatePage.Placements.Count > bestPage.Placements.Count || + (candidatePage.Placements.Count == bestPage.Placements.Count && candidatePage.Scale < bestPage.Scale)) + bestPage = candidatePage; + } - int paddingX = padding; - if (textureRef.Texture.Image.Width + 2 * paddingX >= scale) - paddingX = (int)Math.Floor((float)(scale - textureRef.Texture.Image.Width) / 2); - int paddingY = padding; - if (textureRef.Texture.Image.Height + 2 * paddingY >= scale) - paddingY = (int)Math.Floor((float)(scale - textureRef.Texture.Image.Height) / 2); + return bestPage; + } - VectorInt2 size = textureRef.Texture.Image.Size + new VectorInt2(paddingX * 2, paddingY * 2); + private static PackedTexturePage TryPackTexturePage(IReadOnlyList texturesToPack, int padding, int scale) + { + var page = new PackedTexturePage { Scale = scale }; + var packer = new RectPackerTree(new VectorInt2(scale, scale)); + for (int i = 0; i < texturesToPack.Count; i++) + { + var textureRef = texturesToPack[i]; + var size = GetPaddedTextureSize(textureRef.Texture, padding, scale, out int paddingX, out int paddingY); var result = packer.TryAdd(size); if (!result.HasValue) + break; + + page.Placements.Add(new PackedTexturePlacement { - atlas = new WadTexture(ImageC.CreateNew(scale, scale)); - atlas.Image.Fill(new ColorC(0, 0, 0, 0)); - textures.Add(atlas); - packer = new RectPackerTree(new TombLib.VectorInt2(scale, scale)); - result = packer.TryAdd(size); - } + TextureReference = textureRef, + Position = result.Value, + PaddingX = paddingX, + PaddingY = paddingY + }); + } - // West - for (int p = 0; p < paddingX; p++) - atlas.Image.CopyFrom(result.Value.X + p, result.Value.Y + paddingY, textureRef.Texture.Image, 0, 0, 1, textureRef.Texture.Image.Height); + return page; + } - // East - for (int p = 0; p < paddingX; p++) - atlas.Image.CopyFrom(result.Value.X + paddingX + textureRef.Texture.Image.Width + p, result.Value.Y + paddingY, textureRef.Texture.Image, textureRef.Texture.Image.Width - 1, 0, 1, textureRef.Texture.Image.Height); + private static VectorInt2 GetPaddedTextureSize(WadTexture texture, int padding, int scale, out int paddingX, out int paddingY) + { + paddingX = padding; + if (texture.Image.Width + 2 * paddingX >= scale) + paddingX = Math.Max(0, (int)Math.Floor((float)(scale - texture.Image.Width) / 2)); - // North - for (int p = 0; p < paddingY; p++) - atlas.Image.CopyFrom(result.Value.X + paddingX, result.Value.Y + p, textureRef.Texture.Image, 0, 0, textureRef.Texture.Image.Width, 1); + paddingY = padding; + if (texture.Image.Height + 2 * paddingY >= scale) + paddingY = Math.Max(0, (int)Math.Floor((float)(scale - texture.Image.Height) / 2)); - // South - for (int p = 0; p < paddingY; p++) - atlas.Image.CopyFrom(result.Value.X + paddingX, result.Value.Y + paddingY + textureRef.Texture.Image.Height + p, textureRef.Texture.Image, 0, textureRef.Texture.Image.Height - 1, textureRef.Texture.Image.Width, 1); + return texture.Image.Size + new VectorInt2(paddingX * 2, paddingY * 2); + } - // Corners - var color = textureRef.Texture.Image.GetPixel(0, 0); - for (int px = 0; px < paddingX; px++) - for (int py = 0; py < paddingY; py++) - atlas.Image.SetPixel(result.Value.X + px, result.Value.Y + py, color); + private static IEnumerable GetCandidateScales(int maxScale) + { + yield return maxScale; - color = textureRef.Texture.Image.GetPixel(textureRef.Texture.Image.Width - 1, 0); - for (int px = 0; px < paddingX; px++) - for (int py = 0; py < paddingY; py++) - atlas.Image.SetPixel(result.Value.X + textureRef.Texture.Image.Width + paddingX + px, result.Value.Y + py, color); + for (int candidateScale = GetPreviousPowerOfTwo(maxScale); candidateScale > 0; candidateScale /= 2) + if (candidateScale != maxScale) + yield return candidateScale; + } - color = textureRef.Texture.Image.GetPixel(textureRef.Texture.Image.Width - 1, textureRef.Texture.Image.Height - 1); - for (int px = 0; px < paddingX; px++) - for (int py = 0; py < paddingY; py++) - atlas.Image.SetPixel(result.Value.X + textureRef.Texture.Image.Width + paddingX + px, result.Value.Y + textureRef.Texture.Image.Height + paddingY + py, color); + private static int GetPreviousPowerOfTwo(int value) + { + int result = 1; - color = textureRef.Texture.Image.GetPixel(0, textureRef.Texture.Image.Height - 1); - for (int px = 0; px < paddingX; px++) - for (int py = 0; py < paddingY; py++) - atlas.Image.SetPixel(result.Value.X + px, result.Value.Y + textureRef.Texture.Image.Height + paddingY + py, color); + while (result <= value / 2) + result *= 2; - atlas.Image.CopyFrom(result.Value.X + paddingX, result.Value.Y + paddingY, textureRef.Texture.Image); + return result; + } - textureRef.Position = new TombLib.VectorInt2(result.Value.X + paddingX, result.Value.Y + paddingY); - textureRef.Atlas = textures.Count - 1; - } + private static void DrawTextureToAtlas(WadTexture atlas, PackedTexturePlacement placement) + { + var texture = placement.TextureReference.Texture; - return textures; + for (int p = 0; p < placement.PaddingX; p++) + atlas.Image.CopyFrom(placement.Position.X + p, placement.Position.Y + placement.PaddingY, texture.Image, 0, 0, 1, texture.Image.Height); + + for (int p = 0; p < placement.PaddingX; p++) + atlas.Image.CopyFrom(placement.Position.X + placement.PaddingX + texture.Image.Width + p, placement.Position.Y + placement.PaddingY, texture.Image, texture.Image.Width - 1, 0, 1, texture.Image.Height); + + for (int p = 0; p < placement.PaddingY; p++) + atlas.Image.CopyFrom(placement.Position.X + placement.PaddingX, placement.Position.Y + p, texture.Image, 0, 0, texture.Image.Width, 1); + + for (int p = 0; p < placement.PaddingY; p++) + atlas.Image.CopyFrom(placement.Position.X + placement.PaddingX, placement.Position.Y + placement.PaddingY + texture.Image.Height + p, texture.Image, 0, texture.Image.Height - 1, texture.Image.Width, 1); + + var color = texture.Image.GetPixel(0, 0); + for (int px = 0; px < placement.PaddingX; px++) + for (int py = 0; py < placement.PaddingY; py++) + atlas.Image.SetPixel(placement.Position.X + px, placement.Position.Y + py, color); + + color = texture.Image.GetPixel(texture.Image.Width - 1, 0); + for (int px = 0; px < placement.PaddingX; px++) + for (int py = 0; py < placement.PaddingY; py++) + atlas.Image.SetPixel(placement.Position.X + texture.Image.Width + placement.PaddingX + px, placement.Position.Y + py, color); + + color = texture.Image.GetPixel(texture.Image.Width - 1, texture.Image.Height - 1); + for (int px = 0; px < placement.PaddingX; px++) + for (int py = 0; py < placement.PaddingY; py++) + atlas.Image.SetPixel(placement.Position.X + texture.Image.Width + placement.PaddingX + px, placement.Position.Y + texture.Image.Height + placement.PaddingY + py, color); + + color = texture.Image.GetPixel(0, texture.Image.Height - 1); + for (int px = 0; px < placement.PaddingX; px++) + for (int py = 0; py < placement.PaddingY; py++) + atlas.Image.SetPixel(placement.Position.X + px, placement.Position.Y + texture.Image.Height + placement.PaddingY + py, color); + + atlas.Image.CopyFrom(placement.Position.X + placement.PaddingX, placement.Position.Y + placement.PaddingY, texture.Image); } } } diff --git a/TombLib/TombLib/Wad/WadMesh.cs b/TombLib/TombLib/Wad/WadMesh.cs index ca712fd5d8..3e35c7932c 100644 --- a/TombLib/TombLib/Wad/WadMesh.cs +++ b/TombLib/TombLib/Wad/WadMesh.cs @@ -282,84 +282,157 @@ public static WadMesh ImportFromExternalModel(string fileName, IOGeometrySetting return null; } - public static IOModel PrepareForExport(string filePath, IOGeometrySettings settings, WadMesh m) + private class TexturePackingResult { - var model = new IOModel(); - var mesh = new IOMesh(m.Name); - model.Meshes.Add(mesh); + public List Meshes { get; } = new List(); + public Dictionary TextureReferences { get; } = new Dictionary(); + public List Pages { get; set; } = new List(); + public bool MergeIntoPages { get; set; } + } + + public static bool ConsolidateTextures(IReadOnlyList meshes, int padding, int texturePageSize) + { + if (meshes == null) + return false; + + var targetMeshes = meshes.Where(mesh => mesh != null).ToList(); + if (targetMeshes.Count == 0 || targetMeshes.All(mesh => mesh.Polys.Count == 0)) + return false; + + var packingResult = PrepareTexturePacking(targetMeshes, true, padding, texturePageSize); + if (!packingResult.MergeIntoPages) + return false; + + ApplyTexturePacking(targetMeshes, packingResult, texturePageSize); + return true; + } + + private static TexturePackingResult PrepareTexturePacking(IReadOnlyList meshes, bool cropTextures, int padding, int texturePageSize) + { + texturePageSize = Math.Clamp(texturePageSize, 1, 2048); + + var result = new TexturePackingResult(); + + for (int i = 0; i < meshes.Count; i++) + result.Meshes.Add(meshes[i].Clone()); + + if (cropTextures) + CropTextures(result.Meshes); - if (settings.PackTextures) + var textures = CollectTextures(result.Meshes); + foreach (var texture in textures) { - m = m.Clone(); - for (int i = 0; i < m.Polys.Count; i++) + result.TextureReferences.Add(texture.Hash, new WadTexture.AtlasReference { - var p = m.Polys[i]; + Texture = texture + }); + } + + result.MergeIntoPages = cropTextures && result.Meshes.SelectMany(mesh => mesh.Polys).All(poly => + poly.Texture.Texture.Image.Size.X <= texturePageSize && + poly.Texture.Texture.Image.Size.Y <= texturePageSize); + + result.Pages = result.MergeIntoPages + ? Wad2.PackTexturesForExport(result.TextureReferences, padding, texturePageSize) + : textures; + + result.Pages = result.Pages.Where(page => page.Image.Width > 0 && page.Image.Height > 0).ToList(); + return result; + } + + private static void CropTextures(IReadOnlyList meshes) + { + for (int meshIndex = 0; meshIndex < meshes.Count; meshIndex++) + { + var mesh = meshes[meshIndex]; - var rect = p.Texture.GetRect(); + for (int polyIndex = 0; polyIndex < mesh.Polys.Count; polyIndex++) + { + var poly = mesh.Polys[polyIndex]; + var rect = poly.Texture.GetRect().Round(); var image = ImageC.CreateNew((int)Math.Clamp(rect.Width, 1, int.MaxValue), (int)Math.Clamp(rect.Height, 1, int.MaxValue)); - image.CopyFrom(0, 0, p.Texture.Texture.Image, (int)rect.TopLeft.X, (int)rect.TopLeft.Y, image.Width, image.Height); + image.CopyFrom(0, 0, poly.Texture.Texture.Image, (int)rect.Start.X, (int)rect.Start.Y, image.Width, image.Height); - var texture = p.Texture; + var texture = poly.Texture; texture.Texture = new WadTexture(image); texture.TexCoord0 -= rect.Start; texture.TexCoord1 -= rect.Start; texture.TexCoord2 -= rect.Start; texture.TexCoord3 -= rect.Start; - p.Texture = texture; - m.Polys[i] = p; + poly.Texture = texture; + mesh.Polys[polyIndex] = poly; } } + } - // Collect all textures - var tempTextures = new Dictionary(); - for (int i = 0; i < m.Polys.Count; i++) + private static List CollectTextures(IReadOnlyList meshes) + { + var textures = new Dictionary(); + + for (int meshIndex = 0; meshIndex < meshes.Count; meshIndex++) { - var poly = m.Polys[i]; + var mesh = meshes[meshIndex]; - // Add uniquely the texture to the dictionary - if (!tempTextures.ContainsKey(((WadTexture)poly.Texture.Texture).Hash)) - tempTextures.Add(((WadTexture)poly.Texture.Texture).Hash, ((WadTexture)poly.Texture.Texture)); + for (int polyIndex = 0; polyIndex < mesh.Polys.Count; polyIndex++) + { + var texture = (WadTexture)mesh.Polys[polyIndex].Texture.Texture; + if (!textures.ContainsKey(texture.Hash)) + textures.Add(texture.Hash, texture); + } } - var textureList = tempTextures.Values.ToList(); - textureList.Sort(delegate (WadTexture x, WadTexture y) - { - if (x.Image.Width > y.Image.Width) - return -1; - else if (x.Image.Width < y.Image.Width) - return 1; - return 0; - }); - - var texturePieces = new Dictionary(); - foreach (var texture in textureList) + var textureList = textures.Values.ToList(); + textureList.Sort((x, y) => y.Image.Width.CompareTo(x.Image.Width)); + return textureList; + } + + private static void ApplyTexturePacking(IReadOnlyList meshes, TexturePackingResult packingResult, int texturePageSize) + { + texturePageSize = Math.Clamp(texturePageSize, 1, 2048); + + for (int meshIndex = 0; meshIndex < meshes.Count; meshIndex++) { - texturePieces.Add(texture.Hash, new WadTexture.AtlasReference + var targetMesh = meshes[meshIndex]; + var sourceMesh = packingResult.Meshes[meshIndex]; + + for (int polyIndex = 0; polyIndex < targetMesh.Polys.Count; polyIndex++) { - Texture = texture - }); + var sourcePoly = sourceMesh.Polys[polyIndex]; + var packedTexture = packingResult.TextureReferences[((WadTexture)sourcePoly.Texture.Texture).Hash]; + var targetPoly = targetMesh.Polys[polyIndex]; + var texture = sourcePoly.Texture; + var offset = new Vector2(Math.Max(0.0f, packedTexture.Position.X), Math.Max(0.0f, packedTexture.Position.Y)); + + texture.Texture = packingResult.Pages[packedTexture.Atlas]; + texture.TexCoord0 += offset; + texture.TexCoord1 += offset; + texture.TexCoord2 += offset; + texture.TexCoord3 += offset; + + if (targetPoly.Texture.ParentArea.IsZero) + texture.ClearParentArea(); + else + texture.SetParentArea(texturePageSize); + + targetPoly.Texture = texture; + targetMesh.Polys[polyIndex] = targetPoly; + } } + } - // Only merge textures into pages if all of them are no more than 256px in dimensions, - // otherwise algorithm may fail. - - // FIXME Monty: modify algorithm in a way that it looks into every poly's texture area zone - // for comparison, not just bluntly hash whole image. This way algorithm will never get - // to a point when incoming texture fragment is bigger than 256. - - bool mergeIntoPages = settings.PackTextures && - m.Polys.All(p => p.Texture.Texture.Image.Size.X <= 256 && - p.Texture.Texture.Image.Size.Y <= 256); - List pages; + public static IOModel PrepareForExport(string filePath, IOGeometrySettings settings, WadMesh m) + { + var model = new IOModel(); + var mesh = new IOMesh(m.Name); + model.Meshes.Add(mesh); - if (mergeIntoPages) - pages = Wad2.PackTexturesForExport(texturePieces, settings.PadPackedTextures ? 4 : 0); - else - pages = tempTextures.Values.ToList(); + var packingResult = PrepareTexturePacking(new[] { m }, settings.PackTextures, settings.PadPackedTextures ? 4 : 0, 256); + m = packingResult.Meshes[0]; - // Clean up incorrect textures - pages = pages.Where(p => p.Image.Width > 0 && p.Image.Height > 0).ToList(); + var texturePieces = packingResult.TextureReferences; + var mergeIntoPages = packingResult.MergeIntoPages; + var pages = packingResult.Pages; var name = string.IsNullOrEmpty(mesh.Name) ? "UntitledMesh" : mesh.Name; diff --git a/WadTool/Forms/FormMain.Designer.cs b/WadTool/Forms/FormMain.Designer.cs index 1531bf13cf..e4841d1a6f 100644 --- a/WadTool/Forms/FormMain.Designer.cs +++ b/WadTool/Forms/FormMain.Designer.cs @@ -43,6 +43,7 @@ private void InitializeComponent() texturesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); convertToTiledToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); convertToUVMappedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + consolidateTexturesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); animatedTexturesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); meshEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -361,7 +362,7 @@ private void InitializeComponent() // texturesToolStripMenuItem // texturesToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(60, 63, 65); - texturesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { convertToTiledToolStripMenuItem, convertToUVMappedToolStripMenuItem }); + texturesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { convertToTiledToolStripMenuItem, convertToUVMappedToolStripMenuItem, consolidateTexturesToolStripMenuItem }); texturesToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); texturesToolStripMenuItem.Name = "texturesToolStripMenuItem"; texturesToolStripMenuItem.Size = new System.Drawing.Size(118, 22); @@ -385,6 +386,15 @@ private void InitializeComponent() convertToUVMappedToolStripMenuItem.Text = "Convert to UV-mapped"; convertToUVMappedToolStripMenuItem.Click += convertToUVMappedToolStripMenuItem_Click; // + // consolidateTexturesToolStripMenuItem + // + consolidateTexturesToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(60, 63, 65); + consolidateTexturesToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + consolidateTexturesToolStripMenuItem.Name = "consolidateTexturesToolStripMenuItem"; + consolidateTexturesToolStripMenuItem.Size = new System.Drawing.Size(197, 22); + consolidateTexturesToolStripMenuItem.Text = "Consolidate textures"; + consolidateTexturesToolStripMenuItem.Click += consolidateTexturesToolStripMenuItem_Click; + // // optionsToolStripMenuItem // optionsToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(60, 63, 65); @@ -1241,6 +1251,7 @@ private void InitializeComponent() private System.Windows.Forms.ToolStripMenuItem texturesToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem convertToUVMappedToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem convertToTiledToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem consolidateTexturesToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem animatedTexturesToolStripMenuItem; private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; } diff --git a/WadTool/Forms/FormMain.cs b/WadTool/Forms/FormMain.cs index 59aedd990d..2cb7a7ca0b 100644 --- a/WadTool/Forms/FormMain.cs +++ b/WadTool/Forms/FormMain.cs @@ -324,6 +324,7 @@ private void treeDestWad_SelectedWadObjectIdsChanged(object sender, EventArgs e) treeDestWad.ContextMenuStrip = null; // Update menus + consolidateTexturesToolStripMenuItem.Enabled = convertSelectionToDynamicLightingToolStripMenuItem.Enabled = convertSelectionToStaticLightingToolStripMenuItem.Enabled = convertToUVMappedToolStripMenuItem.Enabled = @@ -693,6 +694,11 @@ private void convertToTiledToolStripMenuItem_Click(object sender, EventArgs e) WadActions.ConvertSelectedObjectUVMapping(_tool, this, treeDestWad.SelectedWadObjectIds.ToList(), false); } + private void consolidateTexturesToolStripMenuItem_Click(object sender, EventArgs e) + { + WadActions.ConsolidateSelectedObjectTextures(_tool, this, treeDestWad.SelectedWadObjectIds.ToList()); + } + private void animatedTexturesToolStripMenuItem_Click(object sender, EventArgs e) { if (_tool.DestinationWad == null) diff --git a/WadTool/WadActions.cs b/WadTool/WadActions.cs index a9515bd6fa..bc66501d8c 100644 --- a/WadTool/WadActions.cs +++ b/WadTool/WadActions.cs @@ -742,6 +742,46 @@ public static void ConvertSelectedObjectLighting(WadToolClass tool, IWin32Window tool.SendMessage(counter + " mesh" + (counter > 1 ? "es were" : " was") + " converted to specified light model.", PopupType.Info); } + public static void ConsolidateSelectedObjectTextures(WadToolClass tool, IWin32Window owner, List objects) + { + if (objects == null || objects.Count == 0 || tool.MainSelection?.WadArea == WadArea.Source) + { + tool.SendMessage("You must have at least one object selected and it must be in the destination wad.\nNothing was done.", PopupType.Info); + return; + } + + const int texturePageSize = 2048; + + int counter = 0; + + foreach (var o in objects) + { + var obj = tool.DestinationWad.TryGet(o); + if (obj == null) + continue; + + if (obj is WadMoveable moveable) + { + if (WadMesh.ConsolidateTextures(moveable.Meshes.Where(mesh => mesh != null).ToList(), 0, texturePageSize)) + counter++; + } + else if (obj is WadStatic @static) + { + if (@static.Mesh != null && WadMesh.ConsolidateTextures(new List { @static.Mesh }, 0, texturePageSize)) + counter++; + } + } + + if (counter == 0) + { + tool.SendMessage("There was no packable mesh data in selected objects.\nNothing was done.", PopupType.Info); + return; + } + + tool.WadChanged(WadArea.Destination); + tool.SendMessage(counter + " object" + (counter > 1 ? "s were" : " was") + " consolidated into texture pages.", PopupType.Info); + } + public static List CopyObject(WadToolClass tool, IWin32Window owner, List objectIdsToMove, bool alwaysChooseId) { Wad2 sourceWad = tool.SourceWad; From ce1b49e418c180975582b96e1181175d442eaa53 Mon Sep 17 00:00:00 2001 From: Lwmte <3331699+Lwmte@users.noreply.github.com> Date: Fri, 29 May 2026 08:53:58 +0200 Subject: [PATCH 2/8] Fixed dangling memory issues, added changelog --- Installer/Changes.txt | 1 + TombLib/TombLib/Wad/Wad2.cs | 27 ++++++++++++++------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Installer/Changes.txt b/Installer/Changes.txt index 4c53eab2de..ebae680ee2 100644 --- a/Installer/Changes.txt +++ b/Installer/Changes.txt @@ -13,6 +13,7 @@ Tomb Editor: * Added multiple window layout support. WadTool: + * Added an option to consolidate textures for an object into a single page. * Added missing TR2 henchman death sound (ID 838) and appropriate TR2 -> TEN conversion. TEN nodes: diff --git a/TombLib/TombLib/Wad/Wad2.cs b/TombLib/TombLib/Wad/Wad2.cs index 3edd0278fc..46468179d6 100644 --- a/TombLib/TombLib/Wad/Wad2.cs +++ b/TombLib/TombLib/Wad/Wad2.cs @@ -294,12 +294,12 @@ public static List PackTexturesForExport(Dictionary PackTexturesForExport(Dictionary Date: Fri, 29 May 2026 09:03:32 +0200 Subject: [PATCH 3/8] Update Wad2.cs --- TombLib/TombLib/Wad/Wad2.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/TombLib/TombLib/Wad/Wad2.cs b/TombLib/TombLib/Wad/Wad2.cs index 46468179d6..00ba4b63cc 100644 --- a/TombLib/TombLib/Wad/Wad2.cs +++ b/TombLib/TombLib/Wad/Wad2.cs @@ -300,10 +300,7 @@ public static List PackTexturesForExport(Dictionary Date: Sat, 30 May 2026 08:57:33 +0200 Subject: [PATCH 4/8] Address Copilot comments --- Installer/Changes.txt | 2 +- TombLib/TombLib/Wad/WadMesh.cs | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Installer/Changes.txt b/Installer/Changes.txt index ebae680ee2..56b2ed44b2 100644 --- a/Installer/Changes.txt +++ b/Installer/Changes.txt @@ -13,7 +13,7 @@ Tomb Editor: * Added multiple window layout support. WadTool: - * Added an option to consolidate textures for an object into a single page. + * Added an option to consolidate textures for an object into a single set of texture pages. * Added missing TR2 henchman death sound (ID 838) and appropriate TR2 -> TEN conversion. TEN nodes: diff --git a/TombLib/TombLib/Wad/WadMesh.cs b/TombLib/TombLib/Wad/WadMesh.cs index 3e35c7932c..69a231529e 100644 --- a/TombLib/TombLib/Wad/WadMesh.cs +++ b/TombLib/TombLib/Wad/WadMesh.cs @@ -350,8 +350,17 @@ private static void CropTextures(IReadOnlyList meshes) { var poly = mesh.Polys[polyIndex]; var rect = poly.Texture.GetRect().Round(); - var image = ImageC.CreateNew((int)Math.Clamp(rect.Width, 1, int.MaxValue), (int)Math.Clamp(rect.Height, 1, int.MaxValue)); - image.CopyFrom(0, 0, poly.Texture.Texture.Image, (int)rect.Start.X, (int)rect.Start.Y, image.Width, image.Height); + var sourceImage = poly.Texture.Texture.Image; + + int startX = (int)Math.Clamp(rect.Start.X, 0.0f, sourceImage.Width - 1.0f); + int startY = (int)Math.Clamp(rect.Start.Y, 0.0f, sourceImage.Height - 1.0f); + int endX = (int)Math.Clamp(rect.End.X, startX + 1.0f, (float)sourceImage.Width); + int endY = (int)Math.Clamp(rect.End.Y, startY + 1.0f, (float)sourceImage.Height); + + rect = new Rectangle2(startX, startY, endX, endY); + + var image = ImageC.CreateNew(Math.Max(1, endX - startX), Math.Max(1, endY - startY)); + image.CopyFrom(0, 0, sourceImage, startX, startY, image.Width, image.Height); var texture = poly.Texture; texture.Texture = new WadTexture(image); From 170e73d11f35268c9c8f3d9c58274e9873702bbc Mon Sep 17 00:00:00 2001 From: MontyTRC89 Date: Thu, 18 Jun 2026 15:17:16 +0200 Subject: [PATCH 5/8] Consolidate textures across all selected objects into shared pages Aggregate the meshes of every selected object into a single ConsolidateTextures pass instead of consolidating per object, so multi-object sets (e.g. Lara) share one set of texture pages and textures used by more than one object are packed only once instead of being duplicated per object. --- WadTool/WadActions.cs | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/WadTool/WadActions.cs b/WadTool/WadActions.cs index 897b8286ca..d87be49afa 100644 --- a/WadTool/WadActions.cs +++ b/WadTool/WadActions.cs @@ -744,6 +744,11 @@ public static void ConsolidateSelectedObjectTextures(WadToolClass tool, IWin32Wi const int texturePageSize = 2048; + // Gather the meshes from every selected object and consolidate them in a single pass, + // so all of them share one set of texture pages and a texture used by more than one + // object (e.g. across Lara's many meshes) is packed only once instead of being + // duplicated per object. + var meshes = new List(); int counter = 0; foreach (var o in objects) @@ -754,24 +759,31 @@ public static void ConsolidateSelectedObjectTextures(WadToolClass tool, IWin32Wi if (obj is WadMoveable moveable) { - if (WadMesh.ConsolidateTextures(moveable.Meshes.Where(mesh => mesh != null).ToList(), 0, texturePageSize)) + var moveableMeshes = moveable.Meshes.Where(mesh => mesh != null).ToList(); + if (moveableMeshes.Count > 0) + { + meshes.AddRange(moveableMeshes); counter++; + } } - else if (obj is WadStatic @static) + else if (obj is WadStatic @static && @static.Mesh != null) { - if (@static.Mesh != null && WadMesh.ConsolidateTextures(new List { @static.Mesh }, 0, texturePageSize)) - counter++; + meshes.Add(@static.Mesh); + counter++; } } - if (counter == 0) + // De-duplicate shared mesh instances so a mesh referenced by multiple objects is packed once. + meshes = meshes.Distinct().ToList(); + + if (!WadMesh.ConsolidateTextures(meshes, 0, texturePageSize)) { tool.SendMessage("There was no packable mesh data in selected objects.\nNothing was done.", PopupType.Info); return; } tool.WadChanged(WadArea.Destination); - tool.SendMessage(counter + " object" + (counter > 1 ? "s were" : " was") + " consolidated into texture pages.", PopupType.Info); + tool.SendMessage(counter + " object" + (counter > 1 ? "s were" : " was") + " consolidated into shared texture pages.", PopupType.Info); } public static List CopyObject(WadToolClass tool, IWin32Window owner, List objectIdsToMove, bool alwaysChooseId) From bc17a8d230055d1428f780600d01febe0259623d Mon Sep 17 00:00:00 2001 From: MontyTRC89 Date: Fri, 19 Jun 2026 09:05:47 +0200 Subject: [PATCH 6/8] WadTool: opt-in auto-consolidate textures when copying objects --- WadTool/Configuration.cs | 1 + WadTool/Forms/FormOptions.Designer.cs | 17 ++++++++- WadTool/WadActions.cs | 55 +++++++++++++++++---------- 3 files changed, 51 insertions(+), 22 deletions(-) diff --git a/WadTool/Configuration.cs b/WadTool/Configuration.cs index e01a2cc723..85508d94e1 100644 --- a/WadTool/Configuration.cs +++ b/WadTool/Configuration.cs @@ -13,6 +13,7 @@ public class Configuration : ConfigurationBase public bool Tool_AllowTRNGDecryption { get; set; } = false; public bool Tool_MakeEmptyWadAtStartup { get; set; } = false; + public bool Tool_AutoConsolidateTexturesOnCopy { get; set; } = false; public string Tool_ReferenceProject { get; set; } = string.Empty; public float UI_FormColor_Brightness { get; set; } = 100.0f; diff --git a/WadTool/Forms/FormOptions.Designer.cs b/WadTool/Forms/FormOptions.Designer.cs index 9dfb3f1132..8f0ccd43a1 100644 --- a/WadTool/Forms/FormOptions.Designer.cs +++ b/WadTool/Forms/FormOptions.Designer.cs @@ -57,6 +57,7 @@ private void InitializeComponent() this.darkLabel3 = new DarkUI.Controls.DarkLabel(); this.darkGroupBox2 = new DarkUI.Controls.DarkGroupBox(); this.darkCheckBox6 = new DarkUI.Controls.DarkCheckBox(); + this.cbAutoConsolidateTextures = new DarkUI.Controls.DarkCheckBox(); this.darkCheckBox4 = new DarkUI.Controls.DarkCheckBox(); this.darkCheckBox1 = new DarkUI.Controls.DarkCheckBox(); this.darkNumericUpDown39 = new DarkUI.Controls.DarkNumericUpDown(); @@ -514,12 +515,13 @@ private void InitializeComponent() this.darkGroupBox2.Controls.Add(this.darkCheckBox6); this.darkGroupBox2.Controls.Add(this.darkCheckBox4); this.darkGroupBox2.Controls.Add(this.darkCheckBox1); + this.darkGroupBox2.Controls.Add(this.cbAutoConsolidateTextures); this.darkGroupBox2.Controls.Add(this.darkNumericUpDown39); this.darkGroupBox2.Controls.Add(this.darkLabel67); this.darkGroupBox2.Dock = System.Windows.Forms.DockStyle.Top; this.darkGroupBox2.Location = new System.Drawing.Point(3, 0); this.darkGroupBox2.Name = "darkGroupBox2"; - this.darkGroupBox2.Size = new System.Drawing.Size(375, 119); + this.darkGroupBox2.Size = new System.Drawing.Size(375, 142); this.darkGroupBox2.TabIndex = 7; this.darkGroupBox2.TabStop = false; this.darkGroupBox2.Text = "Editing"; @@ -533,7 +535,17 @@ private void InitializeComponent() this.darkCheckBox6.TabIndex = 12; this.darkCheckBox6.Tag = "AnimationEditor_ClampStateChangeValues"; this.darkCheckBox6.Text = "Automatically bound state change editor values"; - // + // + // cbAutoConsolidateTextures + // + this.cbAutoConsolidateTextures.AutoSize = true; + this.cbAutoConsolidateTextures.Location = new System.Drawing.Point(6, 118); + this.cbAutoConsolidateTextures.Name = "cbAutoConsolidateTextures"; + this.cbAutoConsolidateTextures.Size = new System.Drawing.Size(280, 17); + this.cbAutoConsolidateTextures.TabIndex = 13; + this.cbAutoConsolidateTextures.Tag = "Tool_AutoConsolidateTexturesOnCopy"; + this.cbAutoConsolidateTextures.Text = "Auto-consolidate textures when copying objects"; + // // darkCheckBox4 // this.darkCheckBox4.AutoSize = true; @@ -1169,6 +1181,7 @@ private void InitializeComponent() private DarkUI.Controls.DarkPanel panel1; private DarkUI.Controls.DarkGroupBox darkGroupBox1; private DarkUI.Controls.DarkCheckBox darkCheckBox3; + private DarkUI.Controls.DarkCheckBox cbAutoConsolidateTextures; private DarkUI.Controls.DarkNumericUpDown darkNumericUpDown1; private DarkUI.Controls.DarkCheckBox cbEnableLogging; private DarkUI.Controls.DarkLabel darkLabel1; diff --git a/WadTool/WadActions.cs b/WadTool/WadActions.cs index d87be49afa..39c35f8a55 100644 --- a/WadTool/WadActions.cs +++ b/WadTool/WadActions.cs @@ -734,26 +734,22 @@ public static void ConvertSelectedObjectLighting(WadToolClass tool, IWin32Window tool.SendMessage(counter + " mesh" + (counter > 1 ? "es were" : " was") + " converted to specified light model.", PopupType.Info); } - public static void ConsolidateSelectedObjectTextures(WadToolClass tool, IWin32Window owner, List objects) + private const int ConsolidateTexturePageSize = 2048; + + /// + /// Gathers the distinct meshes of the given objects so their textures can be consolidated + /// in a single pass: all of them share one set of texture pages and a texture used by more + /// than one object (e.g. across Lara's many meshes) is packed only once instead of being + /// duplicated per object. + /// + private static List GatherObjectMeshes(Wad2 wad, IEnumerable objectIds, out int objectCount) { - if (objects == null || objects.Count == 0 || tool.MainSelection?.WadArea == WadArea.Source) - { - tool.SendMessage("You must have at least one object selected and it must be in the destination wad.\nNothing was done.", PopupType.Info); - return; - } - - const int texturePageSize = 2048; - - // Gather the meshes from every selected object and consolidate them in a single pass, - // so all of them share one set of texture pages and a texture used by more than one - // object (e.g. across Lara's many meshes) is packed only once instead of being - // duplicated per object. var meshes = new List(); - int counter = 0; + objectCount = 0; - foreach (var o in objects) + foreach (var o in objectIds) { - var obj = tool.DestinationWad.TryGet(o); + var obj = wad?.TryGet(o); if (obj == null) continue; @@ -763,20 +759,31 @@ public static void ConsolidateSelectedObjectTextures(WadToolClass tool, IWin32Wi if (moveableMeshes.Count > 0) { meshes.AddRange(moveableMeshes); - counter++; + objectCount++; } } else if (obj is WadStatic @static && @static.Mesh != null) { meshes.Add(@static.Mesh); - counter++; + objectCount++; } } // De-duplicate shared mesh instances so a mesh referenced by multiple objects is packed once. - meshes = meshes.Distinct().ToList(); + return meshes.Distinct().ToList(); + } - if (!WadMesh.ConsolidateTextures(meshes, 0, texturePageSize)) + public static void ConsolidateSelectedObjectTextures(WadToolClass tool, IWin32Window owner, List objects) + { + if (objects == null || objects.Count == 0 || tool.MainSelection?.WadArea == WadArea.Source) + { + tool.SendMessage("You must have at least one object selected and it must be in the destination wad.\nNothing was done.", PopupType.Info); + return; + } + + var meshes = GatherObjectMeshes(tool.DestinationWad, objects, out int counter); + + if (!WadMesh.ConsolidateTextures(meshes, 0, ConsolidateTexturePageSize)) { tool.SendMessage("There was no packable mesh data in selected objects.\nNothing was done.", PopupType.Info); return; @@ -961,6 +968,14 @@ public static List CopyObject(WadToolClass tool, IWin32Window owne destinationWad.Add(newIds[i], obj); } + // Optionally consolidate the just-copied objects' textures into shared pages, so + // textures coming out of legacy/TR files don't pile up as per-object duplicates. + if (tool.Configuration.Tool_AutoConsolidateTexturesOnCopy) + { + var copiedMeshes = GatherObjectMeshes(destinationWad, newIds, out _); + WadMesh.ConsolidateTextures(copiedMeshes, 0, ConsolidateTexturePageSize); + } + // Update the situation tool.WadChanged(WadArea.Destination); From 3001ec9908672cf08cee0aa27090c4070a542412 Mon Sep 17 00:00:00 2001 From: MontyTRC89 Date: Fri, 19 Jun 2026 17:45:12 +0200 Subject: [PATCH 7/8] TombEditor.Tests: fix FlybyFrameState.FromDegrees call with new DOF parameters --- TombEditor.Tests/FlybyTimeline/FlybyPreviewTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TombEditor.Tests/FlybyTimeline/FlybyPreviewTests.cs b/TombEditor.Tests/FlybyTimeline/FlybyPreviewTests.cs index d8db688c1e..afaa320cb1 100644 --- a/TombEditor.Tests/FlybyTimeline/FlybyPreviewTests.cs +++ b/TombEditor.Tests/FlybyTimeline/FlybyPreviewTests.cs @@ -117,8 +117,8 @@ public void BuildViewProjection_ClampsFieldOfViewBelowOneEightyDegrees() [TestMethod] public void FromDegrees_ClampsInvalidFieldOfViewIntoPreviewRange() { - var lowFrame = FlybyFrameState.FromDegrees(Vector3.Zero, 0.0f, 0.0f, 0.0f, -15.0f); - var highFrame = FlybyFrameState.FromDegrees(Vector3.Zero, 0.0f, 0.0f, 0.0f, 220.0f); + var lowFrame = FlybyFrameState.FromDegrees(Vector3.Zero, 0.0f, 0.0f, 0.0f, -15.0f, 0.0f, 0.0f, 0.0f, DofMode.None); + var highFrame = FlybyFrameState.FromDegrees(Vector3.Zero, 0.0f, 0.0f, 0.0f, 220.0f, 0.0f, 0.0f, 0.0f, DofMode.None); Assert.AreEqual(MathC.DegToRad(FlybyConstants.DefaultPreviewFieldOfViewDegrees), lowFrame.Fov, 0.001f); Assert.AreEqual(FlybyConstants.MaxPreviewFieldOfViewRadians, highFrame.Fov, 0.001f); From baf6162b9732e5b44019e1982da5c32b86ffe3ee Mon Sep 17 00:00:00 2001 From: TrainWrack <120750885+TrainWrack@users.noreply.github.com> Date: Thu, 2 Jul 2026 06:14:51 -0400 Subject: [PATCH 8/8] Adjust dialogue box --- WadTool/Forms/FormOptions.Designer.cs | 1669 +++++++++++-------------- WadTool/Forms/FormOptions.resx | 54 +- 2 files changed, 761 insertions(+), 962 deletions(-) diff --git a/WadTool/Forms/FormOptions.Designer.cs b/WadTool/Forms/FormOptions.Designer.cs index 8f0ccd43a1..2f5b790b1a 100644 --- a/WadTool/Forms/FormOptions.Designer.cs +++ b/WadTool/Forms/FormOptions.Designer.cs @@ -28,1150 +28,949 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.tabPage2 = new System.Windows.Forms.TabPage(); - this.tabSubPanel2 = new DarkUI.Controls.DarkPanel(); - this.panel1 = new DarkUI.Controls.DarkPanel(); - this.darkGroupBox1 = new DarkUI.Controls.DarkGroupBox(); - this.darkLabel1 = new DarkUI.Controls.DarkLabel(); - this.darkCheckBox3 = new DarkUI.Controls.DarkCheckBox(); - this.cbEnableLogging = new DarkUI.Controls.DarkCheckBox(); - this.darkNumericUpDown1 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkGroupBox3 = new DarkUI.Controls.DarkGroupBox(); - this.darkCheckBox5 = new DarkUI.Controls.DarkCheckBox(); - this.darkLabel73 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown42 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel72 = new DarkUI.Controls.DarkLabel(); - this.darkCheckBox2 = new DarkUI.Controls.DarkCheckBox(); - this.darkLabel61 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown6 = new DarkUI.Controls.DarkNumericUpDown(); - this.panelColorSelector0 = new DarkUI.Controls.DarkPanel(); - this.darkLabel7 = new DarkUI.Controls.DarkLabel(); - this.darkCheckBox26 = new DarkUI.Controls.DarkCheckBox(); - this.darkNumericUpDown5 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel6 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown4 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel5 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown3 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkNumericUpDown2 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel4 = new DarkUI.Controls.DarkLabel(); - this.darkLabel3 = new DarkUI.Controls.DarkLabel(); - this.darkGroupBox2 = new DarkUI.Controls.DarkGroupBox(); - this.darkCheckBox6 = new DarkUI.Controls.DarkCheckBox(); - this.cbAutoConsolidateTextures = new DarkUI.Controls.DarkCheckBox(); - this.darkCheckBox4 = new DarkUI.Controls.DarkCheckBox(); - this.darkCheckBox1 = new DarkUI.Controls.DarkCheckBox(); - this.darkNumericUpDown39 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel67 = new DarkUI.Controls.DarkLabel(); - this.darkLabel2 = new DarkUI.Controls.DarkLabel(); - this.tabPage5 = new System.Windows.Forms.TabPage(); - this.darkGroupBox11 = new DarkUI.Controls.DarkGroupBox(); - this.darkNumericUpDown24 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel26 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown25 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkNumericUpDown26 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel27 = new DarkUI.Controls.DarkLabel(); - this.darkLabel28 = new DarkUI.Controls.DarkLabel(); - this.darkLabel29 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown27 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkNumericUpDown28 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel30 = new DarkUI.Controls.DarkLabel(); - this.darkGroupBox10 = new DarkUI.Controls.DarkGroupBox(); - this.darkNumericUpDown16 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel18 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown17 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkNumericUpDown18 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel19 = new DarkUI.Controls.DarkLabel(); - this.darkLabel20 = new DarkUI.Controls.DarkLabel(); - this.darkLabel21 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown19 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkNumericUpDown23 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel25 = new DarkUI.Controls.DarkLabel(); - this.darkGroupBox7 = new DarkUI.Controls.DarkGroupBox(); - this.darkNumericUpDown33 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel39 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown32 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkNumericUpDown36 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel35 = new DarkUI.Controls.DarkLabel(); - this.darkLabel38 = new DarkUI.Controls.DarkLabel(); - this.darkLabel36 = new DarkUI.Controls.DarkLabel(); - this.darkNumericUpDown35 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkNumericUpDown34 = new DarkUI.Controls.DarkNumericUpDown(); - this.darkLabel37 = new DarkUI.Controls.DarkLabel(); - this.tabbedContainer.SuspendLayout(); - this.tabPage2.SuspendLayout(); - this.tabSubPanel2.SuspendLayout(); - this.panel1.SuspendLayout(); - this.darkGroupBox1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown1)).BeginInit(); - this.darkGroupBox3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown42)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown6)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown2)).BeginInit(); - this.darkGroupBox2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown39)).BeginInit(); - this.tabPage5.SuspendLayout(); - this.darkGroupBox11.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown24)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown25)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown26)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown27)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown28)).BeginInit(); - this.darkGroupBox10.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown16)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown17)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown18)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown19)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown23)).BeginInit(); - this.darkGroupBox7.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown33)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown32)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown36)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown35)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown34)).BeginInit(); - this.SuspendLayout(); + tabPage2 = new System.Windows.Forms.TabPage(); + tabSubPanel2 = new DarkUI.Controls.DarkPanel(); + panel1 = new DarkUI.Controls.DarkPanel(); + darkGroupBox1 = new DarkUI.Controls.DarkGroupBox(); + darkLabel1 = new DarkUI.Controls.DarkLabel(); + darkCheckBox3 = new DarkUI.Controls.DarkCheckBox(); + cbEnableLogging = new DarkUI.Controls.DarkCheckBox(); + darkNumericUpDown1 = new DarkUI.Controls.DarkNumericUpDown(); + darkGroupBox3 = new DarkUI.Controls.DarkGroupBox(); + darkCheckBox5 = new DarkUI.Controls.DarkCheckBox(); + darkLabel73 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown42 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel72 = new DarkUI.Controls.DarkLabel(); + darkCheckBox2 = new DarkUI.Controls.DarkCheckBox(); + darkLabel61 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown6 = new DarkUI.Controls.DarkNumericUpDown(); + panelColorSelector0 = new DarkUI.Controls.DarkPanel(); + darkLabel7 = new DarkUI.Controls.DarkLabel(); + darkCheckBox26 = new DarkUI.Controls.DarkCheckBox(); + darkNumericUpDown5 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel6 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown4 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel5 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown3 = new DarkUI.Controls.DarkNumericUpDown(); + darkNumericUpDown2 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel4 = new DarkUI.Controls.DarkLabel(); + darkLabel3 = new DarkUI.Controls.DarkLabel(); + darkGroupBox2 = new DarkUI.Controls.DarkGroupBox(); + darkCheckBox6 = new DarkUI.Controls.DarkCheckBox(); + darkCheckBox4 = new DarkUI.Controls.DarkCheckBox(); + darkCheckBox1 = new DarkUI.Controls.DarkCheckBox(); + cbAutoConsolidateTextures = new DarkUI.Controls.DarkCheckBox(); + darkNumericUpDown39 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel67 = new DarkUI.Controls.DarkLabel(); + darkLabel2 = new DarkUI.Controls.DarkLabel(); + tabPage5 = new System.Windows.Forms.TabPage(); + darkGroupBox11 = new DarkUI.Controls.DarkGroupBox(); + darkNumericUpDown24 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel26 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown25 = new DarkUI.Controls.DarkNumericUpDown(); + darkNumericUpDown26 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel27 = new DarkUI.Controls.DarkLabel(); + darkLabel28 = new DarkUI.Controls.DarkLabel(); + darkLabel29 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown27 = new DarkUI.Controls.DarkNumericUpDown(); + darkNumericUpDown28 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel30 = new DarkUI.Controls.DarkLabel(); + darkGroupBox10 = new DarkUI.Controls.DarkGroupBox(); + darkNumericUpDown16 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel18 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown17 = new DarkUI.Controls.DarkNumericUpDown(); + darkNumericUpDown18 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel19 = new DarkUI.Controls.DarkLabel(); + darkLabel20 = new DarkUI.Controls.DarkLabel(); + darkLabel21 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown19 = new DarkUI.Controls.DarkNumericUpDown(); + darkNumericUpDown23 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel25 = new DarkUI.Controls.DarkLabel(); + darkGroupBox7 = new DarkUI.Controls.DarkGroupBox(); + darkNumericUpDown33 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel39 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown32 = new DarkUI.Controls.DarkNumericUpDown(); + darkNumericUpDown36 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel35 = new DarkUI.Controls.DarkLabel(); + darkLabel38 = new DarkUI.Controls.DarkLabel(); + darkLabel36 = new DarkUI.Controls.DarkLabel(); + darkNumericUpDown35 = new DarkUI.Controls.DarkNumericUpDown(); + darkNumericUpDown34 = new DarkUI.Controls.DarkNumericUpDown(); + darkLabel37 = new DarkUI.Controls.DarkLabel(); + tabbedContainer.SuspendLayout(); + tabPage2.SuspendLayout(); + tabSubPanel2.SuspendLayout(); + panel1.SuspendLayout(); + darkGroupBox1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown1).BeginInit(); + darkGroupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown42).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown6).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown5).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown4).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown3).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown2).BeginInit(); + darkGroupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown39).BeginInit(); + tabPage5.SuspendLayout(); + darkGroupBox11.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown24).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown25).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown26).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown27).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown28).BeginInit(); + darkGroupBox10.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown16).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown17).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown18).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown19).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown23).BeginInit(); + darkGroupBox7.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown33).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown32).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown36).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown35).BeginInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown34).BeginInit(); + SuspendLayout(); // // tabbedContainer // - this.tabbedContainer.Controls.Add(this.tabPage2); - this.tabbedContainer.Controls.Add(this.tabPage5); - this.tabbedContainer.Size = new System.Drawing.Size(395, 556); + tabbedContainer.Controls.Add(tabPage2); + tabbedContainer.Controls.Add(tabPage5); + tabbedContainer.Size = new System.Drawing.Size(395, 556); // // tabPage2 // - this.tabPage2.AutoScroll = true; - this.tabPage2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65))))); - this.tabPage2.Controls.Add(this.tabSubPanel2); - this.tabPage2.Controls.Add(this.darkLabel2); - 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(387, 530); - this.tabPage2.TabIndex = 10; - this.tabPage2.Text = "General"; + tabPage2.AutoScroll = true; + tabPage2.BackColor = System.Drawing.Color.FromArgb(60, 63, 65); + tabPage2.Controls.Add(tabSubPanel2); + tabPage2.Controls.Add(darkLabel2); + tabPage2.Location = new System.Drawing.Point(4, 22); + tabPage2.Name = "tabPage2"; + tabPage2.Padding = new System.Windows.Forms.Padding(3); + tabPage2.Size = new System.Drawing.Size(387, 530); + tabPage2.TabIndex = 10; + tabPage2.Text = "General"; // // tabSubPanel2 // - this.tabSubPanel2.AutoScroll = true; - this.tabSubPanel2.Controls.Add(this.panel1); - this.tabSubPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabSubPanel2.Location = new System.Drawing.Point(3, 3); - this.tabSubPanel2.Name = "tabSubPanel2"; - this.tabSubPanel2.Size = new System.Drawing.Size(381, 524); - this.tabSubPanel2.TabIndex = 2; + tabSubPanel2.AutoScroll = true; + tabSubPanel2.Controls.Add(panel1); + tabSubPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + tabSubPanel2.Location = new System.Drawing.Point(3, 3); + tabSubPanel2.Name = "tabSubPanel2"; + tabSubPanel2.Size = new System.Drawing.Size(381, 524); + tabSubPanel2.TabIndex = 2; // // panel1 // - this.panel1.Controls.Add(this.darkGroupBox1); - this.panel1.Controls.Add(this.darkGroupBox3); - this.panel1.Controls.Add(this.darkGroupBox2); - this.panel1.Dock = System.Windows.Forms.DockStyle.Top; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Name = "panel1"; - this.panel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); - this.panel1.Size = new System.Drawing.Size(381, 522); - this.panel1.TabIndex = 9; + panel1.Controls.Add(darkGroupBox1); + panel1.Controls.Add(darkGroupBox3); + panel1.Controls.Add(darkGroupBox2); + panel1.Dock = System.Windows.Forms.DockStyle.Top; + panel1.Location = new System.Drawing.Point(0, 0); + panel1.Name = "panel1"; + panel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); + panel1.Size = new System.Drawing.Size(381, 522); + panel1.TabIndex = 9; // // darkGroupBox1 // - this.darkGroupBox1.Controls.Add(this.darkLabel1); - this.darkGroupBox1.Controls.Add(this.darkCheckBox3); - this.darkGroupBox1.Controls.Add(this.cbEnableLogging); - this.darkGroupBox1.Controls.Add(this.darkNumericUpDown1); - this.darkGroupBox1.Dock = System.Windows.Forms.DockStyle.Top; - this.darkGroupBox1.Location = new System.Drawing.Point(3, 417); - this.darkGroupBox1.Name = "darkGroupBox1"; - this.darkGroupBox1.Size = new System.Drawing.Size(375, 101); - this.darkGroupBox1.TabIndex = 6; - this.darkGroupBox1.TabStop = false; - this.darkGroupBox1.Text = "System"; + darkGroupBox1.Controls.Add(darkLabel1); + darkGroupBox1.Controls.Add(darkCheckBox3); + darkGroupBox1.Controls.Add(cbEnableLogging); + darkGroupBox1.Controls.Add(darkNumericUpDown1); + darkGroupBox1.Dock = System.Windows.Forms.DockStyle.Top; + darkGroupBox1.Location = new System.Drawing.Point(3, 440); + darkGroupBox1.Name = "darkGroupBox1"; + darkGroupBox1.Size = new System.Drawing.Size(375, 101); + darkGroupBox1.TabIndex = 6; + darkGroupBox1.TabStop = false; + darkGroupBox1.Text = "System"; // // darkLabel1 // - this.darkLabel1.AutoSize = true; - this.darkLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel1.Location = new System.Drawing.Point(3, 73); - this.darkLabel1.Name = "darkLabel1"; - this.darkLabel1.Size = new System.Drawing.Size(187, 13); - this.darkLabel1.TabIndex = 0; - this.darkLabel1.Text = "Number of daily log files in history:"; + darkLabel1.AutoSize = true; + darkLabel1.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel1.Location = new System.Drawing.Point(3, 73); + darkLabel1.Name = "darkLabel1"; + darkLabel1.Size = new System.Drawing.Size(187, 13); + darkLabel1.TabIndex = 0; + darkLabel1.Text = "Number of daily log files in history:"; // // darkCheckBox3 // - this.darkCheckBox3.AutoSize = true; - this.darkCheckBox3.Location = new System.Drawing.Point(6, 21); - this.darkCheckBox3.Name = "darkCheckBox3"; - this.darkCheckBox3.Size = new System.Drawing.Size(232, 17); - this.darkCheckBox3.TabIndex = 4; - this.darkCheckBox3.Tag = "Tool_MakeEmptyWadAtStartup"; - this.darkCheckBox3.Text = "Make empty destination wad at start-up"; + darkCheckBox3.AutoSize = true; + darkCheckBox3.Location = new System.Drawing.Point(6, 21); + darkCheckBox3.Name = "darkCheckBox3"; + darkCheckBox3.Size = new System.Drawing.Size(232, 17); + darkCheckBox3.TabIndex = 4; + darkCheckBox3.Tag = "Tool_MakeEmptyWadAtStartup"; + darkCheckBox3.Text = "Make empty destination wad at start-up"; // // cbEnableLogging // - this.cbEnableLogging.AutoSize = true; - this.cbEnableLogging.Location = new System.Drawing.Point(6, 44); - this.cbEnableLogging.Name = "cbEnableLogging"; - this.cbEnableLogging.Size = new System.Drawing.Size(105, 17); - this.cbEnableLogging.TabIndex = 2; - this.cbEnableLogging.Tag = "Log_WriteToFile"; - this.cbEnableLogging.Text = "Enable logging"; + cbEnableLogging.AutoSize = true; + cbEnableLogging.Location = new System.Drawing.Point(6, 44); + cbEnableLogging.Name = "cbEnableLogging"; + cbEnableLogging.Size = new System.Drawing.Size(105, 17); + cbEnableLogging.TabIndex = 2; + cbEnableLogging.Tag = "Log_WriteToFile"; + cbEnableLogging.Text = "Enable logging"; // // darkNumericUpDown1 // - this.darkNumericUpDown1.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown1.Location = new System.Drawing.Point(254, 71); - this.darkNumericUpDown1.LoopValues = false; - this.darkNumericUpDown1.Name = "darkNumericUpDown1"; - this.darkNumericUpDown1.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown1.TabIndex = 3; - this.darkNumericUpDown1.Tag = "Log_ArchiveN"; + darkNumericUpDown1.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown1.Location = new System.Drawing.Point(254, 71); + darkNumericUpDown1.LoopValues = false; + darkNumericUpDown1.Name = "darkNumericUpDown1"; + darkNumericUpDown1.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown1.TabIndex = 3; + darkNumericUpDown1.Tag = "Log_ArchiveN"; // // darkGroupBox3 // - this.darkGroupBox3.Controls.Add(this.darkCheckBox5); - this.darkGroupBox3.Controls.Add(this.darkLabel73); - this.darkGroupBox3.Controls.Add(this.darkNumericUpDown42); - this.darkGroupBox3.Controls.Add(this.darkLabel72); - this.darkGroupBox3.Controls.Add(this.darkCheckBox2); - this.darkGroupBox3.Controls.Add(this.darkLabel61); - this.darkGroupBox3.Controls.Add(this.darkNumericUpDown6); - this.darkGroupBox3.Controls.Add(this.panelColorSelector0); - this.darkGroupBox3.Controls.Add(this.darkLabel7); - this.darkGroupBox3.Controls.Add(this.darkCheckBox26); - this.darkGroupBox3.Controls.Add(this.darkNumericUpDown5); - this.darkGroupBox3.Controls.Add(this.darkLabel6); - this.darkGroupBox3.Controls.Add(this.darkNumericUpDown4); - this.darkGroupBox3.Controls.Add(this.darkLabel5); - this.darkGroupBox3.Controls.Add(this.darkNumericUpDown3); - this.darkGroupBox3.Controls.Add(this.darkNumericUpDown2); - this.darkGroupBox3.Controls.Add(this.darkLabel4); - this.darkGroupBox3.Controls.Add(this.darkLabel3); - this.darkGroupBox3.Dock = System.Windows.Forms.DockStyle.Top; - this.darkGroupBox3.Location = new System.Drawing.Point(3, 119); - this.darkGroupBox3.Name = "darkGroupBox3"; - this.darkGroupBox3.Size = new System.Drawing.Size(375, 298); - this.darkGroupBox3.TabIndex = 11; - this.darkGroupBox3.TabStop = false; - this.darkGroupBox3.Text = "User interface"; + darkGroupBox3.Controls.Add(darkCheckBox5); + darkGroupBox3.Controls.Add(darkLabel73); + darkGroupBox3.Controls.Add(darkNumericUpDown42); + darkGroupBox3.Controls.Add(darkLabel72); + darkGroupBox3.Controls.Add(darkCheckBox2); + darkGroupBox3.Controls.Add(darkLabel61); + darkGroupBox3.Controls.Add(darkNumericUpDown6); + darkGroupBox3.Controls.Add(panelColorSelector0); + darkGroupBox3.Controls.Add(darkLabel7); + darkGroupBox3.Controls.Add(darkCheckBox26); + darkGroupBox3.Controls.Add(darkNumericUpDown5); + darkGroupBox3.Controls.Add(darkLabel6); + darkGroupBox3.Controls.Add(darkNumericUpDown4); + darkGroupBox3.Controls.Add(darkLabel5); + darkGroupBox3.Controls.Add(darkNumericUpDown3); + darkGroupBox3.Controls.Add(darkNumericUpDown2); + darkGroupBox3.Controls.Add(darkLabel4); + darkGroupBox3.Controls.Add(darkLabel3); + darkGroupBox3.Dock = System.Windows.Forms.DockStyle.Top; + darkGroupBox3.Location = new System.Drawing.Point(3, 142); + darkGroupBox3.Name = "darkGroupBox3"; + darkGroupBox3.Size = new System.Drawing.Size(375, 298); + darkGroupBox3.TabIndex = 11; + darkGroupBox3.TabStop = false; + darkGroupBox3.Text = "User interface"; // // darkCheckBox5 // - this.darkCheckBox5.AutoSize = true; - this.darkCheckBox5.Location = new System.Drawing.Point(6, 67); - this.darkCheckBox5.Name = "darkCheckBox5"; - this.darkCheckBox5.Size = new System.Drawing.Size(139, 17); - this.darkCheckBox5.TabIndex = 78; - this.darkCheckBox5.Tag = "RenderingItem_Animate"; - this.darkCheckBox5.Text = "Animate main preview"; + darkCheckBox5.AutoSize = true; + darkCheckBox5.Location = new System.Drawing.Point(6, 67); + darkCheckBox5.Name = "darkCheckBox5"; + darkCheckBox5.Size = new System.Drawing.Size(139, 17); + darkCheckBox5.TabIndex = 78; + darkCheckBox5.Tag = "RenderingItem_Animate"; + darkCheckBox5.Text = "Animate main preview"; // // darkLabel73 // - this.darkLabel73.AutoSize = true; - this.darkLabel73.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel73.Location = new System.Drawing.Point(324, 101); - this.darkLabel73.Name = "darkLabel73"; - this.darkLabel73.Size = new System.Drawing.Size(16, 13); - this.darkLabel73.TabIndex = 77; - this.darkLabel73.Text = "%"; + darkLabel73.AutoSize = true; + darkLabel73.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel73.Location = new System.Drawing.Point(324, 101); + darkLabel73.Name = "darkLabel73"; + darkLabel73.Size = new System.Drawing.Size(16, 13); + darkLabel73.TabIndex = 77; + darkLabel73.Text = "%"; // // darkNumericUpDown42 // - this.darkNumericUpDown42.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.darkNumericUpDown42.IncrementAlternate = new decimal(new int[] { - 5, - 0, - 0, - 0}); - this.darkNumericUpDown42.Location = new System.Drawing.Point(254, 98); - this.darkNumericUpDown42.LoopValues = false; - this.darkNumericUpDown42.Minimum = new decimal(new int[] { - 50, - 0, - 0, - 0}); - this.darkNumericUpDown42.Name = "darkNumericUpDown42"; - this.darkNumericUpDown42.Size = new System.Drawing.Size(64, 23); - this.darkNumericUpDown42.TabIndex = 76; - this.darkNumericUpDown42.Tag = "UI_FormColor_Brightness"; - this.darkNumericUpDown42.Value = new decimal(new int[] { - 50, - 0, - 0, - 0}); + darkNumericUpDown42.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + darkNumericUpDown42.IncrementAlternate = new decimal(new int[] { 5, 0, 0, 0 }); + darkNumericUpDown42.Location = new System.Drawing.Point(254, 98); + darkNumericUpDown42.LoopValues = false; + darkNumericUpDown42.Minimum = new decimal(new int[] { 50, 0, 0, 0 }); + darkNumericUpDown42.Name = "darkNumericUpDown42"; + darkNumericUpDown42.Size = new System.Drawing.Size(64, 23); + darkNumericUpDown42.TabIndex = 76; + darkNumericUpDown42.Tag = "UI_FormColor_Brightness"; + darkNumericUpDown42.Value = new decimal(new int[] { 50, 0, 0, 0 }); // // darkLabel72 // - this.darkLabel72.AutoSize = true; - this.darkLabel72.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel72.Location = new System.Drawing.Point(3, 101); - this.darkLabel72.Name = "darkLabel72"; - this.darkLabel72.Size = new System.Drawing.Size(166, 13); - this.darkLabel72.TabIndex = 75; - this.darkLabel72.Text = "UI brightness (requires restart):"; + darkLabel72.AutoSize = true; + darkLabel72.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel72.Location = new System.Drawing.Point(3, 101); + darkLabel72.Name = "darkLabel72"; + darkLabel72.Size = new System.Drawing.Size(166, 13); + darkLabel72.TabIndex = 75; + darkLabel72.Text = "UI brightness (requires restart):"; // // darkCheckBox2 // - this.darkCheckBox2.AutoSize = true; - this.darkCheckBox2.Location = new System.Drawing.Point(6, 44); - this.darkCheckBox2.Name = "darkCheckBox2"; - this.darkCheckBox2.Size = new System.Drawing.Size(156, 17); - this.darkCheckBox2.TabIndex = 33; - this.darkCheckBox2.Tag = "RenderingItem_ShowDebugInfo"; - this.darkCheckBox2.Text = "Show debug information"; + darkCheckBox2.AutoSize = true; + darkCheckBox2.Location = new System.Drawing.Point(6, 44); + darkCheckBox2.Name = "darkCheckBox2"; + darkCheckBox2.Size = new System.Drawing.Size(156, 17); + darkCheckBox2.TabIndex = 33; + darkCheckBox2.Tag = "RenderingItem_ShowDebugInfo"; + darkCheckBox2.Text = "Show debug information"; // // darkLabel61 // - this.darkLabel61.AutoSize = true; - this.darkLabel61.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel61.Location = new System.Drawing.Point(3, 130); - this.darkLabel61.Name = "darkLabel61"; - this.darkLabel61.Size = new System.Drawing.Size(109, 13); - this.darkLabel61.TabIndex = 32; - this.darkLabel61.Text = "Background colour:"; + darkLabel61.AutoSize = true; + darkLabel61.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel61.Location = new System.Drawing.Point(3, 130); + darkLabel61.Name = "darkLabel61"; + darkLabel61.Size = new System.Drawing.Size(109, 13); + darkLabel61.TabIndex = 32; + darkLabel61.Text = "Background colour:"; // // darkNumericUpDown6 // - this.darkNumericUpDown6.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown6.Location = new System.Drawing.Point(254, 156); - this.darkNumericUpDown6.LoopValues = false; - this.darkNumericUpDown6.Maximum = new decimal(new int[] { - 179, - 0, - 0, - 0}); - this.darkNumericUpDown6.Minimum = new decimal(new int[] { - 10, - 0, - 0, - 0}); - this.darkNumericUpDown6.Name = "darkNumericUpDown6"; - this.darkNumericUpDown6.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown6.TabIndex = 19; - this.darkNumericUpDown6.Tag = "RenderingItem_FieldOfView"; - this.darkNumericUpDown6.Value = new decimal(new int[] { - 10, - 0, - 0, - 0}); + darkNumericUpDown6.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown6.Location = new System.Drawing.Point(254, 156); + darkNumericUpDown6.LoopValues = false; + darkNumericUpDown6.Maximum = new decimal(new int[] { 179, 0, 0, 0 }); + darkNumericUpDown6.Minimum = new decimal(new int[] { 10, 0, 0, 0 }); + darkNumericUpDown6.Name = "darkNumericUpDown6"; + darkNumericUpDown6.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown6.TabIndex = 19; + darkNumericUpDown6.Tag = "RenderingItem_FieldOfView"; + darkNumericUpDown6.Value = new decimal(new int[] { 10, 0, 0, 0 }); // // panelColorSelector0 // - this.panelColorSelector0.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panelColorSelector0.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.panelColorSelector0.Location = new System.Drawing.Point(254, 127); - this.panelColorSelector0.Name = "panelColorSelector0"; - this.panelColorSelector0.Size = new System.Drawing.Size(64, 23); - this.panelColorSelector0.TabIndex = 31; - this.panelColorSelector0.Tag = "RenderingItem_BackgroundColor"; + panelColorSelector0.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + panelColorSelector0.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + panelColorSelector0.Location = new System.Drawing.Point(254, 127); + panelColorSelector0.Name = "panelColorSelector0"; + panelColorSelector0.Size = new System.Drawing.Size(64, 23); + panelColorSelector0.TabIndex = 31; + panelColorSelector0.Tag = "RenderingItem_BackgroundColor"; // // darkLabel7 // - this.darkLabel7.AutoSize = true; - this.darkLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel7.Location = new System.Drawing.Point(3, 158); - this.darkLabel7.Name = "darkLabel7"; - this.darkLabel7.Size = new System.Drawing.Size(75, 13); - this.darkLabel7.TabIndex = 18; - this.darkLabel7.Text = "Field of view:"; + darkLabel7.AutoSize = true; + darkLabel7.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel7.Location = new System.Drawing.Point(3, 158); + darkLabel7.Name = "darkLabel7"; + darkLabel7.Size = new System.Drawing.Size(75, 13); + darkLabel7.TabIndex = 18; + darkLabel7.Text = "Field of view:"; // // darkCheckBox26 // - this.darkCheckBox26.AutoSize = true; - this.darkCheckBox26.Location = new System.Drawing.Point(6, 21); - this.darkCheckBox26.Name = "darkCheckBox26"; - this.darkCheckBox26.Size = new System.Drawing.Size(195, 17); - this.darkCheckBox26.TabIndex = 9; - this.darkCheckBox26.Tag = "RenderingItem_Antialias"; - this.darkCheckBox26.Text = "Use antialiasing (requires restart)"; + darkCheckBox26.AutoSize = true; + darkCheckBox26.Location = new System.Drawing.Point(6, 21); + darkCheckBox26.Name = "darkCheckBox26"; + darkCheckBox26.Size = new System.Drawing.Size(195, 17); + darkCheckBox26.TabIndex = 9; + darkCheckBox26.Tag = "RenderingItem_Antialias"; + darkCheckBox26.Text = "Use antialiasing (requires restart)"; // // darkNumericUpDown5 // - this.darkNumericUpDown5.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown5.Location = new System.Drawing.Point(254, 268); - this.darkNumericUpDown5.LoopValues = false; - this.darkNumericUpDown5.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.darkNumericUpDown5.Name = "darkNumericUpDown5"; - this.darkNumericUpDown5.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown5.TabIndex = 17; - this.darkNumericUpDown5.Tag = "RenderingItem_NavigationSpeedMouseRotate"; + darkNumericUpDown5.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown5.Location = new System.Drawing.Point(254, 268); + darkNumericUpDown5.LoopValues = false; + darkNumericUpDown5.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); + darkNumericUpDown5.Name = "darkNumericUpDown5"; + darkNumericUpDown5.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown5.TabIndex = 17; + darkNumericUpDown5.Tag = "RenderingItem_NavigationSpeedMouseRotate"; // // darkLabel6 // - this.darkLabel6.AutoSize = true; - this.darkLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel6.Location = new System.Drawing.Point(3, 270); - this.darkLabel6.Name = "darkLabel6"; - this.darkLabel6.Size = new System.Drawing.Size(124, 13); - this.darkLabel6.TabIndex = 16; - this.darkLabel6.Text = "Mouse rotation speed:"; + darkLabel6.AutoSize = true; + darkLabel6.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel6.Location = new System.Drawing.Point(3, 270); + darkLabel6.Name = "darkLabel6"; + darkLabel6.Size = new System.Drawing.Size(124, 13); + darkLabel6.TabIndex = 16; + darkLabel6.Text = "Mouse rotation speed:"; // // darkNumericUpDown4 // - this.darkNumericUpDown4.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown4.Location = new System.Drawing.Point(254, 240); - this.darkNumericUpDown4.LoopValues = false; - this.darkNumericUpDown4.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.darkNumericUpDown4.Name = "darkNumericUpDown4"; - this.darkNumericUpDown4.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown4.TabIndex = 15; - this.darkNumericUpDown4.Tag = "RenderingItem_NavigationSpeedMouseTranslate"; + darkNumericUpDown4.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown4.Location = new System.Drawing.Point(254, 240); + darkNumericUpDown4.LoopValues = false; + darkNumericUpDown4.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); + darkNumericUpDown4.Name = "darkNumericUpDown4"; + darkNumericUpDown4.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown4.TabIndex = 15; + darkNumericUpDown4.Tag = "RenderingItem_NavigationSpeedMouseTranslate"; // // darkLabel5 // - this.darkLabel5.AutoSize = true; - this.darkLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel5.Location = new System.Drawing.Point(3, 242); - this.darkLabel5.Name = "darkLabel5"; - this.darkLabel5.Size = new System.Drawing.Size(109, 13); - this.darkLabel5.TabIndex = 14; - this.darkLabel5.Text = "Mouse move speed:"; + darkLabel5.AutoSize = true; + darkLabel5.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel5.Location = new System.Drawing.Point(3, 242); + darkLabel5.Name = "darkLabel5"; + darkLabel5.Size = new System.Drawing.Size(109, 13); + darkLabel5.TabIndex = 14; + darkLabel5.Text = "Mouse move speed:"; // // darkNumericUpDown3 // - this.darkNumericUpDown3.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown3.Location = new System.Drawing.Point(254, 212); - this.darkNumericUpDown3.LoopValues = false; - this.darkNumericUpDown3.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.darkNumericUpDown3.Name = "darkNumericUpDown3"; - this.darkNumericUpDown3.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown3.TabIndex = 13; - this.darkNumericUpDown3.Tag = "RenderingItem_NavigationSpeedMouseZoom"; + darkNumericUpDown3.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown3.Location = new System.Drawing.Point(254, 212); + darkNumericUpDown3.LoopValues = false; + darkNumericUpDown3.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); + darkNumericUpDown3.Name = "darkNumericUpDown3"; + darkNumericUpDown3.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown3.TabIndex = 13; + darkNumericUpDown3.Tag = "RenderingItem_NavigationSpeedMouseZoom"; // // darkNumericUpDown2 // - this.darkNumericUpDown2.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown2.Location = new System.Drawing.Point(254, 184); - this.darkNumericUpDown2.LoopValues = false; - this.darkNumericUpDown2.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.darkNumericUpDown2.Name = "darkNumericUpDown2"; - this.darkNumericUpDown2.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown2.TabIndex = 12; - this.darkNumericUpDown2.Tag = "RenderingItem_NavigationSpeedMouseWheelZoom"; + darkNumericUpDown2.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown2.Location = new System.Drawing.Point(254, 184); + darkNumericUpDown2.LoopValues = false; + darkNumericUpDown2.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); + darkNumericUpDown2.Name = "darkNumericUpDown2"; + darkNumericUpDown2.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown2.TabIndex = 12; + darkNumericUpDown2.Tag = "RenderingItem_NavigationSpeedMouseWheelZoom"; // // darkLabel4 // - this.darkLabel4.AutoSize = true; - this.darkLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel4.Location = new System.Drawing.Point(3, 214); - this.darkLabel4.Name = "darkLabel4"; - this.darkLabel4.Size = new System.Drawing.Size(137, 13); - this.darkLabel4.TabIndex = 11; - this.darkLabel4.Text = "Mouse drag zoom speed:"; + darkLabel4.AutoSize = true; + darkLabel4.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel4.Location = new System.Drawing.Point(3, 214); + darkLabel4.Name = "darkLabel4"; + darkLabel4.Size = new System.Drawing.Size(137, 13); + darkLabel4.TabIndex = 11; + darkLabel4.Text = "Mouse drag zoom speed:"; // // darkLabel3 // - this.darkLabel3.AutoSize = true; - this.darkLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel3.Location = new System.Drawing.Point(3, 186); - this.darkLabel3.Name = "darkLabel3"; - this.darkLabel3.Size = new System.Drawing.Size(144, 13); - this.darkLabel3.TabIndex = 10; - this.darkLabel3.Text = "Mouse wheel zoom speed:"; + darkLabel3.AutoSize = true; + darkLabel3.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel3.Location = new System.Drawing.Point(3, 186); + darkLabel3.Name = "darkLabel3"; + darkLabel3.Size = new System.Drawing.Size(144, 13); + darkLabel3.TabIndex = 10; + darkLabel3.Text = "Mouse wheel zoom speed:"; // // darkGroupBox2 // - this.darkGroupBox2.Controls.Add(this.darkCheckBox6); - this.darkGroupBox2.Controls.Add(this.darkCheckBox4); - this.darkGroupBox2.Controls.Add(this.darkCheckBox1); - this.darkGroupBox2.Controls.Add(this.cbAutoConsolidateTextures); - this.darkGroupBox2.Controls.Add(this.darkNumericUpDown39); - this.darkGroupBox2.Controls.Add(this.darkLabel67); - this.darkGroupBox2.Dock = System.Windows.Forms.DockStyle.Top; - this.darkGroupBox2.Location = new System.Drawing.Point(3, 0); - this.darkGroupBox2.Name = "darkGroupBox2"; - this.darkGroupBox2.Size = new System.Drawing.Size(375, 142); - this.darkGroupBox2.TabIndex = 7; - this.darkGroupBox2.TabStop = false; - this.darkGroupBox2.Text = "Editing"; + darkGroupBox2.Controls.Add(darkCheckBox6); + darkGroupBox2.Controls.Add(darkCheckBox4); + darkGroupBox2.Controls.Add(darkCheckBox1); + darkGroupBox2.Controls.Add(cbAutoConsolidateTextures); + darkGroupBox2.Controls.Add(darkNumericUpDown39); + darkGroupBox2.Controls.Add(darkLabel67); + darkGroupBox2.Dock = System.Windows.Forms.DockStyle.Top; + darkGroupBox2.Location = new System.Drawing.Point(3, 0); + darkGroupBox2.Name = "darkGroupBox2"; + darkGroupBox2.Size = new System.Drawing.Size(375, 142); + darkGroupBox2.TabIndex = 7; + darkGroupBox2.TabStop = false; + darkGroupBox2.Text = "Editing"; // // darkCheckBox6 // - this.darkCheckBox6.AutoSize = true; - this.darkCheckBox6.Location = new System.Drawing.Point(6, 67); - this.darkCheckBox6.Name = "darkCheckBox6"; - this.darkCheckBox6.Size = new System.Drawing.Size(271, 17); - this.darkCheckBox6.TabIndex = 12; - this.darkCheckBox6.Tag = "AnimationEditor_ClampStateChangeValues"; - this.darkCheckBox6.Text = "Automatically bound state change editor values"; - // - // cbAutoConsolidateTextures - // - this.cbAutoConsolidateTextures.AutoSize = true; - this.cbAutoConsolidateTextures.Location = new System.Drawing.Point(6, 118); - this.cbAutoConsolidateTextures.Name = "cbAutoConsolidateTextures"; - this.cbAutoConsolidateTextures.Size = new System.Drawing.Size(280, 17); - this.cbAutoConsolidateTextures.TabIndex = 13; - this.cbAutoConsolidateTextures.Tag = "Tool_AutoConsolidateTexturesOnCopy"; - this.cbAutoConsolidateTextures.Text = "Auto-consolidate textures when copying objects"; - // + darkCheckBox6.AutoSize = true; + darkCheckBox6.Location = new System.Drawing.Point(6, 67); + darkCheckBox6.Name = "darkCheckBox6"; + darkCheckBox6.Size = new System.Drawing.Size(271, 17); + darkCheckBox6.TabIndex = 12; + darkCheckBox6.Tag = "AnimationEditor_ClampStateChangeValues"; + darkCheckBox6.Text = "Automatically bound state change editor values"; + // // darkCheckBox4 // - this.darkCheckBox4.AutoSize = true; - this.darkCheckBox4.Location = new System.Drawing.Point(6, 21); - this.darkCheckBox4.Name = "darkCheckBox4"; - this.darkCheckBox4.Size = new System.Drawing.Size(303, 17); - this.darkCheckBox4.TabIndex = 11; - this.darkCheckBox4.Tag = "MeshEditor_MouseWheelMovesTheTextureInsteadOfZooming"; - this.darkCheckBox4.Text = "Scroll texture with mouse wheel instead of zooming it"; + darkCheckBox4.AutoSize = true; + darkCheckBox4.Location = new System.Drawing.Point(6, 21); + darkCheckBox4.Name = "darkCheckBox4"; + darkCheckBox4.Size = new System.Drawing.Size(303, 17); + darkCheckBox4.TabIndex = 11; + darkCheckBox4.Tag = "MeshEditor_MouseWheelMovesTheTextureInsteadOfZooming"; + darkCheckBox4.Text = "Scroll texture with mouse wheel instead of zooming it"; // // darkCheckBox1 // - this.darkCheckBox1.AutoSize = true; - this.darkCheckBox1.Location = new System.Drawing.Point(6, 44); - this.darkCheckBox1.Name = "darkCheckBox1"; - this.darkCheckBox1.Size = new System.Drawing.Size(322, 17); - this.darkCheckBox1.TabIndex = 10; - this.darkCheckBox1.Tag = "AnimationEditor_RewindAfterChainPlayback"; - this.darkCheckBox1.Text = "Rewind animation after chain playback has been stopped"; + darkCheckBox1.AutoSize = true; + darkCheckBox1.Location = new System.Drawing.Point(6, 44); + darkCheckBox1.Name = "darkCheckBox1"; + darkCheckBox1.Size = new System.Drawing.Size(322, 17); + darkCheckBox1.TabIndex = 10; + darkCheckBox1.Tag = "AnimationEditor_RewindAfterChainPlayback"; + darkCheckBox1.Text = "Rewind animation after chain playback has been stopped"; + // + // cbAutoConsolidateTextures + // + cbAutoConsolidateTextures.AutoSize = true; + cbAutoConsolidateTextures.Location = new System.Drawing.Point(6, 90); + cbAutoConsolidateTextures.Name = "cbAutoConsolidateTextures"; + cbAutoConsolidateTextures.Size = new System.Drawing.Size(275, 17); + cbAutoConsolidateTextures.TabIndex = 13; + cbAutoConsolidateTextures.Tag = "Tool_AutoConsolidateTexturesOnCopy"; + cbAutoConsolidateTextures.Text = "Auto-consolidate textures when copying objects"; // // darkNumericUpDown39 // - this.darkNumericUpDown39.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown39.Location = new System.Drawing.Point(254, 90); - this.darkNumericUpDown39.LoopValues = false; - this.darkNumericUpDown39.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown39.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.darkNumericUpDown39.Name = "darkNumericUpDown39"; - this.darkNumericUpDown39.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown39.TabIndex = 8; - this.darkNumericUpDown39.Tag = "AnimationEditor_UndoDepth"; - this.darkNumericUpDown39.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); + darkNumericUpDown39.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown39.Location = new System.Drawing.Point(254, 113); + darkNumericUpDown39.LoopValues = false; + darkNumericUpDown39.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown39.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); + darkNumericUpDown39.Name = "darkNumericUpDown39"; + darkNumericUpDown39.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown39.TabIndex = 8; + darkNumericUpDown39.Tag = "AnimationEditor_UndoDepth"; + darkNumericUpDown39.Value = new decimal(new int[] { 1, 0, 0, 0 }); // // darkLabel67 // - this.darkLabel67.AutoSize = true; - this.darkLabel67.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel67.Location = new System.Drawing.Point(3, 92); - this.darkLabel67.Name = "darkLabel67"; - this.darkLabel67.Size = new System.Drawing.Size(107, 13); - this.darkLabel67.TabIndex = 7; - this.darkLabel67.Text = "Undo / redo depth:"; + darkLabel67.AutoSize = true; + darkLabel67.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel67.Location = new System.Drawing.Point(3, 115); + darkLabel67.Name = "darkLabel67"; + darkLabel67.Size = new System.Drawing.Size(107, 13); + darkLabel67.TabIndex = 7; + darkLabel67.Text = "Undo / redo depth:"; // // darkLabel2 // - this.darkLabel2.AutoSize = true; - this.darkLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel2.Location = new System.Drawing.Point(6, 14); - this.darkLabel2.Name = "darkLabel2"; - this.darkLabel2.Size = new System.Drawing.Size(0, 13); - this.darkLabel2.TabIndex = 1; + darkLabel2.AutoSize = true; + darkLabel2.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel2.Location = new System.Drawing.Point(6, 14); + darkLabel2.Name = "darkLabel2"; + darkLabel2.Size = new System.Drawing.Size(0, 13); + darkLabel2.TabIndex = 1; // // tabPage5 // - this.tabPage5.AutoScroll = true; - this.tabPage5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65))))); - this.tabPage5.Controls.Add(this.darkGroupBox11); - this.tabPage5.Controls.Add(this.darkGroupBox10); - this.tabPage5.Controls.Add(this.darkGroupBox7); - this.tabPage5.Location = new System.Drawing.Point(4, 22); - this.tabPage5.Name = "tabPage5"; - this.tabPage5.Padding = new System.Windows.Forms.Padding(3); - this.tabPage5.Size = new System.Drawing.Size(386, 484); - this.tabPage5.TabIndex = 14; - this.tabPage5.Text = "Gizmo"; + tabPage5.AutoScroll = true; + tabPage5.BackColor = System.Drawing.Color.FromArgb(60, 63, 65); + tabPage5.Controls.Add(darkGroupBox11); + tabPage5.Controls.Add(darkGroupBox10); + tabPage5.Controls.Add(darkGroupBox7); + tabPage5.Location = new System.Drawing.Point(4, 22); + tabPage5.Name = "tabPage5"; + tabPage5.Padding = new System.Windows.Forms.Padding(3); + tabPage5.Size = new System.Drawing.Size(386, 484); + tabPage5.TabIndex = 14; + tabPage5.Text = "Gizmo"; // // darkGroupBox11 // - this.darkGroupBox11.Controls.Add(this.darkNumericUpDown24); - this.darkGroupBox11.Controls.Add(this.darkLabel26); - this.darkGroupBox11.Controls.Add(this.darkNumericUpDown25); - this.darkGroupBox11.Controls.Add(this.darkNumericUpDown26); - this.darkGroupBox11.Controls.Add(this.darkLabel27); - this.darkGroupBox11.Controls.Add(this.darkLabel28); - this.darkGroupBox11.Controls.Add(this.darkLabel29); - this.darkGroupBox11.Controls.Add(this.darkNumericUpDown27); - this.darkGroupBox11.Controls.Add(this.darkNumericUpDown28); - this.darkGroupBox11.Controls.Add(this.darkLabel30); - this.darkGroupBox11.Dock = System.Windows.Forms.DockStyle.Top; - this.darkGroupBox11.Location = new System.Drawing.Point(3, 323); - this.darkGroupBox11.Name = "darkGroupBox11"; - this.darkGroupBox11.Size = new System.Drawing.Size(380, 160); - this.darkGroupBox11.TabIndex = 43; - this.darkGroupBox11.TabStop = false; - this.darkGroupBox11.Text = "Static editor"; + darkGroupBox11.Controls.Add(darkNumericUpDown24); + darkGroupBox11.Controls.Add(darkLabel26); + darkGroupBox11.Controls.Add(darkNumericUpDown25); + darkGroupBox11.Controls.Add(darkNumericUpDown26); + darkGroupBox11.Controls.Add(darkLabel27); + darkGroupBox11.Controls.Add(darkLabel28); + darkGroupBox11.Controls.Add(darkLabel29); + darkGroupBox11.Controls.Add(darkNumericUpDown27); + darkGroupBox11.Controls.Add(darkNumericUpDown28); + darkGroupBox11.Controls.Add(darkLabel30); + darkGroupBox11.Dock = System.Windows.Forms.DockStyle.Top; + darkGroupBox11.Location = new System.Drawing.Point(3, 323); + darkGroupBox11.Name = "darkGroupBox11"; + darkGroupBox11.Size = new System.Drawing.Size(380, 160); + darkGroupBox11.TabIndex = 43; + darkGroupBox11.TabStop = false; + darkGroupBox11.Text = "Static editor"; // // darkNumericUpDown24 // - this.darkNumericUpDown24.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown24.Location = new System.Drawing.Point(167, 47); - this.darkNumericUpDown24.LoopValues = false; - this.darkNumericUpDown24.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown24.Name = "darkNumericUpDown24"; - this.darkNumericUpDown24.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown24.TabIndex = 34; - this.darkNumericUpDown24.Tag = "GizmoStatic_TranslationConeSize"; + darkNumericUpDown24.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown24.Location = new System.Drawing.Point(167, 47); + darkNumericUpDown24.LoopValues = false; + darkNumericUpDown24.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown24.Name = "darkNumericUpDown24"; + darkNumericUpDown24.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown24.TabIndex = 34; + darkNumericUpDown24.Tag = "GizmoStatic_TranslationConeSize"; // // darkLabel26 // - this.darkLabel26.AutoSize = true; - this.darkLabel26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel26.Location = new System.Drawing.Point(8, 133); - this.darkLabel26.Name = "darkLabel26"; - this.darkLabel26.Size = new System.Drawing.Size(82, 13); - this.darkLabel26.TabIndex = 39; - this.darkLabel26.Text = "Line thickness:"; + darkLabel26.AutoSize = true; + darkLabel26.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel26.Location = new System.Drawing.Point(8, 133); + darkLabel26.Name = "darkLabel26"; + darkLabel26.Size = new System.Drawing.Size(82, 13); + darkLabel26.TabIndex = 39; + darkLabel26.Text = "Line thickness:"; // // darkNumericUpDown25 // - this.darkNumericUpDown25.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown25.Location = new System.Drawing.Point(167, 19); - this.darkNumericUpDown25.LoopValues = false; - this.darkNumericUpDown25.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.darkNumericUpDown25.Name = "darkNumericUpDown25"; - this.darkNumericUpDown25.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown25.TabIndex = 32; - this.darkNumericUpDown25.Tag = "GizmoStatic_Size"; + darkNumericUpDown25.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown25.Location = new System.Drawing.Point(167, 19); + darkNumericUpDown25.LoopValues = false; + darkNumericUpDown25.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); + darkNumericUpDown25.Name = "darkNumericUpDown25"; + darkNumericUpDown25.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown25.TabIndex = 32; + darkNumericUpDown25.Tag = "GizmoStatic_Size"; // // darkNumericUpDown26 // - this.darkNumericUpDown26.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown26.Location = new System.Drawing.Point(167, 131); - this.darkNumericUpDown26.LoopValues = false; - this.darkNumericUpDown26.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown26.Name = "darkNumericUpDown26"; - this.darkNumericUpDown26.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown26.TabIndex = 40; - this.darkNumericUpDown26.Tag = "GizmoStatic_LineThickness"; + darkNumericUpDown26.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown26.Location = new System.Drawing.Point(167, 131); + darkNumericUpDown26.LoopValues = false; + darkNumericUpDown26.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown26.Name = "darkNumericUpDown26"; + darkNumericUpDown26.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown26.TabIndex = 40; + darkNumericUpDown26.Tag = "GizmoStatic_LineThickness"; // // darkLabel27 // - this.darkLabel27.AutoSize = true; - this.darkLabel27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel27.Location = new System.Drawing.Point(8, 21); - this.darkLabel27.Name = "darkLabel27"; - this.darkLabel27.Size = new System.Drawing.Size(64, 13); - this.darkLabel27.TabIndex = 31; - this.darkLabel27.Text = "Gizmo size:"; + darkLabel27.AutoSize = true; + darkLabel27.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel27.Location = new System.Drawing.Point(8, 21); + darkLabel27.Name = "darkLabel27"; + darkLabel27.Size = new System.Drawing.Size(64, 13); + darkLabel27.TabIndex = 31; + darkLabel27.Text = "Gizmo size:"; // // darkLabel28 // - this.darkLabel28.AutoSize = true; - this.darkLabel28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel28.Location = new System.Drawing.Point(8, 105); - this.darkLabel28.Name = "darkLabel28"; - this.darkLabel28.Size = new System.Drawing.Size(97, 13); - this.darkLabel28.TabIndex = 37; - this.darkLabel28.Text = "Scaling cube size:"; + darkLabel28.AutoSize = true; + darkLabel28.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel28.Location = new System.Drawing.Point(8, 105); + darkLabel28.Name = "darkLabel28"; + darkLabel28.Size = new System.Drawing.Size(97, 13); + darkLabel28.TabIndex = 37; + darkLabel28.Text = "Scaling cube size:"; // // darkLabel29 // - this.darkLabel29.AutoSize = true; - this.darkLabel29.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel29.Location = new System.Drawing.Point(8, 49); - this.darkLabel29.Name = "darkLabel29"; - this.darkLabel29.Size = new System.Drawing.Size(117, 13); - this.darkLabel29.TabIndex = 33; - this.darkLabel29.Text = "Translation cone size:"; + darkLabel29.AutoSize = true; + darkLabel29.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel29.Location = new System.Drawing.Point(8, 49); + darkLabel29.Name = "darkLabel29"; + darkLabel29.Size = new System.Drawing.Size(116, 13); + darkLabel29.TabIndex = 33; + darkLabel29.Text = "Translation cone size:"; // // darkNumericUpDown27 // - this.darkNumericUpDown27.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown27.Location = new System.Drawing.Point(167, 103); - this.darkNumericUpDown27.LoopValues = false; - this.darkNumericUpDown27.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown27.Name = "darkNumericUpDown27"; - this.darkNumericUpDown27.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown27.TabIndex = 38; - this.darkNumericUpDown27.Tag = "GizmoStatic_ScaleCubeSize"; + darkNumericUpDown27.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown27.Location = new System.Drawing.Point(167, 103); + darkNumericUpDown27.LoopValues = false; + darkNumericUpDown27.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown27.Name = "darkNumericUpDown27"; + darkNumericUpDown27.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown27.TabIndex = 38; + darkNumericUpDown27.Tag = "GizmoStatic_ScaleCubeSize"; // // darkNumericUpDown28 // - this.darkNumericUpDown28.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown28.Location = new System.Drawing.Point(167, 75); - this.darkNumericUpDown28.LoopValues = false; - this.darkNumericUpDown28.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown28.Name = "darkNumericUpDown28"; - this.darkNumericUpDown28.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown28.TabIndex = 36; - this.darkNumericUpDown28.Tag = "GizmoStatic_CenterCubeSize"; + darkNumericUpDown28.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown28.Location = new System.Drawing.Point(167, 75); + darkNumericUpDown28.LoopValues = false; + darkNumericUpDown28.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown28.Name = "darkNumericUpDown28"; + darkNumericUpDown28.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown28.TabIndex = 36; + darkNumericUpDown28.Tag = "GizmoStatic_CenterCubeSize"; // // darkLabel30 // - this.darkLabel30.AutoSize = true; - this.darkLabel30.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel30.Location = new System.Drawing.Point(8, 77); - this.darkLabel30.Name = "darkLabel30"; - this.darkLabel30.Size = new System.Drawing.Size(111, 13); - this.darkLabel30.TabIndex = 35; - this.darkLabel30.Text = "Centering cube size:"; + darkLabel30.AutoSize = true; + darkLabel30.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel30.Location = new System.Drawing.Point(8, 77); + darkLabel30.Name = "darkLabel30"; + darkLabel30.Size = new System.Drawing.Size(111, 13); + darkLabel30.TabIndex = 35; + darkLabel30.Text = "Centering cube size:"; // // darkGroupBox10 // - this.darkGroupBox10.Controls.Add(this.darkNumericUpDown16); - this.darkGroupBox10.Controls.Add(this.darkLabel18); - this.darkGroupBox10.Controls.Add(this.darkNumericUpDown17); - this.darkGroupBox10.Controls.Add(this.darkNumericUpDown18); - this.darkGroupBox10.Controls.Add(this.darkLabel19); - this.darkGroupBox10.Controls.Add(this.darkLabel20); - this.darkGroupBox10.Controls.Add(this.darkLabel21); - this.darkGroupBox10.Controls.Add(this.darkNumericUpDown19); - this.darkGroupBox10.Controls.Add(this.darkNumericUpDown23); - this.darkGroupBox10.Controls.Add(this.darkLabel25); - this.darkGroupBox10.Dock = System.Windows.Forms.DockStyle.Top; - this.darkGroupBox10.Location = new System.Drawing.Point(3, 163); - this.darkGroupBox10.Name = "darkGroupBox10"; - this.darkGroupBox10.Size = new System.Drawing.Size(380, 160); - this.darkGroupBox10.TabIndex = 42; - this.darkGroupBox10.TabStop = false; - this.darkGroupBox10.Text = "Skeleton editor"; + darkGroupBox10.Controls.Add(darkNumericUpDown16); + darkGroupBox10.Controls.Add(darkLabel18); + darkGroupBox10.Controls.Add(darkNumericUpDown17); + darkGroupBox10.Controls.Add(darkNumericUpDown18); + darkGroupBox10.Controls.Add(darkLabel19); + darkGroupBox10.Controls.Add(darkLabel20); + darkGroupBox10.Controls.Add(darkLabel21); + darkGroupBox10.Controls.Add(darkNumericUpDown19); + darkGroupBox10.Controls.Add(darkNumericUpDown23); + darkGroupBox10.Controls.Add(darkLabel25); + darkGroupBox10.Dock = System.Windows.Forms.DockStyle.Top; + darkGroupBox10.Location = new System.Drawing.Point(3, 163); + darkGroupBox10.Name = "darkGroupBox10"; + darkGroupBox10.Size = new System.Drawing.Size(380, 160); + darkGroupBox10.TabIndex = 42; + darkGroupBox10.TabStop = false; + darkGroupBox10.Text = "Skeleton editor"; // // darkNumericUpDown16 // - this.darkNumericUpDown16.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown16.Location = new System.Drawing.Point(167, 47); - this.darkNumericUpDown16.LoopValues = false; - this.darkNumericUpDown16.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown16.Name = "darkNumericUpDown16"; - this.darkNumericUpDown16.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown16.TabIndex = 34; - this.darkNumericUpDown16.Tag = "GizmoSkeleton_TranslationConeSize"; + darkNumericUpDown16.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown16.Location = new System.Drawing.Point(167, 47); + darkNumericUpDown16.LoopValues = false; + darkNumericUpDown16.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown16.Name = "darkNumericUpDown16"; + darkNumericUpDown16.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown16.TabIndex = 34; + darkNumericUpDown16.Tag = "GizmoSkeleton_TranslationConeSize"; // // darkLabel18 // - this.darkLabel18.AutoSize = true; - this.darkLabel18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel18.Location = new System.Drawing.Point(8, 133); - this.darkLabel18.Name = "darkLabel18"; - this.darkLabel18.Size = new System.Drawing.Size(82, 13); - this.darkLabel18.TabIndex = 39; - this.darkLabel18.Text = "Line thickness:"; + darkLabel18.AutoSize = true; + darkLabel18.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel18.Location = new System.Drawing.Point(8, 133); + darkLabel18.Name = "darkLabel18"; + darkLabel18.Size = new System.Drawing.Size(82, 13); + darkLabel18.TabIndex = 39; + darkLabel18.Text = "Line thickness:"; // // darkNumericUpDown17 // - this.darkNumericUpDown17.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown17.Location = new System.Drawing.Point(167, 19); - this.darkNumericUpDown17.LoopValues = false; - this.darkNumericUpDown17.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.darkNumericUpDown17.Name = "darkNumericUpDown17"; - this.darkNumericUpDown17.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown17.TabIndex = 32; - this.darkNumericUpDown17.Tag = "GizmoSkeleton_Size"; + darkNumericUpDown17.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown17.Location = new System.Drawing.Point(167, 19); + darkNumericUpDown17.LoopValues = false; + darkNumericUpDown17.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); + darkNumericUpDown17.Name = "darkNumericUpDown17"; + darkNumericUpDown17.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown17.TabIndex = 32; + darkNumericUpDown17.Tag = "GizmoSkeleton_Size"; // // darkNumericUpDown18 // - this.darkNumericUpDown18.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown18.Location = new System.Drawing.Point(167, 131); - this.darkNumericUpDown18.LoopValues = false; - this.darkNumericUpDown18.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown18.Name = "darkNumericUpDown18"; - this.darkNumericUpDown18.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown18.TabIndex = 40; - this.darkNumericUpDown18.Tag = "GizmoSkeleton_LineThickness"; + darkNumericUpDown18.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown18.Location = new System.Drawing.Point(167, 131); + darkNumericUpDown18.LoopValues = false; + darkNumericUpDown18.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown18.Name = "darkNumericUpDown18"; + darkNumericUpDown18.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown18.TabIndex = 40; + darkNumericUpDown18.Tag = "GizmoSkeleton_LineThickness"; // // darkLabel19 // - this.darkLabel19.AutoSize = true; - this.darkLabel19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel19.Location = new System.Drawing.Point(8, 21); - this.darkLabel19.Name = "darkLabel19"; - this.darkLabel19.Size = new System.Drawing.Size(64, 13); - this.darkLabel19.TabIndex = 31; - this.darkLabel19.Text = "Gizmo size:"; + darkLabel19.AutoSize = true; + darkLabel19.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel19.Location = new System.Drawing.Point(8, 21); + darkLabel19.Name = "darkLabel19"; + darkLabel19.Size = new System.Drawing.Size(64, 13); + darkLabel19.TabIndex = 31; + darkLabel19.Text = "Gizmo size:"; // // darkLabel20 // - this.darkLabel20.AutoSize = true; - this.darkLabel20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel20.Location = new System.Drawing.Point(8, 105); - this.darkLabel20.Name = "darkLabel20"; - this.darkLabel20.Size = new System.Drawing.Size(97, 13); - this.darkLabel20.TabIndex = 37; - this.darkLabel20.Text = "Scaling cube size:"; + darkLabel20.AutoSize = true; + darkLabel20.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel20.Location = new System.Drawing.Point(8, 105); + darkLabel20.Name = "darkLabel20"; + darkLabel20.Size = new System.Drawing.Size(97, 13); + darkLabel20.TabIndex = 37; + darkLabel20.Text = "Scaling cube size:"; // // darkLabel21 // - this.darkLabel21.AutoSize = true; - this.darkLabel21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel21.Location = new System.Drawing.Point(8, 49); - this.darkLabel21.Name = "darkLabel21"; - this.darkLabel21.Size = new System.Drawing.Size(117, 13); - this.darkLabel21.TabIndex = 33; - this.darkLabel21.Text = "Translation cone size:"; + darkLabel21.AutoSize = true; + darkLabel21.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel21.Location = new System.Drawing.Point(8, 49); + darkLabel21.Name = "darkLabel21"; + darkLabel21.Size = new System.Drawing.Size(116, 13); + darkLabel21.TabIndex = 33; + darkLabel21.Text = "Translation cone size:"; // // darkNumericUpDown19 // - this.darkNumericUpDown19.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown19.Location = new System.Drawing.Point(167, 103); - this.darkNumericUpDown19.LoopValues = false; - this.darkNumericUpDown19.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown19.Name = "darkNumericUpDown19"; - this.darkNumericUpDown19.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown19.TabIndex = 38; - this.darkNumericUpDown19.Tag = "GizmoSkeleton_ScaleCubeSize"; + darkNumericUpDown19.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown19.Location = new System.Drawing.Point(167, 103); + darkNumericUpDown19.LoopValues = false; + darkNumericUpDown19.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown19.Name = "darkNumericUpDown19"; + darkNumericUpDown19.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown19.TabIndex = 38; + darkNumericUpDown19.Tag = "GizmoSkeleton_ScaleCubeSize"; // // darkNumericUpDown23 // - this.darkNumericUpDown23.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown23.Location = new System.Drawing.Point(167, 75); - this.darkNumericUpDown23.LoopValues = false; - this.darkNumericUpDown23.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown23.Name = "darkNumericUpDown23"; - this.darkNumericUpDown23.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown23.TabIndex = 36; - this.darkNumericUpDown23.Tag = "GizmoSkeleton_CenterCubeSize"; + darkNumericUpDown23.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown23.Location = new System.Drawing.Point(167, 75); + darkNumericUpDown23.LoopValues = false; + darkNumericUpDown23.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown23.Name = "darkNumericUpDown23"; + darkNumericUpDown23.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown23.TabIndex = 36; + darkNumericUpDown23.Tag = "GizmoSkeleton_CenterCubeSize"; // // darkLabel25 // - this.darkLabel25.AutoSize = true; - this.darkLabel25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel25.Location = new System.Drawing.Point(8, 77); - this.darkLabel25.Name = "darkLabel25"; - this.darkLabel25.Size = new System.Drawing.Size(111, 13); - this.darkLabel25.TabIndex = 35; - this.darkLabel25.Text = "Centering cube size:"; + darkLabel25.AutoSize = true; + darkLabel25.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel25.Location = new System.Drawing.Point(8, 77); + darkLabel25.Name = "darkLabel25"; + darkLabel25.Size = new System.Drawing.Size(111, 13); + darkLabel25.TabIndex = 35; + darkLabel25.Text = "Centering cube size:"; // // darkGroupBox7 // - this.darkGroupBox7.Controls.Add(this.darkNumericUpDown33); - this.darkGroupBox7.Controls.Add(this.darkLabel39); - this.darkGroupBox7.Controls.Add(this.darkNumericUpDown32); - this.darkGroupBox7.Controls.Add(this.darkNumericUpDown36); - this.darkGroupBox7.Controls.Add(this.darkLabel35); - this.darkGroupBox7.Controls.Add(this.darkLabel38); - this.darkGroupBox7.Controls.Add(this.darkLabel36); - this.darkGroupBox7.Controls.Add(this.darkNumericUpDown35); - this.darkGroupBox7.Controls.Add(this.darkNumericUpDown34); - this.darkGroupBox7.Controls.Add(this.darkLabel37); - this.darkGroupBox7.Dock = System.Windows.Forms.DockStyle.Top; - this.darkGroupBox7.Location = new System.Drawing.Point(3, 3); - this.darkGroupBox7.Name = "darkGroupBox7"; - this.darkGroupBox7.Size = new System.Drawing.Size(380, 160); - this.darkGroupBox7.TabIndex = 41; - this.darkGroupBox7.TabStop = false; - this.darkGroupBox7.Text = "Animation editor"; + darkGroupBox7.Controls.Add(darkNumericUpDown33); + darkGroupBox7.Controls.Add(darkLabel39); + darkGroupBox7.Controls.Add(darkNumericUpDown32); + darkGroupBox7.Controls.Add(darkNumericUpDown36); + darkGroupBox7.Controls.Add(darkLabel35); + darkGroupBox7.Controls.Add(darkLabel38); + darkGroupBox7.Controls.Add(darkLabel36); + darkGroupBox7.Controls.Add(darkNumericUpDown35); + darkGroupBox7.Controls.Add(darkNumericUpDown34); + darkGroupBox7.Controls.Add(darkLabel37); + darkGroupBox7.Dock = System.Windows.Forms.DockStyle.Top; + darkGroupBox7.Location = new System.Drawing.Point(3, 3); + darkGroupBox7.Name = "darkGroupBox7"; + darkGroupBox7.Size = new System.Drawing.Size(380, 160); + darkGroupBox7.TabIndex = 41; + darkGroupBox7.TabStop = false; + darkGroupBox7.Text = "Animation editor"; // // darkNumericUpDown33 // - this.darkNumericUpDown33.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown33.Location = new System.Drawing.Point(167, 47); - this.darkNumericUpDown33.LoopValues = false; - this.darkNumericUpDown33.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown33.Name = "darkNumericUpDown33"; - this.darkNumericUpDown33.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown33.TabIndex = 34; - this.darkNumericUpDown33.Tag = "GizmoAnimationEditor_TranslationConeSize"; + darkNumericUpDown33.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown33.Location = new System.Drawing.Point(167, 47); + darkNumericUpDown33.LoopValues = false; + darkNumericUpDown33.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown33.Name = "darkNumericUpDown33"; + darkNumericUpDown33.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown33.TabIndex = 34; + darkNumericUpDown33.Tag = "GizmoAnimationEditor_TranslationConeSize"; // // darkLabel39 // - this.darkLabel39.AutoSize = true; - this.darkLabel39.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel39.Location = new System.Drawing.Point(8, 133); - this.darkLabel39.Name = "darkLabel39"; - this.darkLabel39.Size = new System.Drawing.Size(82, 13); - this.darkLabel39.TabIndex = 39; - this.darkLabel39.Text = "Line thickness:"; + darkLabel39.AutoSize = true; + darkLabel39.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel39.Location = new System.Drawing.Point(8, 133); + darkLabel39.Name = "darkLabel39"; + darkLabel39.Size = new System.Drawing.Size(82, 13); + darkLabel39.TabIndex = 39; + darkLabel39.Text = "Line thickness:"; // // darkNumericUpDown32 // - this.darkNumericUpDown32.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown32.Location = new System.Drawing.Point(167, 19); - this.darkNumericUpDown32.LoopValues = false; - this.darkNumericUpDown32.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.darkNumericUpDown32.Name = "darkNumericUpDown32"; - this.darkNumericUpDown32.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown32.TabIndex = 32; - this.darkNumericUpDown32.Tag = "GizmoAnimationEditor_Size"; + darkNumericUpDown32.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown32.Location = new System.Drawing.Point(167, 19); + darkNumericUpDown32.LoopValues = false; + darkNumericUpDown32.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); + darkNumericUpDown32.Name = "darkNumericUpDown32"; + darkNumericUpDown32.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown32.TabIndex = 32; + darkNumericUpDown32.Tag = "GizmoAnimationEditor_Size"; // // darkNumericUpDown36 // - this.darkNumericUpDown36.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown36.Location = new System.Drawing.Point(167, 131); - this.darkNumericUpDown36.LoopValues = false; - this.darkNumericUpDown36.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown36.Name = "darkNumericUpDown36"; - this.darkNumericUpDown36.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown36.TabIndex = 40; - this.darkNumericUpDown36.Tag = "GizmoAnimationEditor_LineThickness"; + darkNumericUpDown36.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown36.Location = new System.Drawing.Point(167, 131); + darkNumericUpDown36.LoopValues = false; + darkNumericUpDown36.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown36.Name = "darkNumericUpDown36"; + darkNumericUpDown36.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown36.TabIndex = 40; + darkNumericUpDown36.Tag = "GizmoAnimationEditor_LineThickness"; // // darkLabel35 // - this.darkLabel35.AutoSize = true; - this.darkLabel35.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel35.Location = new System.Drawing.Point(8, 21); - this.darkLabel35.Name = "darkLabel35"; - this.darkLabel35.Size = new System.Drawing.Size(64, 13); - this.darkLabel35.TabIndex = 31; - this.darkLabel35.Text = "Gizmo size:"; + darkLabel35.AutoSize = true; + darkLabel35.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel35.Location = new System.Drawing.Point(8, 21); + darkLabel35.Name = "darkLabel35"; + darkLabel35.Size = new System.Drawing.Size(64, 13); + darkLabel35.TabIndex = 31; + darkLabel35.Text = "Gizmo size:"; // // darkLabel38 // - this.darkLabel38.AutoSize = true; - this.darkLabel38.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel38.Location = new System.Drawing.Point(8, 105); - this.darkLabel38.Name = "darkLabel38"; - this.darkLabel38.Size = new System.Drawing.Size(97, 13); - this.darkLabel38.TabIndex = 37; - this.darkLabel38.Text = "Scaling cube size:"; + darkLabel38.AutoSize = true; + darkLabel38.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel38.Location = new System.Drawing.Point(8, 105); + darkLabel38.Name = "darkLabel38"; + darkLabel38.Size = new System.Drawing.Size(97, 13); + darkLabel38.TabIndex = 37; + darkLabel38.Text = "Scaling cube size:"; // // darkLabel36 // - this.darkLabel36.AutoSize = true; - this.darkLabel36.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel36.Location = new System.Drawing.Point(8, 49); - this.darkLabel36.Name = "darkLabel36"; - this.darkLabel36.Size = new System.Drawing.Size(117, 13); - this.darkLabel36.TabIndex = 33; - this.darkLabel36.Text = "Translation cone size:"; + darkLabel36.AutoSize = true; + darkLabel36.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel36.Location = new System.Drawing.Point(8, 49); + darkLabel36.Name = "darkLabel36"; + darkLabel36.Size = new System.Drawing.Size(116, 13); + darkLabel36.TabIndex = 33; + darkLabel36.Text = "Translation cone size:"; // // darkNumericUpDown35 // - this.darkNumericUpDown35.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown35.Location = new System.Drawing.Point(167, 103); - this.darkNumericUpDown35.LoopValues = false; - this.darkNumericUpDown35.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown35.Name = "darkNumericUpDown35"; - this.darkNumericUpDown35.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown35.TabIndex = 38; - this.darkNumericUpDown35.Tag = "GizmoAnimationEditor_ScaleCubeSize"; + darkNumericUpDown35.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown35.Location = new System.Drawing.Point(167, 103); + darkNumericUpDown35.LoopValues = false; + darkNumericUpDown35.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown35.Name = "darkNumericUpDown35"; + darkNumericUpDown35.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown35.TabIndex = 38; + darkNumericUpDown35.Tag = "GizmoAnimationEditor_ScaleCubeSize"; // // darkNumericUpDown34 // - this.darkNumericUpDown34.IncrementAlternate = new decimal(new int[] { - 10, - 0, - 0, - 65536}); - this.darkNumericUpDown34.Location = new System.Drawing.Point(167, 75); - this.darkNumericUpDown34.LoopValues = false; - this.darkNumericUpDown34.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.darkNumericUpDown34.Name = "darkNumericUpDown34"; - this.darkNumericUpDown34.Size = new System.Drawing.Size(64, 22); - this.darkNumericUpDown34.TabIndex = 36; - this.darkNumericUpDown34.Tag = "GizmoAnimationEditor_CenterCubeSize"; + darkNumericUpDown34.IncrementAlternate = new decimal(new int[] { 10, 0, 0, 65536 }); + darkNumericUpDown34.Location = new System.Drawing.Point(167, 75); + darkNumericUpDown34.LoopValues = false; + darkNumericUpDown34.Maximum = new decimal(new int[] { 1000, 0, 0, 0 }); + darkNumericUpDown34.Name = "darkNumericUpDown34"; + darkNumericUpDown34.Size = new System.Drawing.Size(64, 22); + darkNumericUpDown34.TabIndex = 36; + darkNumericUpDown34.Tag = "GizmoAnimationEditor_CenterCubeSize"; // // darkLabel37 // - this.darkLabel37.AutoSize = true; - this.darkLabel37.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); - this.darkLabel37.Location = new System.Drawing.Point(8, 77); - this.darkLabel37.Name = "darkLabel37"; - this.darkLabel37.Size = new System.Drawing.Size(111, 13); - this.darkLabel37.TabIndex = 35; - this.darkLabel37.Text = "Centering cube size:"; + darkLabel37.AutoSize = true; + darkLabel37.ForeColor = System.Drawing.Color.FromArgb(220, 220, 220); + darkLabel37.Location = new System.Drawing.Point(8, 77); + darkLabel37.Name = "darkLabel37"; + darkLabel37.Size = new System.Drawing.Size(111, 13); + darkLabel37.TabIndex = 35; + darkLabel37.Text = "Centering cube size:"; // // FormOptions // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(615, 601); - this.Name = "FormOptions"; - this.tabbedContainer.ResumeLayout(false); - this.tabPage2.ResumeLayout(false); - this.tabPage2.PerformLayout(); - this.tabSubPanel2.ResumeLayout(false); - this.panel1.ResumeLayout(false); - this.darkGroupBox1.ResumeLayout(false); - this.darkGroupBox1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown1)).EndInit(); - this.darkGroupBox3.ResumeLayout(false); - this.darkGroupBox3.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown42)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown6)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown2)).EndInit(); - this.darkGroupBox2.ResumeLayout(false); - this.darkGroupBox2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown39)).EndInit(); - this.tabPage5.ResumeLayout(false); - this.darkGroupBox11.ResumeLayout(false); - this.darkGroupBox11.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown24)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown25)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown26)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown27)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown28)).EndInit(); - this.darkGroupBox10.ResumeLayout(false); - this.darkGroupBox10.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown16)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown17)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown18)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown19)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown23)).EndInit(); - this.darkGroupBox7.ResumeLayout(false); - this.darkGroupBox7.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown33)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown32)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown36)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown35)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.darkNumericUpDown34)).EndInit(); - this.ResumeLayout(false); - + AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + ClientSize = new System.Drawing.Size(615, 601); + Name = "FormOptions"; + tabbedContainer.ResumeLayout(false); + tabPage2.ResumeLayout(false); + tabPage2.PerformLayout(); + tabSubPanel2.ResumeLayout(false); + panel1.ResumeLayout(false); + darkGroupBox1.ResumeLayout(false); + darkGroupBox1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown1).EndInit(); + darkGroupBox3.ResumeLayout(false); + darkGroupBox3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown42).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown6).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown5).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown4).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown3).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown2).EndInit(); + darkGroupBox2.ResumeLayout(false); + darkGroupBox2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown39).EndInit(); + tabPage5.ResumeLayout(false); + darkGroupBox11.ResumeLayout(false); + darkGroupBox11.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown24).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown25).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown26).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown27).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown28).EndInit(); + darkGroupBox10.ResumeLayout(false); + darkGroupBox10.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown16).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown17).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown18).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown19).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown23).EndInit(); + darkGroupBox7.ResumeLayout(false); + darkGroupBox7.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown33).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown32).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown36).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown35).EndInit(); + ((System.ComponentModel.ISupportInitialize)darkNumericUpDown34).EndInit(); + ResumeLayout(false); } #endregion diff --git a/WadTool/Forms/FormOptions.resx b/WadTool/Forms/FormOptions.resx index 1af7de150c..8b2ff64a11 100644 --- a/WadTool/Forms/FormOptions.resx +++ b/WadTool/Forms/FormOptions.resx @@ -1,17 +1,17 @@  -