From c14aeef8336f7a77d3087538485309b67a23f6ab Mon Sep 17 00:00:00 2001
From: miku-666 <74728189+NessieHax@users.noreply.github.com>
Date: Mon, 15 May 2023 20:54:00 +0200
Subject: [PATCH] Added AutoSave setting to all file type editors
---
.../Forms/Editor/ANIMEditor.Designer.cs | 1361 +++++++++--------
PCK-Studio/Forms/Editor/ANIMEditor.cs | 16 +-
PCK-Studio/Forms/Editor/AnimationEditor.cs | 7 +
.../Forms/Editor/AudioEditor.Designer.cs | 534 +++----
PCK-Studio/Forms/Editor/AudioEditor.cs | 22 +-
PCK-Studio/Forms/Editor/AudioEditor.resx | 11 +-
.../Forms/Editor/BehaviourEditor.Designer.cs | 491 +++---
PCK-Studio/Forms/Editor/BehaviourEditor.cs | 16 +-
PCK-Studio/Forms/Editor/BoxEditor.Designer.cs | 604 ++++----
PCK-Studio/Forms/Editor/BoxEditor.cs | 16 +-
PCK-Studio/Forms/Editor/BoxEditor.resx | 6 +-
PCK-Studio/Forms/Editor/COLEditor.Designer.cs | 905 ++++++-----
PCK-Studio/Forms/Editor/COLEditor.cs | 16 +-
PCK-Studio/Forms/Editor/COLEditor.resx | 2 +-
.../Editor/GameRuleFileEditor.Designer.cs | 75 +-
PCK-Studio/Forms/Editor/GameRuleFileEditor.cs | 11 +
PCK-Studio/Forms/Editor/LOCEditor.Designer.cs | 1 +
PCK-Studio/Forms/Editor/LOCEditor.cs | 13 +-
PCK-Studio/Forms/Editor/LOCEditor.resx | 7 +-
19 files changed, 2100 insertions(+), 2014 deletions(-)
diff --git a/PCK-Studio/Forms/Editor/ANIMEditor.Designer.cs b/PCK-Studio/Forms/Editor/ANIMEditor.Designer.cs
index 1c413352..7941ddce 100644
--- a/PCK-Studio/Forms/Editor/ANIMEditor.Designer.cs
+++ b/PCK-Studio/Forms/Editor/ANIMEditor.Designer.cs
@@ -28,717 +28,718 @@
///
private void InitializeComponent()
{
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ANIMEditor));
- this.saveButton = new MetroFramework.Controls.MetroButton();
- this.effectsGroup = new System.Windows.Forms.GroupBox();
- this.rightLegOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.headOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftLegOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftArmOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.bodyOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.rightLegCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.slimCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.headCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftLegCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.rightArmCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftArmCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.bodyCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.classicCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.rightArmOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.effectsGroup2 = new System.Windows.Forms.GroupBox();
- this.rightLeggingCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.helmetCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftLeggingCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.rightArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.chestplateCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.unknownCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.crouchCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.dinnerboneCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.noArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.bobbingCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.santaCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.syncLegsCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.staticArmsCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.syncArmsCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.statueCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.zombieCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.staticLegsCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.copyButton = new MetroFramework.Controls.MetroButton();
- this.importButton = new MetroFramework.Controls.MetroButton();
- this.exportButton = new MetroFramework.Controls.MetroButton();
- this.animValue = new MetroFramework.Controls.MetroLabel();
- this.uncheckAllButton = new MetroFramework.Controls.MetroButton();
- this.checkAllButton = new MetroFramework.Controls.MetroButton();
- this.toolTip = new MetroFramework.Components.MetroToolTip();
- this.resetButton = new MetroFramework.Controls.MetroButton();
- this.templateButton = new MetroFramework.Controls.MetroButton();
- this.effectsGroup.SuspendLayout();
- this.effectsGroup2.SuspendLayout();
- this.groupBox1.SuspendLayout();
- this.SuspendLayout();
- //
- // saveButton
- //
- this.saveButton.Location = new System.Drawing.Point(250, 514);
- this.saveButton.Name = "saveButton";
- this.saveButton.Size = new System.Drawing.Size(126, 23);
- this.saveButton.TabIndex = 1;
- this.saveButton.Text = "Save";
- this.saveButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.saveButton.UseSelectable = true;
- this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
- //
- // effectsGroup
- //
- this.effectsGroup.Controls.Add(this.rightLegOCheckBox);
- this.effectsGroup.Controls.Add(this.headOCheckBox);
- this.effectsGroup.Controls.Add(this.leftLegOCheckBox);
- this.effectsGroup.Controls.Add(this.leftArmOCheckBox);
- this.effectsGroup.Controls.Add(this.bodyOCheckBox);
- this.effectsGroup.Controls.Add(this.rightLegCheckBox);
- this.effectsGroup.Controls.Add(this.slimCheckBox);
- this.effectsGroup.Controls.Add(this.headCheckBox);
- this.effectsGroup.Controls.Add(this.leftLegCheckBox);
- this.effectsGroup.Controls.Add(this.rightArmCheckBox);
- this.effectsGroup.Controls.Add(this.leftArmCheckBox);
- this.effectsGroup.Controls.Add(this.bodyCheckBox);
- this.effectsGroup.Controls.Add(this.classicCheckBox);
- this.effectsGroup.Controls.Add(this.rightArmOCheckBox);
- this.effectsGroup.ForeColor = System.Drawing.SystemColors.Window;
- this.effectsGroup.Location = new System.Drawing.Point(22, 148);
- this.effectsGroup.Name = "effectsGroup";
- this.effectsGroup.Size = new System.Drawing.Size(393, 238);
- this.effectsGroup.TabIndex = 2;
- this.effectsGroup.TabStop = false;
- this.effectsGroup.Text = "Skin Flags";
- //
- // rightLegOCheckBox
- //
- this.rightLegOCheckBox.AutoSize = true;
- this.rightLegOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightLegOCheckBox.Location = new System.Drawing.Point(180, 208);
- this.rightLegOCheckBox.Name = "rightLegOCheckBox";
- this.rightLegOCheckBox.Size = new System.Drawing.Size(199, 19);
- this.rightLegOCheckBox.TabIndex = 13;
- this.rightLegOCheckBox.Text = "Remove Right Leg Layer Box";
- this.rightLegOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightLegOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ANIMEditor));
+ this.saveButton = new MetroFramework.Controls.MetroButton();
+ this.effectsGroup = new System.Windows.Forms.GroupBox();
+ this.rightLegOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.headOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftLegOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftArmOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.bodyOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.rightLegCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.slimCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.headCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftLegCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.rightArmCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftArmCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.bodyCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.classicCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.rightArmOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.effectsGroup2 = new System.Windows.Forms.GroupBox();
+ this.rightLeggingCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.helmetCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftLeggingCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.rightArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.chestplateCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.unknownCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.crouchCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.dinnerboneCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.noArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.bobbingCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.santaCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.syncLegsCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.staticArmsCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.syncArmsCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.statueCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.zombieCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.staticLegsCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.copyButton = new MetroFramework.Controls.MetroButton();
+ this.importButton = new MetroFramework.Controls.MetroButton();
+ this.exportButton = new MetroFramework.Controls.MetroButton();
+ this.animValue = new MetroFramework.Controls.MetroLabel();
+ this.uncheckAllButton = new MetroFramework.Controls.MetroButton();
+ this.checkAllButton = new MetroFramework.Controls.MetroButton();
+ this.toolTip = new MetroFramework.Components.MetroToolTip();
+ this.resetButton = new MetroFramework.Controls.MetroButton();
+ this.templateButton = new MetroFramework.Controls.MetroButton();
+ this.effectsGroup.SuspendLayout();
+ this.effectsGroup2.SuspendLayout();
+ this.groupBox1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // saveButton
+ //
+ this.saveButton.Location = new System.Drawing.Point(250, 514);
+ this.saveButton.Name = "saveButton";
+ this.saveButton.Size = new System.Drawing.Size(126, 23);
+ this.saveButton.TabIndex = 1;
+ this.saveButton.Text = "Save";
+ this.saveButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.saveButton.UseSelectable = true;
+ this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
+ //
+ // effectsGroup
+ //
+ this.effectsGroup.Controls.Add(this.rightLegOCheckBox);
+ this.effectsGroup.Controls.Add(this.headOCheckBox);
+ this.effectsGroup.Controls.Add(this.leftLegOCheckBox);
+ this.effectsGroup.Controls.Add(this.leftArmOCheckBox);
+ this.effectsGroup.Controls.Add(this.bodyOCheckBox);
+ this.effectsGroup.Controls.Add(this.rightLegCheckBox);
+ this.effectsGroup.Controls.Add(this.slimCheckBox);
+ this.effectsGroup.Controls.Add(this.headCheckBox);
+ this.effectsGroup.Controls.Add(this.leftLegCheckBox);
+ this.effectsGroup.Controls.Add(this.rightArmCheckBox);
+ this.effectsGroup.Controls.Add(this.leftArmCheckBox);
+ this.effectsGroup.Controls.Add(this.bodyCheckBox);
+ this.effectsGroup.Controls.Add(this.classicCheckBox);
+ this.effectsGroup.Controls.Add(this.rightArmOCheckBox);
+ this.effectsGroup.ForeColor = System.Drawing.SystemColors.Window;
+ this.effectsGroup.Location = new System.Drawing.Point(22, 148);
+ this.effectsGroup.Name = "effectsGroup";
+ this.effectsGroup.Size = new System.Drawing.Size(393, 238);
+ this.effectsGroup.TabIndex = 2;
+ this.effectsGroup.TabStop = false;
+ this.effectsGroup.Text = "Skin Flags";
+ //
+ // rightLegOCheckBox
+ //
+ this.rightLegOCheckBox.AutoSize = true;
+ this.rightLegOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightLegOCheckBox.Location = new System.Drawing.Point(180, 208);
+ this.rightLegOCheckBox.Name = "rightLegOCheckBox";
+ this.rightLegOCheckBox.Size = new System.Drawing.Size(199, 19);
+ this.rightLegOCheckBox.TabIndex = 13;
+ this.rightLegOCheckBox.Text = "Remove Right Leg Layer Box";
+ this.rightLegOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightLegOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.rightLegOCheckBox.UseSelectable = true;
- //
- // headOCheckBox
- //
- this.headOCheckBox.AutoSize = true;
- this.headOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.headOCheckBox.Location = new System.Drawing.Point(180, 50);
- this.headOCheckBox.Name = "headOCheckBox";
- this.headOCheckBox.Size = new System.Drawing.Size(173, 19);
- this.headOCheckBox.TabIndex = 12;
- this.headOCheckBox.Text = "Remove Head Layer Box";
- this.headOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.headOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.rightLegOCheckBox.UseSelectable = true;
+ //
+ // headOCheckBox
+ //
+ this.headOCheckBox.AutoSize = true;
+ this.headOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.headOCheckBox.Location = new System.Drawing.Point(180, 50);
+ this.headOCheckBox.Name = "headOCheckBox";
+ this.headOCheckBox.Size = new System.Drawing.Size(173, 19);
+ this.headOCheckBox.TabIndex = 12;
+ this.headOCheckBox.Text = "Remove Head Layer Box";
+ this.headOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.headOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.headOCheckBox.UseSelectable = true;
- //
- // leftLegOCheckBox
- //
- this.leftLegOCheckBox.AutoSize = true;
- this.leftLegOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftLegOCheckBox.Location = new System.Drawing.Point(180, 174);
- this.leftLegOCheckBox.Name = "leftLegOCheckBox";
- this.leftLegOCheckBox.Size = new System.Drawing.Size(190, 19);
- this.leftLegOCheckBox.TabIndex = 11;
- this.leftLegOCheckBox.Text = "Remove Left Leg Layer Box";
- this.leftLegOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftLegOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.headOCheckBox.UseSelectable = true;
+ //
+ // leftLegOCheckBox
+ //
+ this.leftLegOCheckBox.AutoSize = true;
+ this.leftLegOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftLegOCheckBox.Location = new System.Drawing.Point(180, 174);
+ this.leftLegOCheckBox.Name = "leftLegOCheckBox";
+ this.leftLegOCheckBox.Size = new System.Drawing.Size(190, 19);
+ this.leftLegOCheckBox.TabIndex = 11;
+ this.leftLegOCheckBox.Text = "Remove Left Leg Layer Box";
+ this.leftLegOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftLegOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.leftLegOCheckBox.UseSelectable = true;
- //
- // leftArmOCheckBox
- //
- this.leftArmOCheckBox.AutoSize = true;
- this.leftArmOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftArmOCheckBox.Location = new System.Drawing.Point(180, 112);
- this.leftArmOCheckBox.Name = "leftArmOCheckBox";
- this.leftArmOCheckBox.Size = new System.Drawing.Size(194, 19);
- this.leftArmOCheckBox.TabIndex = 9;
- this.leftArmOCheckBox.Text = "Remove Left Arm Layer Box";
- this.leftArmOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftArmOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.leftLegOCheckBox.UseSelectable = true;
+ //
+ // leftArmOCheckBox
+ //
+ this.leftArmOCheckBox.AutoSize = true;
+ this.leftArmOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftArmOCheckBox.Location = new System.Drawing.Point(180, 112);
+ this.leftArmOCheckBox.Name = "leftArmOCheckBox";
+ this.leftArmOCheckBox.Size = new System.Drawing.Size(194, 19);
+ this.leftArmOCheckBox.TabIndex = 9;
+ this.leftArmOCheckBox.Text = "Remove Left Arm Layer Box";
+ this.leftArmOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftArmOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.leftArmOCheckBox.UseSelectable = true;
- //
- // bodyOCheckBox
- //
- this.bodyOCheckBox.AutoSize = true;
- this.bodyOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.bodyOCheckBox.Location = new System.Drawing.Point(180, 81);
- this.bodyOCheckBox.Name = "bodyOCheckBox";
- this.bodyOCheckBox.Size = new System.Drawing.Size(172, 19);
- this.bodyOCheckBox.TabIndex = 8;
- this.bodyOCheckBox.Text = "Remove Body Layer Box";
- this.bodyOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.bodyOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.leftArmOCheckBox.UseSelectable = true;
+ //
+ // bodyOCheckBox
+ //
+ this.bodyOCheckBox.AutoSize = true;
+ this.bodyOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.bodyOCheckBox.Location = new System.Drawing.Point(180, 81);
+ this.bodyOCheckBox.Name = "bodyOCheckBox";
+ this.bodyOCheckBox.Size = new System.Drawing.Size(172, 19);
+ this.bodyOCheckBox.TabIndex = 8;
+ this.bodyOCheckBox.Text = "Remove Body Layer Box";
+ this.bodyOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.bodyOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.bodyOCheckBox.UseSelectable = true;
- //
- // rightLegCheckBox
- //
- this.rightLegCheckBox.AutoSize = true;
- this.rightLegCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightLegCheckBox.Location = new System.Drawing.Point(6, 208);
- this.rightLegCheckBox.Name = "rightLegCheckBox";
- this.rightLegCheckBox.Size = new System.Drawing.Size(162, 19);
- this.rightLegCheckBox.TabIndex = 7;
- this.rightLegCheckBox.Text = "Remove Right Leg Box";
- this.rightLegCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightLegCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.bodyOCheckBox.UseSelectable = true;
+ //
+ // rightLegCheckBox
+ //
+ this.rightLegCheckBox.AutoSize = true;
+ this.rightLegCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightLegCheckBox.Location = new System.Drawing.Point(6, 208);
+ this.rightLegCheckBox.Name = "rightLegCheckBox";
+ this.rightLegCheckBox.Size = new System.Drawing.Size(162, 19);
+ this.rightLegCheckBox.TabIndex = 7;
+ this.rightLegCheckBox.Text = "Remove Right Leg Box";
+ this.rightLegCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightLegCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.rightLegCheckBox.UseSelectable = true;
- //
- // slimCheckBox
- //
- this.slimCheckBox.AutoSize = true;
- this.slimCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.slimCheckBox.Location = new System.Drawing.Point(180, 19);
- this.slimCheckBox.Name = "slimCheckBox";
- this.slimCheckBox.Size = new System.Drawing.Size(151, 19);
- this.slimCheckBox.TabIndex = 6;
- this.slimCheckBox.Text = "64x64 Alex/Slim Skin";
- this.slimCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.slimCheckBox, " The 1.8 style skin type with slim arms, overlays for each part, and sep" +
+ this.rightLegCheckBox.UseSelectable = true;
+ //
+ // slimCheckBox
+ //
+ this.slimCheckBox.AutoSize = true;
+ this.slimCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.slimCheckBox.Location = new System.Drawing.Point(180, 19);
+ this.slimCheckBox.Name = "slimCheckBox";
+ this.slimCheckBox.Size = new System.Drawing.Size(151, 19);
+ this.slimCheckBox.TabIndex = 6;
+ this.slimCheckBox.Text = "64x64 Alex/Slim Skin";
+ this.slimCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.slimCheckBox, " The 1.8 style skin type with slim arms, overlays for each part, and sep" +
"arate textures for right and left limbs. Resolution is also set to 64x64. " +
" ");
- this.slimCheckBox.UseSelectable = true;
- //
- // headCheckBox
- //
- this.headCheckBox.AutoSize = true;
- this.headCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.headCheckBox.Location = new System.Drawing.Point(6, 50);
- this.headCheckBox.Name = "headCheckBox";
- this.headCheckBox.Size = new System.Drawing.Size(136, 19);
- this.headCheckBox.TabIndex = 5;
- this.headCheckBox.Text = "Remove Head Box";
- this.headCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.headCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.slimCheckBox.UseSelectable = true;
+ //
+ // headCheckBox
+ //
+ this.headCheckBox.AutoSize = true;
+ this.headCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.headCheckBox.Location = new System.Drawing.Point(6, 50);
+ this.headCheckBox.Name = "headCheckBox";
+ this.headCheckBox.Size = new System.Drawing.Size(136, 19);
+ this.headCheckBox.TabIndex = 5;
+ this.headCheckBox.Text = "Remove Head Box";
+ this.headCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.headCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.headCheckBox.UseSelectable = true;
- //
- // leftLegCheckBox
- //
- this.leftLegCheckBox.AutoSize = true;
- this.leftLegCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftLegCheckBox.Location = new System.Drawing.Point(6, 174);
- this.leftLegCheckBox.Name = "leftLegCheckBox";
- this.leftLegCheckBox.Size = new System.Drawing.Size(153, 19);
- this.leftLegCheckBox.TabIndex = 4;
- this.leftLegCheckBox.Text = "Remove Left Leg Box";
- this.leftLegCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftLegCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.headCheckBox.UseSelectable = true;
+ //
+ // leftLegCheckBox
+ //
+ this.leftLegCheckBox.AutoSize = true;
+ this.leftLegCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftLegCheckBox.Location = new System.Drawing.Point(6, 174);
+ this.leftLegCheckBox.Name = "leftLegCheckBox";
+ this.leftLegCheckBox.Size = new System.Drawing.Size(153, 19);
+ this.leftLegCheckBox.TabIndex = 4;
+ this.leftLegCheckBox.Text = "Remove Left Leg Box";
+ this.leftLegCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftLegCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.leftLegCheckBox.UseSelectable = true;
- //
- // rightArmCheckBox
- //
- this.rightArmCheckBox.AutoSize = true;
- this.rightArmCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightArmCheckBox.Location = new System.Drawing.Point(6, 143);
- this.rightArmCheckBox.Name = "rightArmCheckBox";
- this.rightArmCheckBox.Size = new System.Drawing.Size(166, 19);
- this.rightArmCheckBox.TabIndex = 3;
- this.rightArmCheckBox.Text = "Remove Right Arm Box";
- this.rightArmCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightArmCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.leftLegCheckBox.UseSelectable = true;
+ //
+ // rightArmCheckBox
+ //
+ this.rightArmCheckBox.AutoSize = true;
+ this.rightArmCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightArmCheckBox.Location = new System.Drawing.Point(6, 143);
+ this.rightArmCheckBox.Name = "rightArmCheckBox";
+ this.rightArmCheckBox.Size = new System.Drawing.Size(166, 19);
+ this.rightArmCheckBox.TabIndex = 3;
+ this.rightArmCheckBox.Text = "Remove Right Arm Box";
+ this.rightArmCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightArmCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.rightArmCheckBox.UseSelectable = true;
- //
- // leftArmCheckBox
- //
- this.leftArmCheckBox.AutoSize = true;
- this.leftArmCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftArmCheckBox.Location = new System.Drawing.Point(6, 112);
- this.leftArmCheckBox.Name = "leftArmCheckBox";
- this.leftArmCheckBox.Size = new System.Drawing.Size(157, 19);
- this.leftArmCheckBox.TabIndex = 2;
- this.leftArmCheckBox.Text = "Remove Left Arm Box";
- this.leftArmCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftArmCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.rightArmCheckBox.UseSelectable = true;
+ //
+ // leftArmCheckBox
+ //
+ this.leftArmCheckBox.AutoSize = true;
+ this.leftArmCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftArmCheckBox.Location = new System.Drawing.Point(6, 112);
+ this.leftArmCheckBox.Name = "leftArmCheckBox";
+ this.leftArmCheckBox.Size = new System.Drawing.Size(157, 19);
+ this.leftArmCheckBox.TabIndex = 2;
+ this.leftArmCheckBox.Text = "Remove Left Arm Box";
+ this.leftArmCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftArmCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.leftArmCheckBox.UseSelectable = true;
- //
- // bodyCheckBox
- //
- this.bodyCheckBox.AutoSize = true;
- this.bodyCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.bodyCheckBox.Location = new System.Drawing.Point(6, 81);
- this.bodyCheckBox.Name = "bodyCheckBox";
- this.bodyCheckBox.Size = new System.Drawing.Size(135, 19);
- this.bodyCheckBox.TabIndex = 1;
- this.bodyCheckBox.Text = "Remove Body Box";
- this.bodyCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.bodyCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.leftArmCheckBox.UseSelectable = true;
+ //
+ // bodyCheckBox
+ //
+ this.bodyCheckBox.AutoSize = true;
+ this.bodyCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.bodyCheckBox.Location = new System.Drawing.Point(6, 81);
+ this.bodyCheckBox.Name = "bodyCheckBox";
+ this.bodyCheckBox.Size = new System.Drawing.Size(135, 19);
+ this.bodyCheckBox.TabIndex = 1;
+ this.bodyCheckBox.Text = "Remove Body Box";
+ this.bodyCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.bodyCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.bodyCheckBox.UseSelectable = true;
- //
- // classicCheckBox
- //
- this.classicCheckBox.AutoSize = true;
- this.classicCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.classicCheckBox.Location = new System.Drawing.Point(6, 19);
- this.classicCheckBox.Name = "classicCheckBox";
- this.classicCheckBox.Size = new System.Drawing.Size(136, 19);
- this.classicCheckBox.TabIndex = 0;
- this.classicCheckBox.Text = "64x64 Classic Skin";
- this.classicCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.classicCheckBox, " The 1.8 style skin type with overlays for each part and separate textur" +
+ this.bodyCheckBox.UseSelectable = true;
+ //
+ // classicCheckBox
+ //
+ this.classicCheckBox.AutoSize = true;
+ this.classicCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.classicCheckBox.Location = new System.Drawing.Point(6, 19);
+ this.classicCheckBox.Name = "classicCheckBox";
+ this.classicCheckBox.Size = new System.Drawing.Size(136, 19);
+ this.classicCheckBox.TabIndex = 0;
+ this.classicCheckBox.Text = "64x64 Classic Skin";
+ this.classicCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.classicCheckBox, " The 1.8 style skin type with overlays for each part and separate textur" +
"es for right and left limbs. Resolution is also set to 64x64. ");
- this.classicCheckBox.UseSelectable = true;
- //
- // rightArmOCheckBox
- //
- this.rightArmOCheckBox.AutoSize = true;
- this.rightArmOCheckBox.BackColor = System.Drawing.Color.Transparent;
- this.rightArmOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightArmOCheckBox.Location = new System.Drawing.Point(180, 143);
- this.rightArmOCheckBox.Name = "rightArmOCheckBox";
- this.rightArmOCheckBox.Size = new System.Drawing.Size(203, 19);
- this.rightArmOCheckBox.TabIndex = 10;
- this.rightArmOCheckBox.Text = "Remove Right Arm Layer Box";
- this.rightArmOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightArmOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.classicCheckBox.UseSelectable = true;
+ //
+ // rightArmOCheckBox
+ //
+ this.rightArmOCheckBox.AutoSize = true;
+ this.rightArmOCheckBox.BackColor = System.Drawing.Color.Transparent;
+ this.rightArmOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightArmOCheckBox.Location = new System.Drawing.Point(180, 143);
+ this.rightArmOCheckBox.Name = "rightArmOCheckBox";
+ this.rightArmOCheckBox.Size = new System.Drawing.Size(203, 19);
+ this.rightArmOCheckBox.TabIndex = 10;
+ this.rightArmOCheckBox.Text = "Remove Right Arm Layer Box";
+ this.rightArmOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightArmOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.rightArmOCheckBox.UseSelectable = true;
- //
- // effectsGroup2
- //
- this.effectsGroup2.Controls.Add(this.rightLeggingCheckBox);
- this.effectsGroup2.Controls.Add(this.helmetCheckBox);
- this.effectsGroup2.Controls.Add(this.leftLeggingCheckBox);
- this.effectsGroup2.Controls.Add(this.rightArmorCheckBox);
- this.effectsGroup2.Controls.Add(this.leftArmorCheckBox);
- this.effectsGroup2.Controls.Add(this.chestplateCheckBox);
- this.effectsGroup2.ForeColor = System.Drawing.SystemColors.Window;
- this.effectsGroup2.Location = new System.Drawing.Point(421, 183);
- this.effectsGroup2.Name = "effectsGroup2";
- this.effectsGroup2.Size = new System.Drawing.Size(188, 203);
- this.effectsGroup2.TabIndex = 14;
- this.effectsGroup2.TabStop = false;
- this.effectsGroup2.Text = "Armor Flags";
- //
- // rightLeggingCheckBox
- //
- this.rightLeggingCheckBox.AutoSize = true;
- this.rightLeggingCheckBox.Enabled = false;
- this.rightLeggingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightLeggingCheckBox.Location = new System.Drawing.Point(6, 174);
- this.rightLeggingCheckBox.Name = "rightLeggingCheckBox";
- this.rightLeggingCheckBox.Size = new System.Drawing.Size(173, 19);
- this.rightLeggingCheckBox.TabIndex = 7;
- this.rightLeggingCheckBox.Text = "Render Right Leg Armor";
- this.rightLeggingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightLeggingCheckBox, " Forcefully enables the specified armor piece.");
- this.rightLeggingCheckBox.UseSelectable = true;
- //
- // helmetCheckBox
- //
- this.helmetCheckBox.AutoSize = true;
- this.helmetCheckBox.Enabled = false;
- this.helmetCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.helmetCheckBox.Location = new System.Drawing.Point(6, 19);
- this.helmetCheckBox.Name = "helmetCheckBox";
- this.helmetCheckBox.Size = new System.Drawing.Size(147, 19);
- this.helmetCheckBox.TabIndex = 5;
- this.helmetCheckBox.Text = "Render Head Armor";
- this.helmetCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.helmetCheckBox, " Forcefully enables the specified armor piece.");
- this.helmetCheckBox.UseSelectable = true;
- //
- // leftLeggingCheckBox
- //
- this.leftLeggingCheckBox.AutoSize = true;
- this.leftLeggingCheckBox.Enabled = false;
- this.leftLeggingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftLeggingCheckBox.Location = new System.Drawing.Point(6, 143);
- this.leftLeggingCheckBox.Name = "leftLeggingCheckBox";
- this.leftLeggingCheckBox.Size = new System.Drawing.Size(164, 19);
- this.leftLeggingCheckBox.TabIndex = 4;
- this.leftLeggingCheckBox.Text = "Render Left Leg Armor";
- this.leftLeggingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftLeggingCheckBox, " Forcefully enables the specified armor piece.");
- this.leftLeggingCheckBox.UseSelectable = true;
- //
- // rightArmorCheckBox
- //
- this.rightArmorCheckBox.AutoSize = true;
- this.rightArmorCheckBox.Enabled = false;
- this.rightArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightArmorCheckBox.Location = new System.Drawing.Point(6, 112);
- this.rightArmorCheckBox.Name = "rightArmorCheckBox";
- this.rightArmorCheckBox.Size = new System.Drawing.Size(177, 19);
- this.rightArmorCheckBox.TabIndex = 3;
- this.rightArmorCheckBox.Text = "Render Right Arm Armor";
- this.rightArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightArmorCheckBox, " Forcefully enables the specified armor piece.");
- this.rightArmorCheckBox.UseSelectable = true;
- //
- // leftArmorCheckBox
- //
- this.leftArmorCheckBox.AutoSize = true;
- this.leftArmorCheckBox.Enabled = false;
- this.leftArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftArmorCheckBox.Location = new System.Drawing.Point(6, 81);
- this.leftArmorCheckBox.Name = "leftArmorCheckBox";
- this.leftArmorCheckBox.Size = new System.Drawing.Size(168, 19);
- this.leftArmorCheckBox.TabIndex = 2;
- this.leftArmorCheckBox.Text = "Render Left Arm Armor";
- this.leftArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftArmorCheckBox, " Forcefully enables the specified armor piece.");
- this.leftArmorCheckBox.UseSelectable = true;
- //
- // chestplateCheckBox
- //
- this.chestplateCheckBox.AutoSize = true;
- this.chestplateCheckBox.Enabled = false;
- this.chestplateCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.chestplateCheckBox.Location = new System.Drawing.Point(6, 50);
- this.chestplateCheckBox.Name = "chestplateCheckBox";
- this.chestplateCheckBox.Size = new System.Drawing.Size(146, 19);
- this.chestplateCheckBox.TabIndex = 1;
- this.chestplateCheckBox.Text = "Render Body Armor";
- this.chestplateCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.chestplateCheckBox, " Forcefully enables the specified armor piece.");
- this.chestplateCheckBox.UseSelectable = true;
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.unknownCheckBox);
- this.groupBox1.Controls.Add(this.crouchCheckBox);
- this.groupBox1.Controls.Add(this.dinnerboneCheckBox);
- this.groupBox1.Controls.Add(this.noArmorCheckBox);
- this.groupBox1.Controls.Add(this.bobbingCheckBox);
- this.groupBox1.Controls.Add(this.santaCheckBox);
- this.groupBox1.Controls.Add(this.syncLegsCheckBox);
- this.groupBox1.Controls.Add(this.staticArmsCheckBox);
- this.groupBox1.Controls.Add(this.syncArmsCheckBox);
- this.groupBox1.Controls.Add(this.statueCheckBox);
- this.groupBox1.Controls.Add(this.zombieCheckBox);
- this.groupBox1.Controls.Add(this.staticLegsCheckBox);
- this.groupBox1.ForeColor = System.Drawing.SystemColors.Window;
- this.groupBox1.Location = new System.Drawing.Point(22, 388);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(587, 115);
- this.groupBox1.TabIndex = 15;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Special Animations";
- //
- // unknownCheckBox
- //
- this.unknownCheckBox.AutoSize = true;
- this.unknownCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.unknownCheckBox.Location = new System.Drawing.Point(126, 81);
- this.unknownCheckBox.Name = "unknownCheckBox";
- this.unknownCheckBox.Size = new System.Drawing.Size(84, 19);
- this.unknownCheckBox.TabIndex = 13;
- this.unknownCheckBox.Text = "Unknown";
- this.unknownCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.unknownCheckBox, " If you figure out what this is. Please reach out to MNL#8935 on Discord. (: " +
+ this.rightArmOCheckBox.UseSelectable = true;
+ //
+ // effectsGroup2
+ //
+ this.effectsGroup2.Controls.Add(this.rightLeggingCheckBox);
+ this.effectsGroup2.Controls.Add(this.helmetCheckBox);
+ this.effectsGroup2.Controls.Add(this.leftLeggingCheckBox);
+ this.effectsGroup2.Controls.Add(this.rightArmorCheckBox);
+ this.effectsGroup2.Controls.Add(this.leftArmorCheckBox);
+ this.effectsGroup2.Controls.Add(this.chestplateCheckBox);
+ this.effectsGroup2.ForeColor = System.Drawing.SystemColors.Window;
+ this.effectsGroup2.Location = new System.Drawing.Point(421, 183);
+ this.effectsGroup2.Name = "effectsGroup2";
+ this.effectsGroup2.Size = new System.Drawing.Size(188, 203);
+ this.effectsGroup2.TabIndex = 14;
+ this.effectsGroup2.TabStop = false;
+ this.effectsGroup2.Text = "Armor Flags";
+ //
+ // rightLeggingCheckBox
+ //
+ this.rightLeggingCheckBox.AutoSize = true;
+ this.rightLeggingCheckBox.Enabled = false;
+ this.rightLeggingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightLeggingCheckBox.Location = new System.Drawing.Point(6, 174);
+ this.rightLeggingCheckBox.Name = "rightLeggingCheckBox";
+ this.rightLeggingCheckBox.Size = new System.Drawing.Size(173, 19);
+ this.rightLeggingCheckBox.TabIndex = 7;
+ this.rightLeggingCheckBox.Text = "Render Right Leg Armor";
+ this.rightLeggingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightLeggingCheckBox, " Forcefully enables the specified armor piece.");
+ this.rightLeggingCheckBox.UseSelectable = true;
+ //
+ // helmetCheckBox
+ //
+ this.helmetCheckBox.AutoSize = true;
+ this.helmetCheckBox.Enabled = false;
+ this.helmetCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.helmetCheckBox.Location = new System.Drawing.Point(6, 19);
+ this.helmetCheckBox.Name = "helmetCheckBox";
+ this.helmetCheckBox.Size = new System.Drawing.Size(147, 19);
+ this.helmetCheckBox.TabIndex = 5;
+ this.helmetCheckBox.Text = "Render Head Armor";
+ this.helmetCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.helmetCheckBox, " Forcefully enables the specified armor piece.");
+ this.helmetCheckBox.UseSelectable = true;
+ //
+ // leftLeggingCheckBox
+ //
+ this.leftLeggingCheckBox.AutoSize = true;
+ this.leftLeggingCheckBox.Enabled = false;
+ this.leftLeggingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftLeggingCheckBox.Location = new System.Drawing.Point(6, 143);
+ this.leftLeggingCheckBox.Name = "leftLeggingCheckBox";
+ this.leftLeggingCheckBox.Size = new System.Drawing.Size(164, 19);
+ this.leftLeggingCheckBox.TabIndex = 4;
+ this.leftLeggingCheckBox.Text = "Render Left Leg Armor";
+ this.leftLeggingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftLeggingCheckBox, " Forcefully enables the specified armor piece.");
+ this.leftLeggingCheckBox.UseSelectable = true;
+ //
+ // rightArmorCheckBox
+ //
+ this.rightArmorCheckBox.AutoSize = true;
+ this.rightArmorCheckBox.Enabled = false;
+ this.rightArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightArmorCheckBox.Location = new System.Drawing.Point(6, 112);
+ this.rightArmorCheckBox.Name = "rightArmorCheckBox";
+ this.rightArmorCheckBox.Size = new System.Drawing.Size(177, 19);
+ this.rightArmorCheckBox.TabIndex = 3;
+ this.rightArmorCheckBox.Text = "Render Right Arm Armor";
+ this.rightArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightArmorCheckBox, " Forcefully enables the specified armor piece.");
+ this.rightArmorCheckBox.UseSelectable = true;
+ //
+ // leftArmorCheckBox
+ //
+ this.leftArmorCheckBox.AutoSize = true;
+ this.leftArmorCheckBox.Enabled = false;
+ this.leftArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftArmorCheckBox.Location = new System.Drawing.Point(6, 81);
+ this.leftArmorCheckBox.Name = "leftArmorCheckBox";
+ this.leftArmorCheckBox.Size = new System.Drawing.Size(168, 19);
+ this.leftArmorCheckBox.TabIndex = 2;
+ this.leftArmorCheckBox.Text = "Render Left Arm Armor";
+ this.leftArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftArmorCheckBox, " Forcefully enables the specified armor piece.");
+ this.leftArmorCheckBox.UseSelectable = true;
+ //
+ // chestplateCheckBox
+ //
+ this.chestplateCheckBox.AutoSize = true;
+ this.chestplateCheckBox.Enabled = false;
+ this.chestplateCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.chestplateCheckBox.Location = new System.Drawing.Point(6, 50);
+ this.chestplateCheckBox.Name = "chestplateCheckBox";
+ this.chestplateCheckBox.Size = new System.Drawing.Size(146, 19);
+ this.chestplateCheckBox.TabIndex = 1;
+ this.chestplateCheckBox.Text = "Render Body Armor";
+ this.chestplateCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.chestplateCheckBox, " Forcefully enables the specified armor piece.");
+ this.chestplateCheckBox.UseSelectable = true;
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.unknownCheckBox);
+ this.groupBox1.Controls.Add(this.crouchCheckBox);
+ this.groupBox1.Controls.Add(this.dinnerboneCheckBox);
+ this.groupBox1.Controls.Add(this.noArmorCheckBox);
+ this.groupBox1.Controls.Add(this.bobbingCheckBox);
+ this.groupBox1.Controls.Add(this.santaCheckBox);
+ this.groupBox1.Controls.Add(this.syncLegsCheckBox);
+ this.groupBox1.Controls.Add(this.staticArmsCheckBox);
+ this.groupBox1.Controls.Add(this.syncArmsCheckBox);
+ this.groupBox1.Controls.Add(this.statueCheckBox);
+ this.groupBox1.Controls.Add(this.zombieCheckBox);
+ this.groupBox1.Controls.Add(this.staticLegsCheckBox);
+ this.groupBox1.ForeColor = System.Drawing.SystemColors.Window;
+ this.groupBox1.Location = new System.Drawing.Point(22, 388);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(587, 115);
+ this.groupBox1.TabIndex = 15;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "Special Animations";
+ //
+ // unknownCheckBox
+ //
+ this.unknownCheckBox.AutoSize = true;
+ this.unknownCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.unknownCheckBox.Location = new System.Drawing.Point(126, 81);
+ this.unknownCheckBox.Name = "unknownCheckBox";
+ this.unknownCheckBox.Size = new System.Drawing.Size(84, 19);
+ this.unknownCheckBox.TabIndex = 13;
+ this.unknownCheckBox.Text = "Unknown";
+ this.unknownCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.unknownCheckBox, " If you figure out what this is. Please reach out to MNL#8935 on Discord. (: " +
"");
- this.unknownCheckBox.UseSelectable = true;
- //
- // crouchCheckBox
- //
- this.crouchCheckBox.AutoSize = true;
- this.crouchCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.crouchCheckBox.Location = new System.Drawing.Point(126, 50);
- this.crouchCheckBox.Name = "crouchCheckBox";
- this.crouchCheckBox.Size = new System.Drawing.Size(137, 19);
- this.crouchCheckBox.TabIndex = 12;
- this.crouchCheckBox.Text = "Backwards Crouch";
- this.crouchCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.crouchCheckBox, " The crouch animation is reversed so that the arms and body lean back. Usefu" +
+ this.unknownCheckBox.UseSelectable = true;
+ //
+ // crouchCheckBox
+ //
+ this.crouchCheckBox.AutoSize = true;
+ this.crouchCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.crouchCheckBox.Location = new System.Drawing.Point(126, 50);
+ this.crouchCheckBox.Name = "crouchCheckBox";
+ this.crouchCheckBox.Size = new System.Drawing.Size(137, 19);
+ this.crouchCheckBox.TabIndex = 12;
+ this.crouchCheckBox.Text = "Backwards Crouch";
+ this.crouchCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.crouchCheckBox, " The crouch animation is reversed so that the arms and body lean back. Usefu" +
"l for small skins. ");
- this.crouchCheckBox.UseSelectable = true;
- //
- // dinnerboneCheckBox
- //
- this.dinnerboneCheckBox.AutoSize = true;
- this.dinnerboneCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.dinnerboneCheckBox.Location = new System.Drawing.Point(126, 19);
- this.dinnerboneCheckBox.Name = "dinnerboneCheckBox";
- this.dinnerboneCheckBox.Size = new System.Drawing.Size(97, 19);
- this.dinnerboneCheckBox.TabIndex = 11;
- this.dinnerboneCheckBox.Text = "Dinnerbone";
- this.dinnerboneCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.dinnerboneCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.dinnerboneCheckBox, " Flips the skin upside down like Dinnerbone\'s skin, a Minecraft developer. ");
- this.dinnerboneCheckBox.UseSelectable = true;
- //
- // noArmorCheckBox
- //
- this.noArmorCheckBox.AutoSize = true;
- this.noArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.noArmorCheckBox.Location = new System.Drawing.Point(420, 81);
- this.noArmorCheckBox.Name = "noArmorCheckBox";
- this.noArmorCheckBox.Size = new System.Drawing.Size(131, 19);
- this.noArmorCheckBox.TabIndex = 10;
- this.noArmorCheckBox.Text = "Disable All Armor";
- this.noArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.noArmorCheckBox, " Disables all armor desptie the armor flags. ");
- this.noArmorCheckBox.UseSelectable = true;
- //
- // bobbingCheckBox
- //
- this.bobbingCheckBox.AutoSize = true;
- this.bobbingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.bobbingCheckBox.Location = new System.Drawing.Point(272, 50);
- this.bobbingCheckBox.Name = "bobbingCheckBox";
- this.bobbingCheckBox.Size = new System.Drawing.Size(124, 19);
- this.bobbingCheckBox.TabIndex = 9;
- this.bobbingCheckBox.Text = "Disable Bobbing";
- this.bobbingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.bobbingCheckBox, " Disables the bobbing effect in first person.");
- this.bobbingCheckBox.UseSelectable = true;
- //
- // santaCheckBox
- //
- this.santaCheckBox.AutoSize = true;
- this.santaCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.santaCheckBox.Location = new System.Drawing.Point(420, 50);
- this.santaCheckBox.Name = "santaCheckBox";
- this.santaCheckBox.Size = new System.Drawing.Size(86, 19);
- this.santaCheckBox.TabIndex = 8;
- this.santaCheckBox.Text = "Bad Santa";
- this.santaCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.santaCheckBox, " The skin sits down after about 10 seconds of no controller input. Made for" +
+ this.crouchCheckBox.UseSelectable = true;
+ //
+ // dinnerboneCheckBox
+ //
+ this.dinnerboneCheckBox.AutoSize = true;
+ this.dinnerboneCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.dinnerboneCheckBox.Location = new System.Drawing.Point(126, 19);
+ this.dinnerboneCheckBox.Name = "dinnerboneCheckBox";
+ this.dinnerboneCheckBox.Size = new System.Drawing.Size(97, 19);
+ this.dinnerboneCheckBox.TabIndex = 11;
+ this.dinnerboneCheckBox.Text = "Dinnerbone";
+ this.dinnerboneCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.dinnerboneCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.dinnerboneCheckBox, " Flips the skin upside down like Dinnerbone\'s skin, a Minecraft developer. ");
+ this.dinnerboneCheckBox.UseSelectable = true;
+ //
+ // noArmorCheckBox
+ //
+ this.noArmorCheckBox.AutoSize = true;
+ this.noArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.noArmorCheckBox.Location = new System.Drawing.Point(420, 81);
+ this.noArmorCheckBox.Name = "noArmorCheckBox";
+ this.noArmorCheckBox.Size = new System.Drawing.Size(131, 19);
+ this.noArmorCheckBox.TabIndex = 10;
+ this.noArmorCheckBox.Text = "Disable All Armor";
+ this.noArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.noArmorCheckBox, " Disables all armor desptie the armor flags. ");
+ this.noArmorCheckBox.UseSelectable = true;
+ //
+ // bobbingCheckBox
+ //
+ this.bobbingCheckBox.AutoSize = true;
+ this.bobbingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.bobbingCheckBox.Location = new System.Drawing.Point(272, 50);
+ this.bobbingCheckBox.Name = "bobbingCheckBox";
+ this.bobbingCheckBox.Size = new System.Drawing.Size(124, 19);
+ this.bobbingCheckBox.TabIndex = 9;
+ this.bobbingCheckBox.Text = "Disable Bobbing";
+ this.bobbingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.bobbingCheckBox, " Disables the bobbing effect in first person.");
+ this.bobbingCheckBox.UseSelectable = true;
+ //
+ // santaCheckBox
+ //
+ this.santaCheckBox.AutoSize = true;
+ this.santaCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.santaCheckBox.Location = new System.Drawing.Point(420, 50);
+ this.santaCheckBox.Name = "santaCheckBox";
+ this.santaCheckBox.Size = new System.Drawing.Size(86, 19);
+ this.santaCheckBox.TabIndex = 8;
+ this.santaCheckBox.Text = "Bad Santa";
+ this.santaCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.santaCheckBox, " The skin sits down after about 10 seconds of no controller input. Made for" +
" Bad Santa in the \"Festive\" skin pack. ");
- this.santaCheckBox.UseSelectable = true;
- //
- // syncLegsCheckBox
- //
- this.syncLegsCheckBox.AutoSize = true;
- this.syncLegsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.syncLegsCheckBox.Location = new System.Drawing.Point(272, 19);
- this.syncLegsCheckBox.Name = "syncLegsCheckBox";
- this.syncLegsCheckBox.Size = new System.Drawing.Size(136, 19);
- this.syncLegsCheckBox.TabIndex = 7;
- this.syncLegsCheckBox.Text = "Synchronous Legs";
- this.syncLegsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.syncLegsCheckBox, " These parts will move at the same time and angle as each other. ");
- this.syncLegsCheckBox.UseSelectable = true;
- //
- // staticArmsCheckBox
- //
- this.staticArmsCheckBox.AutoSize = true;
- this.staticArmsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.staticArmsCheckBox.Location = new System.Drawing.Point(6, 19);
- this.staticArmsCheckBox.Name = "staticArmsCheckBox";
- this.staticArmsCheckBox.Size = new System.Drawing.Size(94, 19);
- this.staticArmsCheckBox.TabIndex = 5;
- this.staticArmsCheckBox.Text = "Static Arms";
- this.staticArmsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.staticArmsCheckBox, " These parts will not move in most animations. ");
- this.staticArmsCheckBox.UseSelectable = true;
- //
- // syncArmsCheckBox
- //
- this.syncArmsCheckBox.AutoSize = true;
- this.syncArmsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.syncArmsCheckBox.Location = new System.Drawing.Point(420, 19);
- this.syncArmsCheckBox.Name = "syncArmsCheckBox";
- this.syncArmsCheckBox.Size = new System.Drawing.Size(140, 19);
- this.syncArmsCheckBox.TabIndex = 4;
- this.syncArmsCheckBox.Text = "Synchronous Arms";
- this.syncArmsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.syncArmsCheckBox, " These parts will move at the same time and angle as each other. ");
- this.syncArmsCheckBox.UseSelectable = true;
- //
- // statueCheckBox
- //
- this.statueCheckBox.AutoSize = true;
- this.statueCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.statueCheckBox.Location = new System.Drawing.Point(272, 81);
- this.statueCheckBox.Name = "statueCheckBox";
- this.statueCheckBox.Size = new System.Drawing.Size(126, 19);
- this.statueCheckBox.TabIndex = 3;
- this.statueCheckBox.Text = "Statue of Liberty";
- this.statueCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.statueCheckBox, " The right arm is lifted like the Statue of Liberty. Made for Angel of Libe" +
+ this.santaCheckBox.UseSelectable = true;
+ //
+ // syncLegsCheckBox
+ //
+ this.syncLegsCheckBox.AutoSize = true;
+ this.syncLegsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.syncLegsCheckBox.Location = new System.Drawing.Point(272, 19);
+ this.syncLegsCheckBox.Name = "syncLegsCheckBox";
+ this.syncLegsCheckBox.Size = new System.Drawing.Size(136, 19);
+ this.syncLegsCheckBox.TabIndex = 7;
+ this.syncLegsCheckBox.Text = "Synchronous Legs";
+ this.syncLegsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.syncLegsCheckBox, " These parts will move at the same time and angle as each other. ");
+ this.syncLegsCheckBox.UseSelectable = true;
+ //
+ // staticArmsCheckBox
+ //
+ this.staticArmsCheckBox.AutoSize = true;
+ this.staticArmsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.staticArmsCheckBox.Location = new System.Drawing.Point(6, 19);
+ this.staticArmsCheckBox.Name = "staticArmsCheckBox";
+ this.staticArmsCheckBox.Size = new System.Drawing.Size(94, 19);
+ this.staticArmsCheckBox.TabIndex = 5;
+ this.staticArmsCheckBox.Text = "Static Arms";
+ this.staticArmsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.staticArmsCheckBox, " These parts will not move in most animations. ");
+ this.staticArmsCheckBox.UseSelectable = true;
+ //
+ // syncArmsCheckBox
+ //
+ this.syncArmsCheckBox.AutoSize = true;
+ this.syncArmsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.syncArmsCheckBox.Location = new System.Drawing.Point(420, 19);
+ this.syncArmsCheckBox.Name = "syncArmsCheckBox";
+ this.syncArmsCheckBox.Size = new System.Drawing.Size(140, 19);
+ this.syncArmsCheckBox.TabIndex = 4;
+ this.syncArmsCheckBox.Text = "Synchronous Arms";
+ this.syncArmsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.syncArmsCheckBox, " These parts will move at the same time and angle as each other. ");
+ this.syncArmsCheckBox.UseSelectable = true;
+ //
+ // statueCheckBox
+ //
+ this.statueCheckBox.AutoSize = true;
+ this.statueCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.statueCheckBox.Location = new System.Drawing.Point(272, 81);
+ this.statueCheckBox.Name = "statueCheckBox";
+ this.statueCheckBox.Size = new System.Drawing.Size(126, 19);
+ this.statueCheckBox.TabIndex = 3;
+ this.statueCheckBox.Text = "Statue of Liberty";
+ this.statueCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.statueCheckBox, " The right arm is lifted like the Statue of Liberty. Made for Angel of Libe" +
"rty in the \"Doctor Who Volume I\" skin pack. ");
- this.statueCheckBox.UseSelectable = true;
- //
- // zombieCheckBox
- //
- this.zombieCheckBox.AutoSize = true;
- this.zombieCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.zombieCheckBox.Location = new System.Drawing.Point(6, 81);
- this.zombieCheckBox.Name = "zombieCheckBox";
- this.zombieCheckBox.Size = new System.Drawing.Size(107, 19);
- this.zombieCheckBox.TabIndex = 2;
- this.zombieCheckBox.Text = "Zombie Arms";
- this.zombieCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.zombieCheckBox, " Both arms will stick up like a Zombie. ");
- this.zombieCheckBox.UseSelectable = true;
- //
- // staticLegsCheckBox
- //
- this.staticLegsCheckBox.AutoSize = true;
- this.staticLegsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.staticLegsCheckBox.Location = new System.Drawing.Point(6, 50);
- this.staticLegsCheckBox.Name = "staticLegsCheckBox";
- this.staticLegsCheckBox.Size = new System.Drawing.Size(90, 19);
- this.staticLegsCheckBox.TabIndex = 1;
- this.staticLegsCheckBox.Text = "Static Legs";
- this.staticLegsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.staticLegsCheckBox, " These parts will not move in most animations. ");
- this.staticLegsCheckBox.UseSelectable = true;
- //
- // copyButton
- //
- this.copyButton.Location = new System.Drawing.Point(425, 119);
- this.copyButton.Name = "copyButton";
- this.copyButton.Size = new System.Drawing.Size(173, 23);
- this.copyButton.TabIndex = 22;
- this.copyButton.Text = "Copy ANIM Value";
- this.copyButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.copyButton.UseSelectable = true;
- this.copyButton.Click += new System.EventHandler(this.copyButton_Click);
- //
- // importButton
- //
- this.importButton.Location = new System.Drawing.Point(32, 119);
- this.importButton.Name = "importButton";
- this.importButton.Size = new System.Drawing.Size(186, 23);
- this.importButton.TabIndex = 23;
- this.importButton.Text = "Import ANIM";
- this.importButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.importButton.UseSelectable = true;
- this.importButton.Click += new System.EventHandler(this.importButton_Click);
- //
- // exportButton
- //
- this.exportButton.Location = new System.Drawing.Point(229, 119);
- this.exportButton.Name = "exportButton";
- this.exportButton.Size = new System.Drawing.Size(186, 23);
- this.exportButton.TabIndex = 24;
- this.exportButton.Text = "Export Template Texture";
- this.exportButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.exportButton.UseSelectable = true;
- this.exportButton.Click += new System.EventHandler(this.exportButton_Click);
- //
- // animValue
- //
- this.animValue.AutoSize = true;
- this.animValue.FontSize = MetroFramework.MetroLabelSize.Tall;
- this.animValue.FontWeight = MetroFramework.MetroLabelWeight.Regular;
- this.animValue.Location = new System.Drawing.Point(260, 60);
- this.animValue.Name = "animValue";
- this.animValue.Size = new System.Drawing.Size(110, 25);
- this.animValue.TabIndex = 25;
- this.animValue.Text = "0x00000000";
- this.animValue.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.animValue.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // uncheckAllButton
- //
- this.uncheckAllButton.Location = new System.Drawing.Point(229, 90);
- this.uncheckAllButton.Name = "uncheckAllButton";
- this.uncheckAllButton.Size = new System.Drawing.Size(186, 23);
- this.uncheckAllButton.TabIndex = 26;
- this.uncheckAllButton.Text = "Uncheck All";
- this.uncheckAllButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.uncheckAllButton.UseSelectable = true;
- this.uncheckAllButton.Click += new System.EventHandler(this.uncheckAllButton_Click);
- //
- // checkAllButton
- //
- this.checkAllButton.Location = new System.Drawing.Point(32, 90);
- this.checkAllButton.Name = "checkAllButton";
- this.checkAllButton.Size = new System.Drawing.Size(186, 23);
- this.checkAllButton.TabIndex = 27;
- this.checkAllButton.Text = "Check All";
- this.checkAllButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.checkAllButton.UseSelectable = true;
- this.checkAllButton.Click += new System.EventHandler(this.checkAllButton_Click);
- //
- // toolTip
- //
- this.toolTip.StripAmpersands = true;
- this.toolTip.Style = MetroFramework.MetroColorStyle.Blue;
- this.toolTip.StyleManager = null;
- this.toolTip.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // resetButton
- //
- this.resetButton.Location = new System.Drawing.Point(425, 90);
- this.resetButton.Name = "resetButton";
- this.resetButton.Size = new System.Drawing.Size(173, 23);
- this.resetButton.TabIndex = 28;
- this.resetButton.Text = "Restore ANIM";
- this.resetButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.resetButton.UseSelectable = true;
- this.resetButton.Click += new System.EventHandler(this.resetButton_Click);
- //
- // templateButton
- //
- this.templateButton.Location = new System.Drawing.Point(425, 154);
- this.templateButton.Name = "templateButton";
- this.templateButton.Size = new System.Drawing.Size(173, 23);
- this.templateButton.TabIndex = 29;
- this.templateButton.Text = "Skin Presets";
- this.templateButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.templateButton.UseSelectable = true;
- this.templateButton.Click += new System.EventHandler(this.templateButton_Click);
- //
- // ANIMEditor
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(630, 554);
- this.Controls.Add(this.templateButton);
- this.Controls.Add(this.effectsGroup);
- this.Controls.Add(this.resetButton);
- this.Controls.Add(this.checkAllButton);
- this.Controls.Add(this.uncheckAllButton);
- this.Controls.Add(this.animValue);
- this.Controls.Add(this.exportButton);
- this.Controls.Add(this.importButton);
- this.Controls.Add(this.copyButton);
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.effectsGroup2);
- this.Controls.Add(this.saveButton);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MaximizeBox = false;
- this.MaximumSize = new System.Drawing.Size(630, 554);
- this.MinimizeBox = false;
- this.MinimumSize = new System.Drawing.Size(630, 554);
- this.Name = "ANIMEditor";
- this.Resizable = false;
- this.Style = MetroFramework.MetroColorStyle.Silver;
- this.Text = "ANIM Editor";
- this.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.effectsGroup.ResumeLayout(false);
- this.effectsGroup.PerformLayout();
- this.effectsGroup2.ResumeLayout(false);
- this.effectsGroup2.PerformLayout();
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.statueCheckBox.UseSelectable = true;
+ //
+ // zombieCheckBox
+ //
+ this.zombieCheckBox.AutoSize = true;
+ this.zombieCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.zombieCheckBox.Location = new System.Drawing.Point(6, 81);
+ this.zombieCheckBox.Name = "zombieCheckBox";
+ this.zombieCheckBox.Size = new System.Drawing.Size(107, 19);
+ this.zombieCheckBox.TabIndex = 2;
+ this.zombieCheckBox.Text = "Zombie Arms";
+ this.zombieCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.zombieCheckBox, " Both arms will stick up like a Zombie. ");
+ this.zombieCheckBox.UseSelectable = true;
+ //
+ // staticLegsCheckBox
+ //
+ this.staticLegsCheckBox.AutoSize = true;
+ this.staticLegsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.staticLegsCheckBox.Location = new System.Drawing.Point(6, 50);
+ this.staticLegsCheckBox.Name = "staticLegsCheckBox";
+ this.staticLegsCheckBox.Size = new System.Drawing.Size(90, 19);
+ this.staticLegsCheckBox.TabIndex = 1;
+ this.staticLegsCheckBox.Text = "Static Legs";
+ this.staticLegsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.staticLegsCheckBox, " These parts will not move in most animations. ");
+ this.staticLegsCheckBox.UseSelectable = true;
+ //
+ // copyButton
+ //
+ this.copyButton.Location = new System.Drawing.Point(425, 119);
+ this.copyButton.Name = "copyButton";
+ this.copyButton.Size = new System.Drawing.Size(173, 23);
+ this.copyButton.TabIndex = 22;
+ this.copyButton.Text = "Copy ANIM Value";
+ this.copyButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.copyButton.UseSelectable = true;
+ this.copyButton.Click += new System.EventHandler(this.copyButton_Click);
+ //
+ // importButton
+ //
+ this.importButton.Location = new System.Drawing.Point(32, 119);
+ this.importButton.Name = "importButton";
+ this.importButton.Size = new System.Drawing.Size(186, 23);
+ this.importButton.TabIndex = 23;
+ this.importButton.Text = "Import ANIM";
+ this.importButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.importButton.UseSelectable = true;
+ this.importButton.Click += new System.EventHandler(this.importButton_Click);
+ //
+ // exportButton
+ //
+ this.exportButton.Location = new System.Drawing.Point(229, 119);
+ this.exportButton.Name = "exportButton";
+ this.exportButton.Size = new System.Drawing.Size(186, 23);
+ this.exportButton.TabIndex = 24;
+ this.exportButton.Text = "Export Template Texture";
+ this.exportButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.exportButton.UseSelectable = true;
+ this.exportButton.Click += new System.EventHandler(this.exportButton_Click);
+ //
+ // animValue
+ //
+ this.animValue.AutoSize = true;
+ this.animValue.FontSize = MetroFramework.MetroLabelSize.Tall;
+ this.animValue.FontWeight = MetroFramework.MetroLabelWeight.Regular;
+ this.animValue.Location = new System.Drawing.Point(260, 60);
+ this.animValue.Name = "animValue";
+ this.animValue.Size = new System.Drawing.Size(110, 25);
+ this.animValue.TabIndex = 25;
+ this.animValue.Text = "0x00000000";
+ this.animValue.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.animValue.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // uncheckAllButton
+ //
+ this.uncheckAllButton.Location = new System.Drawing.Point(229, 90);
+ this.uncheckAllButton.Name = "uncheckAllButton";
+ this.uncheckAllButton.Size = new System.Drawing.Size(186, 23);
+ this.uncheckAllButton.TabIndex = 26;
+ this.uncheckAllButton.Text = "Uncheck All";
+ this.uncheckAllButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.uncheckAllButton.UseSelectable = true;
+ this.uncheckAllButton.Click += new System.EventHandler(this.uncheckAllButton_Click);
+ //
+ // checkAllButton
+ //
+ this.checkAllButton.Location = new System.Drawing.Point(32, 90);
+ this.checkAllButton.Name = "checkAllButton";
+ this.checkAllButton.Size = new System.Drawing.Size(186, 23);
+ this.checkAllButton.TabIndex = 27;
+ this.checkAllButton.Text = "Check All";
+ this.checkAllButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.checkAllButton.UseSelectable = true;
+ this.checkAllButton.Click += new System.EventHandler(this.checkAllButton_Click);
+ //
+ // toolTip
+ //
+ this.toolTip.StripAmpersands = true;
+ this.toolTip.Style = MetroFramework.MetroColorStyle.Blue;
+ this.toolTip.StyleManager = null;
+ this.toolTip.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // resetButton
+ //
+ this.resetButton.Location = new System.Drawing.Point(425, 90);
+ this.resetButton.Name = "resetButton";
+ this.resetButton.Size = new System.Drawing.Size(173, 23);
+ this.resetButton.TabIndex = 28;
+ this.resetButton.Text = "Restore ANIM";
+ this.resetButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.resetButton.UseSelectable = true;
+ this.resetButton.Click += new System.EventHandler(this.resetButton_Click);
+ //
+ // templateButton
+ //
+ this.templateButton.Location = new System.Drawing.Point(425, 154);
+ this.templateButton.Name = "templateButton";
+ this.templateButton.Size = new System.Drawing.Size(173, 23);
+ this.templateButton.TabIndex = 29;
+ this.templateButton.Text = "Skin Presets";
+ this.templateButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.templateButton.UseSelectable = true;
+ this.templateButton.Click += new System.EventHandler(this.templateButton_Click);
+ //
+ // ANIMEditor
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(630, 554);
+ this.Controls.Add(this.templateButton);
+ this.Controls.Add(this.effectsGroup);
+ this.Controls.Add(this.resetButton);
+ this.Controls.Add(this.checkAllButton);
+ this.Controls.Add(this.uncheckAllButton);
+ this.Controls.Add(this.animValue);
+ this.Controls.Add(this.exportButton);
+ this.Controls.Add(this.importButton);
+ this.Controls.Add(this.copyButton);
+ this.Controls.Add(this.groupBox1);
+ this.Controls.Add(this.effectsGroup2);
+ this.Controls.Add(this.saveButton);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.MaximizeBox = false;
+ this.MaximumSize = new System.Drawing.Size(630, 554);
+ this.MinimizeBox = false;
+ this.MinimumSize = new System.Drawing.Size(630, 554);
+ this.Name = "ANIMEditor";
+ this.Resizable = false;
+ this.Style = MetroFramework.MetroColorStyle.Silver;
+ this.Text = "ANIM Editor";
+ this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ANIMEditor_FormClosing);
+ this.effectsGroup.ResumeLayout(false);
+ this.effectsGroup.PerformLayout();
+ this.effectsGroup2.ResumeLayout(false);
+ this.effectsGroup2.PerformLayout();
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
diff --git a/PCK-Studio/Forms/Editor/ANIMEditor.cs b/PCK-Studio/Forms/Editor/ANIMEditor.cs
index 9cdba720..4cddf43c 100644
--- a/PCK-Studio/Forms/Editor/ANIMEditor.cs
+++ b/PCK-Studio/Forms/Editor/ANIMEditor.cs
@@ -7,6 +7,7 @@ using System.Collections.Generic;
using PckStudio.Internal;
using PckStudio.Forms.Additional_Popups;
+using PckStudio.Properties;
namespace PckStudio.Forms.Editor
{
@@ -87,6 +88,7 @@ namespace PckStudio.Forms.Editor
anim.SetFlag(item.Value, checkbox.Checked);
});
}
+ OnCheckboxChanged?.Invoke(anim);
}
internal void ApplyAnim(SkinANIM anim)
@@ -162,6 +164,9 @@ namespace PckStudio.Forms.Editor
public ANIMEditor(string ANIM)
{
InitializeComponent();
+
+ saveButton.Visible = !Settings.Default.AutoSaveChanges;
+
if (!SkinANIM.IsValidANIM(ANIM))
{
DialogResult = DialogResult.Abort;
@@ -215,7 +220,6 @@ namespace PckStudio.Forms.Editor
private void saveButton_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
- Close();
}
private void copyButton_Click(object sender, EventArgs e)
@@ -244,13 +248,11 @@ namespace PckStudio.Forms.Editor
private void uncheckAllButton_Click(object sender, EventArgs e)
{
ruleset.SetAll(false);
- setDisplayAnim(ruleset.Value);
}
private void checkAllButton_Click(object sender, EventArgs e)
{
ruleset.SetAll(true);
- setDisplayAnim(ruleset.Value);
}
private void exportButton_Click(object sender, EventArgs e)
@@ -342,5 +344,13 @@ namespace PckStudio.Forms.Editor
templateANIM = ruleset.Value | templateANIM;
ruleset.ApplyAnim(templateANIM);
}
+
+ private void ANIMEditor_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ if (Settings.Default.AutoSaveChanges)
+ {
+ saveButton_Click(sender, EventArgs.Empty);
+ }
+ }
}
}
diff --git a/PCK-Studio/Forms/Editor/AnimationEditor.cs b/PCK-Studio/Forms/Editor/AnimationEditor.cs
index 4fbb21ec..47e0b1cc 100644
--- a/PCK-Studio/Forms/Editor/AnimationEditor.cs
+++ b/PCK-Studio/Forms/Editor/AnimationEditor.cs
@@ -14,6 +14,7 @@ using OMI.Formats.Pck;
using System.Collections.Generic;
using PckStudio.Models;
using System.Diagnostics;
+using PckStudio.Properties;
namespace PckStudio.Forms.Editor
{
@@ -46,6 +47,8 @@ namespace PckStudio.Forms.Editor
exportAsToolStripMenuItem.Enabled =
InterpolationCheckbox.Visible = !IsEditingSpecial;
+ saveToolStripMenuItem1.Visible = !Settings.Default.AutoSaveChanges;
+
animationFile = file;
if (file.Size > 0)
@@ -432,6 +435,10 @@ namespace PckStudio.Forms.Editor
{
animationPictureBox.Stop();
}
+ if (Settings.Default.AutoSaveChanges)
+ {
+ saveToolStripMenuItem1_Click(sender, EventArgs.Empty);
+ }
}
private void importGifToolStripMenuItem_Click(object sender, EventArgs e)
diff --git a/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs b/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs
index a88248d0..9e0c9fd5 100644
--- a/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs
+++ b/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs
@@ -29,304 +29,306 @@ namespace PckStudio.Forms.Editor
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AudioEditor));
- this.treeView1 = new System.Windows.Forms.TreeView();
- this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.addCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.removeCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.changeCategoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.catImages = new System.Windows.Forms.ImageList(this.components);
- this.menuStrip = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.deleteUnusedBINKAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.openDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.bulkReplaceExistingTracksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.organizeTracksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.howToAddSongsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.whatAreTheCategoriesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.howToEditCreditsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.optimizeDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.bINKACompressionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.treeView2 = new System.Windows.Forms.TreeView();
- this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.addEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.removeEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.verifyFileLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.convertToWAVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.playOverworldInCreative = new MetroFramework.Controls.MetroCheckBox();
- this.compressionUpDown = new System.Windows.Forms.NumericUpDown();
- this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
- this.contextMenuStrip1.SuspendLayout();
- this.menuStrip.SuspendLayout();
- this.contextMenuStrip2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).BeginInit();
- this.SuspendLayout();
- //
- // treeView1
- //
- resources.ApplyResources(this.treeView1, "treeView1");
- this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.treeView1.ContextMenuStrip = this.contextMenuStrip1;
- this.treeView1.ForeColor = System.Drawing.Color.White;
- this.treeView1.ImageList = this.catImages;
- this.treeView1.LabelEdit = true;
- this.treeView1.Name = "treeView1";
- this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
- this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
- //
- // contextMenuStrip1
- //
- this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AudioEditor));
+ this.treeView1 = new System.Windows.Forms.TreeView();
+ this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.addCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.removeCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.changeCategoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.catImages = new System.Windows.Forms.ImageList(this.components);
+ this.menuStrip = new System.Windows.Forms.MenuStrip();
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.deleteUnusedBINKAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.openDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.bulkReplaceExistingTracksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.organizeTracksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.howToAddSongsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.whatAreTheCategoriesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.howToEditCreditsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.optimizeDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.bINKACompressionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.treeView2 = new System.Windows.Forms.TreeView();
+ this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.addEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.removeEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.verifyFileLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.convertToWAVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.playOverworldInCreative = new MetroFramework.Controls.MetroCheckBox();
+ this.compressionUpDown = new System.Windows.Forms.NumericUpDown();
+ this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
+ this.contextMenuStrip1.SuspendLayout();
+ this.menuStrip.SuspendLayout();
+ this.contextMenuStrip2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).BeginInit();
+ this.SuspendLayout();
+ //
+ // treeView1
+ //
+ resources.ApplyResources(this.treeView1, "treeView1");
+ this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.treeView1.ContextMenuStrip = this.contextMenuStrip1;
+ this.treeView1.ForeColor = System.Drawing.Color.White;
+ this.treeView1.ImageList = this.catImages;
+ this.treeView1.LabelEdit = true;
+ this.treeView1.Name = "treeView1";
+ this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
+ this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
+ //
+ // contextMenuStrip1
+ //
+ this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addCategoryStripMenuItem,
this.removeCategoryStripMenuItem,
this.changeCategoryToolStripMenuItem});
- this.contextMenuStrip1.Name = "contextMenuStrip1";
- resources.ApplyResources(this.contextMenuStrip1, "contextMenuStrip1");
- //
- // addCategoryStripMenuItem
- //
- resources.ApplyResources(this.addCategoryStripMenuItem, "addCategoryStripMenuItem");
- this.addCategoryStripMenuItem.Name = "addCategoryStripMenuItem";
- this.addCategoryStripMenuItem.Click += new System.EventHandler(this.addCategoryStripMenuItem_Click);
- //
- // removeCategoryStripMenuItem
- //
- this.removeCategoryStripMenuItem.Name = "removeCategoryStripMenuItem";
- resources.ApplyResources(this.removeCategoryStripMenuItem, "removeCategoryStripMenuItem");
- this.removeCategoryStripMenuItem.Click += new System.EventHandler(this.removeCategoryStripMenuItem_Click);
- //
- // changeCategoryToolStripMenuItem
- //
- this.changeCategoryToolStripMenuItem.Name = "changeCategoryToolStripMenuItem";
- resources.ApplyResources(this.changeCategoryToolStripMenuItem, "changeCategoryToolStripMenuItem");
- this.changeCategoryToolStripMenuItem.Click += new System.EventHandler(this.setCategoryToolStripMenuItem_Click);
- //
- // catImages
- //
- this.catImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("catImages.ImageStream")));
- this.catImages.TransparentColor = System.Drawing.Color.Transparent;
- this.catImages.Images.SetKeyName(0, "0_overworld.png");
- this.catImages.Images.SetKeyName(1, "1_nether.png");
- this.catImages.Images.SetKeyName(2, "2_end.png");
- this.catImages.Images.SetKeyName(3, "4_creative.png");
- this.catImages.Images.SetKeyName(4, "3_menu.png");
- this.catImages.Images.SetKeyName(5, "5_mg01.png");
- this.catImages.Images.SetKeyName(6, "6_mg02.png");
- this.catImages.Images.SetKeyName(7, "7_mg03.png");
- this.catImages.Images.SetKeyName(8, "8_unused.png");
- //
- // menuStrip
- //
- resources.ApplyResources(this.menuStrip, "menuStrip");
- this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.contextMenuStrip1.Name = "contextMenuStrip1";
+ resources.ApplyResources(this.contextMenuStrip1, "contextMenuStrip1");
+ //
+ // addCategoryStripMenuItem
+ //
+ resources.ApplyResources(this.addCategoryStripMenuItem, "addCategoryStripMenuItem");
+ this.addCategoryStripMenuItem.Name = "addCategoryStripMenuItem";
+ this.addCategoryStripMenuItem.Click += new System.EventHandler(this.addCategoryStripMenuItem_Click);
+ //
+ // removeCategoryStripMenuItem
+ //
+ this.removeCategoryStripMenuItem.Name = "removeCategoryStripMenuItem";
+ resources.ApplyResources(this.removeCategoryStripMenuItem, "removeCategoryStripMenuItem");
+ this.removeCategoryStripMenuItem.Click += new System.EventHandler(this.removeCategoryStripMenuItem_Click);
+ //
+ // changeCategoryToolStripMenuItem
+ //
+ this.changeCategoryToolStripMenuItem.Name = "changeCategoryToolStripMenuItem";
+ resources.ApplyResources(this.changeCategoryToolStripMenuItem, "changeCategoryToolStripMenuItem");
+ this.changeCategoryToolStripMenuItem.Click += new System.EventHandler(this.setCategoryToolStripMenuItem_Click);
+ //
+ // catImages
+ //
+ this.catImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("catImages.ImageStream")));
+ this.catImages.TransparentColor = System.Drawing.Color.Transparent;
+ this.catImages.Images.SetKeyName(0, "0_overworld.png");
+ this.catImages.Images.SetKeyName(1, "1_nether.png");
+ this.catImages.Images.SetKeyName(2, "2_end.png");
+ this.catImages.Images.SetKeyName(3, "4_creative.png");
+ this.catImages.Images.SetKeyName(4, "3_menu.png");
+ this.catImages.Images.SetKeyName(5, "5_mg01.png");
+ this.catImages.Images.SetKeyName(6, "6_mg02.png");
+ this.catImages.Images.SetKeyName(7, "7_mg03.png");
+ this.catImages.Images.SetKeyName(8, "8_unused.png");
+ //
+ // menuStrip
+ //
+ resources.ApplyResources(this.menuStrip, "menuStrip");
+ this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.toolsToolStripMenuItem,
this.helpToolStripMenuItem});
- this.menuStrip.Name = "menuStrip";
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.menuStrip.Name = "menuStrip";
+ //
+ // fileToolStripMenuItem
+ //
+ this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.saveToolStripMenuItem1});
- this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem");
- //
- // saveToolStripMenuItem1
- //
- resources.ApplyResources(this.saveToolStripMenuItem1, "saveToolStripMenuItem1");
- this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
- this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click);
- //
- // toolsToolStripMenuItem
- //
- this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem");
+ //
+ // saveToolStripMenuItem1
+ //
+ resources.ApplyResources(this.saveToolStripMenuItem1, "saveToolStripMenuItem1");
+ this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
+ this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click);
+ //
+ // toolsToolStripMenuItem
+ //
+ this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.deleteUnusedBINKAsToolStripMenuItem,
this.openDataFolderToolStripMenuItem,
this.bulkReplaceExistingTracksToolStripMenuItem,
this.organizeTracksToolStripMenuItem});
- this.toolsToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
- resources.ApplyResources(this.toolsToolStripMenuItem, "toolsToolStripMenuItem");
- //
- // deleteUnusedBINKAsToolStripMenuItem
- //
- this.deleteUnusedBINKAsToolStripMenuItem.Name = "deleteUnusedBINKAsToolStripMenuItem";
- resources.ApplyResources(this.deleteUnusedBINKAsToolStripMenuItem, "deleteUnusedBINKAsToolStripMenuItem");
- this.deleteUnusedBINKAsToolStripMenuItem.Click += new System.EventHandler(this.deleteUnusedBINKAsToolStripMenuItem_Click);
- //
- // openDataFolderToolStripMenuItem
- //
- this.openDataFolderToolStripMenuItem.Name = "openDataFolderToolStripMenuItem";
- resources.ApplyResources(this.openDataFolderToolStripMenuItem, "openDataFolderToolStripMenuItem");
- this.openDataFolderToolStripMenuItem.Click += new System.EventHandler(this.openDataFolderToolStripMenuItem_Click);
- //
- // bulkReplaceExistingTracksToolStripMenuItem
- //
- this.bulkReplaceExistingTracksToolStripMenuItem.Name = "bulkReplaceExistingTracksToolStripMenuItem";
- resources.ApplyResources(this.bulkReplaceExistingTracksToolStripMenuItem, "bulkReplaceExistingTracksToolStripMenuItem");
- this.bulkReplaceExistingTracksToolStripMenuItem.Click += new System.EventHandler(this.bulkReplaceExistingFilesToolStripMenuItem_Click);
- //
- // organizeTracksToolStripMenuItem
- //
- this.organizeTracksToolStripMenuItem.Name = "organizeTracksToolStripMenuItem";
- resources.ApplyResources(this.organizeTracksToolStripMenuItem, "organizeTracksToolStripMenuItem");
- this.organizeTracksToolStripMenuItem.Click += new System.EventHandler(this.organizeTracksToolStripMenuItem_Click);
- //
- // helpToolStripMenuItem
- //
- this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolsToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
+ resources.ApplyResources(this.toolsToolStripMenuItem, "toolsToolStripMenuItem");
+ //
+ // deleteUnusedBINKAsToolStripMenuItem
+ //
+ this.deleteUnusedBINKAsToolStripMenuItem.Name = "deleteUnusedBINKAsToolStripMenuItem";
+ resources.ApplyResources(this.deleteUnusedBINKAsToolStripMenuItem, "deleteUnusedBINKAsToolStripMenuItem");
+ this.deleteUnusedBINKAsToolStripMenuItem.Click += new System.EventHandler(this.deleteUnusedBINKAsToolStripMenuItem_Click);
+ //
+ // openDataFolderToolStripMenuItem
+ //
+ this.openDataFolderToolStripMenuItem.Name = "openDataFolderToolStripMenuItem";
+ resources.ApplyResources(this.openDataFolderToolStripMenuItem, "openDataFolderToolStripMenuItem");
+ this.openDataFolderToolStripMenuItem.Click += new System.EventHandler(this.openDataFolderToolStripMenuItem_Click);
+ //
+ // bulkReplaceExistingTracksToolStripMenuItem
+ //
+ this.bulkReplaceExistingTracksToolStripMenuItem.Name = "bulkReplaceExistingTracksToolStripMenuItem";
+ resources.ApplyResources(this.bulkReplaceExistingTracksToolStripMenuItem, "bulkReplaceExistingTracksToolStripMenuItem");
+ this.bulkReplaceExistingTracksToolStripMenuItem.Click += new System.EventHandler(this.bulkReplaceExistingFilesToolStripMenuItem_Click);
+ //
+ // organizeTracksToolStripMenuItem
+ //
+ this.organizeTracksToolStripMenuItem.Name = "organizeTracksToolStripMenuItem";
+ resources.ApplyResources(this.organizeTracksToolStripMenuItem, "organizeTracksToolStripMenuItem");
+ this.organizeTracksToolStripMenuItem.Click += new System.EventHandler(this.organizeTracksToolStripMenuItem_Click);
+ //
+ // helpToolStripMenuItem
+ //
+ this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.howToAddSongsToolStripMenuItem,
this.whatAreTheCategoriesToolStripMenuItem,
this.howToEditCreditsToolStripMenuItem,
this.optimizeDataFolderToolStripMenuItem,
this.bINKACompressionToolStripMenuItem});
- this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
- resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem");
- //
- // howToAddSongsToolStripMenuItem
- //
- this.howToAddSongsToolStripMenuItem.Name = "howToAddSongsToolStripMenuItem";
- resources.ApplyResources(this.howToAddSongsToolStripMenuItem, "howToAddSongsToolStripMenuItem");
- this.howToAddSongsToolStripMenuItem.Click += new System.EventHandler(this.howToAddSongsToolStripMenuItem_Click);
- //
- // whatAreTheCategoriesToolStripMenuItem
- //
- this.whatAreTheCategoriesToolStripMenuItem.Name = "whatAreTheCategoriesToolStripMenuItem";
- resources.ApplyResources(this.whatAreTheCategoriesToolStripMenuItem, "whatAreTheCategoriesToolStripMenuItem");
- this.whatAreTheCategoriesToolStripMenuItem.Click += new System.EventHandler(this.whatAreTheCategoriesToolStripMenuItem_Click);
- //
- // howToEditCreditsToolStripMenuItem
- //
- this.howToEditCreditsToolStripMenuItem.Name = "howToEditCreditsToolStripMenuItem";
- resources.ApplyResources(this.howToEditCreditsToolStripMenuItem, "howToEditCreditsToolStripMenuItem");
- this.howToEditCreditsToolStripMenuItem.Click += new System.EventHandler(this.howToEditCreditsToolStripMenuItem_Click);
- //
- // optimizeDataFolderToolStripMenuItem
- //
- this.optimizeDataFolderToolStripMenuItem.Name = "optimizeDataFolderToolStripMenuItem";
- resources.ApplyResources(this.optimizeDataFolderToolStripMenuItem, "optimizeDataFolderToolStripMenuItem");
- this.optimizeDataFolderToolStripMenuItem.Click += new System.EventHandler(this.optimizeDataFolderToolStripMenuItem_Click);
- //
- // bINKACompressionToolStripMenuItem
- //
- this.bINKACompressionToolStripMenuItem.Name = "bINKACompressionToolStripMenuItem";
- resources.ApplyResources(this.bINKACompressionToolStripMenuItem, "bINKACompressionToolStripMenuItem");
- this.bINKACompressionToolStripMenuItem.Click += new System.EventHandler(this.BINKACompressionToolStripMenuItem_Click);
- //
- // treeView2
- //
- this.treeView2.AllowDrop = true;
- resources.ApplyResources(this.treeView2, "treeView2");
- this.treeView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.treeView2.ContextMenuStrip = this.contextMenuStrip2;
- this.treeView2.ForeColor = System.Drawing.Color.White;
- this.treeView2.Name = "treeView2";
- this.treeView2.DragDrop += new System.Windows.Forms.DragEventHandler(this.Binka_DragDrop);
- this.treeView2.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView2_DragEnter);
- this.treeView2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown);
- //
- // contextMenuStrip2
- //
- this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
+ resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem");
+ //
+ // howToAddSongsToolStripMenuItem
+ //
+ this.howToAddSongsToolStripMenuItem.Name = "howToAddSongsToolStripMenuItem";
+ resources.ApplyResources(this.howToAddSongsToolStripMenuItem, "howToAddSongsToolStripMenuItem");
+ this.howToAddSongsToolStripMenuItem.Click += new System.EventHandler(this.howToAddSongsToolStripMenuItem_Click);
+ //
+ // whatAreTheCategoriesToolStripMenuItem
+ //
+ this.whatAreTheCategoriesToolStripMenuItem.Name = "whatAreTheCategoriesToolStripMenuItem";
+ resources.ApplyResources(this.whatAreTheCategoriesToolStripMenuItem, "whatAreTheCategoriesToolStripMenuItem");
+ this.whatAreTheCategoriesToolStripMenuItem.Click += new System.EventHandler(this.whatAreTheCategoriesToolStripMenuItem_Click);
+ //
+ // howToEditCreditsToolStripMenuItem
+ //
+ this.howToEditCreditsToolStripMenuItem.Name = "howToEditCreditsToolStripMenuItem";
+ resources.ApplyResources(this.howToEditCreditsToolStripMenuItem, "howToEditCreditsToolStripMenuItem");
+ this.howToEditCreditsToolStripMenuItem.Click += new System.EventHandler(this.howToEditCreditsToolStripMenuItem_Click);
+ //
+ // optimizeDataFolderToolStripMenuItem
+ //
+ this.optimizeDataFolderToolStripMenuItem.Name = "optimizeDataFolderToolStripMenuItem";
+ resources.ApplyResources(this.optimizeDataFolderToolStripMenuItem, "optimizeDataFolderToolStripMenuItem");
+ this.optimizeDataFolderToolStripMenuItem.Click += new System.EventHandler(this.optimizeDataFolderToolStripMenuItem_Click);
+ //
+ // bINKACompressionToolStripMenuItem
+ //
+ this.bINKACompressionToolStripMenuItem.Name = "bINKACompressionToolStripMenuItem";
+ resources.ApplyResources(this.bINKACompressionToolStripMenuItem, "bINKACompressionToolStripMenuItem");
+ this.bINKACompressionToolStripMenuItem.Click += new System.EventHandler(this.BINKACompressionToolStripMenuItem_Click);
+ //
+ // treeView2
+ //
+ this.treeView2.AllowDrop = true;
+ resources.ApplyResources(this.treeView2, "treeView2");
+ this.treeView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.treeView2.ContextMenuStrip = this.contextMenuStrip2;
+ this.treeView2.ForeColor = System.Drawing.Color.White;
+ this.treeView2.Name = "treeView2";
+ this.treeView2.DragDrop += new System.Windows.Forms.DragEventHandler(this.Binka_DragDrop);
+ this.treeView2.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView2_DragEnter);
+ this.treeView2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown);
+ //
+ // contextMenuStrip2
+ //
+ this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addEntryMenuItem,
this.removeEntryMenuItem,
this.verifyFileLocationToolStripMenuItem,
this.convertToWAVToolStripMenuItem});
- this.contextMenuStrip2.Name = "contextMenuStrip1";
- resources.ApplyResources(this.contextMenuStrip2, "contextMenuStrip2");
- //
- // addEntryMenuItem
- //
- resources.ApplyResources(this.addEntryMenuItem, "addEntryMenuItem");
- this.addEntryMenuItem.Name = "addEntryMenuItem";
- this.addEntryMenuItem.Click += new System.EventHandler(this.addEntryMenuItem_Click);
- //
- // removeEntryMenuItem
- //
- this.removeEntryMenuItem.Name = "removeEntryMenuItem";
- resources.ApplyResources(this.removeEntryMenuItem, "removeEntryMenuItem");
- this.removeEntryMenuItem.Click += new System.EventHandler(this.removeEntryMenuItem_Click);
- //
- // verifyFileLocationToolStripMenuItem
- //
- this.verifyFileLocationToolStripMenuItem.Name = "verifyFileLocationToolStripMenuItem";
- resources.ApplyResources(this.verifyFileLocationToolStripMenuItem, "verifyFileLocationToolStripMenuItem");
- this.verifyFileLocationToolStripMenuItem.Click += new System.EventHandler(this.verifyFileLocationToolStripMenuItem_Click);
- //
- // convertToWAVToolStripMenuItem
- //
- this.convertToWAVToolStripMenuItem.Name = "convertToWAVToolStripMenuItem";
- resources.ApplyResources(this.convertToWAVToolStripMenuItem, "convertToWAVToolStripMenuItem");
- this.convertToWAVToolStripMenuItem.Click += new System.EventHandler(this.convertToWAVToolStripMenuItem_Click);
- //
- // playOverworldInCreative
- //
- resources.ApplyResources(this.playOverworldInCreative, "playOverworldInCreative");
- this.playOverworldInCreative.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.playOverworldInCreative.ForeColor = System.Drawing.SystemColors.Window;
- this.playOverworldInCreative.Name = "playOverworldInCreative";
- this.playOverworldInCreative.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.playOverworldInCreative.UseCustomBackColor = true;
- this.playOverworldInCreative.UseCustomForeColor = true;
- this.playOverworldInCreative.UseSelectable = true;
- //
- // compressionUpDown
- //
- this.compressionUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.compressionUpDown.ForeColor = System.Drawing.SystemColors.Window;
- resources.ApplyResources(this.compressionUpDown, "compressionUpDown");
- this.compressionUpDown.Maximum = new decimal(new int[] {
+ this.contextMenuStrip2.Name = "contextMenuStrip1";
+ resources.ApplyResources(this.contextMenuStrip2, "contextMenuStrip2");
+ //
+ // addEntryMenuItem
+ //
+ resources.ApplyResources(this.addEntryMenuItem, "addEntryMenuItem");
+ this.addEntryMenuItem.Name = "addEntryMenuItem";
+ this.addEntryMenuItem.Click += new System.EventHandler(this.addEntryMenuItem_Click);
+ //
+ // removeEntryMenuItem
+ //
+ this.removeEntryMenuItem.Name = "removeEntryMenuItem";
+ resources.ApplyResources(this.removeEntryMenuItem, "removeEntryMenuItem");
+ this.removeEntryMenuItem.Click += new System.EventHandler(this.removeEntryMenuItem_Click);
+ //
+ // verifyFileLocationToolStripMenuItem
+ //
+ this.verifyFileLocationToolStripMenuItem.Name = "verifyFileLocationToolStripMenuItem";
+ resources.ApplyResources(this.verifyFileLocationToolStripMenuItem, "verifyFileLocationToolStripMenuItem");
+ this.verifyFileLocationToolStripMenuItem.Click += new System.EventHandler(this.verifyFileLocationToolStripMenuItem_Click);
+ //
+ // convertToWAVToolStripMenuItem
+ //
+ this.convertToWAVToolStripMenuItem.Name = "convertToWAVToolStripMenuItem";
+ resources.ApplyResources(this.convertToWAVToolStripMenuItem, "convertToWAVToolStripMenuItem");
+ this.convertToWAVToolStripMenuItem.Click += new System.EventHandler(this.convertToWAVToolStripMenuItem_Click);
+ //
+ // playOverworldInCreative
+ //
+ resources.ApplyResources(this.playOverworldInCreative, "playOverworldInCreative");
+ this.playOverworldInCreative.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.playOverworldInCreative.ForeColor = System.Drawing.SystemColors.Window;
+ this.playOverworldInCreative.Name = "playOverworldInCreative";
+ this.playOverworldInCreative.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.playOverworldInCreative.UseCustomBackColor = true;
+ this.playOverworldInCreative.UseCustomForeColor = true;
+ this.playOverworldInCreative.UseSelectable = true;
+ //
+ // compressionUpDown
+ //
+ resources.ApplyResources(this.compressionUpDown, "compressionUpDown");
+ this.compressionUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.compressionUpDown.ForeColor = System.Drawing.SystemColors.Window;
+ this.compressionUpDown.Maximum = new decimal(new int[] {
9,
0,
0,
0});
- this.compressionUpDown.Minimum = new decimal(new int[] {
+ this.compressionUpDown.Minimum = new decimal(new int[] {
1,
0,
0,
0});
- this.compressionUpDown.Name = "compressionUpDown";
- this.compressionUpDown.Value = new decimal(new int[] {
+ this.compressionUpDown.Name = "compressionUpDown";
+ this.compressionUpDown.Value = new decimal(new int[] {
4,
0,
0,
0});
- //
- // metroLabel1
- //
- resources.ApplyResources(this.metroLabel1, "metroLabel1");
- this.metroLabel1.Name = "metroLabel1";
- this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // AudioEditor
- //
- resources.ApplyResources(this, "$this");
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.metroLabel1);
- this.Controls.Add(this.compressionUpDown);
- this.Controls.Add(this.playOverworldInCreative);
- this.Controls.Add(this.treeView1);
- this.Controls.Add(this.treeView2);
- this.Controls.Add(this.menuStrip);
- this.Name = "AudioEditor";
- this.Style = MetroFramework.MetroColorStyle.Silver;
- this.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.AudioEditor_FormClosed);
- this.Shown += new System.EventHandler(this.AudioEditor_Shown);
- this.contextMenuStrip1.ResumeLayout(false);
- this.menuStrip.ResumeLayout(false);
- this.menuStrip.PerformLayout();
- this.contextMenuStrip2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
+ //
+ // metroLabel1
+ //
+ resources.ApplyResources(this.metroLabel1, "metroLabel1");
+ this.metroLabel1.Name = "metroLabel1";
+ this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // AudioEditor
+ //
+ resources.ApplyResources(this, "$this");
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.metroLabel1);
+ this.Controls.Add(this.compressionUpDown);
+ this.Controls.Add(this.playOverworldInCreative);
+ this.Controls.Add(this.treeView1);
+ this.Controls.Add(this.treeView2);
+ this.Controls.Add(this.menuStrip);
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "AudioEditor";
+ this.Style = MetroFramework.MetroColorStyle.Silver;
+ this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.AudioEditor_FormClosing);
+ this.Shown += new System.EventHandler(this.AudioEditor_Shown);
+ this.contextMenuStrip1.ResumeLayout(false);
+ this.menuStrip.ResumeLayout(false);
+ this.menuStrip.PerformLayout();
+ this.contextMenuStrip2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
diff --git a/PCK-Studio/Forms/Editor/AudioEditor.cs b/PCK-Studio/Forms/Editor/AudioEditor.cs
index 85a59416..fe73a1bf 100644
--- a/PCK-Studio/Forms/Editor/AudioEditor.cs
+++ b/PCK-Studio/Forms/Editor/AudioEditor.cs
@@ -16,6 +16,7 @@ using PckStudio.Forms.Additional_Popups.Audio;
using OMI.Formats.Languages;
using OMI.Formats.Pck;
using PckStudio.Forms.Additional_Popups;
+using PckStudio.Properties;
// Audio Editor by MattNL and Miku-666
@@ -56,7 +57,10 @@ namespace PckStudio.Forms.Editor
public AudioEditor(PckFile.FileData file, bool isLittleEndian)
{
InitializeComponent();
- _isLittleEndian = isLittleEndian;
+
+ saveToolStripMenuItem1.Visible = !Settings.Default.AutoSaveChanges;
+
+ _isLittleEndian = isLittleEndian;
audioPCK = file;
using (var stream = new MemoryStream(file.Data))
@@ -103,12 +107,6 @@ namespace PckStudio.Forms.Editor
treeView1.EndUpdate();
}
- private void AudioEditor_FormClosed(object sender, FormClosedEventArgs e)
- {
- // Clean up is throwing an error of some kind? FreeLibrary maybe??
- //BINK.CleanUpBinka();
- }
-
private void verifyFileLocationToolStripMenuItem_Click(object sender, EventArgs e)
{
if (treeView1.SelectedNode == null || treeView2.SelectedNode == null) return;
@@ -624,5 +622,13 @@ namespace PckStudio.Forms.Editor
treeView1.SelectedNode = null;
}
}
- }
+
+ private void AudioEditor_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ if (Settings.Default.AutoSaveChanges)
+ {
+ saveToolStripMenuItem1_Click(sender, EventArgs.Empty);
+ }
+ }
+ }
}
diff --git a/PCK-Studio/Forms/Editor/AudioEditor.resx b/PCK-Studio/Forms/Editor/AudioEditor.resx
index 75d316c3..90a4da64 100644
--- a/PCK-Studio/Forms/Editor/AudioEditor.resx
+++ b/PCK-Studio/Forms/Editor/AudioEditor.resx
@@ -172,7 +172,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADk
- MAAAAk1TRnQBSQFMAgEBCQEAAbABAAGwAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
+ MAAAAk1TRnQBSQFMAgEBCQEAAcABAAHAAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
AwABMAMAAQEBAAEgBgABMBIAAzgB/wM1Af8DNQH/AzMB/wMwAf8DLwH/Ay0B/wMtAf8DJAH/AzsB/wM4
Af8DNQH/Ay0B/wMnAf8DNgH/AzIB/8AAAzgB/wN/Af8DeQH/A3kB/wN5Af8DcQH/A3EB/wN5Af8DeQH/
A3EB/wNxAf8DcQH/A3kB/wN5Af8DfwH/AzIB/8AAAzIB/wN2Af8DsAH/A7AB/wOvAf8DrwH/A68B/wOo
@@ -626,6 +626,9 @@
4
+
+ Bottom, Right
+
310, 298
@@ -647,6 +650,9 @@
3
+
+ Bottom, Right
+
True
@@ -686,9 +692,6 @@
450, 330
-
- 450, 330
-
450, 330
diff --git a/PCK-Studio/Forms/Editor/BehaviourEditor.Designer.cs b/PCK-Studio/Forms/Editor/BehaviourEditor.Designer.cs
index 074f2974..37b0fb37 100644
--- a/PCK-Studio/Forms/Editor/BehaviourEditor.Designer.cs
+++ b/PCK-Studio/Forms/Editor/BehaviourEditor.Designer.cs
@@ -28,284 +28,285 @@
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BehaviourEditor));
- this.treeView1 = new System.Windows.Forms.TreeView();
- this.metroContextMenu1 = new MetroFramework.Controls.MetroContextMenu(this.components);
- this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.addNewEntryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.addNewPositionOverrideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.menuStrip = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.MobIsTamedCheckbox = new MetroFramework.Controls.MetroCheckBox();
- this.MobHasSaddleCheckbox = new MetroFramework.Controls.MetroCheckBox();
- this.zUpDown = new System.Windows.Forms.NumericUpDown();
- this.yUpDown = new System.Windows.Forms.NumericUpDown();
- this.zLabel = new MetroFramework.Controls.MetroLabel();
- this.yLabel = new MetroFramework.Controls.MetroLabel();
- this.xUpDown = new System.Windows.Forms.NumericUpDown();
- this.xLabel = new MetroFramework.Controls.MetroLabel();
- this.metroContextMenu1.SuspendLayout();
- this.menuStrip.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.zUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.yUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.xUpDown)).BeginInit();
- this.SuspendLayout();
- //
- // treeView1
- //
- this.treeView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BehaviourEditor));
+ this.treeView1 = new System.Windows.Forms.TreeView();
+ this.metroContextMenu1 = new MetroFramework.Controls.MetroContextMenu(this.components);
+ this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.addNewEntryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.addNewPositionOverrideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.menuStrip = new System.Windows.Forms.MenuStrip();
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.MobIsTamedCheckbox = new MetroFramework.Controls.MetroCheckBox();
+ this.MobHasSaddleCheckbox = new MetroFramework.Controls.MetroCheckBox();
+ this.zUpDown = new System.Windows.Forms.NumericUpDown();
+ this.yUpDown = new System.Windows.Forms.NumericUpDown();
+ this.zLabel = new MetroFramework.Controls.MetroLabel();
+ this.yLabel = new MetroFramework.Controls.MetroLabel();
+ this.xUpDown = new System.Windows.Forms.NumericUpDown();
+ this.xLabel = new MetroFramework.Controls.MetroLabel();
+ this.metroContextMenu1.SuspendLayout();
+ this.menuStrip.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.zUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.yUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xUpDown)).BeginInit();
+ this.SuspendLayout();
+ //
+ // treeView1
+ //
+ this.treeView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
- this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.treeView1.ContextMenuStrip = this.metroContextMenu1;
- this.treeView1.ForeColor = System.Drawing.Color.White;
- this.treeView1.Location = new System.Drawing.Point(20, 84);
- this.treeView1.Margin = new System.Windows.Forms.Padding(0);
- this.treeView1.Name = "treeView1";
- this.treeView1.Size = new System.Drawing.Size(186, 176);
- this.treeView1.TabIndex = 13;
- this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
- this.treeView1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
- this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
- this.treeView1.MouseHover += new System.EventHandler(this.treeView1_MouseHover);
- //
- // metroContextMenu1
- //
- this.metroContextMenu1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.treeView1.ContextMenuStrip = this.metroContextMenu1;
+ this.treeView1.ForeColor = System.Drawing.Color.White;
+ this.treeView1.Location = new System.Drawing.Point(20, 84);
+ this.treeView1.Margin = new System.Windows.Forms.Padding(0);
+ this.treeView1.Name = "treeView1";
+ this.treeView1.Size = new System.Drawing.Size(186, 176);
+ this.treeView1.TabIndex = 13;
+ this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
+ this.treeView1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
+ this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
+ this.treeView1.MouseHover += new System.EventHandler(this.treeView1_MouseHover);
+ //
+ // metroContextMenu1
+ //
+ this.metroContextMenu1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addToolStripMenuItem,
this.renameToolStripMenuItem,
this.removeToolStripMenuItem});
- this.metroContextMenu1.Name = "metroContextMenu1";
- this.metroContextMenu1.Size = new System.Drawing.Size(118, 70);
- //
- // addToolStripMenuItem
- //
- this.addToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.metroContextMenu1.Name = "metroContextMenu1";
+ this.metroContextMenu1.Size = new System.Drawing.Size(118, 70);
+ //
+ // addToolStripMenuItem
+ //
+ this.addToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addNewEntryToolStripMenuItem,
this.addNewPositionOverrideToolStripMenuItem});
- this.addToolStripMenuItem.Name = "addToolStripMenuItem";
- this.addToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
- this.addToolStripMenuItem.Text = "Add";
- //
- // addNewEntryToolStripMenuItem
- //
- this.addNewEntryToolStripMenuItem.Name = "addNewEntryToolStripMenuItem";
- this.addNewEntryToolStripMenuItem.Size = new System.Drawing.Size(217, 22);
- this.addNewEntryToolStripMenuItem.Text = "Add New Entry";
- this.addNewEntryToolStripMenuItem.Click += new System.EventHandler(this.addNewEntryToolStripMenuItem_Click);
- //
- // addNewPositionOverrideToolStripMenuItem
- //
- this.addNewPositionOverrideToolStripMenuItem.Name = "addNewPositionOverrideToolStripMenuItem";
- this.addNewPositionOverrideToolStripMenuItem.Size = new System.Drawing.Size(217, 22);
- this.addNewPositionOverrideToolStripMenuItem.Text = "Add New Position Override";
- this.addNewPositionOverrideToolStripMenuItem.Click += new System.EventHandler(this.addNewPositionOverrideToolStripMenuItem_Click);
- //
- // renameToolStripMenuItem
- //
- this.renameToolStripMenuItem.Name = "renameToolStripMenuItem";
- this.renameToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
- this.renameToolStripMenuItem.Text = "Change";
- this.renameToolStripMenuItem.Click += new System.EventHandler(this.changeToolStripMenuItem_Click);
- //
- // removeToolStripMenuItem
- //
- this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
- this.removeToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
- this.removeToolStripMenuItem.Text = "Remove";
- this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click);
- //
- // menuStrip
- //
- this.menuStrip.AutoSize = false;
- this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.addToolStripMenuItem.Name = "addToolStripMenuItem";
+ this.addToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
+ this.addToolStripMenuItem.Text = "Add";
+ //
+ // addNewEntryToolStripMenuItem
+ //
+ this.addNewEntryToolStripMenuItem.Name = "addNewEntryToolStripMenuItem";
+ this.addNewEntryToolStripMenuItem.Size = new System.Drawing.Size(217, 22);
+ this.addNewEntryToolStripMenuItem.Text = "Add New Entry";
+ this.addNewEntryToolStripMenuItem.Click += new System.EventHandler(this.addNewEntryToolStripMenuItem_Click);
+ //
+ // addNewPositionOverrideToolStripMenuItem
+ //
+ this.addNewPositionOverrideToolStripMenuItem.Name = "addNewPositionOverrideToolStripMenuItem";
+ this.addNewPositionOverrideToolStripMenuItem.Size = new System.Drawing.Size(217, 22);
+ this.addNewPositionOverrideToolStripMenuItem.Text = "Add New Position Override";
+ this.addNewPositionOverrideToolStripMenuItem.Click += new System.EventHandler(this.addNewPositionOverrideToolStripMenuItem_Click);
+ //
+ // renameToolStripMenuItem
+ //
+ this.renameToolStripMenuItem.Name = "renameToolStripMenuItem";
+ this.renameToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
+ this.renameToolStripMenuItem.Text = "Change";
+ this.renameToolStripMenuItem.Click += new System.EventHandler(this.changeToolStripMenuItem_Click);
+ //
+ // removeToolStripMenuItem
+ //
+ this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
+ this.removeToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
+ this.removeToolStripMenuItem.Text = "Remove";
+ this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click);
+ //
+ // menuStrip
+ //
+ this.menuStrip.AutoSize = false;
+ this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.helpToolStripMenuItem});
- this.menuStrip.Location = new System.Drawing.Point(20, 60);
- this.menuStrip.Name = "menuStrip";
- this.menuStrip.Size = new System.Drawing.Size(309, 24);
- this.menuStrip.TabIndex = 14;
- this.menuStrip.Text = "menuStrip1";
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.menuStrip.Location = new System.Drawing.Point(20, 60);
+ this.menuStrip.Name = "menuStrip";
+ this.menuStrip.Size = new System.Drawing.Size(309, 24);
+ this.menuStrip.TabIndex = 14;
+ this.menuStrip.Text = "menuStrip1";
+ //
+ // fileToolStripMenuItem
+ //
+ this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.saveToolStripMenuItem1});
- this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
- this.fileToolStripMenuItem.Text = "File";
- //
- // saveToolStripMenuItem1
- //
- this.saveToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem1.Image")));
- this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
- this.saveToolStripMenuItem1.Size = new System.Drawing.Size(98, 22);
- this.saveToolStripMenuItem1.Text = "Save";
- this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click);
- //
- // helpToolStripMenuItem
- //
- this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
- this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
- this.helpToolStripMenuItem.Text = "Help";
- //
- // MobIsTamedCheckbox
- //
- this.MobIsTamedCheckbox.AutoSize = true;
- this.MobIsTamedCheckbox.Enabled = false;
- this.MobIsTamedCheckbox.Location = new System.Drawing.Point(221, 104);
- this.MobIsTamedCheckbox.Name = "MobIsTamedCheckbox";
- this.MobIsTamedCheckbox.Size = new System.Drawing.Size(96, 15);
- this.MobIsTamedCheckbox.TabIndex = 22;
- this.MobIsTamedCheckbox.Text = "Mob is tamed";
- this.MobIsTamedCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.MobIsTamedCheckbox.UseSelectable = true;
- this.MobIsTamedCheckbox.CheckedChanged += new System.EventHandler(this.MobIsTamedCheckbox_CheckedChanged);
- //
- // MobHasSaddleCheckbox
- //
- this.MobHasSaddleCheckbox.AutoSize = true;
- this.MobHasSaddleCheckbox.Enabled = false;
- this.MobHasSaddleCheckbox.Location = new System.Drawing.Point(221, 136);
- this.MobHasSaddleCheckbox.Name = "MobHasSaddleCheckbox";
- this.MobHasSaddleCheckbox.Size = new System.Drawing.Size(106, 15);
- this.MobHasSaddleCheckbox.TabIndex = 23;
- this.MobHasSaddleCheckbox.Text = "Mob has saddle";
- this.MobHasSaddleCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.MobHasSaddleCheckbox.UseSelectable = true;
- this.MobHasSaddleCheckbox.CheckedChanged += new System.EventHandler(this.MobHasSaddleCheckbox_CheckedChanged);
- //
- // zUpDown
- //
- this.zUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.zUpDown.DecimalPlaces = 3;
- this.zUpDown.Enabled = false;
- this.zUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.zUpDown.Location = new System.Drawing.Point(254, 220);
- this.zUpDown.Maximum = new decimal(new int[] {
+ this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
+ this.fileToolStripMenuItem.Text = "File";
+ //
+ // saveToolStripMenuItem1
+ //
+ this.saveToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem1.Image")));
+ this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
+ this.saveToolStripMenuItem1.Size = new System.Drawing.Size(98, 22);
+ this.saveToolStripMenuItem1.Text = "Save";
+ this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click);
+ //
+ // helpToolStripMenuItem
+ //
+ this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
+ this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
+ this.helpToolStripMenuItem.Text = "Help";
+ //
+ // MobIsTamedCheckbox
+ //
+ this.MobIsTamedCheckbox.AutoSize = true;
+ this.MobIsTamedCheckbox.Enabled = false;
+ this.MobIsTamedCheckbox.Location = new System.Drawing.Point(221, 104);
+ this.MobIsTamedCheckbox.Name = "MobIsTamedCheckbox";
+ this.MobIsTamedCheckbox.Size = new System.Drawing.Size(96, 15);
+ this.MobIsTamedCheckbox.TabIndex = 22;
+ this.MobIsTamedCheckbox.Text = "Mob is tamed";
+ this.MobIsTamedCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.MobIsTamedCheckbox.UseSelectable = true;
+ this.MobIsTamedCheckbox.CheckedChanged += new System.EventHandler(this.MobIsTamedCheckbox_CheckedChanged);
+ //
+ // MobHasSaddleCheckbox
+ //
+ this.MobHasSaddleCheckbox.AutoSize = true;
+ this.MobHasSaddleCheckbox.Enabled = false;
+ this.MobHasSaddleCheckbox.Location = new System.Drawing.Point(221, 136);
+ this.MobHasSaddleCheckbox.Name = "MobHasSaddleCheckbox";
+ this.MobHasSaddleCheckbox.Size = new System.Drawing.Size(106, 15);
+ this.MobHasSaddleCheckbox.TabIndex = 23;
+ this.MobHasSaddleCheckbox.Text = "Mob has saddle";
+ this.MobHasSaddleCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.MobHasSaddleCheckbox.UseSelectable = true;
+ this.MobHasSaddleCheckbox.CheckedChanged += new System.EventHandler(this.MobHasSaddleCheckbox_CheckedChanged);
+ //
+ // zUpDown
+ //
+ this.zUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.zUpDown.DecimalPlaces = 3;
+ this.zUpDown.Enabled = false;
+ this.zUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.zUpDown.Location = new System.Drawing.Point(254, 220);
+ this.zUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.zUpDown.Minimum = new decimal(new int[] {
+ this.zUpDown.Minimum = new decimal(new int[] {
255,
0,
0,
-2147483648});
- this.zUpDown.Name = "zUpDown";
- this.zUpDown.Size = new System.Drawing.Size(75, 20);
- this.zUpDown.TabIndex = 29;
- this.zUpDown.ValueChanged += new System.EventHandler(this.zUpDown_ValueChanged);
- //
- // yUpDown
- //
- this.yUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.yUpDown.DecimalPlaces = 3;
- this.yUpDown.Enabled = false;
- this.yUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.yUpDown.Location = new System.Drawing.Point(254, 194);
- this.yUpDown.Maximum = new decimal(new int[] {
+ this.zUpDown.Name = "zUpDown";
+ this.zUpDown.Size = new System.Drawing.Size(75, 20);
+ this.zUpDown.TabIndex = 29;
+ this.zUpDown.ValueChanged += new System.EventHandler(this.zUpDown_ValueChanged);
+ //
+ // yUpDown
+ //
+ this.yUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.yUpDown.DecimalPlaces = 3;
+ this.yUpDown.Enabled = false;
+ this.yUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.yUpDown.Location = new System.Drawing.Point(254, 194);
+ this.yUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.yUpDown.Minimum = new decimal(new int[] {
+ this.yUpDown.Minimum = new decimal(new int[] {
255,
0,
0,
-2147483648});
- this.yUpDown.Name = "yUpDown";
- this.yUpDown.Size = new System.Drawing.Size(75, 20);
- this.yUpDown.TabIndex = 28;
- this.yUpDown.ValueChanged += new System.EventHandler(this.yUpDown_ValueChanged);
- //
- // zLabel
- //
- this.zLabel.AutoSize = true;
- this.zLabel.Location = new System.Drawing.Point(221, 220);
- this.zLabel.Name = "zLabel";
- this.zLabel.Size = new System.Drawing.Size(20, 19);
- this.zLabel.TabIndex = 25;
- this.zLabel.Text = "Z:";
- this.zLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // yLabel
- //
- this.yLabel.AutoSize = true;
- this.yLabel.Location = new System.Drawing.Point(222, 194);
- this.yLabel.Name = "yLabel";
- this.yLabel.Size = new System.Drawing.Size(20, 19);
- this.yLabel.TabIndex = 24;
- this.yLabel.Text = "Y:";
- this.yLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // xUpDown
- //
- this.xUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.xUpDown.DecimalPlaces = 3;
- this.xUpDown.Enabled = false;
- this.xUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.xUpDown.Location = new System.Drawing.Point(254, 168);
- this.xUpDown.Maximum = new decimal(new int[] {
+ this.yUpDown.Name = "yUpDown";
+ this.yUpDown.Size = new System.Drawing.Size(75, 20);
+ this.yUpDown.TabIndex = 28;
+ this.yUpDown.ValueChanged += new System.EventHandler(this.yUpDown_ValueChanged);
+ //
+ // zLabel
+ //
+ this.zLabel.AutoSize = true;
+ this.zLabel.Location = new System.Drawing.Point(221, 220);
+ this.zLabel.Name = "zLabel";
+ this.zLabel.Size = new System.Drawing.Size(20, 19);
+ this.zLabel.TabIndex = 25;
+ this.zLabel.Text = "Z:";
+ this.zLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // yLabel
+ //
+ this.yLabel.AutoSize = true;
+ this.yLabel.Location = new System.Drawing.Point(222, 194);
+ this.yLabel.Name = "yLabel";
+ this.yLabel.Size = new System.Drawing.Size(20, 19);
+ this.yLabel.TabIndex = 24;
+ this.yLabel.Text = "Y:";
+ this.yLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // xUpDown
+ //
+ this.xUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.xUpDown.DecimalPlaces = 3;
+ this.xUpDown.Enabled = false;
+ this.xUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.xUpDown.Location = new System.Drawing.Point(254, 168);
+ this.xUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.xUpDown.Minimum = new decimal(new int[] {
+ this.xUpDown.Minimum = new decimal(new int[] {
255,
0,
0,
-2147483648});
- this.xUpDown.Name = "xUpDown";
- this.xUpDown.Size = new System.Drawing.Size(75, 20);
- this.xUpDown.TabIndex = 31;
- this.xUpDown.ValueChanged += new System.EventHandler(this.xUpDown_ValueChanged);
- //
- // xLabel
- //
- this.xLabel.AutoSize = true;
- this.xLabel.Location = new System.Drawing.Point(222, 168);
- this.xLabel.Name = "xLabel";
- this.xLabel.Size = new System.Drawing.Size(20, 19);
- this.xLabel.TabIndex = 30;
- this.xLabel.Text = "X:";
- this.xLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // BehaviourEditor
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(349, 280);
- this.Controls.Add(this.xUpDown);
- this.Controls.Add(this.xLabel);
- this.Controls.Add(this.zUpDown);
- this.Controls.Add(this.yUpDown);
- this.Controls.Add(this.zLabel);
- this.Controls.Add(this.yLabel);
- this.Controls.Add(this.MobHasSaddleCheckbox);
- this.Controls.Add(this.MobIsTamedCheckbox);
- this.Controls.Add(this.menuStrip);
- this.Controls.Add(this.treeView1);
- this.Name = "BehaviourEditor";
- this.Resizable = false;
- this.Style = MetroFramework.MetroColorStyle.Silver;
- this.Text = "Behaviour Editor";
- this.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.metroContextMenu1.ResumeLayout(false);
- this.menuStrip.ResumeLayout(false);
- this.menuStrip.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.zUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.yUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.xUpDown)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.xUpDown.Name = "xUpDown";
+ this.xUpDown.Size = new System.Drawing.Size(75, 20);
+ this.xUpDown.TabIndex = 31;
+ this.xUpDown.ValueChanged += new System.EventHandler(this.xUpDown_ValueChanged);
+ //
+ // xLabel
+ //
+ this.xLabel.AutoSize = true;
+ this.xLabel.Location = new System.Drawing.Point(222, 168);
+ this.xLabel.Name = "xLabel";
+ this.xLabel.Size = new System.Drawing.Size(20, 19);
+ this.xLabel.TabIndex = 30;
+ this.xLabel.Text = "X:";
+ this.xLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // BehaviourEditor
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(349, 280);
+ this.Controls.Add(this.xUpDown);
+ this.Controls.Add(this.xLabel);
+ this.Controls.Add(this.zUpDown);
+ this.Controls.Add(this.yUpDown);
+ this.Controls.Add(this.zLabel);
+ this.Controls.Add(this.yLabel);
+ this.Controls.Add(this.MobHasSaddleCheckbox);
+ this.Controls.Add(this.MobIsTamedCheckbox);
+ this.Controls.Add(this.menuStrip);
+ this.Controls.Add(this.treeView1);
+ this.Name = "BehaviourEditor";
+ this.Resizable = false;
+ this.Style = MetroFramework.MetroColorStyle.Silver;
+ this.Text = "Behaviour Editor";
+ this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BehaviourEditor_FormClosing);
+ this.metroContextMenu1.ResumeLayout(false);
+ this.menuStrip.ResumeLayout(false);
+ this.menuStrip.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.zUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.yUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xUpDown)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
diff --git a/PCK-Studio/Forms/Editor/BehaviourEditor.cs b/PCK-Studio/Forms/Editor/BehaviourEditor.cs
index 3d4174e7..d31f3927 100644
--- a/PCK-Studio/Forms/Editor/BehaviourEditor.cs
+++ b/PCK-Studio/Forms/Editor/BehaviourEditor.cs
@@ -11,6 +11,7 @@ using Newtonsoft.Json.Linq;
using OMI.Formats.Behaviour;
using OMI.Workers.Behaviour;
using OMI.Formats.Pck;
+using PckStudio.Properties;
namespace PckStudio.Forms.Editor
{
@@ -61,7 +62,10 @@ namespace PckStudio.Forms.Editor
public BehaviourEditor(PckFile.FileData file)
{
InitializeComponent();
- _file = file;
+
+ saveToolStripMenuItem1.Visible = !Settings.Default.AutoSaveChanges;
+
+ _file = file;
using (var stream = new MemoryStream(file.Data))
{
@@ -277,5 +281,13 @@ namespace PckStudio.Forms.Editor
}
DialogResult = DialogResult.OK;
}
- }
+
+ private void BehaviourEditor_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ if (Settings.Default.AutoSaveChanges)
+ {
+ saveToolStripMenuItem1_Click(sender, EventArgs.Empty);
+ }
+ }
+ }
}
diff --git a/PCK-Studio/Forms/Editor/BoxEditor.Designer.cs b/PCK-Studio/Forms/Editor/BoxEditor.Designer.cs
index 441d6a7f..6f7ea162 100644
--- a/PCK-Studio/Forms/Editor/BoxEditor.Designer.cs
+++ b/PCK-Studio/Forms/Editor/BoxEditor.Designer.cs
@@ -28,75 +28,119 @@
///
private void InitializeComponent()
{
- MetroFramework.Controls.MetroLabel parentLabel;
- MetroFramework.Controls.MetroLabel positionLabel;
- MetroFramework.Controls.MetroLabel sizeLabel;
- MetroFramework.Controls.MetroLabel uvLabel;
- MetroFramework.Controls.MetroLabel inflationLabel;
- this.closeButton = new MetroFramework.Controls.MetroButton();
- this.toolTip = new MetroFramework.Components.MetroToolTip();
- this.parentComboBox = new MetroFramework.Controls.MetroComboBox();
- this.PosXUpDown = new System.Windows.Forms.NumericUpDown();
- this.PosYUpDown = new System.Windows.Forms.NumericUpDown();
- this.PosZUpDown = new System.Windows.Forms.NumericUpDown();
- this.SizeZUpDown = new System.Windows.Forms.NumericUpDown();
- this.SizeYUpDown = new System.Windows.Forms.NumericUpDown();
- this.SizeXUpDown = new System.Windows.Forms.NumericUpDown();
- this.uvYUpDown = new System.Windows.Forms.NumericUpDown();
- this.uvXUpDown = new System.Windows.Forms.NumericUpDown();
- this.armorCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.mirrorCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.inflationUpDown = new System.Windows.Forms.NumericUpDown();
- parentLabel = new MetroFramework.Controls.MetroLabel();
- positionLabel = new MetroFramework.Controls.MetroLabel();
- sizeLabel = new MetroFramework.Controls.MetroLabel();
- uvLabel = new MetroFramework.Controls.MetroLabel();
- inflationLabel = new MetroFramework.Controls.MetroLabel();
- ((System.ComponentModel.ISupportInitialize)(this.PosXUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.PosYUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.PosZUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.SizeZUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.SizeYUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.SizeXUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.uvYUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.uvXUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.inflationUpDown)).BeginInit();
- this.SuspendLayout();
- //
- // closeButton
- //
- this.closeButton.Location = new System.Drawing.Point(252, 187);
- this.closeButton.Name = "closeButton";
- this.closeButton.Size = new System.Drawing.Size(126, 23);
- this.closeButton.TabIndex = 1;
- this.closeButton.Text = "Save";
- this.closeButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.closeButton.UseSelectable = true;
- this.closeButton.Click += new System.EventHandler(this.saveButton_Click);
- //
- // toolTip
- //
- this.toolTip.StripAmpersands = true;
- this.toolTip.Style = MetroFramework.MetroColorStyle.Blue;
- this.toolTip.StyleManager = null;
- this.toolTip.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // parentLabel
- //
- parentLabel.AutoSize = true;
- parentLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
- parentLabel.Location = new System.Drawing.Point(357, 72);
- parentLabel.Name = "parentLabel";
- parentLabel.Size = new System.Drawing.Size(64, 25);
- parentLabel.TabIndex = 2;
- parentLabel.Text = "Parent:";
- parentLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // parentComboBox
- //
- this.parentComboBox.FormattingEnabled = true;
- this.parentComboBox.ItemHeight = 23;
- this.parentComboBox.Items.AddRange(new object[] {
+ MetroFramework.Controls.MetroLabel parentLabel;
+ MetroFramework.Controls.MetroLabel positionLabel;
+ MetroFramework.Controls.MetroLabel sizeLabel;
+ MetroFramework.Controls.MetroLabel uvLabel;
+ MetroFramework.Controls.MetroLabel inflationLabel;
+ this.closeButton = new MetroFramework.Controls.MetroButton();
+ this.toolTip = new MetroFramework.Components.MetroToolTip();
+ this.parentComboBox = new MetroFramework.Controls.MetroComboBox();
+ this.PosXUpDown = new System.Windows.Forms.NumericUpDown();
+ this.PosYUpDown = new System.Windows.Forms.NumericUpDown();
+ this.PosZUpDown = new System.Windows.Forms.NumericUpDown();
+ this.SizeZUpDown = new System.Windows.Forms.NumericUpDown();
+ this.SizeYUpDown = new System.Windows.Forms.NumericUpDown();
+ this.SizeXUpDown = new System.Windows.Forms.NumericUpDown();
+ this.uvYUpDown = new System.Windows.Forms.NumericUpDown();
+ this.uvXUpDown = new System.Windows.Forms.NumericUpDown();
+ this.armorCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.mirrorCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.inflationUpDown = new System.Windows.Forms.NumericUpDown();
+ parentLabel = new MetroFramework.Controls.MetroLabel();
+ positionLabel = new MetroFramework.Controls.MetroLabel();
+ sizeLabel = new MetroFramework.Controls.MetroLabel();
+ uvLabel = new MetroFramework.Controls.MetroLabel();
+ inflationLabel = new MetroFramework.Controls.MetroLabel();
+ ((System.ComponentModel.ISupportInitialize)(this.PosXUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PosYUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PosZUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.SizeZUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.SizeYUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.SizeXUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.uvYUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.uvXUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.inflationUpDown)).BeginInit();
+ this.SuspendLayout();
+ //
+ // parentLabel
+ //
+ parentLabel.AutoSize = true;
+ parentLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
+ parentLabel.Location = new System.Drawing.Point(357, 72);
+ parentLabel.Name = "parentLabel";
+ parentLabel.Size = new System.Drawing.Size(64, 25);
+ parentLabel.TabIndex = 2;
+ parentLabel.Text = "Parent:";
+ parentLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // positionLabel
+ //
+ positionLabel.AutoSize = true;
+ positionLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
+ positionLabel.Location = new System.Drawing.Point(33, 72);
+ positionLabel.Name = "positionLabel";
+ positionLabel.Size = new System.Drawing.Size(75, 25);
+ positionLabel.TabIndex = 4;
+ positionLabel.Text = "Position:";
+ positionLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // sizeLabel
+ //
+ sizeLabel.AutoSize = true;
+ sizeLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
+ sizeLabel.Location = new System.Drawing.Point(33, 97);
+ sizeLabel.Name = "sizeLabel";
+ sizeLabel.Size = new System.Drawing.Size(46, 25);
+ sizeLabel.TabIndex = 22;
+ sizeLabel.Text = "Size:";
+ sizeLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // uvLabel
+ //
+ uvLabel.AutoSize = true;
+ uvLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
+ uvLabel.Location = new System.Drawing.Point(33, 123);
+ uvLabel.Name = "uvLabel";
+ uvLabel.Size = new System.Drawing.Size(39, 25);
+ uvLabel.TabIndex = 26;
+ uvLabel.Text = "UV:";
+ uvLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // inflationLabel
+ //
+ inflationLabel.AutoSize = true;
+ inflationLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
+ inflationLabel.Location = new System.Drawing.Point(33, 149);
+ inflationLabel.Name = "inflationLabel";
+ inflationLabel.Size = new System.Drawing.Size(55, 25);
+ inflationLabel.TabIndex = 31;
+ inflationLabel.Text = "Scale:";
+ inflationLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // closeButton
+ //
+ this.closeButton.Location = new System.Drawing.Point(252, 187);
+ this.closeButton.Name = "closeButton";
+ this.closeButton.Size = new System.Drawing.Size(126, 23);
+ this.closeButton.TabIndex = 1;
+ this.closeButton.Text = "Save";
+ this.closeButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.closeButton.UseSelectable = true;
+ this.closeButton.Click += new System.EventHandler(this.saveButton_Click);
+ //
+ // toolTip
+ //
+ this.toolTip.StripAmpersands = true;
+ this.toolTip.Style = MetroFramework.MetroColorStyle.Blue;
+ this.toolTip.StyleManager = null;
+ this.toolTip.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // parentComboBox
+ //
+ this.parentComboBox.FormattingEnabled = true;
+ this.parentComboBox.ItemHeight = 23;
+ this.parentComboBox.Items.AddRange(new object[] {
"HEAD",
"BODY",
"ARM0",
@@ -120,329 +164,289 @@
"ARMARMOR0",
"BODYARMOR",
"BELT"});
- this.parentComboBox.Location = new System.Drawing.Point(417, 72);
- this.parentComboBox.Name = "parentComboBox";
- this.parentComboBox.Size = new System.Drawing.Size(163, 29);
- this.parentComboBox.TabIndex = 3;
- this.parentComboBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.parentComboBox.UseSelectable = true;
- //
- // positionLabel
- //
- positionLabel.AutoSize = true;
- positionLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
- positionLabel.Location = new System.Drawing.Point(33, 72);
- positionLabel.Name = "positionLabel";
- positionLabel.Size = new System.Drawing.Size(75, 25);
- positionLabel.TabIndex = 4;
- positionLabel.Text = "Position:";
- positionLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // PosXUpDown
- //
- this.PosXUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.PosXUpDown.DecimalPlaces = 3;
- this.PosXUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.PosXUpDown.Increment = new decimal(new int[] {
+ this.parentComboBox.Location = new System.Drawing.Point(417, 72);
+ this.parentComboBox.Name = "parentComboBox";
+ this.parentComboBox.Size = new System.Drawing.Size(163, 29);
+ this.parentComboBox.TabIndex = 3;
+ this.parentComboBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.parentComboBox.UseSelectable = true;
+ //
+ // PosXUpDown
+ //
+ this.PosXUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.PosXUpDown.DecimalPlaces = 3;
+ this.PosXUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.PosXUpDown.Increment = new decimal(new int[] {
1,
0,
0,
65536});
- this.PosXUpDown.Location = new System.Drawing.Point(120, 76);
- this.PosXUpDown.Maximum = new decimal(new int[] {
+ this.PosXUpDown.Location = new System.Drawing.Point(120, 76);
+ this.PosXUpDown.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
- this.PosXUpDown.Minimum = new decimal(new int[] {
+ this.PosXUpDown.Minimum = new decimal(new int[] {
9999,
0,
0,
-2147483648});
- this.PosXUpDown.Name = "PosXUpDown";
- this.PosXUpDown.Size = new System.Drawing.Size(73, 20);
- this.PosXUpDown.TabIndex = 19;
- //
- // PosYUpDown
- //
- this.PosYUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.PosYUpDown.DecimalPlaces = 3;
- this.PosYUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.PosYUpDown.Increment = new decimal(new int[] {
+ this.PosXUpDown.Name = "PosXUpDown";
+ this.PosXUpDown.Size = new System.Drawing.Size(73, 20);
+ this.PosXUpDown.TabIndex = 19;
+ //
+ // PosYUpDown
+ //
+ this.PosYUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.PosYUpDown.DecimalPlaces = 3;
+ this.PosYUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.PosYUpDown.Increment = new decimal(new int[] {
1,
0,
0,
65536});
- this.PosYUpDown.Location = new System.Drawing.Point(199, 76);
- this.PosYUpDown.Maximum = new decimal(new int[] {
+ this.PosYUpDown.Location = new System.Drawing.Point(199, 76);
+ this.PosYUpDown.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
- this.PosYUpDown.Minimum = new decimal(new int[] {
+ this.PosYUpDown.Minimum = new decimal(new int[] {
9999,
0,
0,
-2147483648});
- this.PosYUpDown.Name = "PosYUpDown";
- this.PosYUpDown.Size = new System.Drawing.Size(73, 20);
- this.PosYUpDown.TabIndex = 20;
- //
- // PosZUpDown
- //
- this.PosZUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.PosZUpDown.DecimalPlaces = 3;
- this.PosZUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.PosZUpDown.Increment = new decimal(new int[] {
+ this.PosYUpDown.Name = "PosYUpDown";
+ this.PosYUpDown.Size = new System.Drawing.Size(73, 20);
+ this.PosYUpDown.TabIndex = 20;
+ //
+ // PosZUpDown
+ //
+ this.PosZUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.PosZUpDown.DecimalPlaces = 3;
+ this.PosZUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.PosZUpDown.Increment = new decimal(new int[] {
1,
0,
0,
65536});
- this.PosZUpDown.Location = new System.Drawing.Point(278, 76);
- this.PosZUpDown.Maximum = new decimal(new int[] {
+ this.PosZUpDown.Location = new System.Drawing.Point(278, 76);
+ this.PosZUpDown.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
- this.PosZUpDown.Minimum = new decimal(new int[] {
+ this.PosZUpDown.Minimum = new decimal(new int[] {
9999,
0,
0,
-2147483648});
- this.PosZUpDown.Name = "PosZUpDown";
- this.PosZUpDown.Size = new System.Drawing.Size(73, 20);
- this.PosZUpDown.TabIndex = 21;
- //
- // SizeZUpDown
- //
- this.SizeZUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.SizeZUpDown.DecimalPlaces = 3;
- this.SizeZUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.SizeZUpDown.Increment = new decimal(new int[] {
+ this.PosZUpDown.Name = "PosZUpDown";
+ this.PosZUpDown.Size = new System.Drawing.Size(73, 20);
+ this.PosZUpDown.TabIndex = 21;
+ //
+ // SizeZUpDown
+ //
+ this.SizeZUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.SizeZUpDown.DecimalPlaces = 3;
+ this.SizeZUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.SizeZUpDown.Increment = new decimal(new int[] {
1,
0,
0,
65536});
- this.SizeZUpDown.Location = new System.Drawing.Point(278, 102);
- this.SizeZUpDown.Maximum = new decimal(new int[] {
+ this.SizeZUpDown.Location = new System.Drawing.Point(278, 102);
+ this.SizeZUpDown.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
- this.SizeZUpDown.Name = "SizeZUpDown";
- this.SizeZUpDown.Size = new System.Drawing.Size(73, 20);
- this.SizeZUpDown.TabIndex = 25;
- //
- // SizeYUpDown
- //
- this.SizeYUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.SizeYUpDown.DecimalPlaces = 3;
- this.SizeYUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.SizeYUpDown.Increment = new decimal(new int[] {
+ this.SizeZUpDown.Name = "SizeZUpDown";
+ this.SizeZUpDown.Size = new System.Drawing.Size(73, 20);
+ this.SizeZUpDown.TabIndex = 25;
+ //
+ // SizeYUpDown
+ //
+ this.SizeYUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.SizeYUpDown.DecimalPlaces = 3;
+ this.SizeYUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.SizeYUpDown.Increment = new decimal(new int[] {
1,
0,
0,
65536});
- this.SizeYUpDown.Location = new System.Drawing.Point(199, 102);
- this.SizeYUpDown.Maximum = new decimal(new int[] {
+ this.SizeYUpDown.Location = new System.Drawing.Point(199, 102);
+ this.SizeYUpDown.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
- this.SizeYUpDown.Name = "SizeYUpDown";
- this.SizeYUpDown.Size = new System.Drawing.Size(73, 20);
- this.SizeYUpDown.TabIndex = 24;
- //
- // SizeXUpDown
- //
- this.SizeXUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.SizeXUpDown.DecimalPlaces = 3;
- this.SizeXUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.SizeXUpDown.Increment = new decimal(new int[] {
+ this.SizeYUpDown.Name = "SizeYUpDown";
+ this.SizeYUpDown.Size = new System.Drawing.Size(73, 20);
+ this.SizeYUpDown.TabIndex = 24;
+ //
+ // SizeXUpDown
+ //
+ this.SizeXUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.SizeXUpDown.DecimalPlaces = 3;
+ this.SizeXUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.SizeXUpDown.Increment = new decimal(new int[] {
1,
0,
0,
65536});
- this.SizeXUpDown.Location = new System.Drawing.Point(120, 102);
- this.SizeXUpDown.Maximum = new decimal(new int[] {
+ this.SizeXUpDown.Location = new System.Drawing.Point(120, 102);
+ this.SizeXUpDown.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
- this.SizeXUpDown.Name = "SizeXUpDown";
- this.SizeXUpDown.Size = new System.Drawing.Size(73, 20);
- this.SizeXUpDown.TabIndex = 23;
- //
- // sizeLabel
- //
- sizeLabel.AutoSize = true;
- sizeLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
- sizeLabel.Location = new System.Drawing.Point(33, 97);
- sizeLabel.Name = "sizeLabel";
- sizeLabel.Size = new System.Drawing.Size(46, 25);
- sizeLabel.TabIndex = 22;
- sizeLabel.Text = "Size:";
- sizeLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // uvYUpDown
- //
- this.uvYUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.uvYUpDown.DecimalPlaces = 3;
- this.uvYUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.uvYUpDown.Increment = new decimal(new int[] {
+ this.SizeXUpDown.Name = "SizeXUpDown";
+ this.SizeXUpDown.Size = new System.Drawing.Size(73, 20);
+ this.SizeXUpDown.TabIndex = 23;
+ //
+ // uvYUpDown
+ //
+ this.uvYUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.uvYUpDown.DecimalPlaces = 3;
+ this.uvYUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.uvYUpDown.Increment = new decimal(new int[] {
1,
0,
0,
65536});
- this.uvYUpDown.Location = new System.Drawing.Point(199, 128);
- this.uvYUpDown.Maximum = new decimal(new int[] {
+ this.uvYUpDown.Location = new System.Drawing.Point(199, 128);
+ this.uvYUpDown.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
- this.uvYUpDown.Minimum = new decimal(new int[] {
+ this.uvYUpDown.Minimum = new decimal(new int[] {
9999,
0,
0,
-2147483648});
- this.uvYUpDown.Name = "uvYUpDown";
- this.uvYUpDown.Size = new System.Drawing.Size(73, 20);
- this.uvYUpDown.TabIndex = 28;
- //
- // uvXUpDown
- //
- this.uvXUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.uvXUpDown.DecimalPlaces = 3;
- this.uvXUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.uvXUpDown.Increment = new decimal(new int[] {
+ this.uvYUpDown.Name = "uvYUpDown";
+ this.uvYUpDown.Size = new System.Drawing.Size(73, 20);
+ this.uvYUpDown.TabIndex = 28;
+ //
+ // uvXUpDown
+ //
+ this.uvXUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.uvXUpDown.DecimalPlaces = 3;
+ this.uvXUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.uvXUpDown.Increment = new decimal(new int[] {
1,
0,
0,
65536});
- this.uvXUpDown.Location = new System.Drawing.Point(120, 128);
- this.uvXUpDown.Maximum = new decimal(new int[] {
+ this.uvXUpDown.Location = new System.Drawing.Point(120, 128);
+ this.uvXUpDown.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
- this.uvXUpDown.Minimum = new decimal(new int[] {
+ this.uvXUpDown.Minimum = new decimal(new int[] {
9999,
0,
0,
-2147483648});
- this.uvXUpDown.Name = "uvXUpDown";
- this.uvXUpDown.Size = new System.Drawing.Size(73, 20);
- this.uvXUpDown.TabIndex = 27;
- //
- // uvLabel
- //
- uvLabel.AutoSize = true;
- uvLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
- uvLabel.Location = new System.Drawing.Point(33, 123);
- uvLabel.Name = "uvLabel";
- uvLabel.Size = new System.Drawing.Size(39, 25);
- uvLabel.TabIndex = 26;
- uvLabel.Text = "UV:";
- uvLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // armorCheckBox
- //
- this.armorCheckBox.AutoSize = true;
- this.armorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Tall;
- this.armorCheckBox.FontWeight = MetroFramework.MetroCheckBoxWeight.Light;
- this.armorCheckBox.Location = new System.Drawing.Point(363, 101);
- this.armorCheckBox.Name = "armorCheckBox";
- this.armorCheckBox.Size = new System.Drawing.Size(245, 25);
- this.armorCheckBox.TabIndex = 29;
- this.armorCheckBox.Text = "Hide when wearing a helmet";
- this.armorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.armorCheckBox.UseSelectable = true;
- //
- // mirrorCheckBox
- //
- this.mirrorCheckBox.AutoSize = true;
- this.mirrorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Tall;
- this.mirrorCheckBox.FontWeight = MetroFramework.MetroCheckBoxWeight.Light;
- this.mirrorCheckBox.Location = new System.Drawing.Point(363, 130);
- this.mirrorCheckBox.Name = "mirrorCheckBox";
- this.mirrorCheckBox.Size = new System.Drawing.Size(133, 25);
- this.mirrorCheckBox.TabIndex = 30;
- this.mirrorCheckBox.Text = "Mirror Texture";
- this.mirrorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.mirrorCheckBox.UseSelectable = true;
- //
- // inflationUpDown
- //
- this.inflationUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.inflationUpDown.DecimalPlaces = 3;
- this.inflationUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- this.inflationUpDown.Increment = new decimal(new int[] {
+ this.uvXUpDown.Name = "uvXUpDown";
+ this.uvXUpDown.Size = new System.Drawing.Size(73, 20);
+ this.uvXUpDown.TabIndex = 27;
+ //
+ // armorCheckBox
+ //
+ this.armorCheckBox.AutoSize = true;
+ this.armorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Tall;
+ this.armorCheckBox.FontWeight = MetroFramework.MetroCheckBoxWeight.Light;
+ this.armorCheckBox.Location = new System.Drawing.Point(363, 101);
+ this.armorCheckBox.Name = "armorCheckBox";
+ this.armorCheckBox.Size = new System.Drawing.Size(245, 25);
+ this.armorCheckBox.TabIndex = 29;
+ this.armorCheckBox.Text = "Hide when wearing a helmet";
+ this.armorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.armorCheckBox.UseSelectable = true;
+ //
+ // mirrorCheckBox
+ //
+ this.mirrorCheckBox.AutoSize = true;
+ this.mirrorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Tall;
+ this.mirrorCheckBox.FontWeight = MetroFramework.MetroCheckBoxWeight.Light;
+ this.mirrorCheckBox.Location = new System.Drawing.Point(363, 130);
+ this.mirrorCheckBox.Name = "mirrorCheckBox";
+ this.mirrorCheckBox.Size = new System.Drawing.Size(133, 25);
+ this.mirrorCheckBox.TabIndex = 30;
+ this.mirrorCheckBox.Text = "Mirror Texture";
+ this.mirrorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.mirrorCheckBox.UseSelectable = true;
+ //
+ // inflationUpDown
+ //
+ this.inflationUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.inflationUpDown.DecimalPlaces = 3;
+ this.inflationUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ this.inflationUpDown.Increment = new decimal(new int[] {
1,
0,
0,
65536});
- this.inflationUpDown.Location = new System.Drawing.Point(120, 154);
- this.inflationUpDown.Maximum = new decimal(new int[] {
+ this.inflationUpDown.Location = new System.Drawing.Point(120, 154);
+ this.inflationUpDown.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
- this.inflationUpDown.Name = "inflationUpDown";
- this.inflationUpDown.Size = new System.Drawing.Size(73, 20);
- this.inflationUpDown.TabIndex = 32;
- //
- // inflationLabel
- //
- inflationLabel.AutoSize = true;
- inflationLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
- inflationLabel.Location = new System.Drawing.Point(33, 149);
- inflationLabel.Name = "inflationLabel";
- inflationLabel.Size = new System.Drawing.Size(55, 25);
- inflationLabel.TabIndex = 31;
- inflationLabel.Text = "Scale:";
- inflationLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // BoxEditor
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(630, 220);
- this.Controls.Add(this.inflationUpDown);
- this.Controls.Add(this.uvYUpDown);
- this.Controls.Add(this.uvXUpDown);
- this.Controls.Add(this.SizeZUpDown);
- this.Controls.Add(this.SizeYUpDown);
- this.Controls.Add(this.SizeXUpDown);
- this.Controls.Add(this.PosZUpDown);
- this.Controls.Add(this.PosYUpDown);
- this.Controls.Add(this.PosXUpDown);
- this.Controls.Add(inflationLabel);
- this.Controls.Add(this.parentComboBox);
- this.Controls.Add(this.mirrorCheckBox);
- this.Controls.Add(this.armorCheckBox);
- this.Controls.Add(uvLabel);
- this.Controls.Add(sizeLabel);
- this.Controls.Add(positionLabel);
- this.Controls.Add(parentLabel);
- this.Controls.Add(this.closeButton);
- this.MaximumSize = new System.Drawing.Size(630, 554);
- this.MinimizeBox = false;
- this.MinimumSize = new System.Drawing.Size(630, 220);
- this.Name = "BoxEditor";
- this.Style = MetroFramework.MetroColorStyle.Silver;
- this.Text = "BOX Editor";
- this.Theme = MetroFramework.MetroThemeStyle.Dark;
- ((System.ComponentModel.ISupportInitialize)(this.PosXUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.PosYUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.PosZUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.SizeZUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.SizeYUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.SizeXUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.uvYUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.uvXUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.inflationUpDown)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.inflationUpDown.Name = "inflationUpDown";
+ this.inflationUpDown.Size = new System.Drawing.Size(73, 20);
+ this.inflationUpDown.TabIndex = 32;
+ //
+ // BoxEditor
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(630, 220);
+ this.Controls.Add(this.inflationUpDown);
+ this.Controls.Add(this.uvYUpDown);
+ this.Controls.Add(this.uvXUpDown);
+ this.Controls.Add(this.SizeZUpDown);
+ this.Controls.Add(this.SizeYUpDown);
+ this.Controls.Add(this.SizeXUpDown);
+ this.Controls.Add(this.PosZUpDown);
+ this.Controls.Add(this.PosYUpDown);
+ this.Controls.Add(this.PosXUpDown);
+ this.Controls.Add(inflationLabel);
+ this.Controls.Add(this.parentComboBox);
+ this.Controls.Add(this.mirrorCheckBox);
+ this.Controls.Add(this.armorCheckBox);
+ this.Controls.Add(uvLabel);
+ this.Controls.Add(sizeLabel);
+ this.Controls.Add(positionLabel);
+ this.Controls.Add(parentLabel);
+ this.Controls.Add(this.closeButton);
+ this.MaximizeBox = false;
+ this.MaximumSize = new System.Drawing.Size(630, 554);
+ this.MinimizeBox = false;
+ this.MinimumSize = new System.Drawing.Size(630, 220);
+ this.Name = "BoxEditor";
+ this.Resizable = false;
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Style = MetroFramework.MetroColorStyle.Silver;
+ this.Text = "BOX Editor";
+ this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BoxEditor_FormClosing);
+ ((System.ComponentModel.ISupportInitialize)(this.PosXUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PosYUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PosZUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.SizeZUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.SizeYUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.SizeXUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.uvYUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.uvXUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.inflationUpDown)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
diff --git a/PCK-Studio/Forms/Editor/BoxEditor.cs b/PCK-Studio/Forms/Editor/BoxEditor.cs
index ac1bbfef..6a62d863 100644
--- a/PCK-Studio/Forms/Editor/BoxEditor.cs
+++ b/PCK-Studio/Forms/Editor/BoxEditor.cs
@@ -1,6 +1,7 @@
using System;
using System.Windows.Forms;
using PckStudio.Internal;
+using PckStudio.Properties;
namespace PckStudio.Forms.Editor
{
@@ -12,7 +13,9 @@ namespace PckStudio.Forms.Editor
{
InitializeComponent();
- inflationUpDown.Enabled = hasInflation;
+ closeButton.Visible =!Settings.Default.AutoSaveChanges;
+
+ inflationUpDown.Enabled = hasInflation;
var box = SkinBOX.FromString(inBOX);
@@ -46,7 +49,14 @@ namespace PckStudio.Forms.Editor
$"{Convert.ToInt32(mirrorCheckBox.Checked)} " +
$"{inflationUpDown.Value}";
DialogResult = DialogResult.OK;
- Close();
}
- }
+
+ private void BoxEditor_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ if (Settings.Default.AutoSaveChanges)
+ {
+ saveButton_Click(sender, EventArgs.Empty);
+ }
+ }
+ }
}
diff --git a/PCK-Studio/Forms/Editor/BoxEditor.resx b/PCK-Studio/Forms/Editor/BoxEditor.resx
index db5d551f..81de611b 100644
--- a/PCK-Studio/Forms/Editor/BoxEditor.resx
+++ b/PCK-Studio/Forms/Editor/BoxEditor.resx
@@ -117,9 +117,6 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 17, 17
-
False
@@ -135,4 +132,7 @@
False
+
+ 17, 17
+
\ No newline at end of file
diff --git a/PCK-Studio/Forms/Editor/COLEditor.Designer.cs b/PCK-Studio/Forms/Editor/COLEditor.Designer.cs
index d1f62cef..c5b4c1b6 100644
--- a/PCK-Studio/Forms/Editor/COLEditor.Designer.cs
+++ b/PCK-Studio/Forms/Editor/COLEditor.Designer.cs
@@ -31,282 +31,282 @@ namespace PckStudio.Forms.Editor
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(COLEditor));
- this.metroPanel1 = new MetroFramework.Controls.MetroPanel();
- this.metroTextBox1 = new MetroFramework.Controls.MetroTextBox();
- this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
- this.setColorBtn = new MetroFramework.Controls.MetroButton();
- this.blueUpDown = new System.Windows.Forms.NumericUpDown();
- this.greenUpDown = new System.Windows.Forms.NumericUpDown();
- this.redUpDown = new System.Windows.Forms.NumericUpDown();
- this.alphaUpDown = new System.Windows.Forms.NumericUpDown();
- this.alphaLabel = new MetroFramework.Controls.MetroLabel();
- this.blueLabel = new MetroFramework.Controls.MetroLabel();
- this.greenLabel = new MetroFramework.Controls.MetroLabel();
- this.redLabel = new MetroFramework.Controls.MetroLabel();
- this.colorTextbox = new MetroFramework.Controls.MetroTextBox();
- this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
- this.menuStrip = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.targetUpdateToolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU12ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU13ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU14ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU19ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU31ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU32ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU43ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU46ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU51ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU53ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU54ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.TU69ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this._1_9_1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.waterTab = new System.Windows.Forms.TabPage();
- this.waterTreeView = new System.Windows.Forms.TreeView();
- this.ColorContextMenu = new MetroFramework.Controls.MetroContextMenu(this.components);
- this.restoreOriginalColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.copyColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pasteColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.underwaterTreeView = new System.Windows.Forms.TreeView();
- this.fogTreeView = new System.Windows.Forms.TreeView();
- this.colorsTab = new System.Windows.Forms.TabPage();
- this.colorTreeView = new System.Windows.Forms.TreeView();
- this.tabControl = new MetroFramework.Controls.MetroTabControl();
- this.underwaterTab = new System.Windows.Forms.TabPage();
- this.fogTab = new System.Windows.Forms.TabPage();
- this.metroPanel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
- this.menuStrip.SuspendLayout();
- this.waterTab.SuspendLayout();
- this.ColorContextMenu.SuspendLayout();
- this.colorsTab.SuspendLayout();
- this.tabControl.SuspendLayout();
- this.underwaterTab.SuspendLayout();
- this.fogTab.SuspendLayout();
- this.SuspendLayout();
- //
- // metroPanel1
- //
- this.metroPanel1.Controls.Add(this.metroTextBox1);
- this.metroPanel1.Controls.Add(this.metroLabel2);
- this.metroPanel1.Controls.Add(this.setColorBtn);
- this.metroPanel1.Controls.Add(this.blueUpDown);
- this.metroPanel1.Controls.Add(this.greenUpDown);
- this.metroPanel1.Controls.Add(this.redUpDown);
- this.metroPanel1.Controls.Add(this.alphaUpDown);
- this.metroPanel1.Controls.Add(this.alphaLabel);
- this.metroPanel1.Controls.Add(this.blueLabel);
- this.metroPanel1.Controls.Add(this.greenLabel);
- this.metroPanel1.Controls.Add(this.redLabel);
- this.metroPanel1.Controls.Add(this.colorTextbox);
- this.metroPanel1.Controls.Add(this.metroLabel1);
- this.metroPanel1.Controls.Add(this.pictureBox1);
- resources.ApplyResources(this.metroPanel1, "metroPanel1");
- this.metroPanel1.HorizontalScrollbarBarColor = true;
- this.metroPanel1.HorizontalScrollbarHighlightOnWheel = false;
- this.metroPanel1.HorizontalScrollbarSize = 10;
- this.metroPanel1.Name = "metroPanel1";
- this.metroPanel1.Style = MetroFramework.MetroColorStyle.Silver;
- this.metroPanel1.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.metroPanel1.VerticalScrollbarBarColor = true;
- this.metroPanel1.VerticalScrollbarHighlightOnWheel = false;
- this.metroPanel1.VerticalScrollbarSize = 10;
- //
- // metroTextBox1
- //
- //
- //
- //
- this.metroTextBox1.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
- this.metroTextBox1.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location")));
- this.metroTextBox1.CustomButton.Name = "";
- this.metroTextBox1.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size")));
- this.metroTextBox1.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
- this.metroTextBox1.CustomButton.TabIndex = ((int)(resources.GetObject("resource.TabIndex")));
- this.metroTextBox1.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
- this.metroTextBox1.CustomButton.UseSelectable = true;
- this.metroTextBox1.CustomButton.Visible = ((bool)(resources.GetObject("resource.Visible")));
- this.metroTextBox1.Lines = new string[0];
- resources.ApplyResources(this.metroTextBox1, "metroTextBox1");
- this.metroTextBox1.MaxLength = 32767;
- this.metroTextBox1.Name = "metroTextBox1";
- this.metroTextBox1.PasswordChar = '\0';
- this.metroTextBox1.ScrollBars = System.Windows.Forms.ScrollBars.None;
- this.metroTextBox1.SelectedText = "";
- this.metroTextBox1.SelectionLength = 0;
- this.metroTextBox1.SelectionStart = 0;
- this.metroTextBox1.ShortcutsEnabled = true;
- this.metroTextBox1.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.metroTextBox1.UseSelectable = true;
- this.metroTextBox1.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
- this.metroTextBox1.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
- this.metroTextBox1.TextChanged += new System.EventHandler(this.metroTextBox1_TextChanged);
- //
- // metroLabel2
- //
- resources.ApplyResources(this.metroLabel2, "metroLabel2");
- this.metroLabel2.Name = "metroLabel2";
- this.metroLabel2.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // setColorBtn
- //
- resources.ApplyResources(this.setColorBtn, "setColorBtn");
- this.setColorBtn.Name = "setColorBtn";
- this.setColorBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.setColorBtn.UseSelectable = true;
- this.setColorBtn.Click += new System.EventHandler(this.setColorBtn_Click);
- //
- // blueUpDown
- //
- this.blueUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.blueUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- resources.ApplyResources(this.blueUpDown, "blueUpDown");
- this.blueUpDown.Maximum = new decimal(new int[] {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(COLEditor));
+ this.metroPanel1 = new MetroFramework.Controls.MetroPanel();
+ this.metroTextBox1 = new MetroFramework.Controls.MetroTextBox();
+ this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
+ this.setColorBtn = new MetroFramework.Controls.MetroButton();
+ this.blueUpDown = new System.Windows.Forms.NumericUpDown();
+ this.greenUpDown = new System.Windows.Forms.NumericUpDown();
+ this.redUpDown = new System.Windows.Forms.NumericUpDown();
+ this.alphaUpDown = new System.Windows.Forms.NumericUpDown();
+ this.alphaLabel = new MetroFramework.Controls.MetroLabel();
+ this.blueLabel = new MetroFramework.Controls.MetroLabel();
+ this.greenLabel = new MetroFramework.Controls.MetroLabel();
+ this.redLabel = new MetroFramework.Controls.MetroLabel();
+ this.colorTextbox = new MetroFramework.Controls.MetroTextBox();
+ this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.menuStrip = new System.Windows.Forms.MenuStrip();
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ this.targetUpdateToolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU12ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU13ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU14ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU19ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU31ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU32ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU43ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU46ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU51ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU53ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU54ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.TU69ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this._1_9_1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.waterTab = new System.Windows.Forms.TabPage();
+ this.waterTreeView = new System.Windows.Forms.TreeView();
+ this.ColorContextMenu = new MetroFramework.Controls.MetroContextMenu(this.components);
+ this.restoreOriginalColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.copyColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.pasteColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.underwaterTreeView = new System.Windows.Forms.TreeView();
+ this.fogTreeView = new System.Windows.Forms.TreeView();
+ this.colorsTab = new System.Windows.Forms.TabPage();
+ this.colorTreeView = new System.Windows.Forms.TreeView();
+ this.tabControl = new MetroFramework.Controls.MetroTabControl();
+ this.underwaterTab = new System.Windows.Forms.TabPage();
+ this.fogTab = new System.Windows.Forms.TabPage();
+ this.metroPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.menuStrip.SuspendLayout();
+ this.waterTab.SuspendLayout();
+ this.ColorContextMenu.SuspendLayout();
+ this.colorsTab.SuspendLayout();
+ this.tabControl.SuspendLayout();
+ this.underwaterTab.SuspendLayout();
+ this.fogTab.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // metroPanel1
+ //
+ this.metroPanel1.Controls.Add(this.metroTextBox1);
+ this.metroPanel1.Controls.Add(this.metroLabel2);
+ this.metroPanel1.Controls.Add(this.setColorBtn);
+ this.metroPanel1.Controls.Add(this.blueUpDown);
+ this.metroPanel1.Controls.Add(this.greenUpDown);
+ this.metroPanel1.Controls.Add(this.redUpDown);
+ this.metroPanel1.Controls.Add(this.alphaUpDown);
+ this.metroPanel1.Controls.Add(this.alphaLabel);
+ this.metroPanel1.Controls.Add(this.blueLabel);
+ this.metroPanel1.Controls.Add(this.greenLabel);
+ this.metroPanel1.Controls.Add(this.redLabel);
+ this.metroPanel1.Controls.Add(this.colorTextbox);
+ this.metroPanel1.Controls.Add(this.metroLabel1);
+ this.metroPanel1.Controls.Add(this.pictureBox1);
+ resources.ApplyResources(this.metroPanel1, "metroPanel1");
+ this.metroPanel1.HorizontalScrollbarBarColor = true;
+ this.metroPanel1.HorizontalScrollbarHighlightOnWheel = false;
+ this.metroPanel1.HorizontalScrollbarSize = 10;
+ this.metroPanel1.Name = "metroPanel1";
+ this.metroPanel1.Style = MetroFramework.MetroColorStyle.Silver;
+ this.metroPanel1.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.metroPanel1.VerticalScrollbarBarColor = true;
+ this.metroPanel1.VerticalScrollbarHighlightOnWheel = false;
+ this.metroPanel1.VerticalScrollbarSize = 10;
+ //
+ // metroTextBox1
+ //
+ //
+ //
+ //
+ this.metroTextBox1.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
+ this.metroTextBox1.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location")));
+ this.metroTextBox1.CustomButton.Name = "";
+ this.metroTextBox1.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size")));
+ this.metroTextBox1.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
+ this.metroTextBox1.CustomButton.TabIndex = ((int)(resources.GetObject("resource.TabIndex")));
+ this.metroTextBox1.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
+ this.metroTextBox1.CustomButton.UseSelectable = true;
+ this.metroTextBox1.CustomButton.Visible = ((bool)(resources.GetObject("resource.Visible")));
+ this.metroTextBox1.Lines = new string[0];
+ resources.ApplyResources(this.metroTextBox1, "metroTextBox1");
+ this.metroTextBox1.MaxLength = 32767;
+ this.metroTextBox1.Name = "metroTextBox1";
+ this.metroTextBox1.PasswordChar = '\0';
+ this.metroTextBox1.ScrollBars = System.Windows.Forms.ScrollBars.None;
+ this.metroTextBox1.SelectedText = "";
+ this.metroTextBox1.SelectionLength = 0;
+ this.metroTextBox1.SelectionStart = 0;
+ this.metroTextBox1.ShortcutsEnabled = true;
+ this.metroTextBox1.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.metroTextBox1.UseSelectable = true;
+ this.metroTextBox1.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
+ this.metroTextBox1.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
+ this.metroTextBox1.TextChanged += new System.EventHandler(this.metroTextBox1_TextChanged);
+ //
+ // metroLabel2
+ //
+ resources.ApplyResources(this.metroLabel2, "metroLabel2");
+ this.metroLabel2.Name = "metroLabel2";
+ this.metroLabel2.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // setColorBtn
+ //
+ resources.ApplyResources(this.setColorBtn, "setColorBtn");
+ this.setColorBtn.Name = "setColorBtn";
+ this.setColorBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.setColorBtn.UseSelectable = true;
+ this.setColorBtn.Click += new System.EventHandler(this.setColorBtn_Click);
+ //
+ // blueUpDown
+ //
+ this.blueUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.blueUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ resources.ApplyResources(this.blueUpDown, "blueUpDown");
+ this.blueUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.blueUpDown.Name = "blueUpDown";
- //
- // greenUpDown
- //
- this.greenUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.greenUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- resources.ApplyResources(this.greenUpDown, "greenUpDown");
- this.greenUpDown.Maximum = new decimal(new int[] {
+ this.blueUpDown.Name = "blueUpDown";
+ //
+ // greenUpDown
+ //
+ this.greenUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.greenUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ resources.ApplyResources(this.greenUpDown, "greenUpDown");
+ this.greenUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.greenUpDown.Name = "greenUpDown";
- //
- // redUpDown
- //
- this.redUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.redUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- resources.ApplyResources(this.redUpDown, "redUpDown");
- this.redUpDown.Maximum = new decimal(new int[] {
+ this.greenUpDown.Name = "greenUpDown";
+ //
+ // redUpDown
+ //
+ this.redUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.redUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ resources.ApplyResources(this.redUpDown, "redUpDown");
+ this.redUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.redUpDown.Name = "redUpDown";
- //
- // alphaUpDown
- //
- this.alphaUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
- this.alphaUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
- resources.ApplyResources(this.alphaUpDown, "alphaUpDown");
- this.alphaUpDown.Maximum = new decimal(new int[] {
+ this.redUpDown.Name = "redUpDown";
+ //
+ // alphaUpDown
+ //
+ this.alphaUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
+ this.alphaUpDown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
+ resources.ApplyResources(this.alphaUpDown, "alphaUpDown");
+ this.alphaUpDown.Maximum = new decimal(new int[] {
255,
0,
0,
0});
- this.alphaUpDown.Name = "alphaUpDown";
- this.alphaUpDown.ValueChanged += new System.EventHandler(this.alpha_ValueChanged);
- //
- // alphaLabel
- //
- resources.ApplyResources(this.alphaLabel, "alphaLabel");
- this.alphaLabel.Name = "alphaLabel";
- this.alphaLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // blueLabel
- //
- resources.ApplyResources(this.blueLabel, "blueLabel");
- this.blueLabel.Name = "blueLabel";
- this.blueLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // greenLabel
- //
- resources.ApplyResources(this.greenLabel, "greenLabel");
- this.greenLabel.Name = "greenLabel";
- this.greenLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // redLabel
- //
- resources.ApplyResources(this.redLabel, "redLabel");
- this.redLabel.Name = "redLabel";
- this.redLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // colorTextbox
- //
- //
- //
- //
- this.colorTextbox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image1")));
- this.colorTextbox.CustomButton.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("resource.ImeMode")));
- this.colorTextbox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location1")));
- this.colorTextbox.CustomButton.Name = "";
- this.colorTextbox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size1")));
- this.colorTextbox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
- this.colorTextbox.CustomButton.TabIndex = ((int)(resources.GetObject("resource.TabIndex1")));
- this.colorTextbox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
- this.colorTextbox.CustomButton.UseSelectable = true;
- this.colorTextbox.CustomButton.Visible = ((bool)(resources.GetObject("resource.Visible1")));
- this.colorTextbox.Lines = new string[0];
- resources.ApplyResources(this.colorTextbox, "colorTextbox");
- this.colorTextbox.MaxLength = 32767;
- this.colorTextbox.Name = "colorTextbox";
- this.colorTextbox.PasswordChar = '\0';
- this.colorTextbox.ScrollBars = System.Windows.Forms.ScrollBars.None;
- this.colorTextbox.SelectedText = "";
- this.colorTextbox.SelectionLength = 0;
- this.colorTextbox.SelectionStart = 0;
- this.colorTextbox.ShortcutsEnabled = true;
- this.colorTextbox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.colorTextbox.UseSelectable = true;
- this.colorTextbox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
- this.colorTextbox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
- this.colorTextbox.TextChanged += new System.EventHandler(this.colorBox_TextChanged);
- //
- // metroLabel1
- //
- resources.ApplyResources(this.metroLabel1, "metroLabel1");
- this.metroLabel1.Name = "metroLabel1";
- this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // pictureBox1
- //
- this.pictureBox1.BackColor = System.Drawing.Color.Gray;
- resources.ApplyResources(this.pictureBox1, "pictureBox1");
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.TabStop = false;
- //
- // menuStrip
- //
- resources.ApplyResources(this.menuStrip, "menuStrip");
- this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.alphaUpDown.Name = "alphaUpDown";
+ this.alphaUpDown.ValueChanged += new System.EventHandler(this.alpha_ValueChanged);
+ //
+ // alphaLabel
+ //
+ resources.ApplyResources(this.alphaLabel, "alphaLabel");
+ this.alphaLabel.Name = "alphaLabel";
+ this.alphaLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // blueLabel
+ //
+ resources.ApplyResources(this.blueLabel, "blueLabel");
+ this.blueLabel.Name = "blueLabel";
+ this.blueLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // greenLabel
+ //
+ resources.ApplyResources(this.greenLabel, "greenLabel");
+ this.greenLabel.Name = "greenLabel";
+ this.greenLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // redLabel
+ //
+ resources.ApplyResources(this.redLabel, "redLabel");
+ this.redLabel.Name = "redLabel";
+ this.redLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // colorTextbox
+ //
+ //
+ //
+ //
+ this.colorTextbox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image1")));
+ this.colorTextbox.CustomButton.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("resource.ImeMode")));
+ this.colorTextbox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location1")));
+ this.colorTextbox.CustomButton.Name = "";
+ this.colorTextbox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size1")));
+ this.colorTextbox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
+ this.colorTextbox.CustomButton.TabIndex = ((int)(resources.GetObject("resource.TabIndex1")));
+ this.colorTextbox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
+ this.colorTextbox.CustomButton.UseSelectable = true;
+ this.colorTextbox.CustomButton.Visible = ((bool)(resources.GetObject("resource.Visible1")));
+ this.colorTextbox.Lines = new string[0];
+ resources.ApplyResources(this.colorTextbox, "colorTextbox");
+ this.colorTextbox.MaxLength = 32767;
+ this.colorTextbox.Name = "colorTextbox";
+ this.colorTextbox.PasswordChar = '\0';
+ this.colorTextbox.ScrollBars = System.Windows.Forms.ScrollBars.None;
+ this.colorTextbox.SelectedText = "";
+ this.colorTextbox.SelectionLength = 0;
+ this.colorTextbox.SelectionStart = 0;
+ this.colorTextbox.ShortcutsEnabled = true;
+ this.colorTextbox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.colorTextbox.UseSelectable = true;
+ this.colorTextbox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
+ this.colorTextbox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
+ this.colorTextbox.TextChanged += new System.EventHandler(this.colorBox_TextChanged);
+ //
+ // metroLabel1
+ //
+ resources.ApplyResources(this.metroLabel1, "metroLabel1");
+ this.metroLabel1.Name = "metroLabel1";
+ this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.BackColor = System.Drawing.Color.Gray;
+ resources.ApplyResources(this.pictureBox1, "pictureBox1");
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.TabStop = false;
+ //
+ // menuStrip
+ //
+ resources.ApplyResources(this.menuStrip, "menuStrip");
+ this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.targetUpdateToolToolStripMenuItem});
- this.menuStrip.Name = "menuStrip";
- //
- // fileToolStripMenuItem
- //
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.menuStrip.Name = "menuStrip";
+ //
+ // fileToolStripMenuItem
+ //
+ this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.saveToolStripMenuItem1});
- this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem");
- //
- // saveToolStripMenuItem1
- //
- resources.ApplyResources(this.saveToolStripMenuItem1, "saveToolStripMenuItem1");
- this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
- this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click);
- //
- // targetUpdateToolToolStripMenuItem
- //
- this.targetUpdateToolToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem");
+ //
+ // saveToolStripMenuItem1
+ //
+ resources.ApplyResources(this.saveToolStripMenuItem1, "saveToolStripMenuItem1");
+ this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
+ this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click);
+ //
+ // targetUpdateToolToolStripMenuItem
+ //
+ this.targetUpdateToolToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.TU12ToolStripMenuItem,
this.TU13ToolStripMenuItem,
this.TU14ToolStripMenuItem,
@@ -320,206 +320,203 @@ namespace PckStudio.Forms.Editor
this.TU54ToolStripMenuItem,
this.TU69ToolStripMenuItem,
this._1_9_1ToolStripMenuItem});
- this.targetUpdateToolToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.targetUpdateToolToolStripMenuItem.Name = "targetUpdateToolToolStripMenuItem";
- resources.ApplyResources(this.targetUpdateToolToolStripMenuItem, "targetUpdateToolToolStripMenuItem");
- //
- // TU12ToolStripMenuItem
- //
- this.TU12ToolStripMenuItem.Name = "TU12ToolStripMenuItem";
- resources.ApplyResources(this.TU12ToolStripMenuItem, "TU12ToolStripMenuItem");
- //
- // TU13ToolStripMenuItem
- //
- this.TU13ToolStripMenuItem.Name = "TU13ToolStripMenuItem";
- resources.ApplyResources(this.TU13ToolStripMenuItem, "TU13ToolStripMenuItem");
- //
- // TU14ToolStripMenuItem
- //
- this.TU14ToolStripMenuItem.Name = "TU14ToolStripMenuItem";
- resources.ApplyResources(this.TU14ToolStripMenuItem, "TU14ToolStripMenuItem");
- //
- // TU19ToolStripMenuItem
- //
- this.TU19ToolStripMenuItem.Name = "TU19ToolStripMenuItem";
- resources.ApplyResources(this.TU19ToolStripMenuItem, "TU19ToolStripMenuItem");
- //
- // TU31ToolStripMenuItem
- //
- this.TU31ToolStripMenuItem.Name = "TU31ToolStripMenuItem";
- resources.ApplyResources(this.TU31ToolStripMenuItem, "TU31ToolStripMenuItem");
- //
- // TU32ToolStripMenuItem
- //
- this.TU32ToolStripMenuItem.Name = "TU32ToolStripMenuItem";
- resources.ApplyResources(this.TU32ToolStripMenuItem, "TU32ToolStripMenuItem");
- //
- // TU43ToolStripMenuItem
- //
- this.TU43ToolStripMenuItem.Name = "TU43ToolStripMenuItem";
- resources.ApplyResources(this.TU43ToolStripMenuItem, "TU43ToolStripMenuItem");
- //
- // TU46ToolStripMenuItem
- //
- this.TU46ToolStripMenuItem.Name = "TU46ToolStripMenuItem";
- resources.ApplyResources(this.TU46ToolStripMenuItem, "TU46ToolStripMenuItem");
- //
- // TU51ToolStripMenuItem
- //
- this.TU51ToolStripMenuItem.Name = "TU51ToolStripMenuItem";
- resources.ApplyResources(this.TU51ToolStripMenuItem, "TU51ToolStripMenuItem");
- //
- // TU53ToolStripMenuItem
- //
- this.TU53ToolStripMenuItem.Name = "TU53ToolStripMenuItem";
- resources.ApplyResources(this.TU53ToolStripMenuItem, "TU53ToolStripMenuItem");
- //
- // TU54ToolStripMenuItem
- //
- this.TU54ToolStripMenuItem.Name = "TU54ToolStripMenuItem";
- resources.ApplyResources(this.TU54ToolStripMenuItem, "TU54ToolStripMenuItem");
- //
- // TU69ToolStripMenuItem
- //
- this.TU69ToolStripMenuItem.Name = "TU69ToolStripMenuItem";
- resources.ApplyResources(this.TU69ToolStripMenuItem, "TU69ToolStripMenuItem");
- //
- // _1_9_1ToolStripMenuItem
- //
- this._1_9_1ToolStripMenuItem.Name = "_1_9_1ToolStripMenuItem";
- resources.ApplyResources(this._1_9_1ToolStripMenuItem, "_1_9_1ToolStripMenuItem");
- //
- // waterTab
- //
- this.waterTab.BackColor = System.Drawing.SystemColors.WindowFrame;
- this.waterTab.Controls.Add(this.waterTreeView);
- resources.ApplyResources(this.waterTab, "waterTab");
- this.waterTab.Name = "waterTab";
- //
- // waterTreeView
- //
- this.waterTreeView.ContextMenuStrip = this.ColorContextMenu;
- resources.ApplyResources(this.waterTreeView, "waterTreeView");
- this.waterTreeView.Name = "waterTreeView";
- this.waterTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterSelect);
- this.waterTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown);
- this.waterTreeView.LabelEdit = false;
- //
- // ColorContextMenu
- //
- this.ColorContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.targetUpdateToolToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.targetUpdateToolToolStripMenuItem.Name = "targetUpdateToolToolStripMenuItem";
+ resources.ApplyResources(this.targetUpdateToolToolStripMenuItem, "targetUpdateToolToolStripMenuItem");
+ //
+ // TU12ToolStripMenuItem
+ //
+ this.TU12ToolStripMenuItem.Name = "TU12ToolStripMenuItem";
+ resources.ApplyResources(this.TU12ToolStripMenuItem, "TU12ToolStripMenuItem");
+ //
+ // TU13ToolStripMenuItem
+ //
+ this.TU13ToolStripMenuItem.Name = "TU13ToolStripMenuItem";
+ resources.ApplyResources(this.TU13ToolStripMenuItem, "TU13ToolStripMenuItem");
+ //
+ // TU14ToolStripMenuItem
+ //
+ this.TU14ToolStripMenuItem.Name = "TU14ToolStripMenuItem";
+ resources.ApplyResources(this.TU14ToolStripMenuItem, "TU14ToolStripMenuItem");
+ //
+ // TU19ToolStripMenuItem
+ //
+ this.TU19ToolStripMenuItem.Name = "TU19ToolStripMenuItem";
+ resources.ApplyResources(this.TU19ToolStripMenuItem, "TU19ToolStripMenuItem");
+ //
+ // TU31ToolStripMenuItem
+ //
+ this.TU31ToolStripMenuItem.Name = "TU31ToolStripMenuItem";
+ resources.ApplyResources(this.TU31ToolStripMenuItem, "TU31ToolStripMenuItem");
+ //
+ // TU32ToolStripMenuItem
+ //
+ this.TU32ToolStripMenuItem.Name = "TU32ToolStripMenuItem";
+ resources.ApplyResources(this.TU32ToolStripMenuItem, "TU32ToolStripMenuItem");
+ //
+ // TU43ToolStripMenuItem
+ //
+ this.TU43ToolStripMenuItem.Name = "TU43ToolStripMenuItem";
+ resources.ApplyResources(this.TU43ToolStripMenuItem, "TU43ToolStripMenuItem");
+ //
+ // TU46ToolStripMenuItem
+ //
+ this.TU46ToolStripMenuItem.Name = "TU46ToolStripMenuItem";
+ resources.ApplyResources(this.TU46ToolStripMenuItem, "TU46ToolStripMenuItem");
+ //
+ // TU51ToolStripMenuItem
+ //
+ this.TU51ToolStripMenuItem.Name = "TU51ToolStripMenuItem";
+ resources.ApplyResources(this.TU51ToolStripMenuItem, "TU51ToolStripMenuItem");
+ //
+ // TU53ToolStripMenuItem
+ //
+ this.TU53ToolStripMenuItem.Name = "TU53ToolStripMenuItem";
+ resources.ApplyResources(this.TU53ToolStripMenuItem, "TU53ToolStripMenuItem");
+ //
+ // TU54ToolStripMenuItem
+ //
+ this.TU54ToolStripMenuItem.Name = "TU54ToolStripMenuItem";
+ resources.ApplyResources(this.TU54ToolStripMenuItem, "TU54ToolStripMenuItem");
+ //
+ // TU69ToolStripMenuItem
+ //
+ this.TU69ToolStripMenuItem.Name = "TU69ToolStripMenuItem";
+ resources.ApplyResources(this.TU69ToolStripMenuItem, "TU69ToolStripMenuItem");
+ //
+ // _1_9_1ToolStripMenuItem
+ //
+ this._1_9_1ToolStripMenuItem.Name = "_1_9_1ToolStripMenuItem";
+ resources.ApplyResources(this._1_9_1ToolStripMenuItem, "_1_9_1ToolStripMenuItem");
+ //
+ // waterTab
+ //
+ this.waterTab.BackColor = System.Drawing.SystemColors.WindowFrame;
+ this.waterTab.Controls.Add(this.waterTreeView);
+ resources.ApplyResources(this.waterTab, "waterTab");
+ this.waterTab.Name = "waterTab";
+ //
+ // waterTreeView
+ //
+ this.waterTreeView.ContextMenuStrip = this.ColorContextMenu;
+ resources.ApplyResources(this.waterTreeView, "waterTreeView");
+ this.waterTreeView.Name = "waterTreeView";
+ this.waterTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterSelect);
+ this.waterTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown);
+ //
+ // ColorContextMenu
+ //
+ this.ColorContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.restoreOriginalColorToolStripMenuItem,
this.copyColorToolStripMenuItem,
this.pasteColorToolStripMenuItem});
- this.ColorContextMenu.Name = "ColorContextMenu";
- resources.ApplyResources(this.ColorContextMenu, "ColorContextMenu");
- //
- // restoreOriginalColorToolStripMenuItem
- //
- this.restoreOriginalColorToolStripMenuItem.Name = "restoreOriginalColorToolStripMenuItem";
- resources.ApplyResources(this.restoreOriginalColorToolStripMenuItem, "restoreOriginalColorToolStripMenuItem");
- this.restoreOriginalColorToolStripMenuItem.Click += new System.EventHandler(this.restoreOriginalColorToolStripMenuItem_Click);
- //
- // copyColorToolStripMenuItem
- //
- this.copyColorToolStripMenuItem.Name = "copyColorToolStripMenuItem";
- resources.ApplyResources(this.copyColorToolStripMenuItem, "copyColorToolStripMenuItem");
- this.copyColorToolStripMenuItem.Click += new System.EventHandler(this.copyColorToolStripMenuItem_Click);
- //
- // pasteColorToolStripMenuItem
- //
- this.pasteColorToolStripMenuItem.Name = "pasteColorToolStripMenuItem";
- resources.ApplyResources(this.pasteColorToolStripMenuItem, "pasteColorToolStripMenuItem");
- this.pasteColorToolStripMenuItem.Click += new System.EventHandler(this.pasteColorToolStripMenuItem_Click);
- //
- // underwaterTreeView
- //
- this.underwaterTreeView.ContextMenuStrip = this.ColorContextMenu;
- resources.ApplyResources(this.underwaterTreeView, "underwaterTreeView");
- this.underwaterTreeView.Name = "underwaterTreeView";
- this.underwaterTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView3_AfterSelect);
- this.underwaterTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView3_KeyDown);
- this.underwaterTreeView.LabelEdit = false;
- //
- // fogTreeView
- //
- this.fogTreeView.ContextMenuStrip = this.ColorContextMenu;
- resources.ApplyResources(this.fogTreeView, "fogTreeView");
- this.fogTreeView.Name = "fogTreeView";
- this.fogTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView4_AfterSelect);
- this.fogTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView4_KeyDown);
- this.fogTreeView.LabelEdit = false;
- //
- // colorsTab
- //
- this.colorsTab.BackColor = System.Drawing.SystemColors.WindowFrame;
- this.colorsTab.Controls.Add(this.colorTreeView);
- resources.ApplyResources(this.colorsTab, "colorsTab");
- this.colorsTab.Name = "colorsTab";
- //
- // colorTreeView
- //
- this.colorTreeView.ContextMenuStrip = this.ColorContextMenu;
- resources.ApplyResources(this.colorTreeView, "colorTreeView");
- this.colorTreeView.Name = "colorTreeView";
- this.colorTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
- this.colorTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
- this.colorTreeView.LabelEdit = false;
- //
- // tabControl
- //
- resources.ApplyResources(this.tabControl, "tabControl");
- this.tabControl.Controls.Add(this.colorsTab);
- this.tabControl.Controls.Add(this.waterTab);
- this.tabControl.Controls.Add(this.underwaterTab);
- this.tabControl.Controls.Add(this.fogTab);
- this.tabControl.Name = "tabControl";
- this.tabControl.SelectedIndex = 0;
- this.tabControl.Style = MetroFramework.MetroColorStyle.White;
- this.tabControl.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.tabControl.UseSelectable = true;
- //
- // underwaterTab
- //
- this.underwaterTab.BackColor = System.Drawing.SystemColors.WindowFrame;
- this.underwaterTab.Controls.Add(this.underwaterTreeView);
- resources.ApplyResources(this.underwaterTab, "underwaterTab");
- this.underwaterTab.Name = "underwaterTab";
- //
- // fogTab
- //
- this.fogTab.BackColor = System.Drawing.SystemColors.WindowFrame;
- this.fogTab.Controls.Add(this.fogTreeView);
- resources.ApplyResources(this.fogTab, "fogTab");
- this.fogTab.Name = "fogTab";
- //
- // COLEditor
- //
- resources.ApplyResources(this, "$this");
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.menuStrip);
- this.Controls.Add(this.tabControl);
- this.Controls.Add(this.metroPanel1);
- this.ForeColor = System.Drawing.SystemColors.ControlText;
- this.Name = "COLEditor";
- this.Style = MetroFramework.MetroColorStyle.Silver;
- this.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.metroPanel1.ResumeLayout(false);
- this.metroPanel1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
- this.menuStrip.ResumeLayout(false);
- this.menuStrip.PerformLayout();
- this.waterTab.ResumeLayout(false);
- this.ColorContextMenu.ResumeLayout(false);
- this.colorsTab.ResumeLayout(false);
- this.tabControl.ResumeLayout(false);
- this.underwaterTab.ResumeLayout(false);
- this.fogTab.ResumeLayout(false);
- this.ResumeLayout(false);
+ this.ColorContextMenu.Name = "ColorContextMenu";
+ resources.ApplyResources(this.ColorContextMenu, "ColorContextMenu");
+ //
+ // restoreOriginalColorToolStripMenuItem
+ //
+ this.restoreOriginalColorToolStripMenuItem.Name = "restoreOriginalColorToolStripMenuItem";
+ resources.ApplyResources(this.restoreOriginalColorToolStripMenuItem, "restoreOriginalColorToolStripMenuItem");
+ this.restoreOriginalColorToolStripMenuItem.Click += new System.EventHandler(this.restoreOriginalColorToolStripMenuItem_Click);
+ //
+ // copyColorToolStripMenuItem
+ //
+ this.copyColorToolStripMenuItem.Name = "copyColorToolStripMenuItem";
+ resources.ApplyResources(this.copyColorToolStripMenuItem, "copyColorToolStripMenuItem");
+ this.copyColorToolStripMenuItem.Click += new System.EventHandler(this.copyColorToolStripMenuItem_Click);
+ //
+ // pasteColorToolStripMenuItem
+ //
+ this.pasteColorToolStripMenuItem.Name = "pasteColorToolStripMenuItem";
+ resources.ApplyResources(this.pasteColorToolStripMenuItem, "pasteColorToolStripMenuItem");
+ this.pasteColorToolStripMenuItem.Click += new System.EventHandler(this.pasteColorToolStripMenuItem_Click);
+ //
+ // underwaterTreeView
+ //
+ this.underwaterTreeView.ContextMenuStrip = this.ColorContextMenu;
+ resources.ApplyResources(this.underwaterTreeView, "underwaterTreeView");
+ this.underwaterTreeView.Name = "underwaterTreeView";
+ this.underwaterTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView3_AfterSelect);
+ this.underwaterTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView3_KeyDown);
+ //
+ // fogTreeView
+ //
+ this.fogTreeView.ContextMenuStrip = this.ColorContextMenu;
+ resources.ApplyResources(this.fogTreeView, "fogTreeView");
+ this.fogTreeView.Name = "fogTreeView";
+ this.fogTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView4_AfterSelect);
+ this.fogTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView4_KeyDown);
+ //
+ // colorsTab
+ //
+ this.colorsTab.BackColor = System.Drawing.SystemColors.WindowFrame;
+ this.colorsTab.Controls.Add(this.colorTreeView);
+ resources.ApplyResources(this.colorsTab, "colorsTab");
+ this.colorsTab.Name = "colorsTab";
+ //
+ // colorTreeView
+ //
+ this.colorTreeView.ContextMenuStrip = this.ColorContextMenu;
+ resources.ApplyResources(this.colorTreeView, "colorTreeView");
+ this.colorTreeView.Name = "colorTreeView";
+ this.colorTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
+ this.colorTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
+ //
+ // tabControl
+ //
+ resources.ApplyResources(this.tabControl, "tabControl");
+ this.tabControl.Controls.Add(this.colorsTab);
+ this.tabControl.Controls.Add(this.waterTab);
+ this.tabControl.Controls.Add(this.underwaterTab);
+ this.tabControl.Controls.Add(this.fogTab);
+ this.tabControl.Name = "tabControl";
+ this.tabControl.SelectedIndex = 0;
+ this.tabControl.Style = MetroFramework.MetroColorStyle.White;
+ this.tabControl.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.tabControl.UseSelectable = true;
+ //
+ // underwaterTab
+ //
+ this.underwaterTab.BackColor = System.Drawing.SystemColors.WindowFrame;
+ this.underwaterTab.Controls.Add(this.underwaterTreeView);
+ resources.ApplyResources(this.underwaterTab, "underwaterTab");
+ this.underwaterTab.Name = "underwaterTab";
+ //
+ // fogTab
+ //
+ this.fogTab.BackColor = System.Drawing.SystemColors.WindowFrame;
+ this.fogTab.Controls.Add(this.fogTreeView);
+ resources.ApplyResources(this.fogTab, "fogTab");
+ this.fogTab.Name = "fogTab";
+ //
+ // COLEditor
+ //
+ resources.ApplyResources(this, "$this");
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.menuStrip);
+ this.Controls.Add(this.tabControl);
+ this.Controls.Add(this.metroPanel1);
+ this.ForeColor = System.Drawing.SystemColors.ControlText;
+ this.Name = "COLEditor";
+ this.Style = MetroFramework.MetroColorStyle.Silver;
+ this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.COLEditor_FormClosing);
+ this.metroPanel1.ResumeLayout(false);
+ this.metroPanel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.blueUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.greenUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.redUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.alphaUpDown)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.menuStrip.ResumeLayout(false);
+ this.menuStrip.PerformLayout();
+ this.waterTab.ResumeLayout(false);
+ this.ColorContextMenu.ResumeLayout(false);
+ this.colorsTab.ResumeLayout(false);
+ this.tabControl.ResumeLayout(false);
+ this.underwaterTab.ResumeLayout(false);
+ this.fogTab.ResumeLayout(false);
+ this.ResumeLayout(false);
}
diff --git a/PCK-Studio/Forms/Editor/COLEditor.cs b/PCK-Studio/Forms/Editor/COLEditor.cs
index b8baa514..c05e4a89 100644
--- a/PCK-Studio/Forms/Editor/COLEditor.cs
+++ b/PCK-Studio/Forms/Editor/COLEditor.cs
@@ -8,6 +8,7 @@ using MetroFramework.Forms;
using OMI.Formats.Color;
using OMI.Formats.Pck;
using OMI.Workers.Color;
+using PckStudio.Properties;
namespace PckStudio.Forms.Editor
{
@@ -27,7 +28,10 @@ namespace PckStudio.Forms.Editor
public COLEditor(PckFile.FileData file)
{
InitializeComponent();
- _file = file;
+
+ saveToolStripMenuItem1.Visible = !Settings.Default.AutoSaveChanges;
+
+ _file = file;
using(var stream = new MemoryStream(file.Data))
{
@@ -595,5 +599,13 @@ namespace PckStudio.Forms.Editor
pictureBox1.BackColor = fixed_color;
SetUpValueChanged(true);
}
- }
+
+ private void COLEditor_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ if (Settings.Default.AutoSaveChanges)
+ {
+ saveToolStripMenuItem1_Click(sender, EventArgs.Empty);
+ }
+ }
+ }
}
diff --git a/PCK-Studio/Forms/Editor/COLEditor.resx b/PCK-Studio/Forms/Editor/COLEditor.resx
index 9a20d780..28dbfbd6 100644
--- a/PCK-Studio/Forms/Editor/COLEditor.resx
+++ b/PCK-Studio/Forms/Editor/COLEditor.resx
@@ -533,7 +533,7 @@
- 98, 22
+ 180, 22
Save
diff --git a/PCK-Studio/Forms/Editor/GameRuleFileEditor.Designer.cs b/PCK-Studio/Forms/Editor/GameRuleFileEditor.Designer.cs
index 1a651a91..489bc757 100644
--- a/PCK-Studio/Forms/Editor/GameRuleFileEditor.Designer.cs
+++ b/PCK-Studio/Forms/Editor/GameRuleFileEditor.Designer.cs
@@ -46,15 +46,15 @@
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.compressionLvlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.levelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.typeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.metroPanel1 = new MetroFramework.Controls.MetroPanel();
this.noneToolStripMenuItem = new PckStudio.ToolStripRadioButtonMenuItem();
this.compressedToolStripMenuItem = new PckStudio.ToolStripRadioButtonMenuItem();
this.compressedRLEToolStripMenuItem = new PckStudio.ToolStripRadioButtonMenuItem();
this.compressedRLECRCToolStripMenuItem = new PckStudio.ToolStripRadioButtonMenuItem();
+ this.typeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.wiiUPSVitaToolStripMenuItem = new PckStudio.ToolStripRadioButtonMenuItem();
this.pS3ToolStripMenuItem = new PckStudio.ToolStripRadioButtonMenuItem();
this.xbox360ToolStripMenuItem = new PckStudio.ToolStripRadioButtonMenuItem();
+ this.metroPanel1 = new MetroFramework.Controls.MetroPanel();
this.MessageContextMenu.SuspendLayout();
this.DetailContextMenu.SuspendLayout();
this.menuStrip1.SuspendLayout();
@@ -212,40 +212,9 @@
this.compressedRLEToolStripMenuItem,
this.compressedRLECRCToolStripMenuItem});
this.levelToolStripMenuItem.Name = "levelToolStripMenuItem";
- this.levelToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.levelToolStripMenuItem.Size = new System.Drawing.Size(101, 22);
this.levelToolStripMenuItem.Text = "Level";
//
- // typeToolStripMenuItem
- //
- this.typeToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
- this.typeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.wiiUPSVitaToolStripMenuItem,
- this.pS3ToolStripMenuItem,
- this.xbox360ToolStripMenuItem});
- this.typeToolStripMenuItem.Name = "typeToolStripMenuItem";
- this.typeToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.typeToolStripMenuItem.Text = "Type";
- //
- // metroPanel1
- //
- this.metroPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.metroPanel1.Controls.Add(this.GrfParametersTreeView);
- this.metroPanel1.Controls.Add(this.GrfTreeView);
- this.metroPanel1.HorizontalScrollbarBarColor = true;
- this.metroPanel1.HorizontalScrollbarHighlightOnWheel = false;
- this.metroPanel1.HorizontalScrollbarSize = 10;
- this.metroPanel1.Location = new System.Drawing.Point(25, 110);
- this.metroPanel1.Name = "metroPanel1";
- this.metroPanel1.Size = new System.Drawing.Size(450, 312);
- this.metroPanel1.TabIndex = 4;
- this.metroPanel1.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.metroPanel1.VerticalScrollbarBarColor = true;
- this.metroPanel1.VerticalScrollbarHighlightOnWheel = false;
- this.metroPanel1.VerticalScrollbarSize = 10;
- this.metroPanel1.Resize += new System.EventHandler(this.metroPanel1_Resize);
- //
// noneToolStripMenuItem
//
this.noneToolStripMenuItem.Checked = true;
@@ -280,13 +249,24 @@
this.compressedRLECRCToolStripMenuItem.Text = "Compressed + RLE + CRC";
this.compressedRLECRCToolStripMenuItem.CheckedChanged += new System.EventHandler(this.compressedRLECRCToolStripMenuItem_CheckedChanged);
//
+ // typeToolStripMenuItem
+ //
+ this.typeToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ this.typeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.wiiUPSVitaToolStripMenuItem,
+ this.pS3ToolStripMenuItem,
+ this.xbox360ToolStripMenuItem});
+ this.typeToolStripMenuItem.Name = "typeToolStripMenuItem";
+ this.typeToolStripMenuItem.Size = new System.Drawing.Size(101, 22);
+ this.typeToolStripMenuItem.Text = "Type";
+ //
// wiiUPSVitaToolStripMenuItem
//
this.wiiUPSVitaToolStripMenuItem.BackColor = System.Drawing.SystemColors.Window;
this.wiiUPSVitaToolStripMenuItem.CheckOnClick = true;
this.wiiUPSVitaToolStripMenuItem.Name = "wiiUPSVitaToolStripMenuItem";
this.wiiUPSVitaToolStripMenuItem.ShowShortcutKeys = false;
- this.wiiUPSVitaToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.wiiUPSVitaToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
this.wiiUPSVitaToolStripMenuItem.Text = "Wii U, PS Vita";
this.wiiUPSVitaToolStripMenuItem.CheckedChanged += new System.EventHandler(this.wiiUPSVitaToolStripMenuItem_CheckedChanged);
//
@@ -296,7 +276,7 @@
this.pS3ToolStripMenuItem.CheckOnClick = true;
this.pS3ToolStripMenuItem.Name = "pS3ToolStripMenuItem";
this.pS3ToolStripMenuItem.ShowShortcutKeys = false;
- this.pS3ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.pS3ToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
this.pS3ToolStripMenuItem.Text = "PS3";
this.pS3ToolStripMenuItem.CheckedChanged += new System.EventHandler(this.pS3ToolStripMenuItem_CheckedChanged);
//
@@ -308,10 +288,30 @@
this.xbox360ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.xbox360ToolStripMenuItem.Name = "xbox360ToolStripMenuItem";
this.xbox360ToolStripMenuItem.ShowShortcutKeys = false;
- this.xbox360ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.xbox360ToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
this.xbox360ToolStripMenuItem.Text = "Xbox 360";
this.xbox360ToolStripMenuItem.CheckedChanged += new System.EventHandler(this.xbox360ToolStripMenuItem_CheckedChanged);
//
+ // metroPanel1
+ //
+ this.metroPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.metroPanel1.Controls.Add(this.GrfParametersTreeView);
+ this.metroPanel1.Controls.Add(this.GrfTreeView);
+ this.metroPanel1.HorizontalScrollbarBarColor = true;
+ this.metroPanel1.HorizontalScrollbarHighlightOnWheel = false;
+ this.metroPanel1.HorizontalScrollbarSize = 10;
+ this.metroPanel1.Location = new System.Drawing.Point(25, 110);
+ this.metroPanel1.Name = "metroPanel1";
+ this.metroPanel1.Size = new System.Drawing.Size(450, 312);
+ this.metroPanel1.TabIndex = 4;
+ this.metroPanel1.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.metroPanel1.VerticalScrollbarBarColor = true;
+ this.metroPanel1.VerticalScrollbarHighlightOnWheel = false;
+ this.metroPanel1.VerticalScrollbarSize = 10;
+ this.metroPanel1.Resize += new System.EventHandler(this.metroPanel1_Resize);
+ //
// GameRuleFileEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -331,6 +331,7 @@
this.Style = MetroFramework.MetroColorStyle.Silver;
this.Text = "GRF Editor";
this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.GameRuleFileEditor_FormClosing);
this.Load += new System.EventHandler(this.OnLoad);
this.MessageContextMenu.ResumeLayout(false);
this.DetailContextMenu.ResumeLayout(false);
diff --git a/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs b/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs
index 8af2da99..549b4f30 100644
--- a/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs
+++ b/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs
@@ -12,6 +12,7 @@ using System.Diagnostics;
using OMI.Formats.Pck;
using PckStudio.Forms.Additional_Popups;
using PckStudio.Models;
+using PckStudio.Properties;
namespace PckStudio.Forms.Editor
{
@@ -25,6 +26,7 @@ namespace PckStudio.Forms.Editor
{
InitializeComponent();
PromptForCompressionType();
+ saveToolStripMenuItem.Visible = !Settings.Default.AutoSaveChanges;
}
private void PromptForCompressionType()
@@ -256,6 +258,7 @@ namespace PckStudio.Forms.Editor
compressionType);
writer.WriteToStream(stream);
_pckfile?.SetData(stream.ToArray());
+ DialogResult = DialogResult.OK;
MessageBox.Show("Saved!");
}
catch (Exception ex)
@@ -331,5 +334,13 @@ namespace PckStudio.Forms.Editor
if (sender is ToolStripRadioButtonMenuItem radioButton && radioButton.Checked)
compressionType = GameRuleFile.CompressionType.XMem;
}
+
+ private void GameRuleFileEditor_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ if (Settings.Default.AutoSaveChanges)
+ {
+ saveToolStripMenuItem_Click(sender, EventArgs.Empty);
+ }
+ }
}
}
diff --git a/PCK-Studio/Forms/Editor/LOCEditor.Designer.cs b/PCK-Studio/Forms/Editor/LOCEditor.Designer.cs
index 24fedbf7..0b1f3d13 100644
--- a/PCK-Studio/Forms/Editor/LOCEditor.Designer.cs
+++ b/PCK-Studio/Forms/Editor/LOCEditor.Designer.cs
@@ -180,6 +180,7 @@
this.Name = "LOCEditor";
this.Style = MetroFramework.MetroColorStyle.Silver;
this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LOCEditor_FormClosing);
this.Load += new System.EventHandler(this.LOCEditor_Load);
this.Resize += new System.EventHandler(this.LOCEditor_Resize);
this.contextMenuStrip1.ResumeLayout(false);
diff --git a/PCK-Studio/Forms/Editor/LOCEditor.cs b/PCK-Studio/Forms/Editor/LOCEditor.cs
index 464bbe09..433df167 100644
--- a/PCK-Studio/Forms/Editor/LOCEditor.cs
+++ b/PCK-Studio/Forms/Editor/LOCEditor.cs
@@ -10,6 +10,7 @@ using PckStudio.Forms.Additional_Popups.Loc;
using OMI.Formats.Languages;
using OMI.Workers.Language;
using OMI.Formats.Pck;
+using PckStudio.Properties;
namespace PckStudio.Forms.Editor
{
@@ -34,6 +35,8 @@ namespace PckStudio.Forms.Editor
dataGridViewLocEntryData.DataSource = tbl;
DataGridViewColumn column = dataGridViewLocEntryData.Columns[1];
column.Width = dataGridViewLocEntryData.Width;
+
+ saveToolStripMenuItem.Visible = !Settings.Default.AutoSaveChanges;
}
private void LOCEditor_Load(object sender, EventArgs e)
@@ -149,5 +152,13 @@ namespace PckStudio.Forms.Editor
}
DialogResult = DialogResult.OK;
}
- }
+
+ private void LOCEditor_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ if (Settings.Default.AutoSaveChanges)
+ {
+ saveToolStripMenuItem_Click(sender, EventArgs.Empty);
+ }
+ }
+ }
}
diff --git a/PCK-Studio/Forms/Editor/LOCEditor.resx b/PCK-Studio/Forms/Editor/LOCEditor.resx
index 2741a698..7db601e5 100644
--- a/PCK-Studio/Forms/Editor/LOCEditor.resx
+++ b/PCK-Studio/Forms/Editor/LOCEditor.resx
@@ -170,7 +170,7 @@
321, 17
- 180, 22
+ 98, 22
Save
@@ -325,7 +325,7 @@
locSort
- PckStudio.Forms.MyTablePanel, PCK Studio, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null
+ System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
$this
@@ -2070,9 +2070,6 @@
AABJRU5ErkJggg==
-
- NoControl
-
900, 667