From 5aa3d9f85919ffc599b8115f15790daf4f5d7813 Mon Sep 17 00:00:00 2001 From: cadon Date: Mon, 23 May 2016 19:41:45 +0200 Subject: [PATCH] readded copy to clipboard from extractor. renamed creatures-menu to edit. --- ARKBreedingStats/Form1.Designer.cs | 886 ++++++++++---------- ARKBreedingStats/Form1.cs | 97 +-- ARKBreedingStats/Properties/AssemblyInfo.cs | 2 +- ARKBreedingStats/Settings.cs | 2 +- 4 files changed, 494 insertions(+), 493 deletions(-) diff --git a/ARKBreedingStats/Form1.Designer.cs b/ARKBreedingStats/Form1.Designer.cs index 94ff4d89..fc0b2efd 100644 --- a/ARKBreedingStats/Form1.Designer.cs +++ b/ARKBreedingStats/Form1.Designer.cs @@ -101,19 +101,37 @@ private void InitializeComponent() this.tabPageStatTesting = new System.Windows.Forms.TabPage(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.labelTesterTotalLevel = new System.Windows.Forms.Label(); + this.statTestingHealth = new ARKBreedingStats.StatIO(); this.labelDomLevelSum = new System.Windows.Forms.Label(); + this.statTestingStamina = new ARKBreedingStats.StatIO(); + this.statTestingOxygen = new ARKBreedingStats.StatIO(); this.labelNotTamedNoteTesting = new System.Windows.Forms.Label(); + this.statTestingFood = new ARKBreedingStats.StatIO(); this.label10 = new System.Windows.Forms.Label(); + this.statTestingWeight = new ARKBreedingStats.StatIO(); + this.statTestingDamage = new ARKBreedingStats.StatIO(); + this.statTestingSpeed = new ARKBreedingStats.StatIO(); + this.statTestingTorpor = new ARKBreedingStats.StatIO(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.labelCurrentTesterCreature = new System.Windows.Forms.Label(); this.labelTestingInfo = new System.Windows.Forms.Label(); + this.creatureInfoInputTester = new ARKBreedingStats.CreatureInfoInput(); this.tabPageExtractor = new System.Windows.Forms.TabPage(); this.btnReadValuesFromArk = new System.Windows.Forms.Button(); this.groupBox7 = new System.Windows.Forms.GroupBox(); + this.statIOHealth = new ARKBreedingStats.StatIO(); + this.statIODamage = new ARKBreedingStats.StatIO(); + this.statIOTorpor = new ARKBreedingStats.StatIO(); + this.statIOWeight = new ARKBreedingStats.StatIO(); + this.statIOSpeed = new ARKBreedingStats.StatIO(); + this.statIOFood = new ARKBreedingStats.StatIO(); + this.statIOOxygen = new ARKBreedingStats.StatIO(); + this.statIOStamina = new ARKBreedingStats.StatIO(); this.buttonExtract = new System.Windows.Forms.Button(); this.checkBoxQuickWildCheck = new System.Windows.Forms.CheckBox(); this.buttonHelp = new System.Windows.Forms.Button(); this.labelErrorHelp = new System.Windows.Forms.Label(); + this.creatureInfoInputExtractor = new ARKBreedingStats.CreatureInfoInput(); this.tabPageLibrary = new System.Windows.Forms.TabPage(); this.tableLayoutPanelLibrary = new System.Windows.Forms.TableLayoutPanel(); this.tabControlLibFilter = new System.Windows.Forms.TabControl(); @@ -156,16 +174,21 @@ private void InitializeComponent() this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); this.editAllSelectedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemRemove = new System.Windows.Forms.ToolStripMenuItem(); + this.creatureBoxListView = new ARKBreedingStats.CreatureBox(); this.tabPageBreedingPlan = new System.Windows.Forms.TabPage(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.listViewSpeciesBP = new System.Windows.Forms.ListView(); + this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.breedingPlan1 = new ARKBreedingStats.BreedingPlan(); this.buttonDetBestBreeding = new System.Windows.Forms.Button(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.radioButtonBPTopStatsCn = new System.Windows.Forms.RadioButton(); this.radioButtonBPHighStats = new System.Windows.Forms.RadioButton(); this.radioButtonBPTopStats = new System.Windows.Forms.RadioButton(); + this.statWeighting1 = new ARKBreedingStats.StatWeighting(); this.tabPagePedigree = new System.Windows.Forms.TabPage(); + this.pedigree1 = new ARKBreedingStats.Pedigree(); this.TabPageOCR = new System.Windows.Forms.TabPage(); this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.OCRDebugLayoutPanel = new System.Windows.Forms.FlowLayoutPanel(); @@ -176,6 +199,7 @@ private void InitializeComponent() this.txtOCROutput = new System.Windows.Forms.TextBox(); this.btnTestOCR = new System.Windows.Forms.Button(); this.tabPageTimer = new System.Windows.Forms.TabPage(); + this.timerList1 = new ARKBreedingStats.TimerList(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar(); this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); @@ -191,30 +215,6 @@ private void InitializeComponent() this.toolStripButtonCopy2Extractor = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonClear = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonExtract = new System.Windows.Forms.ToolStripButton(); - this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.statTestingHealth = new ARKBreedingStats.StatIO(); - this.statTestingStamina = new ARKBreedingStats.StatIO(); - this.statTestingOxygen = new ARKBreedingStats.StatIO(); - this.statTestingFood = new ARKBreedingStats.StatIO(); - this.statTestingWeight = new ARKBreedingStats.StatIO(); - this.statTestingDamage = new ARKBreedingStats.StatIO(); - this.statTestingSpeed = new ARKBreedingStats.StatIO(); - this.statTestingTorpor = new ARKBreedingStats.StatIO(); - this.creatureInfoInputTester = new ARKBreedingStats.CreatureInfoInput(); - this.statIOHealth = new ARKBreedingStats.StatIO(); - this.statIODamage = new ARKBreedingStats.StatIO(); - this.statIOTorpor = new ARKBreedingStats.StatIO(); - this.statIOWeight = new ARKBreedingStats.StatIO(); - this.statIOSpeed = new ARKBreedingStats.StatIO(); - this.statIOFood = new ARKBreedingStats.StatIO(); - this.statIOOxygen = new ARKBreedingStats.StatIO(); - this.statIOStamina = new ARKBreedingStats.StatIO(); - this.creatureInfoInputExtractor = new ARKBreedingStats.CreatureInfoInput(); - this.creatureBoxListView = new ARKBreedingStats.CreatureBox(); - this.breedingPlan1 = new ARKBreedingStats.BreedingPlan(); - this.statWeighting1 = new ARKBreedingStats.StatWeighting(); - this.pedigree1 = new ARKBreedingStats.Pedigree(); - this.timerList1 = new ARKBreedingStats.TimerList(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.NumericUpDownTestingTE)).BeginInit(); this.groupBoxPossibilities.SuspendLayout(); @@ -747,8 +747,8 @@ private void InitializeComponent() this.setStatusToolStripMenuItem, this.multiSetterToolStripMenuItem}); this.creatureToolStripMenuItem.Name = "creatureToolStripMenuItem"; - this.creatureToolStripMenuItem.Size = new System.Drawing.Size(69, 20); - this.creatureToolStripMenuItem.Text = "Creatures"; + this.creatureToolStripMenuItem.Size = new System.Drawing.Size(39, 20); + this.creatureToolStripMenuItem.Text = "Edit"; // // deleteSelectedToolStripMenuItem // @@ -956,6 +956,24 @@ private void InitializeComponent() this.labelTesterTotalLevel.TabIndex = 49; this.labelTesterTotalLevel.Text = "Total Level"; // + // statTestingHealth + // + this.statTestingHealth.BackColor = System.Drawing.Color.Transparent; + this.statTestingHealth.BreedingValue = 0D; + this.statTestingHealth.DomLevelZero = false; + this.statTestingHealth.ForeColor = System.Drawing.SystemColors.ControlText; + this.statTestingHealth.Input = 100D; + this.statTestingHealth.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statTestingHealth.LevelDom = 0; + this.statTestingHealth.LevelWild = 0; + this.statTestingHealth.Location = new System.Drawing.Point(6, 32); + this.statTestingHealth.Name = "statTestingHealth"; + this.statTestingHealth.Percent = false; + this.statTestingHealth.Size = new System.Drawing.Size(295, 50); + this.statTestingHealth.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statTestingHealth.TabIndex = 1; + this.statTestingHealth.Unknown = false; + // // labelDomLevelSum // this.labelDomLevelSum.AutoSize = true; @@ -965,6 +983,42 @@ private void InitializeComponent() this.labelDomLevelSum.TabIndex = 46; this.labelDomLevelSum.Text = "Dom Levels"; // + // statTestingStamina + // + this.statTestingStamina.BackColor = System.Drawing.Color.Transparent; + this.statTestingStamina.BreedingValue = 0D; + this.statTestingStamina.DomLevelZero = false; + this.statTestingStamina.ForeColor = System.Drawing.SystemColors.ControlText; + this.statTestingStamina.Input = 100D; + this.statTestingStamina.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statTestingStamina.LevelDom = 0; + this.statTestingStamina.LevelWild = 0; + this.statTestingStamina.Location = new System.Drawing.Point(6, 82); + this.statTestingStamina.Name = "statTestingStamina"; + this.statTestingStamina.Percent = false; + this.statTestingStamina.Size = new System.Drawing.Size(295, 50); + this.statTestingStamina.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statTestingStamina.TabIndex = 2; + this.statTestingStamina.Unknown = false; + // + // statTestingOxygen + // + this.statTestingOxygen.BackColor = System.Drawing.Color.Transparent; + this.statTestingOxygen.BreedingValue = 0D; + this.statTestingOxygen.DomLevelZero = false; + this.statTestingOxygen.ForeColor = System.Drawing.SystemColors.ControlText; + this.statTestingOxygen.Input = 100D; + this.statTestingOxygen.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statTestingOxygen.LevelDom = 0; + this.statTestingOxygen.LevelWild = 0; + this.statTestingOxygen.Location = new System.Drawing.Point(6, 132); + this.statTestingOxygen.Name = "statTestingOxygen"; + this.statTestingOxygen.Percent = false; + this.statTestingOxygen.Size = new System.Drawing.Size(295, 50); + this.statTestingOxygen.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statTestingOxygen.TabIndex = 3; + this.statTestingOxygen.Unknown = false; + // // labelNotTamedNoteTesting // this.labelNotTamedNoteTesting.Location = new System.Drawing.Point(6, 469); @@ -974,6 +1028,24 @@ private void InitializeComponent() this.labelNotTamedNoteTesting.Text = "*Creature is not yet tamed and may get better values then."; this.labelNotTamedNoteTesting.Visible = false; // + // statTestingFood + // + this.statTestingFood.BackColor = System.Drawing.Color.Transparent; + this.statTestingFood.BreedingValue = 0D; + this.statTestingFood.DomLevelZero = false; + this.statTestingFood.ForeColor = System.Drawing.SystemColors.ControlText; + this.statTestingFood.Input = 100D; + this.statTestingFood.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statTestingFood.LevelDom = 0; + this.statTestingFood.LevelWild = 0; + this.statTestingFood.Location = new System.Drawing.Point(6, 182); + this.statTestingFood.Name = "statTestingFood"; + this.statTestingFood.Percent = false; + this.statTestingFood.Size = new System.Drawing.Size(295, 50); + this.statTestingFood.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statTestingFood.TabIndex = 4; + this.statTestingFood.Unknown = false; + // // label10 // this.label10.AutoSize = true; @@ -983,6 +1055,78 @@ private void InitializeComponent() this.label10.TabIndex = 36; this.label10.Text = "Current Value"; // + // statTestingWeight + // + this.statTestingWeight.BackColor = System.Drawing.Color.Transparent; + this.statTestingWeight.BreedingValue = 0D; + this.statTestingWeight.DomLevelZero = false; + this.statTestingWeight.ForeColor = System.Drawing.SystemColors.ControlText; + this.statTestingWeight.Input = 100D; + this.statTestingWeight.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statTestingWeight.LevelDom = 0; + this.statTestingWeight.LevelWild = 0; + this.statTestingWeight.Location = new System.Drawing.Point(6, 232); + this.statTestingWeight.Name = "statTestingWeight"; + this.statTestingWeight.Percent = false; + this.statTestingWeight.Size = new System.Drawing.Size(295, 50); + this.statTestingWeight.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statTestingWeight.TabIndex = 5; + this.statTestingWeight.Unknown = false; + // + // statTestingDamage + // + this.statTestingDamage.BackColor = System.Drawing.Color.Transparent; + this.statTestingDamage.BreedingValue = 0D; + this.statTestingDamage.DomLevelZero = false; + this.statTestingDamage.ForeColor = System.Drawing.SystemColors.ControlText; + this.statTestingDamage.Input = 100D; + this.statTestingDamage.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statTestingDamage.LevelDom = 0; + this.statTestingDamage.LevelWild = 0; + this.statTestingDamage.Location = new System.Drawing.Point(6, 282); + this.statTestingDamage.Name = "statTestingDamage"; + this.statTestingDamage.Percent = false; + this.statTestingDamage.Size = new System.Drawing.Size(295, 50); + this.statTestingDamage.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statTestingDamage.TabIndex = 6; + this.statTestingDamage.Unknown = false; + // + // statTestingSpeed + // + this.statTestingSpeed.BackColor = System.Drawing.Color.Transparent; + this.statTestingSpeed.BreedingValue = 0D; + this.statTestingSpeed.DomLevelZero = false; + this.statTestingSpeed.ForeColor = System.Drawing.SystemColors.ControlText; + this.statTestingSpeed.Input = 100D; + this.statTestingSpeed.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statTestingSpeed.LevelDom = 0; + this.statTestingSpeed.LevelWild = 0; + this.statTestingSpeed.Location = new System.Drawing.Point(6, 332); + this.statTestingSpeed.Name = "statTestingSpeed"; + this.statTestingSpeed.Percent = false; + this.statTestingSpeed.Size = new System.Drawing.Size(295, 50); + this.statTestingSpeed.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statTestingSpeed.TabIndex = 7; + this.statTestingSpeed.Unknown = false; + // + // statTestingTorpor + // + this.statTestingTorpor.BackColor = System.Drawing.Color.Transparent; + this.statTestingTorpor.BreedingValue = 0D; + this.statTestingTorpor.DomLevelZero = false; + this.statTestingTorpor.ForeColor = System.Drawing.SystemColors.ControlText; + this.statTestingTorpor.Input = 100D; + this.statTestingTorpor.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statTestingTorpor.LevelDom = 0; + this.statTestingTorpor.LevelWild = 0; + this.statTestingTorpor.Location = new System.Drawing.Point(6, 382); + this.statTestingTorpor.Name = "statTestingTorpor"; + this.statTestingTorpor.Percent = false; + this.statTestingTorpor.Size = new System.Drawing.Size(295, 50); + this.statTestingTorpor.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statTestingTorpor.TabIndex = 8; + this.statTestingTorpor.Unknown = false; + // // groupBox5 // this.groupBox5.Controls.Add(this.labelCurrentTesterCreature); @@ -1012,6 +1156,25 @@ private void InitializeComponent() this.labelTestingInfo.Text = "Insert Numbers to see what value the creature will have.\r\nChoose Edit in the cont" + "ext-menu of a creature to insert its numbers here. You can also save it back aft" + "er changing."; + // + // creatureInfoInputTester + // + this.creatureInfoInputTester.Cooldown = new System.DateTime(((long)(0))); + this.creatureInfoInputTester.CreatureGender = ARKBreedingStats.Gender.Unknown; + this.creatureInfoInputTester.CreatureName = ""; + this.creatureInfoInputTester.CreatureNote = ""; + this.creatureInfoInputTester.CreatureOwner = ""; + this.creatureInfoInputTester.CreatureStatus = ARKBreedingStats.CreatureStatus.Available; + this.creatureInfoInputTester.father = null; + this.creatureInfoInputTester.Grown = new System.DateTime(((long)(0))); + this.creatureInfoInputTester.Location = new System.Drawing.Point(321, 314); + this.creatureInfoInputTester.mother = null; + this.creatureInfoInputTester.Name = "creatureInfoInputTester"; + this.creatureInfoInputTester.Size = new System.Drawing.Size(229, 221); + this.creatureInfoInputTester.TabIndex = 12; + this.creatureInfoInputTester.Add2Library_Clicked += new ARKBreedingStats.CreatureInfoInput.Add2LibraryClickedEventHandler(this.creatureInfoInputTester_Add2Library_Clicked); + this.creatureInfoInputTester.Save2Library_Clicked += new ARKBreedingStats.CreatureInfoInput.Save2LibraryClickedEventHandler(this.creatureInfoInputTester_Save2Library_Clicked); + this.creatureInfoInputTester.ParentListRequested += new ARKBreedingStats.CreatureInfoInput.RequestParentListEventHandler(this.creatureInfoInput_ParentListRequested); // // tabPageExtractor // @@ -1071,36 +1234,187 @@ private void InitializeComponent() this.groupBox7.TabStop = false; this.groupBox7.Text = "Stats"; // - // buttonExtract - // - this.buttonExtract.Location = new System.Drawing.Point(321, 192); - this.buttonExtract.Name = "buttonExtract"; - this.buttonExtract.Size = new System.Drawing.Size(229, 31); - this.buttonExtract.TabIndex = 8; - this.buttonExtract.Text = "Extract Level Distribution"; - this.buttonExtract.UseVisualStyleBackColor = true; - this.buttonExtract.Click += new System.EventHandler(this.buttonExtract_Click); - // - // checkBoxQuickWildCheck + // statIOHealth // - this.checkBoxQuickWildCheck.AutoSize = true; - this.checkBoxQuickWildCheck.Location = new System.Drawing.Point(556, 8); - this.checkBoxQuickWildCheck.Name = "checkBoxQuickWildCheck"; - this.checkBoxQuickWildCheck.Size = new System.Drawing.Size(155, 17); - this.checkBoxQuickWildCheck.TabIndex = 13; - this.checkBoxQuickWildCheck.Text = "Quick Wild-Creature Check"; - this.checkBoxQuickWildCheck.UseVisualStyleBackColor = true; - this.checkBoxQuickWildCheck.CheckedChanged += new System.EventHandler(this.checkBoxQuickWildCheck_CheckedChanged); + this.statIOHealth.BackColor = System.Drawing.Color.Transparent; + this.statIOHealth.BreedingValue = 0D; + this.statIOHealth.DomLevelZero = false; + this.statIOHealth.ForeColor = System.Drawing.SystemColors.ControlText; + this.statIOHealth.Input = 100D; + this.statIOHealth.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statIOHealth.LevelDom = 0; + this.statIOHealth.LevelWild = 0; + this.statIOHealth.Location = new System.Drawing.Point(6, 32); + this.statIOHealth.Name = "statIOHealth"; + this.statIOHealth.Percent = false; + this.statIOHealth.Size = new System.Drawing.Size(295, 50); + this.statIOHealth.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statIOHealth.TabIndex = 0; + this.statIOHealth.Unknown = false; + this.statIOHealth.Click += new System.EventHandler(this.statIO_Click); // - // buttonHelp + // statIODamage // - this.buttonHelp.Location = new System.Drawing.Point(559, 428); - this.buttonHelp.Name = "buttonHelp"; - this.buttonHelp.Size = new System.Drawing.Size(202, 30); - this.buttonHelp.TabIndex = 10; - this.buttonHelp.Text = "Stat-boxes are red: Online-Help"; - this.buttonHelp.UseVisualStyleBackColor = true; - this.buttonHelp.Visible = false; + this.statIODamage.BackColor = System.Drawing.Color.Transparent; + this.statIODamage.BreedingValue = 0D; + this.statIODamage.DomLevelZero = false; + this.statIODamage.ForeColor = System.Drawing.SystemColors.ControlText; + this.statIODamage.Input = 100D; + this.statIODamage.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statIODamage.LevelDom = 0; + this.statIODamage.LevelWild = 0; + this.statIODamage.Location = new System.Drawing.Point(6, 282); + this.statIODamage.Name = "statIODamage"; + this.statIODamage.Percent = false; + this.statIODamage.Size = new System.Drawing.Size(295, 50); + this.statIODamage.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statIODamage.TabIndex = 5; + this.statIODamage.Unknown = false; + this.statIODamage.Click += new System.EventHandler(this.statIO_Click); + // + // statIOTorpor + // + this.statIOTorpor.BackColor = System.Drawing.Color.Transparent; + this.statIOTorpor.BreedingValue = 0D; + this.statIOTorpor.DomLevelZero = false; + this.statIOTorpor.ForeColor = System.Drawing.SystemColors.ControlText; + this.statIOTorpor.Input = 100D; + this.statIOTorpor.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statIOTorpor.LevelDom = 0; + this.statIOTorpor.LevelWild = 0; + this.statIOTorpor.Location = new System.Drawing.Point(6, 382); + this.statIOTorpor.Name = "statIOTorpor"; + this.statIOTorpor.Percent = false; + this.statIOTorpor.Size = new System.Drawing.Size(295, 50); + this.statIOTorpor.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statIOTorpor.TabIndex = 7; + this.statIOTorpor.Unknown = false; + // + // statIOWeight + // + this.statIOWeight.BackColor = System.Drawing.Color.Transparent; + this.statIOWeight.BreedingValue = 0D; + this.statIOWeight.DomLevelZero = false; + this.statIOWeight.ForeColor = System.Drawing.SystemColors.ControlText; + this.statIOWeight.Input = 100D; + this.statIOWeight.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statIOWeight.LevelDom = 0; + this.statIOWeight.LevelWild = 0; + this.statIOWeight.Location = new System.Drawing.Point(6, 232); + this.statIOWeight.Name = "statIOWeight"; + this.statIOWeight.Percent = false; + this.statIOWeight.Size = new System.Drawing.Size(295, 50); + this.statIOWeight.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statIOWeight.TabIndex = 4; + this.statIOWeight.Unknown = false; + this.statIOWeight.Click += new System.EventHandler(this.statIO_Click); + // + // statIOSpeed + // + this.statIOSpeed.BackColor = System.Drawing.Color.Transparent; + this.statIOSpeed.BreedingValue = 0D; + this.statIOSpeed.DomLevelZero = false; + this.statIOSpeed.ForeColor = System.Drawing.SystemColors.ControlText; + this.statIOSpeed.Input = 100D; + this.statIOSpeed.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statIOSpeed.LevelDom = 0; + this.statIOSpeed.LevelWild = 0; + this.statIOSpeed.Location = new System.Drawing.Point(6, 332); + this.statIOSpeed.Name = "statIOSpeed"; + this.statIOSpeed.Percent = false; + this.statIOSpeed.Size = new System.Drawing.Size(295, 50); + this.statIOSpeed.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statIOSpeed.TabIndex = 6; + this.statIOSpeed.Unknown = false; + this.statIOSpeed.Click += new System.EventHandler(this.statIO_Click); + // + // statIOFood + // + this.statIOFood.BackColor = System.Drawing.Color.Transparent; + this.statIOFood.BreedingValue = 0D; + this.statIOFood.DomLevelZero = false; + this.statIOFood.ForeColor = System.Drawing.SystemColors.ControlText; + this.statIOFood.Input = 100D; + this.statIOFood.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statIOFood.LevelDom = 0; + this.statIOFood.LevelWild = 0; + this.statIOFood.Location = new System.Drawing.Point(6, 182); + this.statIOFood.Name = "statIOFood"; + this.statIOFood.Percent = false; + this.statIOFood.Size = new System.Drawing.Size(295, 50); + this.statIOFood.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statIOFood.TabIndex = 3; + this.statIOFood.Unknown = false; + this.statIOFood.Click += new System.EventHandler(this.statIO_Click); + // + // statIOOxygen + // + this.statIOOxygen.BackColor = System.Drawing.Color.Transparent; + this.statIOOxygen.BreedingValue = 0D; + this.statIOOxygen.DomLevelZero = false; + this.statIOOxygen.ForeColor = System.Drawing.SystemColors.ControlText; + this.statIOOxygen.Input = 100D; + this.statIOOxygen.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statIOOxygen.LevelDom = 0; + this.statIOOxygen.LevelWild = 0; + this.statIOOxygen.Location = new System.Drawing.Point(6, 132); + this.statIOOxygen.Name = "statIOOxygen"; + this.statIOOxygen.Percent = false; + this.statIOOxygen.Size = new System.Drawing.Size(295, 50); + this.statIOOxygen.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statIOOxygen.TabIndex = 2; + this.statIOOxygen.Unknown = false; + this.statIOOxygen.Click += new System.EventHandler(this.statIO_Click); + // + // statIOStamina + // + this.statIOStamina.BackColor = System.Drawing.Color.Transparent; + this.statIOStamina.BreedingValue = 0D; + this.statIOStamina.DomLevelZero = false; + this.statIOStamina.ForeColor = System.Drawing.SystemColors.ControlText; + this.statIOStamina.Input = 100D; + this.statIOStamina.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; + this.statIOStamina.LevelDom = 0; + this.statIOStamina.LevelWild = 0; + this.statIOStamina.Location = new System.Drawing.Point(6, 82); + this.statIOStamina.Name = "statIOStamina"; + this.statIOStamina.Percent = false; + this.statIOStamina.Size = new System.Drawing.Size(295, 50); + this.statIOStamina.Status = ARKBreedingStats.StatIOStatus.Neutral; + this.statIOStamina.TabIndex = 1; + this.statIOStamina.Unknown = false; + this.statIOStamina.Click += new System.EventHandler(this.statIO_Click); + // + // buttonExtract + // + this.buttonExtract.Location = new System.Drawing.Point(321, 192); + this.buttonExtract.Name = "buttonExtract"; + this.buttonExtract.Size = new System.Drawing.Size(229, 31); + this.buttonExtract.TabIndex = 8; + this.buttonExtract.Text = "Extract Level Distribution"; + this.buttonExtract.UseVisualStyleBackColor = true; + this.buttonExtract.Click += new System.EventHandler(this.buttonExtract_Click); + // + // checkBoxQuickWildCheck + // + this.checkBoxQuickWildCheck.AutoSize = true; + this.checkBoxQuickWildCheck.Location = new System.Drawing.Point(556, 8); + this.checkBoxQuickWildCheck.Name = "checkBoxQuickWildCheck"; + this.checkBoxQuickWildCheck.Size = new System.Drawing.Size(155, 17); + this.checkBoxQuickWildCheck.TabIndex = 13; + this.checkBoxQuickWildCheck.Text = "Quick Wild-Creature Check"; + this.checkBoxQuickWildCheck.UseVisualStyleBackColor = true; + this.checkBoxQuickWildCheck.CheckedChanged += new System.EventHandler(this.checkBoxQuickWildCheck_CheckedChanged); + // + // buttonHelp + // + this.buttonHelp.Location = new System.Drawing.Point(559, 428); + this.buttonHelp.Name = "buttonHelp"; + this.buttonHelp.Size = new System.Drawing.Size(202, 30); + this.buttonHelp.TabIndex = 10; + this.buttonHelp.Text = "Stat-boxes are red: Online-Help"; + this.buttonHelp.UseVisualStyleBackColor = true; + this.buttonHelp.Visible = false; this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click); // // labelErrorHelp @@ -1111,6 +1425,24 @@ private void InitializeComponent() this.labelErrorHelp.TabIndex = 40; this.labelErrorHelp.Text = resources.GetString("labelErrorHelp.Text"); // + // creatureInfoInputExtractor + // + this.creatureInfoInputExtractor.Cooldown = new System.DateTime(((long)(0))); + this.creatureInfoInputExtractor.CreatureGender = ARKBreedingStats.Gender.Unknown; + this.creatureInfoInputExtractor.CreatureName = ""; + this.creatureInfoInputExtractor.CreatureNote = ""; + this.creatureInfoInputExtractor.CreatureOwner = ""; + this.creatureInfoInputExtractor.CreatureStatus = ARKBreedingStats.CreatureStatus.Available; + this.creatureInfoInputExtractor.father = null; + this.creatureInfoInputExtractor.Grown = new System.DateTime(((long)(0))); + this.creatureInfoInputExtractor.Location = new System.Drawing.Point(321, 314); + this.creatureInfoInputExtractor.mother = null; + this.creatureInfoInputExtractor.Name = "creatureInfoInputExtractor"; + this.creatureInfoInputExtractor.Size = new System.Drawing.Size(229, 221); + this.creatureInfoInputExtractor.TabIndex = 9; + this.creatureInfoInputExtractor.Add2Library_Clicked += new ARKBreedingStats.CreatureInfoInput.Add2LibraryClickedEventHandler(this.creatureInfoInput1_Add2Library_Clicked); + this.creatureInfoInputExtractor.ParentListRequested += new ARKBreedingStats.CreatureInfoInput.RequestParentListEventHandler(this.creatureInfoInput_ParentListRequested); + // // tabPageLibrary // this.tabPageLibrary.Controls.Add(this.tableLayoutPanelLibrary); @@ -1514,6 +1846,15 @@ private void InitializeComponent() this.toolStripMenuItemRemove.Text = "Remove..."; this.toolStripMenuItemRemove.Click += new System.EventHandler(this.toolStripMenuItemRemove_Click); // + // creatureBoxListView + // + this.creatureBoxListView.Location = new System.Drawing.Point(3, 3); + this.creatureBoxListView.Name = "creatureBoxListView"; + this.creatureBoxListView.Size = new System.Drawing.Size(195, 390); + this.creatureBoxListView.TabIndex = 0; + this.creatureBoxListView.Changed += new ARKBreedingStats.CreatureBox.ChangedEventHandler(this.updateCreatureValues); + this.creatureBoxListView.GiveParents += new ARKBreedingStats.CreatureBox.EventHandler(this.creatureBoxListView_FindParents); + // // tabPageBreedingPlan // this.tabPageBreedingPlan.Controls.Add(this.tableLayoutPanel3); @@ -1575,6 +1916,21 @@ private void InitializeComponent() this.listViewSpeciesBP.View = System.Windows.Forms.View.Details; this.listViewSpeciesBP.SelectedIndexChanged += new System.EventHandler(this.listViewSpeciesBP_SelectedIndexChanged); // + // columnHeader1 + // + this.columnHeader1.Text = "Species"; + this.columnHeader1.Width = 178; + // + // breedingPlan1 + // + this.breedingPlan1.AutoScroll = true; + this.breedingPlan1.Dock = System.Windows.Forms.DockStyle.Fill; + this.breedingPlan1.Location = new System.Drawing.Point(203, 3); + this.breedingPlan1.Name = "breedingPlan1"; + this.tableLayoutPanel3.SetRowSpan(this.breedingPlan1, 3); + this.breedingPlan1.Size = new System.Drawing.Size(704, 586); + this.breedingPlan1.TabIndex = 2; + // // buttonDetBestBreeding // this.tableLayoutPanel3.SetColumnSpan(this.buttonDetBestBreeding, 2); @@ -1633,6 +1989,22 @@ private void InitializeComponent() this.radioButtonBPTopStats.Text = "Top Stats Lc"; this.radioButtonBPTopStats.UseVisualStyleBackColor = true; this.radioButtonBPTopStats.CheckedChanged += new System.EventHandler(this.radioButtonBPTopStats_CheckedChanged); + // + // statWeighting1 + // + this.statWeighting1.CustomWeightings = ((System.Collections.Generic.Dictionary)(resources.GetObject("statWeighting1.CustomWeightings"))); + this.statWeighting1.Location = new System.Drawing.Point(3, 358); + this.statWeighting1.Name = "statWeighting1"; + this.statWeighting1.Size = new System.Drawing.Size(94, 201); + this.statWeighting1.TabIndex = 7; + this.statWeighting1.Values = new double[] { + 1D, + 1D, + 1D, + 1D, + 1D, + 1D, + 1D}; // // tabPagePedigree // @@ -1645,6 +2017,15 @@ private void InitializeComponent() this.tabPagePedigree.Text = "Pedigree"; this.tabPagePedigree.UseVisualStyleBackColor = true; // + // pedigree1 + // + this.pedigree1.AutoScroll = true; + this.pedigree1.Dock = System.Windows.Forms.DockStyle.Fill; + this.pedigree1.Location = new System.Drawing.Point(3, 3); + this.pedigree1.Name = "pedigree1"; + this.pedigree1.Size = new System.Drawing.Size(910, 592); + this.pedigree1.TabIndex = 0; + // // TabPageOCR // this.TabPageOCR.Controls.Add(this.tableLayoutPanel4); @@ -1757,6 +2138,15 @@ private void InitializeComponent() this.tabPageTimer.Text = "Timer"; this.tabPageTimer.UseVisualStyleBackColor = true; // + // timerList1 + // + this.timerList1.Dock = System.Windows.Forms.DockStyle.Fill; + this.timerList1.Location = new System.Drawing.Point(3, 3); + this.timerList1.Name = "timerList1"; + this.timerList1.Size = new System.Drawing.Size(910, 592); + this.timerList1.TabIndex = 0; + this.timerList1.UpdateTimes = false; + // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -1905,396 +2295,6 @@ private void InitializeComponent() this.toolStripButtonExtract.ToolTipText = "Extract Level Distribution"; this.toolStripButtonExtract.Click += new System.EventHandler(this.toolStripButtonExtract_Click); // - // columnHeader1 - // - this.columnHeader1.Text = "Species"; - this.columnHeader1.Width = 178; - // - // statTestingHealth - // - this.statTestingHealth.BackColor = System.Drawing.Color.Transparent; - this.statTestingHealth.BreedingValue = 0D; - this.statTestingHealth.DomLevelZero = false; - this.statTestingHealth.ForeColor = System.Drawing.SystemColors.ControlText; - this.statTestingHealth.Input = 100D; - this.statTestingHealth.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statTestingHealth.LevelDom = 0; - this.statTestingHealth.LevelWild = 0; - this.statTestingHealth.Location = new System.Drawing.Point(6, 32); - this.statTestingHealth.Name = "statTestingHealth"; - this.statTestingHealth.Percent = false; - this.statTestingHealth.Size = new System.Drawing.Size(295, 50); - this.statTestingHealth.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statTestingHealth.TabIndex = 1; - this.statTestingHealth.Unknown = false; - // - // statTestingStamina - // - this.statTestingStamina.BackColor = System.Drawing.Color.Transparent; - this.statTestingStamina.BreedingValue = 0D; - this.statTestingStamina.DomLevelZero = false; - this.statTestingStamina.ForeColor = System.Drawing.SystemColors.ControlText; - this.statTestingStamina.Input = 100D; - this.statTestingStamina.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statTestingStamina.LevelDom = 0; - this.statTestingStamina.LevelWild = 0; - this.statTestingStamina.Location = new System.Drawing.Point(6, 82); - this.statTestingStamina.Name = "statTestingStamina"; - this.statTestingStamina.Percent = false; - this.statTestingStamina.Size = new System.Drawing.Size(295, 50); - this.statTestingStamina.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statTestingStamina.TabIndex = 2; - this.statTestingStamina.Unknown = false; - // - // statTestingOxygen - // - this.statTestingOxygen.BackColor = System.Drawing.Color.Transparent; - this.statTestingOxygen.BreedingValue = 0D; - this.statTestingOxygen.DomLevelZero = false; - this.statTestingOxygen.ForeColor = System.Drawing.SystemColors.ControlText; - this.statTestingOxygen.Input = 100D; - this.statTestingOxygen.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statTestingOxygen.LevelDom = 0; - this.statTestingOxygen.LevelWild = 0; - this.statTestingOxygen.Location = new System.Drawing.Point(6, 132); - this.statTestingOxygen.Name = "statTestingOxygen"; - this.statTestingOxygen.Percent = false; - this.statTestingOxygen.Size = new System.Drawing.Size(295, 50); - this.statTestingOxygen.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statTestingOxygen.TabIndex = 3; - this.statTestingOxygen.Unknown = false; - // - // statTestingFood - // - this.statTestingFood.BackColor = System.Drawing.Color.Transparent; - this.statTestingFood.BreedingValue = 0D; - this.statTestingFood.DomLevelZero = false; - this.statTestingFood.ForeColor = System.Drawing.SystemColors.ControlText; - this.statTestingFood.Input = 100D; - this.statTestingFood.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statTestingFood.LevelDom = 0; - this.statTestingFood.LevelWild = 0; - this.statTestingFood.Location = new System.Drawing.Point(6, 182); - this.statTestingFood.Name = "statTestingFood"; - this.statTestingFood.Percent = false; - this.statTestingFood.Size = new System.Drawing.Size(295, 50); - this.statTestingFood.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statTestingFood.TabIndex = 4; - this.statTestingFood.Unknown = false; - // - // statTestingWeight - // - this.statTestingWeight.BackColor = System.Drawing.Color.Transparent; - this.statTestingWeight.BreedingValue = 0D; - this.statTestingWeight.DomLevelZero = false; - this.statTestingWeight.ForeColor = System.Drawing.SystemColors.ControlText; - this.statTestingWeight.Input = 100D; - this.statTestingWeight.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statTestingWeight.LevelDom = 0; - this.statTestingWeight.LevelWild = 0; - this.statTestingWeight.Location = new System.Drawing.Point(6, 232); - this.statTestingWeight.Name = "statTestingWeight"; - this.statTestingWeight.Percent = false; - this.statTestingWeight.Size = new System.Drawing.Size(295, 50); - this.statTestingWeight.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statTestingWeight.TabIndex = 5; - this.statTestingWeight.Unknown = false; - // - // statTestingDamage - // - this.statTestingDamage.BackColor = System.Drawing.Color.Transparent; - this.statTestingDamage.BreedingValue = 0D; - this.statTestingDamage.DomLevelZero = false; - this.statTestingDamage.ForeColor = System.Drawing.SystemColors.ControlText; - this.statTestingDamage.Input = 100D; - this.statTestingDamage.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statTestingDamage.LevelDom = 0; - this.statTestingDamage.LevelWild = 0; - this.statTestingDamage.Location = new System.Drawing.Point(6, 282); - this.statTestingDamage.Name = "statTestingDamage"; - this.statTestingDamage.Percent = false; - this.statTestingDamage.Size = new System.Drawing.Size(295, 50); - this.statTestingDamage.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statTestingDamage.TabIndex = 6; - this.statTestingDamage.Unknown = false; - // - // statTestingSpeed - // - this.statTestingSpeed.BackColor = System.Drawing.Color.Transparent; - this.statTestingSpeed.BreedingValue = 0D; - this.statTestingSpeed.DomLevelZero = false; - this.statTestingSpeed.ForeColor = System.Drawing.SystemColors.ControlText; - this.statTestingSpeed.Input = 100D; - this.statTestingSpeed.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statTestingSpeed.LevelDom = 0; - this.statTestingSpeed.LevelWild = 0; - this.statTestingSpeed.Location = new System.Drawing.Point(6, 332); - this.statTestingSpeed.Name = "statTestingSpeed"; - this.statTestingSpeed.Percent = false; - this.statTestingSpeed.Size = new System.Drawing.Size(295, 50); - this.statTestingSpeed.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statTestingSpeed.TabIndex = 7; - this.statTestingSpeed.Unknown = false; - // - // statTestingTorpor - // - this.statTestingTorpor.BackColor = System.Drawing.Color.Transparent; - this.statTestingTorpor.BreedingValue = 0D; - this.statTestingTorpor.DomLevelZero = false; - this.statTestingTorpor.ForeColor = System.Drawing.SystemColors.ControlText; - this.statTestingTorpor.Input = 100D; - this.statTestingTorpor.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statTestingTorpor.LevelDom = 0; - this.statTestingTorpor.LevelWild = 0; - this.statTestingTorpor.Location = new System.Drawing.Point(6, 382); - this.statTestingTorpor.Name = "statTestingTorpor"; - this.statTestingTorpor.Percent = false; - this.statTestingTorpor.Size = new System.Drawing.Size(295, 50); - this.statTestingTorpor.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statTestingTorpor.TabIndex = 8; - this.statTestingTorpor.Unknown = false; - // - // creatureInfoInputTester - // - this.creatureInfoInputTester.Cooldown = new System.DateTime(((long)(0))); - this.creatureInfoInputTester.CreatureGender = ARKBreedingStats.Gender.Unknown; - this.creatureInfoInputTester.CreatureName = ""; - this.creatureInfoInputTester.CreatureNote = ""; - this.creatureInfoInputTester.CreatureOwner = ""; - this.creatureInfoInputTester.CreatureStatus = ARKBreedingStats.CreatureStatus.Available; - this.creatureInfoInputTester.father = null; - this.creatureInfoInputTester.Grown = new System.DateTime(((long)(0))); - this.creatureInfoInputTester.Location = new System.Drawing.Point(321, 314); - this.creatureInfoInputTester.mother = null; - this.creatureInfoInputTester.Name = "creatureInfoInputTester"; - this.creatureInfoInputTester.Size = new System.Drawing.Size(229, 221); - this.creatureInfoInputTester.TabIndex = 12; - this.creatureInfoInputTester.Add2Library_Clicked += new ARKBreedingStats.CreatureInfoInput.Add2LibraryClickedEventHandler(this.creatureInfoInputTester_Add2Library_Clicked); - this.creatureInfoInputTester.Save2Library_Clicked += new ARKBreedingStats.CreatureInfoInput.Save2LibraryClickedEventHandler(this.creatureInfoInputTester_Save2Library_Clicked); - this.creatureInfoInputTester.ParentListRequested += new ARKBreedingStats.CreatureInfoInput.RequestParentListEventHandler(this.creatureInfoInput_ParentListRequested); - // - // statIOHealth - // - this.statIOHealth.BackColor = System.Drawing.Color.Transparent; - this.statIOHealth.BreedingValue = 0D; - this.statIOHealth.DomLevelZero = false; - this.statIOHealth.ForeColor = System.Drawing.SystemColors.ControlText; - this.statIOHealth.Input = 100D; - this.statIOHealth.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statIOHealth.LevelDom = 0; - this.statIOHealth.LevelWild = 0; - this.statIOHealth.Location = new System.Drawing.Point(6, 32); - this.statIOHealth.Name = "statIOHealth"; - this.statIOHealth.Percent = false; - this.statIOHealth.Size = new System.Drawing.Size(295, 50); - this.statIOHealth.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statIOHealth.TabIndex = 0; - this.statIOHealth.Unknown = false; - this.statIOHealth.Click += new System.EventHandler(this.statIO_Click); - // - // statIODamage - // - this.statIODamage.BackColor = System.Drawing.Color.Transparent; - this.statIODamage.BreedingValue = 0D; - this.statIODamage.DomLevelZero = false; - this.statIODamage.ForeColor = System.Drawing.SystemColors.ControlText; - this.statIODamage.Input = 100D; - this.statIODamage.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statIODamage.LevelDom = 0; - this.statIODamage.LevelWild = 0; - this.statIODamage.Location = new System.Drawing.Point(6, 282); - this.statIODamage.Name = "statIODamage"; - this.statIODamage.Percent = false; - this.statIODamage.Size = new System.Drawing.Size(295, 50); - this.statIODamage.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statIODamage.TabIndex = 5; - this.statIODamage.Unknown = false; - this.statIODamage.Click += new System.EventHandler(this.statIO_Click); - // - // statIOTorpor - // - this.statIOTorpor.BackColor = System.Drawing.Color.Transparent; - this.statIOTorpor.BreedingValue = 0D; - this.statIOTorpor.DomLevelZero = false; - this.statIOTorpor.ForeColor = System.Drawing.SystemColors.ControlText; - this.statIOTorpor.Input = 100D; - this.statIOTorpor.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statIOTorpor.LevelDom = 0; - this.statIOTorpor.LevelWild = 0; - this.statIOTorpor.Location = new System.Drawing.Point(6, 382); - this.statIOTorpor.Name = "statIOTorpor"; - this.statIOTorpor.Percent = false; - this.statIOTorpor.Size = new System.Drawing.Size(295, 50); - this.statIOTorpor.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statIOTorpor.TabIndex = 7; - this.statIOTorpor.Unknown = false; - // - // statIOWeight - // - this.statIOWeight.BackColor = System.Drawing.Color.Transparent; - this.statIOWeight.BreedingValue = 0D; - this.statIOWeight.DomLevelZero = false; - this.statIOWeight.ForeColor = System.Drawing.SystemColors.ControlText; - this.statIOWeight.Input = 100D; - this.statIOWeight.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statIOWeight.LevelDom = 0; - this.statIOWeight.LevelWild = 0; - this.statIOWeight.Location = new System.Drawing.Point(6, 232); - this.statIOWeight.Name = "statIOWeight"; - this.statIOWeight.Percent = false; - this.statIOWeight.Size = new System.Drawing.Size(295, 50); - this.statIOWeight.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statIOWeight.TabIndex = 4; - this.statIOWeight.Unknown = false; - this.statIOWeight.Click += new System.EventHandler(this.statIO_Click); - // - // statIOSpeed - // - this.statIOSpeed.BackColor = System.Drawing.Color.Transparent; - this.statIOSpeed.BreedingValue = 0D; - this.statIOSpeed.DomLevelZero = false; - this.statIOSpeed.ForeColor = System.Drawing.SystemColors.ControlText; - this.statIOSpeed.Input = 100D; - this.statIOSpeed.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statIOSpeed.LevelDom = 0; - this.statIOSpeed.LevelWild = 0; - this.statIOSpeed.Location = new System.Drawing.Point(6, 332); - this.statIOSpeed.Name = "statIOSpeed"; - this.statIOSpeed.Percent = false; - this.statIOSpeed.Size = new System.Drawing.Size(295, 50); - this.statIOSpeed.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statIOSpeed.TabIndex = 6; - this.statIOSpeed.Unknown = false; - this.statIOSpeed.Click += new System.EventHandler(this.statIO_Click); - // - // statIOFood - // - this.statIOFood.BackColor = System.Drawing.Color.Transparent; - this.statIOFood.BreedingValue = 0D; - this.statIOFood.DomLevelZero = false; - this.statIOFood.ForeColor = System.Drawing.SystemColors.ControlText; - this.statIOFood.Input = 100D; - this.statIOFood.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statIOFood.LevelDom = 0; - this.statIOFood.LevelWild = 0; - this.statIOFood.Location = new System.Drawing.Point(6, 182); - this.statIOFood.Name = "statIOFood"; - this.statIOFood.Percent = false; - this.statIOFood.Size = new System.Drawing.Size(295, 50); - this.statIOFood.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statIOFood.TabIndex = 3; - this.statIOFood.Unknown = false; - this.statIOFood.Click += new System.EventHandler(this.statIO_Click); - // - // statIOOxygen - // - this.statIOOxygen.BackColor = System.Drawing.Color.Transparent; - this.statIOOxygen.BreedingValue = 0D; - this.statIOOxygen.DomLevelZero = false; - this.statIOOxygen.ForeColor = System.Drawing.SystemColors.ControlText; - this.statIOOxygen.Input = 100D; - this.statIOOxygen.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statIOOxygen.LevelDom = 0; - this.statIOOxygen.LevelWild = 0; - this.statIOOxygen.Location = new System.Drawing.Point(6, 132); - this.statIOOxygen.Name = "statIOOxygen"; - this.statIOOxygen.Percent = false; - this.statIOOxygen.Size = new System.Drawing.Size(295, 50); - this.statIOOxygen.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statIOOxygen.TabIndex = 2; - this.statIOOxygen.Unknown = false; - this.statIOOxygen.Click += new System.EventHandler(this.statIO_Click); - // - // statIOStamina - // - this.statIOStamina.BackColor = System.Drawing.Color.Transparent; - this.statIOStamina.BreedingValue = 0D; - this.statIOStamina.DomLevelZero = false; - this.statIOStamina.ForeColor = System.Drawing.SystemColors.ControlText; - this.statIOStamina.Input = 100D; - this.statIOStamina.InputType = ARKBreedingStats.StatIOInputType.FinalValueInputType; - this.statIOStamina.LevelDom = 0; - this.statIOStamina.LevelWild = 0; - this.statIOStamina.Location = new System.Drawing.Point(6, 82); - this.statIOStamina.Name = "statIOStamina"; - this.statIOStamina.Percent = false; - this.statIOStamina.Size = new System.Drawing.Size(295, 50); - this.statIOStamina.Status = ARKBreedingStats.StatIOStatus.Neutral; - this.statIOStamina.TabIndex = 1; - this.statIOStamina.Unknown = false; - this.statIOStamina.Click += new System.EventHandler(this.statIO_Click); - // - // creatureInfoInputExtractor - // - this.creatureInfoInputExtractor.Cooldown = new System.DateTime(((long)(0))); - this.creatureInfoInputExtractor.CreatureGender = ARKBreedingStats.Gender.Unknown; - this.creatureInfoInputExtractor.CreatureName = ""; - this.creatureInfoInputExtractor.CreatureNote = ""; - this.creatureInfoInputExtractor.CreatureOwner = ""; - this.creatureInfoInputExtractor.CreatureStatus = ARKBreedingStats.CreatureStatus.Available; - this.creatureInfoInputExtractor.father = null; - this.creatureInfoInputExtractor.Grown = new System.DateTime(((long)(0))); - this.creatureInfoInputExtractor.Location = new System.Drawing.Point(321, 314); - this.creatureInfoInputExtractor.mother = null; - this.creatureInfoInputExtractor.Name = "creatureInfoInputExtractor"; - this.creatureInfoInputExtractor.Size = new System.Drawing.Size(229, 221); - this.creatureInfoInputExtractor.TabIndex = 9; - this.creatureInfoInputExtractor.Add2Library_Clicked += new ARKBreedingStats.CreatureInfoInput.Add2LibraryClickedEventHandler(this.creatureInfoInput1_Add2Library_Clicked); - this.creatureInfoInputExtractor.ParentListRequested += new ARKBreedingStats.CreatureInfoInput.RequestParentListEventHandler(this.creatureInfoInput_ParentListRequested); - // - // creatureBoxListView - // - this.creatureBoxListView.Location = new System.Drawing.Point(3, 3); - this.creatureBoxListView.Name = "creatureBoxListView"; - this.creatureBoxListView.Size = new System.Drawing.Size(195, 390); - this.creatureBoxListView.TabIndex = 0; - this.creatureBoxListView.Changed += new ARKBreedingStats.CreatureBox.ChangedEventHandler(this.updateCreatureValues); - this.creatureBoxListView.GiveParents += new ARKBreedingStats.CreatureBox.EventHandler(this.creatureBoxListView_FindParents); - // - // breedingPlan1 - // - this.breedingPlan1.AutoScroll = true; - this.breedingPlan1.Dock = System.Windows.Forms.DockStyle.Fill; - this.breedingPlan1.Location = new System.Drawing.Point(203, 3); - this.breedingPlan1.Name = "breedingPlan1"; - this.tableLayoutPanel3.SetRowSpan(this.breedingPlan1, 3); - this.breedingPlan1.Size = new System.Drawing.Size(704, 586); - this.breedingPlan1.TabIndex = 2; - // - // statWeighting1 - // - this.statWeighting1.CustomWeightings = ((System.Collections.Generic.Dictionary)(resources.GetObject("statWeighting1.CustomWeightings"))); - this.statWeighting1.Location = new System.Drawing.Point(3, 358); - this.statWeighting1.Name = "statWeighting1"; - this.statWeighting1.Size = new System.Drawing.Size(94, 201); - this.statWeighting1.TabIndex = 7; - this.statWeighting1.Values = new double[] { - 1D, - 1D, - 1D, - 1D, - 1D, - 1D, - 1D}; - // - // pedigree1 - // - this.pedigree1.AutoScroll = true; - this.pedigree1.Dock = System.Windows.Forms.DockStyle.Fill; - this.pedigree1.Location = new System.Drawing.Point(3, 3); - this.pedigree1.Name = "pedigree1"; - this.pedigree1.Size = new System.Drawing.Size(910, 592); - this.pedigree1.TabIndex = 0; - // - // timerList1 - // - this.timerList1.Dock = System.Windows.Forms.DockStyle.Fill; - this.timerList1.Location = new System.Drawing.Point(3, 3); - this.timerList1.Name = "timerList1"; - this.timerList1.Size = new System.Drawing.Size(910, 592); - this.timerList1.TabIndex = 0; - this.timerList1.UpdateTimes = false; - // // Form1 // this.AcceptButton = this.buttonExtract; diff --git a/ARKBreedingStats/Form1.cs b/ARKBreedingStats/Form1.cs index 5373480b..5e13d04c 100644 --- a/ARKBreedingStats/Form1.cs +++ b/ARKBreedingStats/Form1.cs @@ -209,20 +209,19 @@ private void Form1_Load(object sender, EventArgs e) if (DateTime.Now.AddDays(-7) > lastUpdateCheck) checkForUpdates(true); - // TODO: debug-numbers - statIOs[0].Input = 3600.1; - statIOs[1].Input = 1009.2; - statIOs[2].Input = 290; - statIOs[3].Input = 10500; - statIOs[4].Input = 1140; - statIOs[5].Input = 3.362; - statIOs[6].Input = 2.393; - statIOs[7].Input = 6540.5; - comboBoxSpeciesExtractor.SelectedIndex = speciesNames.IndexOf("Wooly Rhino"); - numericUpDownLevel.Value = 210; - tabControl1.SelectedTab = tabPageExtractor; + //// TODO: debug-numbers + //statIOs[0].Input = 3600.1; + //statIOs[1].Input = 1009.2; + //statIOs[2].Input = 290; + //statIOs[3].Input = 10500; + //statIOs[4].Input = 1140; + //statIOs[5].Input = 3.362; + //statIOs[6].Input = 2.393; + //statIOs[7].Input = 6540.5; + //comboBoxSpeciesExtractor.SelectedIndex = speciesNames.IndexOf("Wooly Rhino"); + //numericUpDownLevel.Value = 210; + //tabControl1.SelectedTab = tabPageExtractor; - // TODO: temporarily remove experimental OCR if (!Properties.Settings.Default.OCR) { tabControl1.TabPages.Remove(TabPageOCR); @@ -476,7 +475,7 @@ private void extractLevels() extractionResults.domFreeMax -= (int)extractionResults.results[s][0].levelDom; extractionResults.lowerBoundWilds[s] = 0; extractionResults.lowerBoundDoms[s] = 0; - extractionResults.upperBoundDoms[s] = 0; // TODO this was not set before, does it break something? + extractionResults.upperBoundDoms[s] = 0; if (extractionResults.wildFreeMax < 0 || extractionResults.domFreeMax < 0) { this.numericUpDownLevel.BackColor = Color.LightSalmon; @@ -1075,9 +1074,10 @@ private void setWildSpeedLevelAccordingToOthers() } } - // TODO this function is unused. Access it through the menu? - private void CopyExtractionToClipboard(bool table, bool header) + private void CopyExtractionToClipboard() { + bool header = true; + bool table = (MessageBox.Show("Results can be copied as own table or as a long table-row. Should it be copied as own table?", "Copy as own table?", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes); if (extractionResults.validResults) { List tsv = new List(); @@ -1513,12 +1513,8 @@ private void updateTreeListSpecies(List creatures) lvi = new ListViewItem(listBoxSpeciesLib.Items[i].ToString()); lvi.Tag = listBoxSpeciesLib.Items[i].ToString(); // check if species has both available males and females - if (creatures.Count(c => c.species == listBoxSpeciesLib.Items[i].ToString() && c.status == CreatureStatus.Available && c.gender == Gender.Female) > 0 && creatures.Count(c => c.species == listBoxSpeciesLib.Items[i].ToString() && c.status == CreatureStatus.Available && c.gender == Gender.Male) > 0) - ; - else - { + if (creatures.Count(c => c.species == listBoxSpeciesLib.Items[i].ToString() && c.status == CreatureStatus.Available && c.gender == Gender.Female) > 0 && creatures.Count(c => c.species == listBoxSpeciesLib.Items[i].ToString() && c.status == CreatureStatus.Available && c.gender == Gender.Male) == 0) lvi.ForeColor = Color.LightGray; - } listViewSpeciesBP.Items.Add(lvi); } @@ -2342,7 +2338,7 @@ private void tabControl1_SelectedIndexChanged(object sender, EventArgs e) toolStripButtonCopy2Tester.Visible = (tabControl1.SelectedTab == tabPageExtractor); toolStripButtonExtract.Visible = (tabControl1.SelectedTab == tabPageExtractor); toolStripButtonClear.Visible = (tabControl1.SelectedTab == tabPageExtractor || tabControl1.SelectedTab == tabPageStatTesting); - creatureToolStripMenuItem.Enabled = (tabControl1.SelectedTab == tabPageLibrary); + //creatureToolStripMenuItem.Enabled = (tabControl1.SelectedTab == tabPageLibrary); if (tabControl1.SelectedTab == tabPagePedigree && pedigreeNeedsUpdate && listViewLibrary.SelectedItems.Count > 0) { Creature c = null; @@ -2512,38 +2508,43 @@ private void listViewLibrary_KeyUp(object sender, KeyEventArgs e) private void copyToolStripMenuItem_Click(object sender, EventArgs e) { - if (listViewLibrary.SelectedItems.Count > 0) + if (tabControl1.SelectedTab == tabPageLibrary) { - // header - string output = "Species\tName\tGender\tOwner\tHPw\tStw\tOxw\tFow\tWew\tDmw\tSpw\tTow\tHPd\tStd\tOxd\tFod\tWed\tDmd\tSpd\tTod\tHPb\tStb\tOxb\tFob\tWeb\tDmb\tSpb\tTob\tHPc\tStc\tOxc\tFoc\tWec\tDmc\tSpc\tToc\tmother\tfather\tNotes"; - - Creature c = null; - foreach (ListViewItem l in listViewLibrary.SelectedItems) + if (listViewLibrary.SelectedItems.Count > 0) { - c = (Creature)l.Tag; - output += "\n" + c.species + "\t" + c.name + "\t" + c.gender.ToString() + "\t" + c.owner; - for (int s = 0; s < 8; s++) - { - output += "\t" + c.levelsWild[s]; - } - for (int s = 0; s < 8; s++) - { - output += "\t" + c.levelsDom[s]; - } - for (int s = 0; s < 8; s++) - { - output += "\t" + (c.valuesBreeding[s] * (precisions[s] == 3 ? 100 : 1)) + (precisions[s] == 3 ? "%" : ""); - } - for (int s = 0; s < 8; s++) + // header + string output = "Species\tName\tGender\tOwner\tHPw\tStw\tOxw\tFow\tWew\tDmw\tSpw\tTow\tHPd\tStd\tOxd\tFod\tWed\tDmd\tSpd\tTod\tHPb\tStb\tOxb\tFob\tWeb\tDmb\tSpb\tTob\tHPc\tStc\tOxc\tFoc\tWec\tDmc\tSpc\tToc\tmother\tfather\tNotes"; + + Creature c = null; + foreach (ListViewItem l in listViewLibrary.SelectedItems) { - output += "\t" + (c.valuesDom[s] * (precisions[s] == 3 ? 100 : 1)) + (precisions[s] == 3 ? "%" : ""); + c = (Creature)l.Tag; + output += "\n" + c.species + "\t" + c.name + "\t" + c.gender.ToString() + "\t" + c.owner; + for (int s = 0; s < 8; s++) + { + output += "\t" + c.levelsWild[s]; + } + for (int s = 0; s < 8; s++) + { + output += "\t" + c.levelsDom[s]; + } + for (int s = 0; s < 8; s++) + { + output += "\t" + (c.valuesBreeding[s] * (precisions[s] == 3 ? 100 : 1)) + (precisions[s] == 3 ? "%" : ""); + } + for (int s = 0; s < 8; s++) + { + output += "\t" + (c.valuesDom[s] * (precisions[s] == 3 ? 100 : 1)) + (precisions[s] == 3 ? "%" : ""); + } + output += "\t" + (c.Mother != null ? c.Mother.name : "") + "\t" + (c.Father != null ? c.Father.name : "") + "\t" + (c.note != null ? c.note.Replace("\r", "").Replace("\n", " ") : ""); } - output += "\t" + (c.Mother != null ? c.Mother.name : "") + "\t" + (c.Father != null ? c.Father.name : "") + "\t" + (c.note != null ? c.note.Replace("\r", "").Replace("\n", " ") : ""); + Clipboard.SetText(output); } - Clipboard.SetText(output); + else + MessageBox.Show("No creatures in the library selected to copy to the clipboard", "No Creatures Selected", MessageBoxButtons.OK, MessageBoxIcon.Error); } - else - MessageBox.Show("No creatures in the library selected to copy to the clipboard", "No Creatures Selected", MessageBoxButtons.OK, MessageBoxIcon.Error); + else if (tabControl1.SelectedTab == tabPageExtractor) + CopyExtractionToClipboard(); } private void buttonRecalculateTops_Click(object sender, EventArgs e) diff --git a/ARKBreedingStats/Properties/AssemblyInfo.cs b/ARKBreedingStats/Properties/AssemblyInfo.cs index a95469eb..f4d10710 100644 --- a/ARKBreedingStats/Properties/AssemblyInfo.cs +++ b/ARKBreedingStats/Properties/AssemblyInfo.cs @@ -33,4 +33,4 @@ // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("0.19.3.0")] +[assembly: AssemblyFileVersion("0.19.4.0")] diff --git a/ARKBreedingStats/Settings.cs b/ARKBreedingStats/Settings.cs index 7f5a16ed..6a2df26c 100644 --- a/ARKBreedingStats/Settings.cs +++ b/ARKBreedingStats/Settings.cs @@ -42,7 +42,7 @@ private void initStuff() // Tooltips ToolTip tt = new ToolTip(); tt.SetToolTip(numericUpDownAutosaveMinutes, "To disable set to 0"); - tt.SetToolTip(chkExperimentalOCR, "Works good for 1920 and okish for 1680"); + tt.SetToolTip(chkExperimentalOCR, "Experimental! Works well for 1920 and mostly for 1680. May not work for other resolutions at all."); } private void setControls(CreatureCollection cc)