This commit is contained in:
miku-666
2022-08-02 22:29:27 +02:00
21 changed files with 5353 additions and 1457 deletions
@@ -0,0 +1,138 @@
namespace PckStudio
{
partial class CreateTexturePack
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CreateTexturePack));
this.TextLabel = new System.Windows.Forms.Label();
this.OKButton = new System.Windows.Forms.Button();
this.InputTextBox = new MetroFramework.Controls.MetroTextBox();
this.metroComboBox1 = new MetroFramework.Controls.MetroComboBox();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// TextLabel
//
resources.ApplyResources(this.TextLabel, "TextLabel");
this.TextLabel.ForeColor = System.Drawing.Color.White;
this.TextLabel.Name = "TextLabel";
//
// OKButton
//
resources.ApplyResources(this.OKButton, "OKButton");
this.OKButton.ForeColor = System.Drawing.Color.White;
this.OKButton.Name = "OKButton";
this.OKButton.UseVisualStyleBackColor = true;
this.OKButton.Click += new System.EventHandler(this.OKBtn_Click);
//
// InputTextBox
//
//
//
//
this.InputTextBox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
this.InputTextBox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location")));
this.InputTextBox.CustomButton.Name = "";
this.InputTextBox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size")));
this.InputTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
this.InputTextBox.CustomButton.TabIndex = ((int)(resources.GetObject("resource.TabIndex")));
this.InputTextBox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
this.InputTextBox.CustomButton.UseSelectable = true;
this.InputTextBox.CustomButton.Visible = ((bool)(resources.GetObject("resource.Visible")));
this.InputTextBox.Lines = new string[0];
resources.ApplyResources(this.InputTextBox, "InputTextBox");
this.InputTextBox.MaxLength = 255;
this.InputTextBox.Name = "InputTextBox";
this.InputTextBox.PasswordChar = '\0';
this.InputTextBox.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.InputTextBox.SelectedText = "";
this.InputTextBox.SelectionLength = 0;
this.InputTextBox.SelectionStart = 0;
this.InputTextBox.ShortcutsEnabled = true;
this.InputTextBox.Style = MetroFramework.MetroColorStyle.White;
this.InputTextBox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.InputTextBox.UseSelectable = true;
this.InputTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.InputTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
//
// metroComboBox1
//
this.metroComboBox1.FormattingEnabled = true;
resources.ApplyResources(this.metroComboBox1, "metroComboBox1");
this.metroComboBox1.Items.AddRange(new object[] {
resources.GetString("metroComboBox1.Items"),
resources.GetString("metroComboBox1.Items1"),
resources.GetString("metroComboBox1.Items2"),
resources.GetString("metroComboBox1.Items3"),
resources.GetString("metroComboBox1.Items4"),
resources.GetString("metroComboBox1.Items5"),
resources.GetString("metroComboBox1.Items6"),
resources.GetString("metroComboBox1.Items7"),
resources.GetString("metroComboBox1.Items8")});
this.metroComboBox1.Name = "metroComboBox1";
this.metroComboBox1.Theme = MetroFramework.MetroThemeStyle.Dark;
this.metroComboBox1.UseSelectable = true;
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Name = "label1";
//
// CreateTexturePack
//
this.AcceptButton = this.OKButton;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.label1);
this.Controls.Add(this.metroComboBox1);
this.Controls.Add(this.InputTextBox);
this.Controls.Add(this.OKButton);
this.Controls.Add(this.TextLabel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "CreateTexturePack";
this.Resizable = false;
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
this.Style = MetroFramework.MetroColorStyle.Silver;
this.Theme = MetroFramework.MetroThemeStyle.Dark;
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
public System.Windows.Forms.Button OKButton;
public System.Windows.Forms.Label TextLabel;
private MetroFramework.Controls.MetroTextBox InputTextBox;
private MetroFramework.Controls.MetroComboBox metroComboBox1;
public System.Windows.Forms.Label label1;
}
}
@@ -0,0 +1,28 @@
using System;
using System.Windows.Forms;
using MetroFramework.Forms;
namespace PckStudio
{
public partial class CreateTexturePack : MetroForm
{
/// <summary>
/// Text entered <c>only access when DialogResult == DialogResult.OK</c>
/// </summary>
public string packName => InputTextBox.Text;
public string packRes => metroComboBox1.Text;
public CreateTexturePack(string InitialText)
{
InitializeComponent();
InputTextBox.Text = InitialText;
FormBorderStyle = FormBorderStyle.None;
}
private void OKBtn_Click(object sender, EventArgs e)
{
if (metroComboBox1.SelectedIndex < 0) return;
DialogResult = DialogResult.OK;
}
}
}
File diff suppressed because it is too large Load Diff
@@ -28,74 +28,74 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RenamePrompt));
this.TextLabel = new System.Windows.Forms.Label();
this.OKButton = new System.Windows.Forms.Button();
this.InputTextBox = new MetroFramework.Controls.MetroTextBox();
this.SuspendLayout();
//
// TextLabel
//
resources.ApplyResources(this.TextLabel, "TextLabel");
this.TextLabel.ForeColor = System.Drawing.Color.White;
this.TextLabel.Name = "TextLabel";
//
// OKButton
//
resources.ApplyResources(this.OKButton, "OKButton");
this.OKButton.ForeColor = System.Drawing.Color.White;
this.OKButton.Name = "OKButton";
this.OKButton.UseVisualStyleBackColor = true;
this.OKButton.Click += new System.EventHandler(this.OKBtn_Click);
//
// InputTextBox
//
//
//
//
this.InputTextBox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
this.InputTextBox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location")));
this.InputTextBox.CustomButton.Name = "";
this.InputTextBox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size")));
this.InputTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
this.InputTextBox.CustomButton.TabIndex = ((int)(resources.GetObject("resource.TabIndex")));
this.InputTextBox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
this.InputTextBox.CustomButton.UseSelectable = true;
this.InputTextBox.CustomButton.Visible = ((bool)(resources.GetObject("resource.Visible")));
this.InputTextBox.Lines = new string[0];
resources.ApplyResources(this.InputTextBox, "InputTextBox");
this.InputTextBox.MaxLength = 255;
this.InputTextBox.Name = "InputTextBox";
this.InputTextBox.PasswordChar = '\0';
this.InputTextBox.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.InputTextBox.SelectedText = "";
this.InputTextBox.SelectionLength = 0;
this.InputTextBox.SelectionStart = 0;
this.InputTextBox.ShortcutsEnabled = true;
this.InputTextBox.Style = MetroFramework.MetroColorStyle.White;
this.InputTextBox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.InputTextBox.UseSelectable = true;
this.InputTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.InputTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
//
// RenamePrompt
//
this.AcceptButton = this.OKButton;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.InputTextBox);
this.Controls.Add(this.OKButton);
this.Controls.Add(this.TextLabel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "RenamePrompt";
this.Resizable = false;
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
this.Style = MetroFramework.MetroColorStyle.Silver;
this.Theme = MetroFramework.MetroThemeStyle.Dark;
this.ResumeLayout(false);
this.PerformLayout();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RenamePrompt));
this.TextLabel = new System.Windows.Forms.Label();
this.OKButton = new System.Windows.Forms.Button();
this.InputTextBox = new MetroFramework.Controls.MetroTextBox();
this.SuspendLayout();
//
// TextLabel
//
resources.ApplyResources(this.TextLabel, "TextLabel");
this.TextLabel.ForeColor = System.Drawing.Color.White;
this.TextLabel.Name = "TextLabel";
//
// OKButton
//
resources.ApplyResources(this.OKButton, "OKButton");
this.OKButton.ForeColor = System.Drawing.Color.White;
this.OKButton.Name = "OKButton";
this.OKButton.UseVisualStyleBackColor = true;
this.OKButton.Click += new System.EventHandler(this.OKBtn_Click);
//
// InputTextBox
//
//
//
//
this.InputTextBox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
this.InputTextBox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location")));
this.InputTextBox.CustomButton.Name = "";
this.InputTextBox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size")));
this.InputTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
this.InputTextBox.CustomButton.TabIndex = ((int)(resources.GetObject("resource.TabIndex")));
this.InputTextBox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
this.InputTextBox.CustomButton.UseSelectable = true;
this.InputTextBox.CustomButton.Visible = ((bool)(resources.GetObject("resource.Visible")));
this.InputTextBox.Lines = new string[0];
resources.ApplyResources(this.InputTextBox, "InputTextBox");
this.InputTextBox.MaxLength = 255;
this.InputTextBox.Name = "InputTextBox";
this.InputTextBox.PasswordChar = '\0';
this.InputTextBox.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.InputTextBox.SelectedText = "";
this.InputTextBox.SelectionLength = 0;
this.InputTextBox.SelectionStart = 0;
this.InputTextBox.ShortcutsEnabled = true;
this.InputTextBox.Style = MetroFramework.MetroColorStyle.White;
this.InputTextBox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.InputTextBox.UseSelectable = true;
this.InputTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.InputTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
//
// RenamePrompt
//
this.AcceptButton = this.OKButton;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.InputTextBox);
this.Controls.Add(this.OKButton);
this.Controls.Add(this.TextLabel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "RenamePrompt";
this.Resizable = false;
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
this.Style = MetroFramework.MetroColorStyle.Silver;
this.Theme = MetroFramework.MetroThemeStyle.Dark;
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -28,298 +28,298 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AnimationEditor));
this.treeView1 = new System.Windows.Forms.TreeView();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.addFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.removeFrameToolStripMenuItem = 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.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.bulkAnimationSpeedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.importJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.changeTileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.InterpolationCheckbox = new MetroFramework.Controls.MetroCheckBox();
this.AnimationPlayBtn = new MetroFramework.Controls.MetroButton();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.AnimationStopBtn = new MetroFramework.Controls.MetroButton();
this.tileLabel = new MetroFramework.Controls.MetroLabel();
this.MipMapCheckbox = new MetroFramework.Controls.MetroCheckBox();
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
this.MipMapNumericUpDown = new System.Windows.Forms.NumericUpDown();
this.pictureBoxWithInterpolationMode1 = new PckStudio.PictureBoxWithInterpolationMode();
this.contextMenuStrip1.SuspendLayout();
this.menuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.MipMapNumericUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWithInterpolationMode1)).BeginInit();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.AllowDrop = true;
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.Location = new System.Drawing.Point(20, 84);
this.treeView1.Margin = new System.Windows.Forms.Padding(0);
this.treeView1.MaximumSize = new System.Drawing.Size(205, 350);
this.treeView1.Name = "treeView1";
this.treeView1.Size = new System.Drawing.Size(165, 202);
this.treeView1.TabIndex = 15;
this.treeView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeView1_ItemDrag);
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
this.treeView1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_doubleClick);
this.treeView1.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeView1_DragDrop);
this.treeView1.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView1_DragEnter);
this.treeView1.DragOver += new System.Windows.Forms.DragEventHandler(this.treeView1_DragOver);
//
// 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(AnimationEditor));
this.treeView1 = new System.Windows.Forms.TreeView();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.addFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.removeFrameToolStripMenuItem = 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.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.bulkAnimationSpeedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.importJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.changeTileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.InterpolationCheckbox = new MetroFramework.Controls.MetroCheckBox();
this.AnimationPlayBtn = new MetroFramework.Controls.MetroButton();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.AnimationStopBtn = new MetroFramework.Controls.MetroButton();
this.tileLabel = new MetroFramework.Controls.MetroLabel();
this.MipMapCheckbox = new MetroFramework.Controls.MetroCheckBox();
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
this.MipMapNumericUpDown = new System.Windows.Forms.NumericUpDown();
this.pictureBoxWithInterpolationMode1 = new PckStudio.PictureBoxWithInterpolationMode();
this.contextMenuStrip1.SuspendLayout();
this.menuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.MipMapNumericUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWithInterpolationMode1)).BeginInit();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.AllowDrop = true;
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.Location = new System.Drawing.Point(20, 84);
this.treeView1.Margin = new System.Windows.Forms.Padding(0);
this.treeView1.MaximumSize = new System.Drawing.Size(205, 350);
this.treeView1.Name = "treeView1";
this.treeView1.Size = new System.Drawing.Size(165, 202);
this.treeView1.TabIndex = 15;
this.treeView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeView1_ItemDrag);
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
this.treeView1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_doubleClick);
this.treeView1.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeView1_DragDrop);
this.treeView1.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView1_DragEnter);
this.treeView1.DragOver += new System.Windows.Forms.DragEventHandler(this.treeView1_DragOver);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addFrameToolStripMenuItem,
this.removeFrameToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(154, 48);
//
// addFrameToolStripMenuItem
//
this.addFrameToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ExportFile;
this.addFrameToolStripMenuItem.Name = "addFrameToolStripMenuItem";
this.addFrameToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.addFrameToolStripMenuItem.Text = "Add Frame";
this.addFrameToolStripMenuItem.Click += new System.EventHandler(this.addFrameToolStripMenuItem_Click);
//
// removeFrameToolStripMenuItem
//
this.removeFrameToolStripMenuItem.Image = global::PckStudio.Properties.Resources.Del;
this.removeFrameToolStripMenuItem.Name = "removeFrameToolStripMenuItem";
this.removeFrameToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.removeFrameToolStripMenuItem.Text = "Remove Frame";
this.removeFrameToolStripMenuItem.Click += new System.EventHandler(this.removeFrameToolStripMenuItem_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.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(154, 48);
//
// addFrameToolStripMenuItem
//
this.addFrameToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ExportFile;
this.addFrameToolStripMenuItem.Name = "addFrameToolStripMenuItem";
this.addFrameToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.addFrameToolStripMenuItem.Text = "Add Frame";
this.addFrameToolStripMenuItem.Click += new System.EventHandler(this.addFrameToolStripMenuItem_Click);
//
// removeFrameToolStripMenuItem
//
this.removeFrameToolStripMenuItem.Image = global::PckStudio.Properties.Resources.Del;
this.removeFrameToolStripMenuItem.Name = "removeFrameToolStripMenuItem";
this.removeFrameToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.removeFrameToolStripMenuItem.Text = "Remove Frame";
this.removeFrameToolStripMenuItem.Click += new System.EventHandler(this.removeFrameToolStripMenuItem_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.editToolStripMenuItem,
this.helpToolStripMenuItem});
this.menuStrip.Location = new System.Drawing.Point(20, 60);
this.menuStrip.Name = "menuStrip";
this.menuStrip.Size = new System.Drawing.Size(372, 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(372, 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);
//
// editToolStripMenuItem
//
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
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);
//
// editToolStripMenuItem
//
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.bulkAnimationSpeedToolStripMenuItem,
this.importJavaAnimationToolStripMenuItem,
this.changeTileToolStripMenuItem});
this.editToolStripMenuItem.ForeColor = System.Drawing.Color.White;
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
this.editToolStripMenuItem.Size = new System.Drawing.Size(46, 20);
this.editToolStripMenuItem.Text = "Tools";
//
// bulkAnimationSpeedToolStripMenuItem
//
this.bulkAnimationSpeedToolStripMenuItem.Image = global::PckStudio.Properties.Resources.clock;
this.bulkAnimationSpeedToolStripMenuItem.Name = "bulkAnimationSpeedToolStripMenuItem";
this.bulkAnimationSpeedToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
this.bulkAnimationSpeedToolStripMenuItem.Text = "Set Bulk Animation Speed";
this.bulkAnimationSpeedToolStripMenuItem.Click += new System.EventHandler(this.bulkAnimationSpeedToolStripMenuItem_Click);
//
// importJavaAnimationToolStripMenuItem
//
this.importJavaAnimationToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ExportFile;
this.importJavaAnimationToolStripMenuItem.Name = "importJavaAnimationToolStripMenuItem";
this.importJavaAnimationToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
this.importJavaAnimationToolStripMenuItem.Text = "Import Java Animation";
this.importJavaAnimationToolStripMenuItem.Click += new System.EventHandler(this.importJavaAnimationToolStripMenuItem_Click);
//
// changeTileToolStripMenuItem
//
this.changeTileToolStripMenuItem.Image = global::PckStudio.Properties.Resources.changeTile;
this.changeTileToolStripMenuItem.Name = "changeTileToolStripMenuItem";
this.changeTileToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
this.changeTileToolStripMenuItem.Text = "Change Tile";
this.changeTileToolStripMenuItem.Click += new System.EventHandler(this.changeTileToolStripMenuItem_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";
this.helpToolStripMenuItem.Click += new System.EventHandler(this.helpToolStripMenuItem_Click);
//
// InterpolationCheckbox
//
this.InterpolationCheckbox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.InterpolationCheckbox.AutoSize = true;
this.InterpolationCheckbox.Location = new System.Drawing.Point(188, 317);
this.InterpolationCheckbox.Name = "InterpolationCheckbox";
this.InterpolationCheckbox.Size = new System.Drawing.Size(204, 15);
this.InterpolationCheckbox.TabIndex = 17;
this.InterpolationCheckbox.Text = "Interpolates (not simulated above)";
this.InterpolationCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.InterpolationCheckbox.UseSelectable = true;
//
// AnimationPlayBtn
//
this.AnimationPlayBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.AnimationPlayBtn.Location = new System.Drawing.Point(188, 291);
this.AnimationPlayBtn.Name = "AnimationPlayBtn";
this.AnimationPlayBtn.Size = new System.Drawing.Size(99, 24);
this.AnimationPlayBtn.TabIndex = 18;
this.AnimationPlayBtn.Text = "Play Animation";
this.AnimationPlayBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
this.AnimationPlayBtn.UseSelectable = true;
this.AnimationPlayBtn.Click += new System.EventHandler(this.StartAnimationBtn_Click);
//
// timer1
//
this.timer1.Interval = 1;
this.timer1.Tick += new System.EventHandler(this.animate);
//
// AnimationStopBtn
//
this.AnimationStopBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.AnimationStopBtn.Enabled = false;
this.AnimationStopBtn.Location = new System.Drawing.Point(293, 291);
this.AnimationStopBtn.Name = "AnimationStopBtn";
this.AnimationStopBtn.Size = new System.Drawing.Size(99, 24);
this.AnimationStopBtn.TabIndex = 19;
this.AnimationStopBtn.Text = "Stop Animation";
this.AnimationStopBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
this.AnimationStopBtn.UseSelectable = true;
this.AnimationStopBtn.Click += new System.EventHandler(this.StopAnimationBtn_Click);
//
// tileLabel
//
this.tileLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.tileLabel.AutoSize = true;
this.tileLabel.Location = new System.Drawing.Point(20, 290);
this.tileLabel.MinimumSize = new System.Drawing.Size(170, 19);
this.tileLabel.Name = "tileLabel";
this.tileLabel.Size = new System.Drawing.Size(57, 19);
this.tileLabel.TabIndex = 20;
this.tileLabel.Text = "tileLabel";
this.tileLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// MipMapCheckbox
//
this.MipMapCheckbox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.MipMapCheckbox.AutoSize = true;
this.MipMapCheckbox.Location = new System.Drawing.Point(20, 312);
this.MipMapCheckbox.Name = "MipMapCheckbox";
this.MipMapCheckbox.Size = new System.Drawing.Size(128, 15);
this.MipMapCheckbox.TabIndex = 21;
this.MipMapCheckbox.Text = "Is Mip Map Texture?";
this.MipMapCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.MipMapCheckbox.UseSelectable = true;
this.MipMapCheckbox.CheckedChanged += new System.EventHandler(this.metroCheckBox2_CheckedChanged);
//
// metroLabel1
//
this.metroLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.metroLabel1.AutoSize = true;
this.metroLabel1.Location = new System.Drawing.Point(21, 330);
this.metroLabel1.Name = "metroLabel1";
this.metroLabel1.Size = new System.Drawing.Size(99, 19);
this.metroLabel1.TabIndex = 22;
this.metroLabel1.Text = "Mip Map Level:";
this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
this.metroLabel1.Visible = false;
//
// MipMapNumericUpDown
//
this.MipMapNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.MipMapNumericUpDown.BackColor = System.Drawing.Color.Black;
this.MipMapNumericUpDown.ForeColor = System.Drawing.SystemColors.Window;
this.MipMapNumericUpDown.Location = new System.Drawing.Point(127, 330);
this.MipMapNumericUpDown.Maximum = new decimal(new int[] {
3,
this.editToolStripMenuItem.ForeColor = System.Drawing.Color.White;
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
this.editToolStripMenuItem.Size = new System.Drawing.Size(46, 20);
this.editToolStripMenuItem.Text = "Tools";
//
// bulkAnimationSpeedToolStripMenuItem
//
this.bulkAnimationSpeedToolStripMenuItem.Image = global::PckStudio.Properties.Resources.clock;
this.bulkAnimationSpeedToolStripMenuItem.Name = "bulkAnimationSpeedToolStripMenuItem";
this.bulkAnimationSpeedToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
this.bulkAnimationSpeedToolStripMenuItem.Text = "Set Bulk Animation Speed";
this.bulkAnimationSpeedToolStripMenuItem.Click += new System.EventHandler(this.bulkAnimationSpeedToolStripMenuItem_Click);
//
// importJavaAnimationToolStripMenuItem
//
this.importJavaAnimationToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ExportFile;
this.importJavaAnimationToolStripMenuItem.Name = "importJavaAnimationToolStripMenuItem";
this.importJavaAnimationToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
this.importJavaAnimationToolStripMenuItem.Text = "Import Java Animation";
this.importJavaAnimationToolStripMenuItem.Click += new System.EventHandler(this.importJavaAnimationToolStripMenuItem_Click);
//
// changeTileToolStripMenuItem
//
this.changeTileToolStripMenuItem.Image = global::PckStudio.Properties.Resources.changeTile;
this.changeTileToolStripMenuItem.Name = "changeTileToolStripMenuItem";
this.changeTileToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
this.changeTileToolStripMenuItem.Text = "Change Tile";
this.changeTileToolStripMenuItem.Click += new System.EventHandler(this.changeTileToolStripMenuItem_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";
this.helpToolStripMenuItem.Click += new System.EventHandler(this.helpToolStripMenuItem_Click);
//
// InterpolationCheckbox
//
this.InterpolationCheckbox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.InterpolationCheckbox.AutoSize = true;
this.InterpolationCheckbox.Location = new System.Drawing.Point(188, 317);
this.InterpolationCheckbox.Name = "InterpolationCheckbox";
this.InterpolationCheckbox.Size = new System.Drawing.Size(204, 15);
this.InterpolationCheckbox.TabIndex = 17;
this.InterpolationCheckbox.Text = "Interpolates (not simulated above)";
this.InterpolationCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.InterpolationCheckbox.UseSelectable = true;
//
// AnimationPlayBtn
//
this.AnimationPlayBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.AnimationPlayBtn.Location = new System.Drawing.Point(188, 291);
this.AnimationPlayBtn.Name = "AnimationPlayBtn";
this.AnimationPlayBtn.Size = new System.Drawing.Size(99, 24);
this.AnimationPlayBtn.TabIndex = 18;
this.AnimationPlayBtn.Text = "Play Animation";
this.AnimationPlayBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
this.AnimationPlayBtn.UseSelectable = true;
this.AnimationPlayBtn.Click += new System.EventHandler(this.StartAnimationBtn_Click);
//
// timer1
//
this.timer1.Interval = 1;
this.timer1.Tick += new System.EventHandler(this.animate);
//
// AnimationStopBtn
//
this.AnimationStopBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.AnimationStopBtn.Enabled = false;
this.AnimationStopBtn.Location = new System.Drawing.Point(293, 291);
this.AnimationStopBtn.Name = "AnimationStopBtn";
this.AnimationStopBtn.Size = new System.Drawing.Size(99, 24);
this.AnimationStopBtn.TabIndex = 19;
this.AnimationStopBtn.Text = "Stop Animation";
this.AnimationStopBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
this.AnimationStopBtn.UseSelectable = true;
this.AnimationStopBtn.Click += new System.EventHandler(this.StopAnimationBtn_Click);
//
// tileLabel
//
this.tileLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.tileLabel.AutoSize = true;
this.tileLabel.Location = new System.Drawing.Point(20, 290);
this.tileLabel.MinimumSize = new System.Drawing.Size(170, 19);
this.tileLabel.Name = "tileLabel";
this.tileLabel.Size = new System.Drawing.Size(57, 19);
this.tileLabel.TabIndex = 20;
this.tileLabel.Text = "tileLabel";
this.tileLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// MipMapCheckbox
//
this.MipMapCheckbox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.MipMapCheckbox.AutoSize = true;
this.MipMapCheckbox.Location = new System.Drawing.Point(20, 312);
this.MipMapCheckbox.Name = "MipMapCheckbox";
this.MipMapCheckbox.Size = new System.Drawing.Size(128, 15);
this.MipMapCheckbox.TabIndex = 21;
this.MipMapCheckbox.Text = "Is Mip Map Texture?";
this.MipMapCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.MipMapCheckbox.UseSelectable = true;
this.MipMapCheckbox.CheckedChanged += new System.EventHandler(this.metroCheckBox2_CheckedChanged);
//
// metroLabel1
//
this.metroLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.metroLabel1.AutoSize = true;
this.metroLabel1.Location = new System.Drawing.Point(21, 330);
this.metroLabel1.Name = "metroLabel1";
this.metroLabel1.Size = new System.Drawing.Size(99, 19);
this.metroLabel1.TabIndex = 22;
this.metroLabel1.Text = "Mip Map Level:";
this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
this.metroLabel1.Visible = false;
//
// MipMapNumericUpDown
//
this.MipMapNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.MipMapNumericUpDown.BackColor = System.Drawing.Color.Black;
this.MipMapNumericUpDown.ForeColor = System.Drawing.SystemColors.Window;
this.MipMapNumericUpDown.Location = new System.Drawing.Point(127, 330);
this.MipMapNumericUpDown.Maximum = new decimal(new int[] {
5,
0,
0,
0});
this.MipMapNumericUpDown.Minimum = new decimal(new int[] {
this.MipMapNumericUpDown.Minimum = new decimal(new int[] {
2,
0,
0,
0});
this.MipMapNumericUpDown.Name = "MipMapNumericUpDown";
this.MipMapNumericUpDown.Size = new System.Drawing.Size(44, 20);
this.MipMapNumericUpDown.TabIndex = 23;
this.MipMapNumericUpDown.Value = new decimal(new int[] {
this.MipMapNumericUpDown.Name = "MipMapNumericUpDown";
this.MipMapNumericUpDown.Size = new System.Drawing.Size(44, 20);
this.MipMapNumericUpDown.TabIndex = 23;
this.MipMapNumericUpDown.Value = new decimal(new int[] {
2,
0,
0,
0});
this.MipMapNumericUpDown.Visible = false;
//
// pictureBoxWithInterpolationMode1
//
this.pictureBoxWithInterpolationMode1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
this.MipMapNumericUpDown.Visible = false;
//
// pictureBoxWithInterpolationMode1
//
this.pictureBoxWithInterpolationMode1.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.pictureBoxWithInterpolationMode1.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
this.pictureBoxWithInterpolationMode1.Location = new System.Drawing.Point(188, 88);
this.pictureBoxWithInterpolationMode1.Name = "pictureBoxWithInterpolationMode1";
this.pictureBoxWithInterpolationMode1.Size = new System.Drawing.Size(204, 198);
this.pictureBoxWithInterpolationMode1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBoxWithInterpolationMode1.TabIndex = 16;
this.pictureBoxWithInterpolationMode1.TabStop = false;
//
// AnimationEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(412, 362);
this.Controls.Add(this.AnimationStopBtn);
this.Controls.Add(this.AnimationPlayBtn);
this.Controls.Add(this.MipMapNumericUpDown);
this.Controls.Add(this.metroLabel1);
this.Controls.Add(this.MipMapCheckbox);
this.Controls.Add(this.tileLabel);
this.Controls.Add(this.InterpolationCheckbox);
this.Controls.Add(this.pictureBoxWithInterpolationMode1);
this.Controls.Add(this.treeView1);
this.Controls.Add(this.menuStrip);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MinimumSize = new System.Drawing.Size(412, 362);
this.Name = "AnimationEditor";
this.Style = MetroFramework.MetroColorStyle.Silver;
this.Text = "Animation Editor";
this.Theme = MetroFramework.MetroThemeStyle.Dark;
this.contextMenuStrip1.ResumeLayout(false);
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.MipMapNumericUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWithInterpolationMode1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
this.pictureBoxWithInterpolationMode1.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
this.pictureBoxWithInterpolationMode1.Location = new System.Drawing.Point(188, 88);
this.pictureBoxWithInterpolationMode1.Name = "pictureBoxWithInterpolationMode1";
this.pictureBoxWithInterpolationMode1.Size = new System.Drawing.Size(204, 198);
this.pictureBoxWithInterpolationMode1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBoxWithInterpolationMode1.TabIndex = 16;
this.pictureBoxWithInterpolationMode1.TabStop = false;
//
// AnimationEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(412, 362);
this.Controls.Add(this.AnimationStopBtn);
this.Controls.Add(this.AnimationPlayBtn);
this.Controls.Add(this.MipMapNumericUpDown);
this.Controls.Add(this.metroLabel1);
this.Controls.Add(this.MipMapCheckbox);
this.Controls.Add(this.tileLabel);
this.Controls.Add(this.InterpolationCheckbox);
this.Controls.Add(this.pictureBoxWithInterpolationMode1);
this.Controls.Add(this.treeView1);
this.Controls.Add(this.menuStrip);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MinimumSize = new System.Drawing.Size(412, 362);
this.Name = "AnimationEditor";
this.Style = MetroFramework.MetroColorStyle.Silver;
this.Text = "Animation Editor";
this.Theme = MetroFramework.MetroThemeStyle.Dark;
this.contextMenuStrip1.ResumeLayout(false);
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.MipMapNumericUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWithInterpolationMode1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -47,7 +47,7 @@ namespace PckStudio.Forms.Utilities
this.addEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.removeEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.verifyFileLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.metroCheckBox1 = new MetroFramework.Controls.MetroCheckBox();
this.playOverworldInCreative = new MetroFramework.Controls.MetroCheckBox();
this.contextMenuStrip1.SuspendLayout();
this.menuStrip.SuspendLayout();
this.contextMenuStrip2.SuspendLayout();
@@ -153,7 +153,6 @@ namespace PckStudio.Forms.Utilities
this.treeView2.ContextMenuStrip = this.contextMenuStrip2;
this.treeView2.ForeColor = System.Drawing.Color.White;
this.treeView2.Name = "treeView2";
this.treeView2.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterSelect);
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);
@@ -186,22 +185,22 @@ namespace PckStudio.Forms.Utilities
resources.ApplyResources(this.verifyFileLocationToolStripMenuItem, "verifyFileLocationToolStripMenuItem");
this.verifyFileLocationToolStripMenuItem.Click += new System.EventHandler(this.verifyFileLocationToolStripMenuItem_Click);
//
// metroCheckBox1
// playOverworldInCreative
//
resources.ApplyResources(this.metroCheckBox1, "metroCheckBox1");
this.metroCheckBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.metroCheckBox1.ForeColor = System.Drawing.SystemColors.Window;
this.metroCheckBox1.Name = "metroCheckBox1";
this.metroCheckBox1.Theme = MetroFramework.MetroThemeStyle.Dark;
this.metroCheckBox1.UseCustomBackColor = true;
this.metroCheckBox1.UseCustomForeColor = true;
this.metroCheckBox1.UseSelectable = true;
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;
//
// AudioEditor
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.metroCheckBox1);
this.Controls.Add(this.playOverworldInCreative);
this.Controls.Add(this.treeView1);
this.Controls.Add(this.treeView2);
this.Controls.Add(this.menuStrip);
@@ -210,7 +209,6 @@ namespace PckStudio.Forms.Utilities
this.Theme = MetroFramework.MetroThemeStyle.Dark;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.AudioEditor_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.AudioEditor_FormClosed);
this.Load += new System.EventHandler(this.AudioEditor_Load);
this.contextMenuStrip1.ResumeLayout(false);
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
@@ -238,6 +236,6 @@ namespace PckStudio.Forms.Utilities
private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem creditsEditorToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem verifyFileLocationToolStripMenuItem;
private MetroFramework.Controls.MetroCheckBox metroCheckBox1;
private MetroFramework.Controls.MetroCheckBox playOverworldInCreative;
}
}
@@ -216,7 +216,7 @@ namespace PckStudio.Forms.Utilities
if (overworldMF.properties.Contains(property)) categoryFile.properties.Remove(property);
}
metroCheckBox1.Checked = true;
playOverworldInCreative.Checked = true;
}
TreeNode treeNode = new TreeNode(CatString);
@@ -228,26 +228,12 @@ namespace PckStudio.Forms.Utilities
}
}
playOverworldInCreative.Enabled = cats.Contains(GetCategoryFromId(3));
treeView1.TreeViewNodeSorter = new NodeSorter();
treeView1.Sort();
}
private void AudioEditor_Load(object sender, EventArgs e)
{
}
private void treeView2_AfterSelect(object sender, TreeViewEventArgs e)
{
if (treeView2.SelectedNode.Tag == null || !(treeView2.SelectedNode.Tag is ValueTuple<string, string>)) return;
PCKFile.FileData file = (PCKFile.FileData)treeView1.SelectedNode.Tag;
var property = (ValueTuple<string, string>)treeView2.SelectedNode.Tag;
int i = file.properties.IndexOf(property);
//foreach (var metaType in audioPCK.meta_data)
//comboBox1.Items.Add(metaType);
}
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
{
treeView2.Nodes.Clear();
@@ -283,6 +269,7 @@ namespace PckStudio.Forms.Utilities
treeView1.Nodes.Add(addNode);
treeView1.Sort();
add.Dispose(); // diposes generated metadata adding dialog data
playOverworldInCreative.Enabled = cats.Contains(GetCategoryFromId(3));
}
catch (Exception ex)
{
@@ -320,19 +307,10 @@ namespace PckStudio.Forms.Utilities
cats.Remove(treeView1.SelectedNode.Text);
if (audioPCK.Files.Remove((PCKFile.FileData)treeView1.SelectedNode.Tag))
{
treeView1.SelectedNode.Remove();
treeView2.Nodes.Clear();
treeView1.SelectedNode.Remove();
}
if(treeView1.SelectedNode != null && treeView1.SelectedNode.Tag is PCKFile.FileData)
{
PCKFile.FileData mineFile = (PCKFile.FileData)treeView1.SelectedNode.Tag;
foreach (var entry in mineFile.properties)
{
TreeNode meta = new TreeNode(entry.Item1);
meta.Tag = entry;
treeView2.Nodes.Add(meta);
}
}
playOverworldInCreative.Enabled = cats.Contains(GetCategoryFromId(3));
}
public void treeView2_KeyDown(object sender, KeyEventArgs e)
@@ -513,8 +491,8 @@ namespace PckStudio.Forms.Utilities
foreach (PCKFile.FileData mf in audioPCK.Files)
{
mf.filepath = "";
if (metroCheckBox1.Checked && mf.type == 0) overworldMF = mf;
if (metroCheckBox1.Checked && mf.type == 3 && overworldMF.type != -1)
if (playOverworldInCreative.Checked && mf.type == 0) overworldMF = mf;
if (playOverworldInCreative.Checked && mf.type == 3 && overworldMF.type != -1)
{
foreach (ValueTuple<string, string> property in overworldMF.properties)
{
@@ -125,6 +125,26 @@
<value>127, 8</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="addCategoryStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMkMEa+wAAABSSURBVDhP5c0x
DsAgDENRxt7/wmkNSpRGf0CCCZAegxNMM7MlGMp3dIU6dxhKf/QMNxRogeQC8ivw5Vn7C0heJlFA+kL5
jWAohxRkde4wnGftBS90axNmphIGAAAAAElFTkSuQmCC
</value>
</data>
<data name="addCategoryStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>168, 22</value>
</data>
<data name="addCategoryStripMenuItem.Text" xml:space="preserve">
<value>Add Category</value>
</data>
<data name="removeCategoryStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>168, 22</value>
</data>
<data name="removeCategoryStripMenuItem.Text" xml:space="preserve">
<value>Remove Category</value>
</data>
<data name="contextMenuStrip1.Size" type="System.Drawing.Size, System.Drawing">
<value>169, 48</value>
</data>
@@ -146,7 +166,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADk
MAAAAk1TRnQBSQFMAgEBCQEAATABAAEwAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
MAAAAk1TRnQBSQFMAgEBCQEAATgBAAE4AQABEAEAARABAAT/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
@@ -384,32 +404,52 @@
<data name="&gt;&gt;treeView1.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="addCategoryStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMkMEa+wAAABSSURBVDhP5c0x
DsAgDENRxt7/wmkNSpRGf0CCCZAegxNMM7MlGMp3dIU6dxhKf/QMNxRogeQC8ivw5Vn7C0heJlFA+kL5
jWAohxRkde4wnGftBS90axNmphIGAAAAAElFTkSuQmCC
</value>
</data>
<data name="addCategoryStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>168, 22</value>
</data>
<data name="addCategoryStripMenuItem.Text" xml:space="preserve">
<value>Add Category</value>
</data>
<data name="removeCategoryStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>168, 22</value>
</data>
<data name="removeCategoryStripMenuItem.Text" xml:space="preserve">
<value>Remove Category</value>
</data>
<metadata name="menuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>19, 8</value>
</metadata>
<data name="menuStrip.AutoSize" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="saveToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4yMfEgaZUAAADfSURBVDhPYxg8
QLt++3yTGbf/Fm599P/Nh49wfPXxq/+rTt37f+Dak/8gOSBgAGEMANIMxGBFyAasPf/0v8GE8//z1t8C
y4HU4DIALIluwLpLL+HiMANAGKoNAWASCavv/n/57gPcgOvP3oENOXj7NViOoAFGU6791+k4ghWD5Aga
QCyGakMAkODcU89R/I8Ng9TgNADk14dPn/8/c+kqVgySgwUqVBsCwAx49urN/zsPHmPFIDmaGvAXJInN
38gYasBfqDYE0K7dOn/Wvut/sfkdGYPUgJI9VNuAAwYGAGn6yvdevWgPAAAAAElFTkSuQmCC
</value>
</data>
<data name="saveToolStripMenuItem1.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 22</value>
</data>
<data name="saveToolStripMenuItem1.Text" xml:space="preserve">
<value>Save</value>
</data>
<data name="fileToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>37, 20</value>
</data>
<data name="fileToolStripMenuItem.Text" xml:space="preserve">
<value>File</value>
</data>
<data name="creditsEditorToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>145, 22</value>
</data>
<data name="creditsEditorToolStripMenuItem.Text" xml:space="preserve">
<value>Credits Editor</value>
</data>
<data name="toolsToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 20</value>
</data>
<data name="toolsToolStripMenuItem.Text" xml:space="preserve">
<value>Tools</value>
</data>
<data name="helpToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 20</value>
</data>
<data name="helpToolStripMenuItem.Text" xml:space="preserve">
<value>Help</value>
</data>
<data name="menuStrip.Location" type="System.Drawing.Point, System.Drawing">
<value>20, 60</value>
</data>
@@ -434,52 +474,38 @@
<data name="&gt;&gt;menuStrip.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="fileToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>37, 20</value>
</data>
<data name="fileToolStripMenuItem.Text" xml:space="preserve">
<value>File</value>
</data>
<data name="saveToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4yMfEgaZUAAADfSURBVDhPYxg8
QLt++3yTGbf/Fm599P/Nh49wfPXxq/+rTt37f+Dak/8gOSBgAGEMANIMxGBFyAasPf/0v8GE8//z1t8C
y4HU4DIALIluwLpLL+HiMANAGKoNAWASCavv/n/57gPcgOvP3oENOXj7NViOoAFGU6791+k4ghWD5Aga
QCyGakMAkODcU89R/I8Ng9TgNADk14dPn/8/c+kqVgySgwUqVBsCwAx49urN/zsPHmPFIDmaGvAXJInN
38gYasBfqDYE0K7dOn/Wvut/sfkdGYPUgJI9VNuAAwYGAGn6yvdevWgPAAAAAElFTkSuQmCC
</value>
</data>
<data name="saveToolStripMenuItem1.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 22</value>
</data>
<data name="saveToolStripMenuItem1.Text" xml:space="preserve">
<value>Save</value>
</data>
<data name="toolsToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 20</value>
</data>
<data name="toolsToolStripMenuItem.Text" xml:space="preserve">
<value>Tools</value>
</data>
<data name="creditsEditorToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>145, 22</value>
</data>
<data name="creditsEditorToolStripMenuItem.Text" xml:space="preserve">
<value>Credits Editor</value>
</data>
<data name="helpToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 20</value>
</data>
<data name="helpToolStripMenuItem.Text" xml:space="preserve">
<value>Help</value>
</data>
<data name="treeView2.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<metadata name="contextMenuStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>282, 8</value>
</metadata>
<data name="addEntryMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMkMEa+wAAABSSURBVDhP5c0x
DsAgDENRxt7/wmkNSpRGf0CCCZAegxNMM7MlGMp3dIU6dxhKf/QMNxRogeQC8ivw5Vn7C0heJlFA+kL5
jWAohxRkde4wnGftBS90axNmphIGAAAAAElFTkSuQmCC
</value>
</data>
<data name="addEntryMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>173, 22</value>
</data>
<data name="addEntryMenuItem.Text" xml:space="preserve">
<value>Add Entry</value>
</data>
<data name="removeEntryMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>173, 22</value>
</data>
<data name="removeEntryMenuItem.Text" xml:space="preserve">
<value>Remove Entry</value>
</data>
<data name="verifyFileLocationToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>173, 22</value>
</data>
<data name="verifyFileLocationToolStripMenuItem.Text" xml:space="preserve">
<value>Verify File Location</value>
</data>
<data name="contextMenuStrip2.Size" type="System.Drawing.Size, System.Drawing">
<value>174, 70</value>
</data>
@@ -510,57 +536,31 @@
<data name="&gt;&gt;treeView2.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="addEntryMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMkMEa+wAAABSSURBVDhP5c0x
DsAgDENRxt7/wmkNSpRGf0CCCZAegxNMM7MlGMp3dIU6dxhKf/QMNxRogeQC8ivw5Vn7C0heJlFA+kL5
jWAohxRkde4wnGftBS90axNmphIGAAAAAElFTkSuQmCC
</value>
</data>
<data name="addEntryMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>173, 22</value>
</data>
<data name="addEntryMenuItem.Text" xml:space="preserve">
<value>Add Entry</value>
</data>
<data name="removeEntryMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>173, 22</value>
</data>
<data name="removeEntryMenuItem.Text" xml:space="preserve">
<value>Remove Entry</value>
</data>
<data name="verifyFileLocationToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>173, 22</value>
</data>
<data name="verifyFileLocationToolStripMenuItem.Text" xml:space="preserve">
<value>Verify File Location</value>
</data>
<data name="metroCheckBox1.AutoSize" type="System.Boolean, mscorlib">
<data name="playOverworldInCreative.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="metroCheckBox1.Location" type="System.Drawing.Point, System.Drawing">
<data name="playOverworldInCreative.Location" type="System.Drawing.Point, System.Drawing">
<value>232, 64</value>
</data>
<data name="metroCheckBox1.Size" type="System.Drawing.Size, System.Drawing">
<data name="playOverworldInCreative.Size" type="System.Drawing.Size, System.Drawing">
<value>194, 15</value>
</data>
<data name="metroCheckBox1.TabIndex" type="System.Int32, mscorlib">
<data name="playOverworldInCreative.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
</data>
<data name="metroCheckBox1.Text" xml:space="preserve">
<data name="playOverworldInCreative.Text" xml:space="preserve">
<value>Play overworld songs in Creative</value>
</data>
<data name="&gt;&gt;metroCheckBox1.Name" xml:space="preserve">
<value>metroCheckBox1</value>
<data name="&gt;&gt;playOverworldInCreative.Name" xml:space="preserve">
<value>playOverworldInCreative</value>
</data>
<data name="&gt;&gt;metroCheckBox1.Type" xml:space="preserve">
<data name="&gt;&gt;playOverworldInCreative.Type" xml:space="preserve">
<value>MetroFramework.Controls.MetroCheckBox, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a</value>
</data>
<data name="&gt;&gt;metroCheckBox1.Parent" xml:space="preserve">
<data name="&gt;&gt;playOverworldInCreative.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;metroCheckBox1.ZOrder" xml:space="preserve">
<data name="&gt;&gt;playOverworldInCreative.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@@ -0,0 +1,749 @@
namespace PckStudio.Forms.Utilities.Skins
{
partial class ANIMEditor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.closeButton = 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.rightArmOCheckBox = 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.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.uncheckButton = new MetroFramework.Controls.MetroButton();
this.checkButton = new MetroFramework.Controls.MetroButton();
this.toolTip = new MetroFramework.Components.MetroToolTip();
this.effectsGroup.SuspendLayout();
this.effectsGroup2.SuspendLayout();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// closeButton
//
this.closeButton.Location = new System.Drawing.Point(257, 527);
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.closeButton_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.rightArmOCheckBox);
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.ForeColor = System.Drawing.SystemColors.Window;
this.effectsGroup.Location = new System.Drawing.Point(23, 140);
this.effectsGroup.Name = "effectsGroup";
this.effectsGroup.Size = new System.Drawing.Size(408, 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(213, 19);
this.rightLegOCheckBox.TabIndex = 13;
this.rightLegOCheckBox.Text = "Remove Right Leg Overlay 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(187, 19);
this.headOCheckBox.TabIndex = 12;
this.headOCheckBox.Text = "Remove Head Overlay 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(204, 19);
this.leftLegOCheckBox.TabIndex = 11;
this.leftLegOCheckBox.Text = "Remove Left Leg Overlay 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;
//
// rightArmOCheckBox
//
this.rightArmOCheckBox.AutoSize = true;
this.rightArmOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
this.rightArmOCheckBox.Location = new System.Drawing.Point(178, 143);
this.rightArmOCheckBox.Name = "rightArmOCheckBox";
this.rightArmOCheckBox.Size = new System.Drawing.Size(217, 19);
this.rightArmOCheckBox.TabIndex = 10;
this.rightArmOCheckBox.Text = "Remove Right Arm Overlay 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;
//
// 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(208, 19);
this.leftArmOCheckBox.TabIndex = 9;
this.leftArmOCheckBox.Text = "Remove Left Arm Overlay 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(186, 19);
this.bodyOCheckBox.TabIndex = 8;
this.bodyOCheckBox.Text = "Remove Body Overlay 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" +
"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" +
"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" +
"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" +
"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" +
"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" +
"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" +
"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" +
"es for right and left limbs. Resolution is also set to 64x64. ");
this.classicCheckBox.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(437, 140);
this.effectsGroup2.Name = "effectsGroup2";
this.effectsGroup2.Size = new System.Drawing.Size(184, 238);
this.effectsGroup2.TabIndex = 14;
this.effectsGroup2.TabStop = false;
this.effectsGroup2.Text = "Armor Flags";
//
// rightLeggingCheckBox
//
this.rightLeggingCheckBox.AutoSize = true;
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.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 re-enables the specified armor piece.");
this.helmetCheckBox.UseSelectable = true;
//
// leftLeggingCheckBox
//
this.leftLeggingCheckBox.AutoSize = true;
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.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.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.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 for removed parent boxes. ");
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(23, 384);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(598, 137);
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" +
"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" +
" 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 likt 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(262, 117);
this.copyButton.Name = "copyButton";
this.copyButton.Size = new System.Drawing.Size(126, 23);
this.copyButton.TabIndex = 22;
this.copyButton.Text = "Copy";
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(394, 117);
this.importButton.Name = "importButton";
this.importButton.Size = new System.Drawing.Size(126, 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(120, 117);
this.exportButton.Name = "exportButton";
this.exportButton.Size = new System.Drawing.Size(136, 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.Location = new System.Drawing.Point(275, 58);
this.animValue.Name = "animValue";
this.animValue.Size = new System.Drawing.Size(101, 25);
this.animValue.TabIndex = 25;
this.animValue.Text = "0x00000000";
this.animValue.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.animValue.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// uncheckButton
//
this.uncheckButton.Location = new System.Drawing.Point(206, 88);
this.uncheckButton.Name = "uncheckButton";
this.uncheckButton.Size = new System.Drawing.Size(126, 23);
this.uncheckButton.TabIndex = 26;
this.uncheckButton.Text = "Uncheck All";
this.uncheckButton.Theme = MetroFramework.MetroThemeStyle.Dark;
this.uncheckButton.UseSelectable = true;
this.uncheckButton.Click += new System.EventHandler(this.uncheckButton_Click);
//
// checkButton
//
this.checkButton.Location = new System.Drawing.Point(338, 88);
this.checkButton.Name = "checkButton";
this.checkButton.Size = new System.Drawing.Size(126, 23);
this.checkButton.TabIndex = 27;
this.checkButton.Text = "Check All";
this.checkButton.Theme = MetroFramework.MetroThemeStyle.Dark;
this.checkButton.UseSelectable = true;
this.checkButton.Click += new System.EventHandler(this.checkButton_Click);
//
// toolTip
//
this.toolTip.StripAmpersands = true;
this.toolTip.Style = MetroFramework.MetroColorStyle.Blue;
this.toolTip.StyleManager = null;
this.toolTip.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// ANIMEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(640, 573);
this.Controls.Add(this.checkButton);
this.Controls.Add(this.uncheckButton);
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.effectsGroup);
this.Controls.Add(this.closeButton);
this.Name = "ANIMEditor";
this.Style = MetroFramework.MetroColorStyle.White;
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();
}
#endregion
private MetroFramework.Controls.MetroButton closeButton;
private System.Windows.Forms.GroupBox effectsGroup;
private MetroFramework.Controls.MetroCheckBox headCheckBox;
private MetroFramework.Controls.MetroCheckBox leftLegCheckBox;
private MetroFramework.Controls.MetroCheckBox rightArmCheckBox;
private MetroFramework.Controls.MetroCheckBox leftArmCheckBox;
private MetroFramework.Controls.MetroCheckBox bodyCheckBox;
private MetroFramework.Controls.MetroCheckBox classicCheckBox;
private MetroFramework.Controls.MetroCheckBox slimCheckBox;
private MetroFramework.Controls.MetroCheckBox rightLegCheckBox;
private MetroFramework.Controls.MetroCheckBox rightLegOCheckBox;
private MetroFramework.Controls.MetroCheckBox headOCheckBox;
private MetroFramework.Controls.MetroCheckBox leftLegOCheckBox;
private MetroFramework.Controls.MetroCheckBox rightArmOCheckBox;
private MetroFramework.Controls.MetroCheckBox leftArmOCheckBox;
private MetroFramework.Controls.MetroCheckBox bodyOCheckBox;
private System.Windows.Forms.GroupBox effectsGroup2;
private MetroFramework.Controls.MetroCheckBox rightLeggingCheckBox;
private MetroFramework.Controls.MetroCheckBox helmetCheckBox;
private MetroFramework.Controls.MetroCheckBox leftLeggingCheckBox;
private MetroFramework.Controls.MetroCheckBox rightArmorCheckBox;
private MetroFramework.Controls.MetroCheckBox leftArmorCheckBox;
private MetroFramework.Controls.MetroCheckBox chestplateCheckBox;
private System.Windows.Forms.GroupBox groupBox1;
private MetroFramework.Controls.MetroCheckBox syncLegsCheckBox;
private MetroFramework.Controls.MetroCheckBox staticArmsCheckBox;
private MetroFramework.Controls.MetroCheckBox syncArmsCheckBox;
private MetroFramework.Controls.MetroCheckBox statueCheckBox;
private MetroFramework.Controls.MetroCheckBox zombieCheckBox;
private MetroFramework.Controls.MetroCheckBox staticLegsCheckBox;
private MetroFramework.Controls.MetroCheckBox bobbingCheckBox;
private MetroFramework.Controls.MetroCheckBox santaCheckBox;
private MetroFramework.Controls.MetroCheckBox noArmorCheckBox;
private MetroFramework.Controls.MetroCheckBox dinnerboneCheckBox;
private MetroFramework.Controls.MetroCheckBox crouchCheckBox;
private MetroFramework.Controls.MetroCheckBox unknownCheckBox;
private MetroFramework.Controls.MetroButton copyButton;
private MetroFramework.Controls.MetroButton importButton;
private MetroFramework.Controls.MetroButton exportButton;
private MetroFramework.Controls.MetroLabel animValue;
private MetroFramework.Controls.MetroButton uncheckButton;
private MetroFramework.Controls.MetroButton checkButton;
private MetroFramework.Components.MetroToolTip toolTip;
}
}
@@ -0,0 +1,230 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows.Forms;
using PckStudio.Classes.Utils;
namespace PckStudio.Forms.Utilities.Skins
{
public partial class ANIMEditor : MetroFramework.Forms.MetroForm
{
public bool saved = false;
public string outANIM => animValue.Text;
SkinANIM anim = new SkinANIM();
void processCheckBoxes(bool set_all = false, bool value = false)
{
bobbingCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.HEAD_BOBBING_DISABLED);
bodyCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.BODY_DISABLED);
bodyOCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.BODY_OVERLAY_DISABLED);
chestplateCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.FORCE_BODY_ARMOR);
classicCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.RESOLUTION_64x64);
crouchCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.DO_BACKWARDS_CROUCH);
dinnerboneCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.DINNERBONE);
headCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.HEAD_DISABLED);
headOCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.HEAD_OVERLAY_DISABLED);
helmetCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.FORCE_HEAD_ARMOR);
leftArmCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.LEFT_ARM_DISABLED);
leftArmOCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.LEFT_ARM_OVERLAY_DISABLED);
leftArmorCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.FORCE_LEFT_ARM_ARMOR);
leftLegCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.LEFT_LEG_DISABLED);
leftLeggingCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.FORCE_LEFT_LEG_ARMOR);
leftLegOCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.LEFT_LEG_OVERLAY_DISABLED);
noArmorCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.ALL_ARMOR_DISABLED);
rightArmCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_ARM_DISABLED);
rightArmOCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_ARM_OVERLAY_DISABLED);
rightArmorCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.FORCE_RIGHT_ARM_ARMOR);
rightLegCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_LEG_DISABLED);
rightLeggingCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.FORCE_RIGHT_LEG_ARMOR);
rightLegOCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_LEG_OVERLAY_DISABLED);
santaCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.BAD_SANTA);
slimCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.SLIM_MODEL);
staticArmsCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.STATIC_ARMS);
staticLegsCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.STATIC_LEGS);
statueCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.STATUE_OF_LIBERTY);
syncArmsCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.SYNCED_ARMS);
syncLegsCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.SYNCED_LEGS);
unknownCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.unk_BIT4);
zombieCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.ZOMBIE_ARMS);
}
public ANIMEditor(string ANIM)
{
InitializeComponent();
anim = new SkinANIM(ANIM);
if (!anim.isValid) Close();
bobbingCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.HEAD_BOBBING_DISABLED); };
bodyCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.BODY_DISABLED); };
bodyOCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.BODY_OVERLAY_DISABLED); };
chestplateCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_BODY_ARMOR); };
classicCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.RESOLUTION_64x64); };
crouchCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.DO_BACKWARDS_CROUCH); };
dinnerboneCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.DINNERBONE); };
headCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.HEAD_DISABLED); };
headOCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.HEAD_OVERLAY_DISABLED); };
helmetCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_HEAD_ARMOR); };
leftArmCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.LEFT_ARM_DISABLED); };
leftArmOCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.LEFT_ARM_OVERLAY_DISABLED); };
leftArmorCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_LEFT_ARM_ARMOR); };
leftLegCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.LEFT_LEG_DISABLED); };
leftLeggingCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_LEFT_LEG_ARMOR); };
leftLegOCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.LEFT_LEG_OVERLAY_DISABLED); };
noArmorCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.ALL_ARMOR_DISABLED); };
rightArmCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.RIGHT_ARM_DISABLED); };
rightArmOCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.RIGHT_ARM_OVERLAY_DISABLED); };
rightArmorCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_RIGHT_ARM_ARMOR); };
rightLegCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.RIGHT_LEG_DISABLED); };
rightLeggingCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_RIGHT_LEG_ARMOR); };
rightLegOCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.RIGHT_LEG_OVERLAY_DISABLED); };
santaCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.BAD_SANTA); };
slimCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.SLIM_MODEL); };
staticArmsCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.STATIC_ARMS); };
staticLegsCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.STATIC_LEGS); };
statueCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.STATUE_OF_LIBERTY); };
syncArmsCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.SYNCED_ARMS); };
syncLegsCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.SYNCED_LEGS); };
unknownCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.unk_BIT4); };
zombieCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.ZOMBIE_ARMS); };
helmetCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_HEAD_ARMOR); };
chestplateCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_BODY_ARMOR); };
rightArmorCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_RIGHT_ARM_ARMOR); };
leftArmorCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_LEFT_ARM_ARMOR); };
rightLeggingCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_RIGHT_LEG_ARMOR); };
leftLeggingCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_LEFT_LEG_ARMOR); };
processCheckBoxes();
}
private void closeButton_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
saved = true;
Close();
}
private void flagChanged(object sender, EventArgs e, eANIM_EFFECTS flag)
{
// Set value
anim.SetANIMFlag(flag, ((CheckBox)sender).Checked && ((CheckBox)sender).Enabled);
// Armor flags don't work if the respective parts are not enabled
helmetCheckBox.Enabled = anim.GetANIMFlag(eANIM_EFFECTS.HEAD_DISABLED);
chestplateCheckBox.Enabled = anim.GetANIMFlag(eANIM_EFFECTS.BODY_DISABLED);
rightArmorCheckBox.Enabled = anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_ARM_DISABLED);
leftArmorCheckBox.Enabled = anim.GetANIMFlag(eANIM_EFFECTS.LEFT_ARM_DISABLED);
rightLeggingCheckBox.Enabled = anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_LEG_DISABLED);
leftLeggingCheckBox.Enabled = anim.GetANIMFlag(eANIM_EFFECTS.LEFT_LEG_DISABLED);
animValue.Text = anim.ToString();
}
private void copyButton_Click(object sender, EventArgs e)
{
Clipboard.SetText(animValue.Text);
}
private void importButton_Click(object sender, EventArgs e)
{
SkinANIM check = new SkinANIM(":3");
string new_value = "";
bool first = true;
while (!check.isValid)
{
if (!first) MessageBox.Show("The following value \"" + new_value + "\" is not valid. Please try again.");
RenamePrompt diag = new RenamePrompt(new_value);
diag.TextLabel.Text = "ANIM";
diag.OKButton.Text = "Ok";
if (diag.ShowDialog() == DialogResult.OK)
{
new_value = diag.NewText;
check = new SkinANIM(new_value);
}
else return;
first = false;
}
anim = check;
processCheckBoxes();
}
private void uncheckButton_Click(object sender, EventArgs e)
{
processCheckBoxes(true);
}
private void checkButton_Click(object sender, EventArgs e)
{
processCheckBoxes(true, true);
}
private void exportButton_Click(object sender, EventArgs e)
{
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.FileName = animValue.Text + ".png";
saveFileDialog.Filter = "Skin textures|*.png";
if (saveFileDialog.ShowDialog() != DialogResult.OK ||
string.IsNullOrWhiteSpace(Path.GetDirectoryName(saveFileDialog.FileName))) return;
bool isSlim = anim.GetANIMFlag(eANIM_EFFECTS.SLIM_MODEL);
bool isClassic64 = anim.GetANIMFlag(eANIM_EFFECTS.RESOLUTION_64x64);
bool isClassic32 = !isSlim && !isClassic64;
Image skin = isSlim ? Properties.Resources.slim_template : Properties.Resources.classic_template;
Bitmap nb = new Bitmap(64, (!isSlim && !isClassic64) ? 32 : 64);
using (Graphics g = Graphics.FromImage(nb))
{
g.DrawImage(skin, new Rectangle(0, 0, 64, isClassic32 ? 32 : 64), new Rectangle(0, 0, 64, isClassic32 ? 32 : 64), GraphicsUnit.Pixel);
if (anim.GetANIMFlag(eANIM_EFFECTS.HEAD_OVERLAY_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(32, 0, 32, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.HEAD_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(0, 0, 32, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.BODY_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(16, 16, 24, 16));
if (nb.Height == 64)
{
if (anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_ARM_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(40, 16, 16, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_LEG_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(0, 16, 16, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.BODY_OVERLAY_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(16, 32, 24, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_ARM_OVERLAY_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(40, 32, 16, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_LEG_OVERLAY_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(0, 32, 16, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.LEFT_LEG_OVERLAY_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(0, 48, 16, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.LEFT_LEG_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(16, 48, 16, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.LEFT_ARM_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(32, 48, 16, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.LEFT_ARM_OVERLAY_DISABLED)) g.FillRectangle(Brushes.Magenta, new Rectangle(48, 48, 16, 16));
}
else
{
// Since both classic 32 arms and legs use the same texture, removing the texture would remove both limbs instead of just one.
// So both must be disabled by the user before they're removed from the texture;
if (anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_ARM_DISABLED) && anim.GetANIMFlag(eANIM_EFFECTS.LEFT_ARM_DISABLED))
g.FillRectangle(Brushes.Magenta, new Rectangle(40, 16, 16, 16));
if (anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_LEG_DISABLED) && anim.GetANIMFlag(eANIM_EFFECTS.LEFT_LEG_DISABLED))
g.FillRectangle(Brushes.Magenta, new Rectangle(0, 16, 16, 16));
}
nb.MakeTransparent(Color.Magenta);
skin = nb;
}
skin.Save(saveFileDialog.FileName);
}
}
}
@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>