diff --git a/ARKBreedingStats/CreatureBox.cs b/ARKBreedingStats/CreatureBox.cs index 5562ed23..1ac6414b 100644 --- a/ARKBreedingStats/CreatureBox.cs +++ b/ARKBreedingStats/CreatureBox.cs @@ -114,7 +114,7 @@ private void PopulateParentsList() public void UpdateLabel() { - LbMotherAndWildInfo.Text = ""; + LbMotherAndWildInfo.Text = string.Empty; if (_creature != null) { groupBox1.Text = $"{_creature.name} (Lvl {_creature.Level}/{_creature.LevelHatched + _cc.maxDomLevel})"; diff --git a/ARKBreedingStats/CreatureInfoInput.cs b/ARKBreedingStats/CreatureInfoInput.cs index 94dc1b09..b0754d0e 100644 --- a/ARKBreedingStats/CreatureInfoInput.cs +++ b/ARKBreedingStats/CreatureInfoInput.cs @@ -243,13 +243,16 @@ public Creature[] CreaturesOfSameSpecies set => _sameSpecies = value; } + /// + /// Possible parents of the current creature. Index 0: possible mothers, index 1: possible fathers. If species has no sex all parents are in index 0. + /// public List[] Parents { set { if (value == null) return; parentComboBoxMother.ParentList = value[0]; - parentComboBoxFather.ParentList = value[1]; + parentComboBoxFather.ParentList = value[1] ?? value[0]; } } @@ -259,7 +262,7 @@ public List[] ParentsSimilarities { if (value == null) return; parentComboBoxMother.parentsSimilarity = value[0]; - parentComboBoxFather.parentsSimilarity = value[1]; + parentComboBoxFather.parentsSimilarity = value[1] ?? value[0]; } } diff --git a/ARKBreedingStats/Extraction.cs b/ARKBreedingStats/Extraction.cs index c8fda59e..36b14f34 100644 --- a/ARKBreedingStats/Extraction.cs +++ b/ARKBreedingStats/Extraction.cs @@ -392,7 +392,7 @@ public void ExtractLevels(Species species, int level, List statIOs, doub imprintingChanged = (Math.Abs(imprintingBonusRounded - ImprintingBonus) > 0.01); break; } - else if (IBi < imprintingBonusList.Count - 1) + if (IBi < imprintingBonusList.Count - 1) { // not all stats got a result, clear results for the next round Clear(); @@ -402,21 +402,60 @@ public void ExtractLevels(Species species, int level, List statIOs, doub } } + /// + /// Calculate the exact imprinting bonus, based on the rounded integer value the game displays + /// and using the bonus on the Torpidity stat (this cannot be leveled, so the exact bonus is known). + /// Due to the high values of the food stat, which is often not leveled, this stat can be used to further improve the precision of the imprinting bonus. + /// private List CalculateImprintingBonus(Species species, double imprintingBonusRounded, double imprintingBonusMultiplier, double torpor, double food) { + if (imprintingBonusMultiplier == 0) + { + return new List { new MinMaxDouble(imprintingBonusRounded) }; + } + + if (species.stats[Stats.Torpidity].BaseValue == 0 || species.stats[Stats.Torpidity].IncPerWildLevel == 0) + { + // invalid species-data + return new List { new MinMaxDouble(imprintingBonusRounded - 0.005, imprintingBonusRounded + 0.005) }; + } + + double[] statImprintMultipliers = species.StatImprintMultipliers; + + var anyStatAffectedByImprinting = false; + for (var si = 0; si < Stats.StatsCount; si++) + { + if (statImprintMultipliers[si] != 0) + { + anyStatAffectedByImprinting = true; + break; + } + } + + if (!anyStatAffectedByImprinting) + { + return new List { new MinMaxDouble(imprintingBonusRounded) }; + } + + + if (statImprintMultipliers[Stats.Torpidity] == 0) + { + // torpidity is not affected by imprinting, the exact value cannot be calculated + return new List { new MinMaxDouble(imprintingBonusRounded - 0.005, imprintingBonusRounded + 0.005) }; + } + List imprintingBonusList = new List(); - if (species.stats[Stats.Torpidity].BaseValue == 0 || species.stats[Stats.Torpidity].IncPerWildLevel == 0) return imprintingBonusList; // invalid species-data - // classic way to calculate the ImprintingBonus, this is the most exact value, but will not work if the imprinting-gain was different (e.g. events, mods (S+Nanny)) + // if the imprinting bonus was only achieved by cuddles etc. without event bonus, it will increase by fixed steps + // this is the most exact value, but will not work if the imprinting-gain was different (e.g. events, mods (S+Nanny)) double imprintingBonusFromGainPerCuddle = 0; if (species.breeding != null) { double imprintingGainPerCuddle = Utils.ImprintingGainPerCuddle(species.breeding.maturationTimeAdjusted); - imprintingBonusFromGainPerCuddle = Math.Round(imprintingBonusRounded / imprintingGainPerCuddle) * imprintingGainPerCuddle; + if (imprintingGainPerCuddle > 0) + imprintingBonusFromGainPerCuddle = Math.Round(imprintingBonusRounded / imprintingGainPerCuddle) * imprintingGainPerCuddle; } - double[] statImprintMultipliers = species.StatImprintMultipliers; - MinMaxInt wildLevelsFromImprintedTorpor = new MinMaxInt( (int)Math.Round(((((torpor / (1 + species.stats[Stats.Torpidity].MultAffinity)) - species.stats[Stats.Torpidity].AddWhenTamed) / ((1 + (imprintingBonusRounded + 0.005) * statImprintMultipliers[Stats.Torpidity] * imprintingBonusMultiplier) * species.stats[Stats.Torpidity].BaseValue)) - 1) / species.stats[Stats.Torpidity].IncPerWildLevel), (int)Math.Round(((((torpor / (1 + species.stats[Stats.Torpidity].MultAffinity)) - species.stats[Stats.Torpidity].AddWhenTamed) / ((1 + (imprintingBonusRounded - 0.005) * statImprintMultipliers[Stats.Torpidity] * imprintingBonusMultiplier) * species.stats[Stats.Torpidity].BaseValue)) - 1) / species.stats[Stats.Torpidity].IncPerWildLevel)); @@ -428,43 +467,63 @@ private List CalculateImprintingBonus(Species species, double impr List otherStatsSupportIB = new List(); // the number of other stats that support this IB-range // for high-level creatures the bonus from imprinting is so high, that a displayed and rounded value of the imprinting bonus can be possible with multiple torpor-levels, i.e. 1 %point IB results in a larger change than a level in torpor. + + double imprintingBonusTorporFinal = statImprintMultipliers[Stats.Torpidity] * imprintingBonusMultiplier; + double imprintingBonusFoodFinal = statImprintMultipliers[Stats.Food] * imprintingBonusMultiplier; + for (int torporLevel = wildLevelsFromImprintedTorpor.Min; torporLevel <= wildLevelsFromImprintedTorpor.Max; torporLevel++) { int support = 0; - double imprintingProductTorpor = statImprintMultipliers[Stats.Torpidity] * imprintingBonusMultiplier; - double imprintingProductFood = statImprintMultipliers[Stats.Food] * imprintingBonusMultiplier; - if (imprintingProductTorpor == 0 || imprintingProductFood == 0) break; MinMaxDouble imprintingBonusRange = new MinMaxDouble( - (((torpor - 0.05) / (1 + species.stats[Stats.Torpidity].MultAffinity) - species.stats[Stats.Torpidity].AddWhenTamed) / StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, false, 0, 0) - 1) / imprintingProductTorpor, - (((torpor + 0.05) / (1 + species.stats[Stats.Torpidity].MultAffinity) - species.stats[Stats.Torpidity].AddWhenTamed) / StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, false, 0, 0) - 1) / imprintingProductTorpor); + (((torpor - 0.05) / (1 + species.stats[Stats.Torpidity].MultAffinity) - species.stats[Stats.Torpidity].AddWhenTamed) / StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, false, 0, 0) - 1) / imprintingBonusTorporFinal, + (((torpor + 0.05) / (1 + species.stats[Stats.Torpidity].MultAffinity) - species.stats[Stats.Torpidity].AddWhenTamed) / StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, false, 0, 0) - 1) / imprintingBonusTorporFinal); // check for each possible food-level the IB-range and if it can narrow down the range derived from the torpor (deriving from food is more precise, due to the higher values) - for (int foodLevel = wildLevelsFromImprintedFood.Min; foodLevel <= wildLevelsFromImprintedFood.Max; foodLevel++) - { - MinMaxDouble imprintingBonusFromFood = new MinMaxDouble( - (((food - 0.05) / (1 + species.stats[Stats.Food].MultAffinity) - species.stats[Stats.Food].AddWhenTamed) / StatValueCalculation.CalculateValue(species, Stats.Food, foodLevel, 0, false, 0, 0) - 1) / imprintingProductFood, - (((food + 0.05) / (1 + species.stats[Stats.Food].MultAffinity) - species.stats[Stats.Food].AddWhenTamed) / StatValueCalculation.CalculateValue(species, Stats.Food, foodLevel, 0, false, 0, 0) - 1) / imprintingProductFood); - - // NOTE: it's assumed if the IB-food is in the range of IB-torpor, the values are correct. This doesn't have to be true, but is very probable. If extraction-issues appear, this assumption could be the reason. - //if (imprintingBonusFromTorpor.Includes(imprintingBonusFromFood) - if (imprintingBonusRange.Overlaps(imprintingBonusFromFood)) + if (imprintingBonusFoodFinal > 0) + { + for (int foodLevel = wildLevelsFromImprintedFood.Min; + foodLevel <= wildLevelsFromImprintedFood.Max; + foodLevel++) { - MinMaxDouble intersectionIB = new MinMaxDouble(imprintingBonusRange); - intersectionIB.SetToIntersectionWith(imprintingBonusFromFood); - if (StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, true, 1, intersectionIB.Min) <= torpor - && StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, true, 1, intersectionIB.Max) >= torpor) + MinMaxDouble imprintingBonusFromFood = new MinMaxDouble( + (((food - 0.05) / (1 + species.stats[Stats.Food].MultAffinity) - + species.stats[Stats.Food].AddWhenTamed) / + StatValueCalculation.CalculateValue(species, Stats.Food, foodLevel, 0, false, 0, 0) - + 1) / + imprintingBonusFoodFinal, + (((food + 0.05) / (1 + species.stats[Stats.Food].MultAffinity) - + species.stats[Stats.Food].AddWhenTamed) / + StatValueCalculation.CalculateValue(species, Stats.Food, foodLevel, 0, false, 0, 0) - + 1) / + imprintingBonusFoodFinal); + + // NOTE: it's assumed if the IB-food is in the range of IB-torpor, the values are correct. + // This doesn't have to be true, but is very probable. + // It can be wrong if food was leveled, but happens to result in a value that is also possible with a different amount of wild levels without dom levels and the resulting possible range for the exact IB is in the range of the IB from the torpor + // If extraction-issues appear, this assumption could be the reason. + + //if (imprintingBonusFromTorpor.Includes(imprintingBonusFromFood) + if (imprintingBonusRange.Overlaps(imprintingBonusFromFood)) { - //imprintingBonusFromTorpor = imprintingBonusFromFood; - imprintingBonusRange.SetToIntersectionWith(imprintingBonusFromFood); - support++; + MinMaxDouble intersectionIB = new MinMaxDouble(imprintingBonusRange); + intersectionIB.SetToIntersectionWith(imprintingBonusFromFood); + if (StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, true, 1, + intersectionIB.Min) <= torpor + && StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, true, + 1, intersectionIB.Max) >= torpor) + { + //imprintingBonusFromTorpor = imprintingBonusFromFood; + imprintingBonusRange.SetToIntersectionWith(imprintingBonusFromFood); + support++; + } } } } - // if classic method results in value in the possible range, take this, probably most exact value + // if the imprinting bonus value considering only the fixed imprinting gain by cuddles results in a value in the possible range, take this, probably most exact value if (imprintingBonusRange.Includes(imprintingBonusFromGainPerCuddle) - && StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, true, 1, imprintingBonusFromGainPerCuddle) == torpor) + && Math.Abs(StatValueCalculation.CalculateValue(species, Stats.Torpidity, torporLevel, 0, true, 1, imprintingBonusFromGainPerCuddle) - torpor) <= 0.5) { imprintingBonusRange.MinMax = imprintingBonusFromGainPerCuddle; support++; diff --git a/ARKBreedingStats/Form1.Designer.cs b/ARKBreedingStats/Form1.Designer.cs index 2d2328e4..2be76237 100644 --- a/ARKBreedingStats/Form1.Designer.cs +++ b/ARKBreedingStats/Form1.Designer.cs @@ -165,6 +165,7 @@ private void InitializeComponent() this.panel2 = new System.Windows.Forms.Panel(); this.lbCurrentValue = new System.Windows.Forms.Label(); this.panelStatTesterFootnote = new System.Windows.Forms.Panel(); + this.LbWarningLevel255 = new System.Windows.Forms.Label(); this.lbWildLevelTester = new System.Windows.Forms.Label(); this.labelDomLevelSum = new System.Windows.Forms.Label(); this.labelTesterTotalLevel = new System.Windows.Forms.Label(); @@ -1608,15 +1609,26 @@ private void InitializeComponent() // // panelStatTesterFootnote // + this.panelStatTesterFootnote.Controls.Add(this.LbWarningLevel255); this.panelStatTesterFootnote.Controls.Add(this.lbWildLevelTester); this.panelStatTesterFootnote.Controls.Add(this.labelDomLevelSum); this.panelStatTesterFootnote.Controls.Add(this.labelTesterTotalLevel); this.panelStatTesterFootnote.Controls.Add(this.lbNotYetTamed); this.panelStatTesterFootnote.Location = new System.Drawing.Point(3, 26); this.panelStatTesterFootnote.Name = "panelStatTesterFootnote"; - this.panelStatTesterFootnote.Size = new System.Drawing.Size(295, 53); + this.panelStatTesterFootnote.Size = new System.Drawing.Size(295, 128); this.panelStatTesterFootnote.TabIndex = 54; // + // LbWarningLevel255 + // + this.LbWarningLevel255.BackColor = System.Drawing.Color.Firebrick; + this.LbWarningLevel255.ForeColor = System.Drawing.Color.White; + this.LbWarningLevel255.Location = new System.Drawing.Point(8, 52); + this.LbWarningLevel255.Name = "LbWarningLevel255"; + this.LbWarningLevel255.Padding = new System.Windows.Forms.Padding(3); + this.LbWarningLevel255.Size = new System.Drawing.Size(283, 70); + this.LbWarningLevel255.TabIndex = 50; + // // lbWildLevelTester // this.lbWildLevelTester.AutoSize = true; @@ -2083,7 +2095,7 @@ private void InitializeComponent() this.listViewLibrary.Location = new System.Drawing.Point(204, 3); this.listViewLibrary.Name = "listViewLibrary"; this.listViewLibrary.ShowItemToolTips = true; - this.listViewLibrary.Size = new System.Drawing.Size(913, 737); + this.listViewLibrary.Size = new System.Drawing.Size(1657, 737); this.listViewLibrary.TabIndex = 2; this.listViewLibrary.UseCompatibleStateImageBehavior = false; this.listViewLibrary.View = System.Windows.Forms.View.Details; @@ -3863,5 +3875,6 @@ private void InitializeComponent() private System.Windows.Forms.ToolStripSeparator TsSpOcrLabel; private System.Windows.Forms.ToolStripLabel TsLbLabelSet; private System.Windows.Forms.ToolStripComboBox TsCbbLabelSets; + private System.Windows.Forms.Label LbWarningLevel255; } } diff --git a/ARKBreedingStats/Form1.cs b/ARKBreedingStats/Form1.cs index 778b9c7c..dab88684 100644 --- a/ARKBreedingStats/Form1.cs +++ b/ARKBreedingStats/Form1.cs @@ -260,7 +260,7 @@ private void Form1_Load(object sender, EventArgs e) statIoTesting.Percent = true; } - statIoTesting.LevelChanged += testingStatIOValueUpdate; + statIoTesting.LevelChanged += TestingStatIoValueUpdate; statIO.InputValueChanged += StatIOQuickWildLevelCheck; statIO.Click += StatIO_Click; _considerStatHighlight[s] = (Properties.Settings.Default.consideredStats & (1 << s)) != 0; @@ -293,6 +293,8 @@ private void Form1_Load(object sender, EventArgs e) _statIOs[Stats.Oxygen].DomLevelLockedZero = true; _statIOs[Stats.Food].DomLevelLockedZero = true; + LbWarningLevel255.Visible = false; + InitializeCollection(); CreatureColored.InitializeSpeciesImageLocation(); @@ -734,8 +736,8 @@ private void ApplySettingsToValues() radarChart1.InitializeVariables(_creatureCollection.maxChartLevel); radarChartExtractor.InitializeVariables(_creatureCollection.maxChartLevel); radarChartLibrary.InitializeVariables(_creatureCollection.maxChartLevel); - statPotentials1.levelDomMax = _creatureCollection.maxDomLevel; - statPotentials1.levelGraphMax = _creatureCollection.maxChartLevel; + statPotentials1.LevelDomMax = _creatureCollection.maxDomLevel; + statPotentials1.LevelGraphMax = _creatureCollection.maxChartLevel; _speechRecognition?.SetMaxLevelAndSpecies(_creatureCollection.maxWildLevel, _creatureCollection.considerWildLevelSteps ? _creatureCollection.wildLevelStep : 1, @@ -1378,83 +1380,84 @@ private void quitToolStripMenuItem_Click(object sender, EventArgs e) /// private void CreatureBoxListView_FindParents(Creature creature) { - List[] parents = FindPossibleParents(creature); + var parents = FindPossibleParents(creature); creatureBoxListView.parentListSimilarity = FindParentSimilarities(parents, creature); creatureBoxListView.parentList = parents; } /// - /// Returns lists of possible parents. + /// Returns lists of possible parents. Index 0: possible mothers, index 1: possible fathers. /// private List[] FindPossibleParents(Creature creature) { - var fatherList = _creatureCollection.creatures - .Where(cr => - cr.Species == creature.Species && cr.sex == Sex.Male && cr.guid != creature.guid && - !cr.flags.HasFlag(CreatureFlags.Placeholder)) - .OrderBy(cr => cr.name).ToList(); - var motherList = _creatureCollection.creatures + var parentList = _creatureCollection.creatures .Where(cr => - cr.Species == creature.Species && cr.sex == Sex.Female && cr.guid != creature.guid && - !cr.flags.HasFlag(CreatureFlags.Placeholder)) + cr.Species == creature.Species && cr.guid != creature.guid && !cr.flags.HasFlag(CreatureFlags.Placeholder)) .OrderBy(cr => cr.name).ToList(); + if (creature.Species?.noGender == true) + return new[] { parentList, null }; + + var motherList = parentList.Where(cr => cr.sex == Sex.Female).ToList(); + var fatherList = parentList.Where(cr => cr.sex == Sex.Male).ToList(); + // display new results return new[] { motherList, fatherList }; } + /// + /// Determines the similar stats (number of equal wildLevels as creature), to find parents easier. + /// private List[] FindParentSimilarities(List[] parents, Creature creature) { - // similarities (number of equal wildLevels as creature, to find parents easier) - int e; // number of equal wildLevels + if (parents.Length != 2 || (parents[0] == null && parents[1] == null)) return new List[] { null, null }; + + var parentListCount = parents[1] == null ? 1 : 2; List motherListSimilarities = new List(); - List fatherListSimilarities = new List(); + List fatherListSimilarities = parentListCount == 2 ? new List() : null; List[] parentListSimilarities = { motherListSimilarities, fatherListSimilarities }; - - if (parents.Length == 2 && parents[0] != null && parents[1] != null) + int e; // number of equal wildLevels + for (int ps = 0; ps < parentListCount; ps++) { - for (int ps = 0; ps < 2; ps++) + foreach (Creature c in parents[ps]) { - foreach (Creature c in parents[ps]) + e = 0; + for (int s = 0; s < Stats.StatsCount; s++) { - e = 0; - for (int s = 0; s < Stats.StatsCount; s++) - { - if (s != Stats.Torpidity && creature.levelsWild[s] >= 0 && - creature.levelsWild[s] == c.levelsWild[s]) - e++; - } - - parentListSimilarities[ps].Add(e); + if (s != Stats.Torpidity && creature.levelsWild[s] >= 0 && + creature.levelsWild[s] == c.levelsWild[s]) + e++; } - // sort parents: put all creatures not available to the end, then the ones with 0 common stats to the end - int moved = 0; - for (int p = 0; p < parents[ps].Count - moved; p++) + parentListSimilarities[ps].Add(e); + } + + // sort parents: put all creatures not available to the end, then the ones with 0 common stats to the end + int moved = 0; + for (int p = 0; p < parents[ps].Count - moved; p++) + { + if (parents[ps][p].Status != CreatureStatus.Available) { - if (parents[ps][p].Status != CreatureStatus.Available) - { - parentListSimilarities[ps].Add(parentListSimilarities[ps][p]); - parentListSimilarities[ps].RemoveAt(p); - parents[ps].Add(parents[ps][p]); - parents[ps].RemoveAt(p); - moved++; - p--; - } + parentListSimilarities[ps].Add(parentListSimilarities[ps][p]); + parentListSimilarities[ps].RemoveAt(p); + parents[ps].Add(parents[ps][p]); + parents[ps].RemoveAt(p); + moved++; + p--; } + } - moved = 0; - for (int p = 0; p < parents[ps].Count - moved; p++) + moved = 0; + for (int p = 0; p < parents[ps].Count - moved; p++) + { + if (parentListSimilarities[ps][p] == 0) { - if (parentListSimilarities[ps][p] == 0) - { - parentListSimilarities[ps].Add(parentListSimilarities[ps][p]); - parentListSimilarities[ps].RemoveAt(p); - parents[ps].Add(parents[ps][p]); - parents[ps].RemoveAt(p); - moved++; - p--; - } + parentListSimilarities[ps].Add(parentListSimilarities[ps][p]); + parentListSimilarities[ps].RemoveAt(p); + parents[ps].Add(parents[ps][p]); + parents[ps].RemoveAt(p); + moved++; + p--; } } } @@ -1765,34 +1768,34 @@ private void buttonRecalculateTops_Click(object sender, EventArgs e) private void aliveToolStripMenuItem_Click(object sender, EventArgs e) { - SetStatusOfSelected(CreatureStatus.Available); + SetStatusOfSelectedCreatures(CreatureStatus.Available); } private void deadToolStripMenuItem_Click(object sender, EventArgs e) { - SetStatusOfSelected(CreatureStatus.Dead); + SetStatusOfSelectedCreatures(CreatureStatus.Dead); } private void unavailableToolStripMenuItem_Click(object sender, EventArgs e) { - SetStatusOfSelected(CreatureStatus.Unavailable); + SetStatusOfSelectedCreatures(CreatureStatus.Unavailable); } private void obeliskToolStripMenuItem1_Click(object sender, EventArgs e) { - SetStatusOfSelected(CreatureStatus.Obelisk); + SetStatusOfSelectedCreatures(CreatureStatus.Obelisk); } - private void SetStatusOfSelected(CreatureStatus s) + private void SetStatusOfSelectedCreatures(CreatureStatus s) { List cs = new List(); foreach (int i in listViewLibrary.SelectedIndices) cs.Add(_creaturesDisplayed[i]); if (cs.Any()) - SetStatus(cs, s); + SetCreatureStatus(cs, s); } - private void SetStatus(IEnumerable cs, CreatureStatus s) + private void SetCreatureStatus(IEnumerable cs, CreatureStatus s) { bool changed = false; List speciesBlueprints = new List(); @@ -1851,7 +1854,7 @@ private void ShowBestBreedingPartner(Creature c) "Selected Creature not Available", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { - SetStatus(new List { c }, CreatureStatus.Available); + SetCreatureStatus(new List { c }, CreatureStatus.Available); breedingPlan1.BreedingPlanNeedsUpdate = false; } else @@ -2383,7 +2386,7 @@ private void toolStripButtonCopy2Tester_Click(object sender, EventArgs e) { _testingIOs[s].LevelWild = _statIOs[s].LevelWild; _testingIOs[s].LevelDom = _statIOs[s].LevelDom; - testingStatIOValueUpdate(_testingIOs[s]); + TestingStatIoValueUpdate(_testingIOs[s]); } // set the data in the creatureInfoInput diff --git a/ARKBreedingStats/Form1.l10n.cs b/ARKBreedingStats/Form1.l10n.cs index a9a480b9..f2c5d358 100644 --- a/ARKBreedingStats/Form1.l10n.cs +++ b/ARKBreedingStats/Form1.l10n.cs @@ -115,6 +115,7 @@ private void SetLocalizations(bool initialize = true) _testingIOs[si].Title = Utils.StatName(si, false, statNames); } parentInheritanceExtractor.SetLocalizations(); + statPotentials1.SetLocalization(); // library Loc.ControlText(tabPageLibrary, "library"); diff --git a/ARKBreedingStats/Form1.library.cs b/ARKBreedingStats/Form1.library.cs index 186af542..93b35b3c 100644 --- a/ARKBreedingStats/Form1.library.cs +++ b/ARKBreedingStats/Form1.library.cs @@ -14,7 +14,6 @@ using System.Text.RegularExpressions; using ARKBreedingStats.library; using ARKBreedingStats.settings; -using System.Runtime.ConstrainedExecution; namespace ARKBreedingStats { @@ -1712,27 +1711,27 @@ private void toolStripMenuItemRemove_Click(object sender, EventArgs e) private void toolStripMenuItem2_Click(object sender, EventArgs e) { - SetStatusOfSelected(CreatureStatus.Available); + SetStatusOfSelectedCreatures(CreatureStatus.Available); } private void toolStripMenuItem3_Click(object sender, EventArgs e) { - SetStatusOfSelected(CreatureStatus.Unavailable); + SetStatusOfSelectedCreatures(CreatureStatus.Unavailable); } private void toolStripMenuItem4_Click(object sender, EventArgs e) { - SetStatusOfSelected(CreatureStatus.Dead); + SetStatusOfSelectedCreatures(CreatureStatus.Dead); } private void obeliskToolStripMenuItem_Click(object sender, EventArgs e) { - SetStatusOfSelected(CreatureStatus.Obelisk); + SetStatusOfSelectedCreatures(CreatureStatus.Obelisk); } private void cryopodToolStripMenuItem_Click(object sender, EventArgs e) { - SetStatusOfSelected(CreatureStatus.Cryopod); + SetStatusOfSelectedCreatures(CreatureStatus.Cryopod); } private void currentValuesToolStripMenuItem_Click(object sender, EventArgs e) diff --git a/ARKBreedingStats/Form1.resx b/ARKBreedingStats/Form1.resx index 1241c003..6d64181b 100644 --- a/ARKBreedingStats/Form1.resx +++ b/ARKBreedingStats/Form1.resx @@ -129,7 +129,7 @@ The TE can differ 0.1% due to ingame-rounding. iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vQAADr0BR/uQrQAACDpJREFUeF7tWX9slOUdf3AkVocTN/7ossVgYlznjMFNLL01GzFu8Z85M8jSKTka + vAAADrwBlbxySQAACDpJREFUeF7tWX9slOUdf3AkVocTN/7ossVgYlznjMFNLL01GzFu8Z85M8jSKTka rICWUX5bqNy6gsMB0pq48aMy/3FjIwtmgwsNw9SMLXS4ecgEpVavqUKr5frDg7Z34H32+dzdM98dveu1 9Mi4vp/mm+f98dz7vO/383x/1rhw4eIq4luUfYnD/8J5TcdIkRcpUygucoBsCHHeFxEiZF78zMW4Y7SE CA9RRIqLHGC0hLgWkmNI4akxQuIkJPXeOoqLHGG0FuIix3AJ+T+DS0iOoCBrfXwrpZKSDa6UkLGum9eQ @@ -170,7 +170,7 @@ The TE can differ 0.1% due to ingame-rounding. iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vQAADr0BR/uQrQAACDpJREFUeF7tWX9slOUdf3AkVocTN/7ossVgYlznjMFNLL01GzFu8Z85M8jSKTka + vAAADrwBlbxySQAACDpJREFUeF7tWX9slOUdf3AkVocTN/7ossVgYlznjMFNLL01GzFu8Z85M8jSKTka rICWUX5bqNy6gsMB0pq48aMy/3FjIwtmgwsNw9SMLXS4ecgEpVavqUKr5frDg7Z34H32+dzdM98dveu1 9Mi4vp/mm+f98dz7vO/383x/1rhw4eIq4luUfYnD/8J5TcdIkRcpUygucoBsCHHeFxEiZF78zMW4Y7SE CA9RRIqLHGC0hLgWkmNI4akxQuIkJPXeOoqLHGG0FuIix3AJ+T+DS0iOoCBrfXwrpZKSDa6UkLGum9eQ @@ -245,7 +245,7 @@ It's recommended to first create a backup file of you library. iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vQAADr0BR/uQrQAACDpJREFUeF7tWX9slOUdf3AkVocTN/7ossVgYlznjMFNLL01GzFu8Z85M8jSKTka + vAAADrwBlbxySQAACDpJREFUeF7tWX9slOUdf3AkVocTN/7ossVgYlznjMFNLL01GzFu8Z85M8jSKTka rICWUX5bqNy6gsMB0pq48aMy/3FjIwtmgwsNw9SMLXS4ecgEpVavqUKr5frDg7Z34H32+dzdM98dveu1 9Mi4vp/mm+f98dz7vO/383x/1rhw4eIq4luUfYnD/8J5TcdIkRcpUygucoBsCHHeFxEiZF78zMW4Y7SE CA9RRIqLHGC0hLgWkmNI4akxQuIkJPXeOoqLHGG0FuIix3AJ+T+DS0iOoCBrfXwrpZKSDa6UkLGum9eQ diff --git a/ARKBreedingStats/Form1.tester.cs b/ARKBreedingStats/Form1.tester.cs index b38cd225..8b10fc06 100644 --- a/ARKBreedingStats/Form1.tester.cs +++ b/ARKBreedingStats/Form1.tester.cs @@ -1,6 +1,5 @@ using ARKBreedingStats.Library; using ARKBreedingStats.species; -using ARKBreedingStats.values; using System; using System.Drawing; using System.Linq; @@ -17,7 +16,7 @@ public partial class Form1 /// private void UpdateTesterDetails() { - setTesterInputsTamed(!rbWildTester.Checked); + SetTesterInputsTamed(!rbWildTester.Checked); NumericUpDownTestingTE.Enabled = rbTamedTester.Checked; labelTesterTE.Enabled = rbTamedTester.Checked; numericUpDownImprintingBonusTester.Enabled = rbBredTester.Checked; @@ -74,12 +73,12 @@ private void UpdateAllTesterValues() continue; if (s == Stats.StatsCount - 2) // update torpor after last stat-update _updateTorporInTester = true; - testingStatIOsRecalculateValue(_testingIOs[s]); + TestingStatIOsRecalculateValue(_testingIOs[s]); } - testingStatIOsRecalculateValue(_testingIOs[Stats.Torpidity]); + TestingStatIOsRecalculateValue(_testingIOs[Stats.Torpidity]); } - private void setTesterInputsTamed(bool tamed) + private void SetTesterInputsTamed(bool tamed) { for (int s = 0; s < Stats.StatsCount; s++) _testingIOs[s].postTame = tamed; @@ -90,9 +89,9 @@ private void setTesterInputsTamed(bool tamed) /// Updates the values in the testing-statIOs /// /// - private void testingStatIOValueUpdate(StatIO sIo) + private void TestingStatIoValueUpdate(StatIO sIo) { - testingStatIOsRecalculateValue(sIo); + TestingStatIOsRecalculateValue(sIo); // update Torpor-level if changed value is not from torpor-StatIO if (_updateTorporInTester && sIo.statIndex != Stats.Torpidity) @@ -106,10 +105,18 @@ private void testingStatIOValueUpdate(StatIO sIo) _testingIOs[Stats.Torpidity].LevelWild = torporLvl + _hiddenLevelsCreatureTester; } + var wildLevel255 = false; + var levelGreaterThan255 = false; + int domLevels = 0; for (int s = 0; s < Stats.StatsCount; s++) { domLevels += _testingIOs[s].LevelDom; + if (_testingIOs[s].LevelWild == 255) + wildLevel255 = true; + if (_testingIOs[s].LevelWild > 255 + || _testingIOs[s].LevelDom > 255) + levelGreaterThan255 = true; } labelDomLevelSum.Text = $"Dom Levels: {domLevels}/{_creatureCollection.maxDomLevel}"; labelDomLevelSum.BackColor = domLevels > _creatureCollection.maxDomLevel ? Color.LightSalmon : Color.Transparent; @@ -125,9 +132,22 @@ private void testingStatIOValueUpdate(StatIO sIo) if (sIo.statIndex == Stats.Torpidity) lbWildLevelTester.Text = "PreTame Level: " + Math.Ceiling(Math.Round((_testingIOs[Stats.Torpidity].LevelWild + 1) / (1 + NumericUpDownTestingTE.Value / 200), 6)); + + var levelWarning = string.Empty; + if (wildLevel255) + levelWarning += "A stat with a wild level of 255 cannot be leveled anymore. "; + if (levelGreaterThan255) + levelWarning += "A level higher than 255 will not be saved correctly in ARK and may be reset to a lower level than 256 after loading."; + if (string.IsNullOrEmpty(levelWarning)) + LbWarningLevel255.Visible = false; + else + { + LbWarningLevel255.Text = levelWarning; + LbWarningLevel255.Visible = true; + } } - private void testingStatIOsRecalculateValue(StatIO sIo) + private void TestingStatIOsRecalculateValue(StatIO sIo) { sIo.BreedingValue = StatValueCalculation.CalculateValue(speciesSelector1.SelectedSpecies, sIo.statIndex, sIo.LevelWild, 0, true, 1, 0); sIo.Input = StatValueCalculation.CalculateValue(speciesSelector1.SelectedSpecies, sIo.statIndex, sIo.LevelWild, sIo.LevelDom, diff --git a/ARKBreedingStats/Properties/AssemblyInfo.cs b/ARKBreedingStats/Properties/AssemblyInfo.cs index ef58364e..a92ab41f 100644 --- a/ARKBreedingStats/Properties/AssemblyInfo.cs +++ b/ARKBreedingStats/Properties/AssemblyInfo.cs @@ -30,6 +30,6 @@ // Revision // [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("0.50.6.0")] +[assembly: AssemblyFileVersion("0.50.7.0")] [assembly: NeutralResourcesLanguage("en")] diff --git a/ARKBreedingStats/_manifest.json b/ARKBreedingStats/_manifest.json index 87f508c0..ec42f75d 100644 --- a/ARKBreedingStats/_manifest.json +++ b/ARKBreedingStats/_manifest.json @@ -4,7 +4,7 @@ "ARK Smart Breeding": { "Id": "ARK Smart Breeding", "Category": "main", - "version": "0.50.6.0" + "version": "0.50.7.0" }, "SpeciesColorImages": { "Id": "SpeciesColorImages", diff --git a/ARKBreedingStats/json/values/_manifest.json b/ARKBreedingStats/json/values/_manifest.json index f182f62a..48a4430b 100644 --- a/ARKBreedingStats/json/values/_manifest.json +++ b/ARKBreedingStats/json/values/_manifest.json @@ -35,7 +35,7 @@ "mod": { "id": "1139775728", "tag": "Confuciusornis", "title": "Confuciusornis" } }, "1169020368-Trex.json": { - "version": "352.6.1667855320", + "version": "354.4.1669539497", "mod": { "id": "1169020368", "tag": "Trex", "title": "Ark Creature Rebalance (AG Reborn)" } }, "1178308359-ShadDragon.json": { @@ -72,7 +72,7 @@ "mod": { "id": "1356703358", "tag": "Primal_Fear_Noxious_Creatures", "title": "Primal Fear Noxious Creatures" } }, "1373744537-AC2.json": { - "version": "353.1.1668296598", + "version": "354.4.1669849624", "mod": { "id": "1373744537", "tag": "AC2", "title": "Additional Creatures 2: Wild Ark" } }, "1405944717-Project_Evolution.json": { @@ -129,7 +129,7 @@ "mod": { "id": "1633860796", "tag": "DE_Breedable_RockDrakes", "title": "Dark Edges Breedable Rock Drakes" } }, "1652120435-AtlasPort.json": { - "version": "353.1.1668127679", + "version": "354.4.1669849853", "mod": { "id": "1652120435", "tag": "AtlasPort", "title": "Shad's Atlas Imports" } }, "1654255131-AtlasImports.json": { @@ -157,7 +157,7 @@ "mod": { "id": "1696957410", "tag": "MarniimodsTest", "title": "Marnii's Equines" } }, "1729386191-BonusDinoMod.json": { - "version": "345.23.1652583952", + "version": "354.4.1669849926", "mod": { "id": "1729386191", "tag": "BonusDinoMod", "title": "Additional Creatures: Bonus Content" } }, "1729512589-Brachiosaurus.json": { @@ -166,7 +166,7 @@ "mod": { "id": "1729512589", "tag": "Brachiosaurus", "title": "ARK Additions: Brachiosaurus!" } }, "1734595558-Pyria2.json": { - "version": "352.6.1667780578", + "version": "354.4.1669482607", "mod": { "id": "1734595558", "tag": "Pyria2", "title": "Pyria: The Second Chapter" } }, "1768499278-BalancedJPE.json": { @@ -211,7 +211,7 @@ "mod": { "id": "1850732334", "tag": "ForestWyvern", "title": "Forest Wyvern Remastered" } }, "1908568783-BarbaryLion.json": { - "version": "340.3.1588570866", + "version": "354.4.1669589908", "mod": { "id": "1908568783", "tag": "BarbaryLion", "title": "AC: Bonus Content" } }, "1912640902-MagicShinehorn.json": { @@ -235,7 +235,7 @@ "mod": { "id": "2000326197", "tag": "ExtraResources", "title": "Event Assets" } }, "2003934830-Beasts.json": { - "version": "351.6.1667098123", + "version": "354.4.1669867458", "mod": { "id": "2003934830", "tag": "Beasts", "title": "Prehistoric Beasts" } }, "2019846325-ApexMod.json": { diff --git a/ARKBreedingStats/library/Creature.cs b/ARKBreedingStats/library/Creature.cs index c92af62b..e9e530a8 100644 --- a/ARKBreedingStats/library/Creature.cs +++ b/ARKBreedingStats/library/Creature.cs @@ -249,9 +249,24 @@ public CreatureStatus Status get => _status; set { + if (_status == value) return; + + if (Maturation < 1) + { + if (value == CreatureStatus.Dead) + PauseMaturationTimer(); + else if ((_status == CreatureStatus.Cryopod || _status == CreatureStatus.Obelisk) + && (value == CreatureStatus.Available || value == CreatureStatus.Unavailable)) + StartMaturationTimer(); + else if ((_status == CreatureStatus.Available || _status == CreatureStatus.Unavailable) + && (value == CreatureStatus.Cryopod || value == CreatureStatus.Obelisk)) + PauseMaturationTimer(); + } + _status = value; // remove other status while keeping the other flags flags = (flags & CreatureFlags.StatusMask) | (CreatureFlags)(1 << (int)value); + } } @@ -420,25 +435,32 @@ public void RecalculateNewMutations() /// /// Starts the timer for maturation. /// - private void StartTimer() + private void StartMaturationTimer() { if (growingPaused) { growingPaused = false; - growingUntil = DateTime.Now.Add(growingLeft); + if (growingLeft.Ticks <= 0) + growingUntil = null; + else + growingUntil = DateTime.Now.Add(growingLeft); } } /// /// Pauses the timer for maturation. /// - private void PauseTimer() + private void PauseMaturationTimer() { if (!growingPaused) { growingPaused = true; - growingLeft = growingUntil?.Subtract(DateTime.Now) ?? new TimeSpan(); - if (growingLeft.TotalHours < 0) growingLeft = new TimeSpan(); + growingLeft = growingUntil?.Subtract(DateTime.Now) ?? TimeSpan.Zero; + if (growingLeft.Ticks <= 0) + { + growingLeft = TimeSpan.Zero; + growingUntil = null; + } } } @@ -448,8 +470,8 @@ private void PauseTimer() public void StartStopMatureTimer(bool start) { if (start) - StartTimer(); - else PauseTimer(); + StartMaturationTimer(); + else PauseMaturationTimer(); } /// @@ -460,11 +482,8 @@ public void StartStopMatureTimer(bool start) public string GrowingLeftString { get => System.Xml.XmlConvert.ToString(growingLeft); - set - { - growingLeft = string.IsNullOrEmpty(value) ? + set => growingLeft = string.IsNullOrEmpty(value) ? TimeSpan.Zero : System.Xml.XmlConvert.ToTimeSpan(value); - } } /// diff --git a/ARKBreedingStats/ocr/OCRControl.Designer.cs b/ARKBreedingStats/ocr/OCRControl.Designer.cs index 10c2c9e4..0018b1be 100644 --- a/ARKBreedingStats/ocr/OCRControl.Designer.cs +++ b/ARKBreedingStats/ocr/OCRControl.Designer.cs @@ -92,6 +92,11 @@ private void InitializeComponent() this.label14 = new System.Windows.Forms.Label(); this.textBoxCalibrationText = new System.Windows.Forms.TextBox(); this.tabPage3 = new System.Windows.Forms.TabPage(); + this.groupBox12 = new System.Windows.Forms.GroupBox(); + this.TbLabelSetName = new System.Windows.Forms.TextBox(); + this.BtDeleteLabelSet = new System.Windows.Forms.Button(); + this.BtNewLabelSet = new System.Windows.Forms.Button(); + this.CbbLabelSets = new System.Windows.Forms.ComboBox(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.BtSetStatPositionBasedOnFirstTwo = new System.Windows.Forms.Button(); this.chkbSetAllStatLabels = new System.Windows.Forms.CheckBox(); @@ -104,11 +109,6 @@ private void InitializeComponent() this.label4 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.listBoxLabelRectangles = new System.Windows.Forms.ListBox(); - this.CbbLabelSets = new System.Windows.Forms.ComboBox(); - this.BtNewLabelSet = new System.Windows.Forms.Button(); - this.BtDeleteLabelSet = new System.Windows.Forms.Button(); - this.groupBox12 = new System.Windows.Forms.GroupBox(); - this.TbLabelSetName = new System.Windows.Forms.TextBox(); this.ocrLetterEditTemplate = new ARKBreedingStats.ocr.OCRLetterEdit(); this.ocrLetterEditRecognized = new ARKBreedingStats.ocr.OCRLetterEdit(); this.nudResolutionHeight = new ARKBreedingStats.uiControls.Nud(); @@ -137,9 +137,9 @@ private void InitializeComponent() this.groupBox9.SuspendLayout(); this.groupBox8.SuspendLayout(); this.tabPage3.SuspendLayout(); + this.groupBox12.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox3.SuspendLayout(); - this.groupBox12.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ocrLetterEditTemplate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ocrLetterEditRecognized)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudResolutionHeight)).BeginInit(); @@ -594,7 +594,7 @@ private void InitializeComponent() this.groupBox7.Controls.Add(this.BtRemoveSelectedPatterns); this.groupBox7.Controls.Add(this.TbRemovePatterns); this.groupBox7.Controls.Add(this.BtRemoveAllPatterns); - this.groupBox7.Location = new System.Drawing.Point(6, 526); + this.groupBox7.Location = new System.Drawing.Point(6, 538); this.groupBox7.Name = "groupBox7"; this.groupBox7.Size = new System.Drawing.Size(334, 100); this.groupBox7.TabIndex = 0; @@ -760,24 +760,24 @@ private void InitializeComponent() this.groupBox8.Controls.Add(this.textBoxCalibrationText); this.groupBox8.Location = new System.Drawing.Point(6, 334); this.groupBox8.Name = "groupBox8"; - this.groupBox8.Size = new System.Drawing.Size(334, 186); + this.groupBox8.Size = new System.Drawing.Size(334, 198); this.groupBox8.TabIndex = 4; this.groupBox8.TabStop = false; this.groupBox8.Text = "Add OCR Patterns"; // // BtCreateOcrPatternsFromManualChars // - this.BtCreateOcrPatternsFromManualChars.Location = new System.Drawing.Point(144, 157); + this.BtCreateOcrPatternsFromManualChars.Location = new System.Drawing.Point(144, 168); this.BtCreateOcrPatternsFromManualChars.Name = "BtCreateOcrPatternsFromManualChars"; this.BtCreateOcrPatternsFromManualChars.Size = new System.Drawing.Size(184, 23); this.BtCreateOcrPatternsFromManualChars.TabIndex = 5; - this.BtCreateOcrPatternsFromManualChars.Text = "Calibrate from Font"; + this.BtCreateOcrPatternsFromManualChars.Text = "Create custom OCR patterns"; this.BtCreateOcrPatternsFromManualChars.UseVisualStyleBackColor = true; this.BtCreateOcrPatternsFromManualChars.Click += new System.EventHandler(this.BtCreateOcrPatternsFromManualChars_Click); // // label17 // - this.label17.Location = new System.Drawing.Point(6, 72); + this.label17.Location = new System.Drawing.Point(6, 83); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(322, 56); this.label17.TabIndex = 1; @@ -787,16 +787,16 @@ private void InitializeComponent() // this.BtCreateOcrPatternsForLabels.Location = new System.Drawing.Point(6, 19); this.BtCreateOcrPatternsForLabels.Name = "BtCreateOcrPatternsForLabels"; - this.BtCreateOcrPatternsForLabels.Size = new System.Drawing.Size(322, 23); + this.BtCreateOcrPatternsForLabels.Size = new System.Drawing.Size(322, 37); this.BtCreateOcrPatternsForLabels.TabIndex = 0; - this.BtCreateOcrPatternsForLabels.Text = "Automatic creation of OCR Patterns from font"; + this.BtCreateOcrPatternsForLabels.Text = "Automatic creation of OCR patterns from a font file considering the label sizes"; this.BtCreateOcrPatternsForLabels.UseVisualStyleBackColor = true; this.BtCreateOcrPatternsForLabels.Click += new System.EventHandler(this.buttonLoadCalibrationImage_Click); // // label14 // this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(6, 162); + this.label14.Location = new System.Drawing.Point(6, 173); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(46, 13); this.label14.TabIndex = 3; @@ -804,7 +804,7 @@ private void InitializeComponent() // // textBoxCalibrationText // - this.textBoxCalibrationText.Location = new System.Drawing.Point(6, 131); + this.textBoxCalibrationText.Location = new System.Drawing.Point(6, 142); this.textBoxCalibrationText.Name = "textBoxCalibrationText"; this.textBoxCalibrationText.Size = new System.Drawing.Size(322, 20); this.textBoxCalibrationText.TabIndex = 2; @@ -828,6 +828,53 @@ private void InitializeComponent() this.tabPage3.Text = "Labels"; this.tabPage3.UseVisualStyleBackColor = true; // + // groupBox12 + // + this.groupBox12.Controls.Add(this.TbLabelSetName); + this.groupBox12.Location = new System.Drawing.Point(6, 35); + this.groupBox12.Name = "groupBox12"; + this.groupBox12.Size = new System.Drawing.Size(334, 45); + this.groupBox12.TabIndex = 5; + this.groupBox12.TabStop = false; + this.groupBox12.Text = "Label set name"; + // + // TbLabelSetName + // + this.TbLabelSetName.Location = new System.Drawing.Point(6, 19); + this.TbLabelSetName.Name = "TbLabelSetName"; + this.TbLabelSetName.Size = new System.Drawing.Size(322, 20); + this.TbLabelSetName.TabIndex = 0; + this.TbLabelSetName.Leave += new System.EventHandler(this.TbLabelSetName_Leave); + // + // BtDeleteLabelSet + // + this.BtDeleteLabelSet.Location = new System.Drawing.Point(277, 6); + this.BtDeleteLabelSet.Name = "BtDeleteLabelSet"; + this.BtDeleteLabelSet.Size = new System.Drawing.Size(63, 23); + this.BtDeleteLabelSet.TabIndex = 4; + this.BtDeleteLabelSet.Text = "delete"; + this.BtDeleteLabelSet.UseVisualStyleBackColor = true; + this.BtDeleteLabelSet.Click += new System.EventHandler(this.BtDeleteLabelSet_Click); + // + // BtNewLabelSet + // + this.BtNewLabelSet.Location = new System.Drawing.Point(214, 6); + this.BtNewLabelSet.Name = "BtNewLabelSet"; + this.BtNewLabelSet.Size = new System.Drawing.Size(57, 23); + this.BtNewLabelSet.TabIndex = 3; + this.BtNewLabelSet.Text = "new"; + this.BtNewLabelSet.UseVisualStyleBackColor = true; + this.BtNewLabelSet.Click += new System.EventHandler(this.BtNewLabelSet_Click); + // + // CbbLabelSets + // + this.CbbLabelSets.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.CbbLabelSets.Location = new System.Drawing.Point(6, 8); + this.CbbLabelSets.Name = "CbbLabelSets"; + this.CbbLabelSets.Size = new System.Drawing.Size(202, 21); + this.CbbLabelSets.TabIndex = 2; + this.CbbLabelSets.SelectedIndexChanged += new System.EventHandler(this.CbbLabelSets_SelectedIndexChanged); + // // groupBox4 // this.groupBox4.Controls.Add(this.BtSetStatPositionBasedOnFirstTwo); @@ -954,53 +1001,6 @@ private void InitializeComponent() this.listBoxLabelRectangles.TabIndex = 0; this.listBoxLabelRectangles.SelectedIndexChanged += new System.EventHandler(this.listBoxLabelRectangles_SelectedIndexChanged); // - // CbbLabelSets - // - this.CbbLabelSets.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.CbbLabelSets.Location = new System.Drawing.Point(6, 8); - this.CbbLabelSets.Name = "CbbLabelSets"; - this.CbbLabelSets.Size = new System.Drawing.Size(202, 21); - this.CbbLabelSets.TabIndex = 2; - this.CbbLabelSets.SelectedIndexChanged += new System.EventHandler(this.CbbLabelSets_SelectedIndexChanged); - // - // BtNewLabelSet - // - this.BtNewLabelSet.Location = new System.Drawing.Point(214, 6); - this.BtNewLabelSet.Name = "BtNewLabelSet"; - this.BtNewLabelSet.Size = new System.Drawing.Size(57, 23); - this.BtNewLabelSet.TabIndex = 3; - this.BtNewLabelSet.Text = "new"; - this.BtNewLabelSet.UseVisualStyleBackColor = true; - this.BtNewLabelSet.Click += new System.EventHandler(this.BtNewLabelSet_Click); - // - // BtDeleteLabelSet - // - this.BtDeleteLabelSet.Location = new System.Drawing.Point(277, 6); - this.BtDeleteLabelSet.Name = "BtDeleteLabelSet"; - this.BtDeleteLabelSet.Size = new System.Drawing.Size(63, 23); - this.BtDeleteLabelSet.TabIndex = 4; - this.BtDeleteLabelSet.Text = "delete"; - this.BtDeleteLabelSet.UseVisualStyleBackColor = true; - this.BtDeleteLabelSet.Click += new System.EventHandler(this.BtDeleteLabelSet_Click); - // - // groupBox12 - // - this.groupBox12.Controls.Add(this.TbLabelSetName); - this.groupBox12.Location = new System.Drawing.Point(6, 35); - this.groupBox12.Name = "groupBox12"; - this.groupBox12.Size = new System.Drawing.Size(334, 45); - this.groupBox12.TabIndex = 5; - this.groupBox12.TabStop = false; - this.groupBox12.Text = "Label set name"; - // - // TbLabelSetName - // - this.TbLabelSetName.Location = new System.Drawing.Point(6, 19); - this.TbLabelSetName.Name = "TbLabelSetName"; - this.TbLabelSetName.Size = new System.Drawing.Size(322, 20); - this.TbLabelSetName.TabIndex = 0; - this.TbLabelSetName.Leave += new System.EventHandler(this.TbLabelSetName_Leave); - // // ocrLetterEditTemplate // this.ocrLetterEditTemplate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -1087,7 +1087,7 @@ private void InitializeComponent() // nudFontSizeCalibration // this.nudFontSizeCalibration.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudFontSizeCalibration.Location = new System.Drawing.Point(58, 160); + this.nudFontSizeCalibration.Location = new System.Drawing.Point(58, 171); this.nudFontSizeCalibration.Minimum = new decimal(new int[] { 5, 0, @@ -1252,11 +1252,11 @@ private void InitializeComponent() this.groupBox8.ResumeLayout(false); this.groupBox8.PerformLayout(); this.tabPage3.ResumeLayout(false); + this.groupBox12.ResumeLayout(false); + this.groupBox12.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.groupBox3.ResumeLayout(false); - this.groupBox12.ResumeLayout(false); - this.groupBox12.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ocrLetterEditTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ocrLetterEditRecognized)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudResolutionHeight)).EndInit(); diff --git a/ARKBreedingStats/ocr/OCRControl.cs b/ARKBreedingStats/ocr/OCRControl.cs index e2501124..fcfff40f 100644 --- a/ARKBreedingStats/ocr/OCRControl.cs +++ b/ARKBreedingStats/ocr/OCRControl.cs @@ -696,10 +696,13 @@ private void buttonLoadCalibrationImage_Click(object sender, EventArgs e) string fontFilePath = null; foreach (var c in fontSizesChars) - ArkOcr.Ocr.CreateOcrTemplatesFromFontFile(c.Key, c.Value, _fontFilePath, ref fontFilePath); + { + if (!ArkOcr.Ocr.CreateOcrTemplatesFromFontFile(c.Key, c.Value, _fontFilePath, ref fontFilePath)) + return; // user probably cancelled font selection + } _fontFilePath = fontFilePath; - MessageBoxes.ShowMessageBox($"OCR patterns created for the set labels", "OCR patterns created", MessageBoxIcon.Information); + MessageBoxes.ShowMessageBox("OCR patterns created for the set labels", "OCR patterns created", MessageBoxIcon.Information); string filePath = Properties.Settings.Default.ocrFile; if (!string.IsNullOrEmpty(filePath)) diff --git a/ARKBreedingStats/ocr/OCRControl.resx b/ARKBreedingStats/ocr/OCRControl.resx index 9b9c2bdd..3ff32c1d 100644 --- a/ARKBreedingStats/ocr/OCRControl.resx +++ b/ARKBreedingStats/ocr/OCRControl.resx @@ -129,7 +129,7 @@ If you edited the file, click on "Load replacings" to update the used data. - Add multiple custom character OCR patterns based on a font-file. Enter all the characters you want to use in the text-field, set the font-size in px and click Calibrate from Font. + Add multiple custom character OCR patterns with set font size based on a font-file. Enter all the characters you want to use in the text-field, set the font-size in px and click Calibrate from Font. ARK currently uses the font Sansation Bold for its UI. \ No newline at end of file diff --git a/ARKBreedingStats/raising/ParentStatValues.cs b/ARKBreedingStats/raising/ParentStatValues.cs index 64f306a2..3093a596 100644 --- a/ARKBreedingStats/raising/ParentStatValues.cs +++ b/ARKBreedingStats/raising/ParentStatValues.cs @@ -17,7 +17,7 @@ public string StatName set => label1.Text = value; } - internal void setValues(double motherValue = -1, double fatherValue = -1, int highlight = 0, int bestLevel = -1, int bestLevelPercent = 0) + internal void SetValues(double motherValue = -1, double fatherValue = -1, int highlight = 0, int bestLevel = -1, int bestLevelPercent = 0) { labelM.Text = motherValue >= 0 ? motherValue.ToString("N1") : "-"; labelF.Text = fatherValue >= 0 ? fatherValue.ToString("N1") : "-"; diff --git a/ARKBreedingStats/raising/ParentStats.cs b/ARKBreedingStats/raising/ParentStats.cs index f593bf90..40c89c90 100644 --- a/ARKBreedingStats/raising/ParentStats.cs +++ b/ARKBreedingStats/raising/ParentStats.cs @@ -1,7 +1,6 @@ using ARKBreedingStats.Library; using ARKBreedingStats.species; using System; -using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; @@ -9,20 +8,22 @@ namespace ARKBreedingStats.raising { public partial class ParentStats : UserControl { - private readonly List _parentStatValues; + private readonly ParentStatValues[] _parentStatValues; private readonly Label _lbLevel; - public int maxChartLevel; + public int MaxChartLevel; public ParentStats() { InitializeComponent(); - _parentStatValues = new List(); + _parentStatValues = new ParentStatValues[Stats.StatsCount]; for (int s = 0; s < Stats.StatsCount; s++) { - ParentStatValues psv = new ParentStatValues(); - psv.StatName = Utils.StatName(s, true) + (Utils.Precision(s) == 1 ? string.Empty : " %"); - _parentStatValues.Add(psv); + var psv = new ParentStatValues + { + StatName = Utils.StatName(s, true) + (Utils.Precision(s) == 1 ? string.Empty : " %") + }; + _parentStatValues[s] = psv; flowLayoutPanel1.SetFlowBreak(psv, true); } for (int s = 0; s < Stats.StatsCount; s++) @@ -41,7 +42,7 @@ public ParentStats() public void Clear() { for (int s = 0; s < Stats.StatsCount; s++) - _parentStatValues[s].setValues(); + _parentStatValues[s].SetValues(); _lbLevel.Text = string.Empty; } @@ -53,7 +54,7 @@ public void SetParentValues(Creature mother, Creature father) labelFather.Text = Loc.S("Unknown"); for (int s = 0; s < Stats.StatsCount; s++) { - _parentStatValues[s].setValues(); + _parentStatValues[s].SetValues(); } return; } @@ -75,10 +76,10 @@ public void SetParentValues(Creature mother, Creature father) if (mother != null && father != null) { bestLevel = Math.Max(mother.levelsWild[s], father.levelsWild[s]); - if (maxChartLevel > 0) - bestLevelPercent = (100 * bestLevel) / maxChartLevel; + if (MaxChartLevel > 0) + bestLevelPercent = (100 * bestLevel) / MaxChartLevel; } - _parentStatValues[s].setValues( + _parentStatValues[s].SetValues( mother == null ? -1 : (mother.valuesBreeding[s] * (Utils.Precision(s) == 1 ? 1 : 100)), father == null ? -1 : (father.valuesBreeding[s] * (Utils.Precision(s) == 1 ? 1 : 100)), mother != null && father != null ? (mother.valuesBreeding[s] > father.valuesBreeding[s] ? 1 : 2) : 0, @@ -114,6 +115,11 @@ public void SetLocalizations() { Loc.ControlText(label1, "Mother"); Loc.ControlText(label2, "Father"); + if (_parentStatValues == null) return; + + for (int s = Math.Min(_parentStatValues.Length, Stats.StatsCount) - 1; s >= 0; s--) + _parentStatValues[s].StatName = + Utils.StatName(s, true) + (Utils.Precision(s) == 1 ? string.Empty : " %"); } } } diff --git a/ARKBreedingStats/raising/RaisingControl.cs b/ARKBreedingStats/raising/RaisingControl.cs index 936de593..12993fc2 100644 --- a/ARKBreedingStats/raising/RaisingControl.cs +++ b/ARKBreedingStats/raising/RaisingControl.cs @@ -191,7 +191,7 @@ public CreatureCollection CreatureCollection if (value != null) { _cc = value; - parentStats1.maxChartLevel = _cc.maxChartLevel; + parentStats1.MaxChartLevel = _cc.maxChartLevel; } } } diff --git a/ARKBreedingStats/settings/Settings.Designer.cs b/ARKBreedingStats/settings/Settings.Designer.cs index acbdf3e2..c545ef72 100644 --- a/ARKBreedingStats/settings/Settings.Designer.cs +++ b/ARKBreedingStats/settings/Settings.Designer.cs @@ -45,47 +45,25 @@ private void InitializeComponent() this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.nudBabyImprintAmountEvent = new ARKBreedingStats.uiControls.Nud(); this.label49 = new System.Windows.Forms.Label(); - this.nudBabyImprintAmount = new ARKBreedingStats.uiControls.Nud(); this.label44 = new System.Windows.Forms.Label(); - this.nudMatingSpeed = new ARKBreedingStats.uiControls.Nud(); - this.nudBabyFoodConsumptionSpeedEvent = new ARKBreedingStats.uiControls.Nud(); - this.nudMatingIntervalEvent = new ARKBreedingStats.uiControls.Nud(); - this.nudBabyCuddleIntervalEvent = new ARKBreedingStats.uiControls.Nud(); - this.nudBabyMatureSpeedEvent = new ARKBreedingStats.uiControls.Nud(); - this.nudEggHatchSpeedEvent = new ARKBreedingStats.uiControls.Nud(); this.labelBabyFoodConsumptionSpeed = new System.Windows.Forms.Label(); - this.nudBabyFoodConsumptionSpeed = new ARKBreedingStats.uiControls.Nud(); this.label3 = new System.Windows.Forms.Label(); - this.nudMatingInterval = new ARKBreedingStats.uiControls.Nud(); this.label17 = new System.Windows.Forms.Label(); - this.nudBabyCuddleInterval = new ARKBreedingStats.uiControls.Nud(); this.label13 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); - this.nudBabyMatureSpeed = new ARKBreedingStats.uiControls.Nud(); - this.nudBabyImprintingStatScale = new ARKBreedingStats.uiControls.Nud(); this.label8 = new System.Windows.Forms.Label(); - this.nudEggHatchSpeed = new ARKBreedingStats.uiControls.Nud(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.LbDefaultLevelups = new System.Windows.Forms.Label(); - this.nudMaxServerLevel = new ARKBreedingStats.uiControls.Nud(); this.lbMaxTotalLevel = new System.Windows.Forms.Label(); - this.nudMaxGraphLevel = new ARKBreedingStats.uiControls.Nud(); this.label18 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); - this.nudMaxWildLevels = new ARKBreedingStats.uiControls.Nud(); this.label10 = new System.Windows.Forms.Label(); - this.nudMaxDomLevels = new ARKBreedingStats.uiControls.Nud(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.label57 = new System.Windows.Forms.Label(); this.label56 = new System.Windows.Forms.Label(); this.pbChartOddRange = new System.Windows.Forms.PictureBox(); this.pbChartEvenRange = new System.Windows.Forms.PictureBox(); - this.nudChartLevelOddMax = new ARKBreedingStats.uiControls.Nud(); - this.nudChartLevelOddMin = new ARKBreedingStats.uiControls.Nud(); - this.nudChartLevelEvenMax = new ARKBreedingStats.uiControls.Nud(); - this.nudChartLevelEvenMin = new ARKBreedingStats.uiControls.Nud(); this.CbHighlightLevelEvenOdd = new System.Windows.Forms.CheckBox(); this.CbHighlightLevel255 = new System.Windows.Forms.CheckBox(); this.cbIgnoreSexInBreedingPlan = new System.Windows.Forms.CheckBox(); @@ -93,26 +71,18 @@ private void InitializeComponent() this.radioButtonFahrenheit = new System.Windows.Forms.RadioButton(); this.radioButtonCelsius = new System.Windows.Forms.RadioButton(); this.label12 = new System.Windows.Forms.Label(); - this.numericUpDownMaxBreedingSug = new ARKBreedingStats.uiControls.Nud(); this.groupBox5 = new System.Windows.Forms.GroupBox(); - this.nudDinoCharacterFoodDrainEvent = new ARKBreedingStats.uiControls.Nud(); - this.nudTamingSpeedEvent = new ARKBreedingStats.uiControls.Nud(); this.label7 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); - this.nudDinoCharacterFoodDrain = new ARKBreedingStats.uiControls.Nud(); - this.nudTamingSpeed = new ARKBreedingStats.uiControls.Nud(); this.label15 = new System.Windows.Forms.Label(); this.groupBox6 = new System.Windows.Forms.GroupBox(); this.label55 = new System.Windows.Forms.Label(); - this.NudWaitBeforeAutoLoad = new ARKBreedingStats.uiControls.Nud(); this.label54 = new System.Windows.Forms.Label(); - this.NudKeepBackupFilesCount = new ARKBreedingStats.uiControls.Nud(); this.label53 = new System.Windows.Forms.Label(); this.BtClearBackupFolder = new System.Windows.Forms.Button(); this.label52 = new System.Windows.Forms.Label(); this.BtBackupFolder = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); - this.NudBackupEveryMinutes = new ARKBreedingStats.uiControls.Nud(); this.groupBox7 = new System.Windows.Forms.GroupBox(); this.checkBoxDisplayHiddenStats = new System.Windows.Forms.CheckBox(); this.tabControlSettings = new System.Windows.Forms.TabControl(); @@ -128,7 +98,6 @@ private void InitializeComponent() this.cbSingleplayerSettings = new System.Windows.Forms.CheckBox(); this.groupBox11 = new System.Windows.Forms.GroupBox(); this.cbAllowMoreThanHundredImprinting = new System.Windows.Forms.CheckBox(); - this.nudWildLevelStep = new ARKBreedingStats.uiControls.Nud(); this.cbConsiderWildLevelSteps = new System.Windows.Forms.CheckBox(); this.buttonEventToDefault = new System.Windows.Forms.Button(); this.labelEvent = new System.Windows.Forms.Label(); @@ -146,14 +115,12 @@ private void InitializeComponent() this.cbDevTools = new System.Windows.Forms.CheckBox(); this.GbSpecies = new System.Windows.Forms.GroupBox(); this.LbSpeciesSelectorCountLastUsed = new System.Windows.Forms.Label(); - this.NudSpeciesSelectorCountLastUsed = new ARKBreedingStats.uiControls.Nud(); this.groupBox26 = new System.Windows.Forms.GroupBox(); this.cbAdminConsoleCommandWithCheat = new System.Windows.Forms.CheckBox(); this.groupBox25 = new System.Windows.Forms.GroupBox(); this.CbbAppDefaultFontName = new System.Windows.Forms.ComboBox(); this.label48 = new System.Windows.Forms.Label(); this.CbbColorMode = new System.Windows.Forms.ComboBox(); - this.nudDefaultFontSize = new ARKBreedingStats.uiControls.Nud(); this.label33 = new System.Windows.Forms.Label(); this.label32 = new System.Windows.Forms.Label(); this.groupBox20 = new System.Windows.Forms.GroupBox(); @@ -168,12 +135,12 @@ private void InitializeComponent() this.cbApplyGlobalSpeciesToLibrary = new System.Windows.Forms.CheckBox(); this.cbCreatureColorsLibrary = new System.Windows.Forms.CheckBox(); this.tabPageInfoGraphic = new System.Windows.Forms.TabPage(); + this.BtNewRandomInfoGraphicCreature = new System.Windows.Forms.Button(); this.label63 = new System.Windows.Forms.Label(); this.PbInfoGraphicPreview = new System.Windows.Forms.PictureBox(); this.groupBox32 = new System.Windows.Forms.GroupBox(); this.LbInfoGraphicSize = new System.Windows.Forms.Label(); this.CbbInfoGraphicFontName = new System.Windows.Forms.ComboBox(); - this.nudInfoGraphicHeight = new ARKBreedingStats.uiControls.Nud(); this.BtInfoGraphicForeColor = new System.Windows.Forms.Button(); this.BtInfoGraphicBackColor = new System.Windows.Forms.Button(); this.BtInfoGraphicBorderColor = new System.Windows.Forms.Button(); @@ -198,17 +165,12 @@ private void InitializeComponent() this.cbImportUpdateCreatureStatus = new System.Windows.Forms.CheckBox(); this.groupBox15 = new System.Windows.Forms.GroupBox(); this.dataGridView_FileLocations = new System.Windows.Forms.DataGridView(); - this.convenientNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.serverNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.fileLocationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dgvFileLocation_Change = new System.Windows.Forms.DataGridViewButtonColumn(); this.ImportWithQuickImport = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.dgvFileLocation_Delete = new System.Windows.Forms.DataGridViewButtonColumn(); - this.aTImportFileLocationBindingSource = new System.Windows.Forms.BindingSource(this.components); this.btAddSavegameFileLocation = new System.Windows.Forms.Button(); this.labelSavegameFileLocationHint = new System.Windows.Forms.Label(); this.groupBox14 = new System.Windows.Forms.GroupBox(); - this.fileSelectorExtractedSaveFolder = new ARKBreedingStats.uiControls.FileSelector(); this.label24 = new System.Windows.Forms.Label(); this.tabPageImportExported = new System.Windows.Forms.TabPage(); this.BtGetExportFolderAutomatically = new System.Windows.Forms.Button(); @@ -219,7 +181,6 @@ private void InitializeComponent() this.groupBox23 = new System.Windows.Forms.GroupBox(); this.label31 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); - this.nudImportLowerBoundTE = new ARKBreedingStats.uiControls.Nud(); this.groupBox22 = new System.Windows.Forms.GroupBox(); this.CbBringToFrontOnImportExportIssue = new System.Windows.Forms.CheckBox(); this.CbAutoExtractAddToLibrary = new System.Windows.Forms.CheckBox(); @@ -250,13 +211,9 @@ private void InitializeComponent() this.nudWarnImportMoreThan = new System.Windows.Forms.NumericUpDown(); this.groupBox13 = new System.Windows.Forms.GroupBox(); this.dataGridViewExportFolders = new System.Windows.Forms.DataGridView(); - this.convenientNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ownerSuffixDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.folderPathDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dgvExportFolderChange = new System.Windows.Forms.DataGridViewButtonColumn(); this.dgvExportFolderDelete = new System.Windows.Forms.DataGridViewButtonColumn(); this.dgvExportMakeDefault = new System.Windows.Forms.DataGridViewButtonColumn(); - this.aTExportFolderLocationsBindingSource = new System.Windows.Forms.BindingSource(this.components); this.btAddExportFolder = new System.Windows.Forms.Button(); this.label25 = new System.Windows.Forms.Label(); this.tabPageTimers = new System.Windows.Forms.TabPage(); @@ -267,34 +224,23 @@ private void InitializeComponent() this.groupBox8 = new System.Windows.Forms.GroupBox(); this.label22 = new System.Windows.Forms.Label(); this.tbPlayAlarmsSeconds = new System.Windows.Forms.TextBox(); - this.customSCCustom = new ARKBreedingStats.settings.customSoundChooser(); - this.customSCWakeup = new ARKBreedingStats.settings.customSoundChooser(); - this.customSCBirth = new ARKBreedingStats.settings.customSoundChooser(); - this.customSCStarving = new ARKBreedingStats.settings.customSoundChooser(); this.label20 = new System.Windows.Forms.Label(); this.tabPageOverlay = new System.Windows.Forms.TabPage(); this.groupBox10 = new System.Windows.Forms.GroupBox(); this.CbOverlayDisplayInheritance = new System.Windows.Forms.CheckBox(); this.label45 = new System.Windows.Forms.Label(); this.pCustomOverlayLocation = new System.Windows.Forms.Panel(); - this.nudCustomOverlayLocX = new ARKBreedingStats.uiControls.Nud(); this.label42 = new System.Windows.Forms.Label(); this.label43 = new System.Windows.Forms.Label(); - this.nudCustomOverlayLocY = new ARKBreedingStats.uiControls.Nud(); this.cbCustomOverlayLocation = new System.Windows.Forms.CheckBox(); this.label38 = new System.Windows.Forms.Label(); - this.nudOverlayInfoPosY = new ARKBreedingStats.uiControls.Nud(); this.label39 = new System.Windows.Forms.Label(); - this.nudOverlayInfoPosDFR = new ARKBreedingStats.uiControls.Nud(); this.label40 = new System.Windows.Forms.Label(); this.label37 = new System.Windows.Forms.Label(); - this.nudOverlayTimerPosY = new ARKBreedingStats.uiControls.Nud(); this.label36 = new System.Windows.Forms.Label(); - this.nudOverlayTimerPosX = new ARKBreedingStats.uiControls.Nud(); this.label35 = new System.Windows.Forms.Label(); this.cbInventoryCheck = new System.Windows.Forms.CheckBox(); this.label21 = new System.Windows.Forms.Label(); - this.nudOverlayInfoDuration = new ARKBreedingStats.uiControls.Nud(); this.chkbSpeechRecognition = new System.Windows.Forms.CheckBox(); this.tabPageOCR = new System.Windows.Forms.TabPage(); this.groupBox1 = new System.Windows.Forms.GroupBox(); @@ -303,98 +249,117 @@ private void InitializeComponent() this.label60 = new System.Windows.Forms.Label(); this.label59 = new System.Windows.Forms.Label(); this.label58 = new System.Windows.Forms.Label(); - this.NudOCRClipboardCropHeight = new ARKBreedingStats.uiControls.Nud(); - this.NudOCRClipboardCropWidth = new ARKBreedingStats.uiControls.Nud(); - this.NudOCRClipboardCropTop = new ARKBreedingStats.uiControls.Nud(); - this.NudOCRClipboardCropLeft = new ARKBreedingStats.uiControls.Nud(); this.CbOCRFromClipboard = new System.Windows.Forms.CheckBox(); this.button1 = new System.Windows.Forms.Button(); this.cbOCRIgnoreImprintValue = new System.Windows.Forms.CheckBox(); this.cbShowOCRButton = new System.Windows.Forms.CheckBox(); this.label23 = new System.Windows.Forms.Label(); - this.nudWaitBeforeScreenCapture = new ARKBreedingStats.uiControls.Nud(); this.label19 = new System.Windows.Forms.Label(); - this.nudWhiteThreshold = new ARKBreedingStats.uiControls.Nud(); this.tbOCRCaptureApp = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.cbbOCRApp = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); - this.BtNewRandomInfoGraphicCreature = new System.Windows.Forms.Button(); + this.BtSettingsToClipboard = new System.Windows.Forms.Button(); + this.nudWildLevelStep = new ARKBreedingStats.uiControls.Nud(); + this.nudBabyImprintAmountEvent = new ARKBreedingStats.uiControls.Nud(); + this.nudBabyImprintAmount = new ARKBreedingStats.uiControls.Nud(); + this.nudMatingSpeed = new ARKBreedingStats.uiControls.Nud(); + this.nudBabyFoodConsumptionSpeedEvent = new ARKBreedingStats.uiControls.Nud(); + this.nudMatingIntervalEvent = new ARKBreedingStats.uiControls.Nud(); + this.nudBabyCuddleIntervalEvent = new ARKBreedingStats.uiControls.Nud(); + this.nudBabyMatureSpeedEvent = new ARKBreedingStats.uiControls.Nud(); + this.nudEggHatchSpeedEvent = new ARKBreedingStats.uiControls.Nud(); + this.nudBabyFoodConsumptionSpeed = new ARKBreedingStats.uiControls.Nud(); + this.nudMatingInterval = new ARKBreedingStats.uiControls.Nud(); + this.nudBabyCuddleInterval = new ARKBreedingStats.uiControls.Nud(); + this.nudBabyMatureSpeed = new ARKBreedingStats.uiControls.Nud(); + this.nudBabyImprintingStatScale = new ARKBreedingStats.uiControls.Nud(); + this.nudEggHatchSpeed = new ARKBreedingStats.uiControls.Nud(); + this.nudMaxServerLevel = new ARKBreedingStats.uiControls.Nud(); + this.nudMaxGraphLevel = new ARKBreedingStats.uiControls.Nud(); + this.nudMaxWildLevels = new ARKBreedingStats.uiControls.Nud(); + this.nudMaxDomLevels = new ARKBreedingStats.uiControls.Nud(); + this.nudDinoCharacterFoodDrainEvent = new ARKBreedingStats.uiControls.Nud(); + this.nudTamingSpeedEvent = new ARKBreedingStats.uiControls.Nud(); + this.nudDinoCharacterFoodDrain = new ARKBreedingStats.uiControls.Nud(); + this.nudTamingSpeed = new ARKBreedingStats.uiControls.Nud(); + this.NudSpeciesSelectorCountLastUsed = new ARKBreedingStats.uiControls.Nud(); + this.nudDefaultFontSize = new ARKBreedingStats.uiControls.Nud(); + this.nudChartLevelOddMax = new ARKBreedingStats.uiControls.Nud(); + this.nudChartLevelOddMin = new ARKBreedingStats.uiControls.Nud(); + this.nudChartLevelEvenMax = new ARKBreedingStats.uiControls.Nud(); + this.nudChartLevelEvenMin = new ARKBreedingStats.uiControls.Nud(); + this.numericUpDownMaxBreedingSug = new ARKBreedingStats.uiControls.Nud(); + this.NudWaitBeforeAutoLoad = new ARKBreedingStats.uiControls.Nud(); + this.NudKeepBackupFilesCount = new ARKBreedingStats.uiControls.Nud(); + this.NudBackupEveryMinutes = new ARKBreedingStats.uiControls.Nud(); + this.nudInfoGraphicHeight = new ARKBreedingStats.uiControls.Nud(); + this.convenientNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.serverNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.fileLocationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.aTImportFileLocationBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.fileSelectorExtractedSaveFolder = new ARKBreedingStats.uiControls.FileSelector(); + this.nudImportLowerBoundTE = new ARKBreedingStats.uiControls.Nud(); + this.convenientNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ownerSuffixDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.folderPathDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.aTExportFolderLocationsBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.customSCCustom = new ARKBreedingStats.settings.customSoundChooser(); + this.customSCWakeup = new ARKBreedingStats.settings.customSoundChooser(); + this.customSCBirth = new ARKBreedingStats.settings.customSoundChooser(); + this.customSCStarving = new ARKBreedingStats.settings.customSoundChooser(); + this.nudCustomOverlayLocX = new ARKBreedingStats.uiControls.Nud(); + this.nudCustomOverlayLocY = new ARKBreedingStats.uiControls.Nud(); + this.nudOverlayInfoPosY = new ARKBreedingStats.uiControls.Nud(); + this.nudOverlayInfoPosDFR = new ARKBreedingStats.uiControls.Nud(); + this.nudOverlayTimerPosY = new ARKBreedingStats.uiControls.Nud(); + this.nudOverlayTimerPosX = new ARKBreedingStats.uiControls.Nud(); + this.nudOverlayInfoDuration = new ARKBreedingStats.uiControls.Nud(); + this.NudOCRClipboardCropHeight = new ARKBreedingStats.uiControls.Nud(); + this.NudOCRClipboardCropWidth = new ARKBreedingStats.uiControls.Nud(); + this.NudOCRClipboardCropTop = new ARKBreedingStats.uiControls.Nud(); + this.NudOCRClipboardCropLeft = new ARKBreedingStats.uiControls.Nud(); + this.nudWaitBeforeScreenCapture = new ARKBreedingStats.uiControls.Nud(); + this.nudWhiteThreshold = new ARKBreedingStats.uiControls.Nud(); this.groupBoxMultiplier.SuspendLayout(); this.groupBox2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintAmountEvent)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintAmount)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMatingSpeed)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyFoodConsumptionSpeedEvent)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMatingIntervalEvent)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyCuddleIntervalEvent)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyMatureSpeedEvent)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudEggHatchSpeedEvent)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyFoodConsumptionSpeed)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMatingInterval)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyCuddleInterval)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyMatureSpeed)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintingStatScale)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudEggHatchSpeed)).BeginInit(); this.groupBox3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudMaxServerLevel)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMaxGraphLevel)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMaxWildLevels)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMaxDomLevels)).BeginInit(); this.groupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbChartOddRange)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pbChartEvenRange)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelOddMax)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelOddMin)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelEvenMax)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelEvenMin)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxBreedingSug)).BeginInit(); this.groupBox5.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudDinoCharacterFoodDrainEvent)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudTamingSpeedEvent)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudDinoCharacterFoodDrain)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudTamingSpeed)).BeginInit(); this.groupBox6.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.NudWaitBeforeAutoLoad)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.NudKeepBackupFilesCount)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.NudBackupEveryMinutes)).BeginInit(); this.groupBox7.SuspendLayout(); this.tabControlSettings.SuspendLayout(); this.tabPageMultipliers.SuspendLayout(); this.groupBox29.SuspendLayout(); this.groupBox18.SuspendLayout(); this.groupBox11.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudWildLevelStep)).BeginInit(); this.tabPageGeneral.SuspendLayout(); this.groupBox31.SuspendLayout(); this.groupBox30.SuspendLayout(); this.GbImgCacheLocalAppData.SuspendLayout(); this.groupBox16.SuspendLayout(); this.GbSpecies.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.NudSpeciesSelectorCountLastUsed)).BeginInit(); this.groupBox26.SuspendLayout(); this.groupBox25.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudDefaultFontSize)).BeginInit(); this.groupBox20.SuspendLayout(); this.groupBox17.SuspendLayout(); this.groupBox9.SuspendLayout(); this.tabPageInfoGraphic.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PbInfoGraphicPreview)).BeginInit(); this.groupBox32.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudInfoGraphicHeight)).BeginInit(); this.groupBox28.SuspendLayout(); this.tabPageImportSavegame.SuspendLayout(); this.groupBox12.SuspendLayout(); this.groupBox15.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView_FileLocations)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.aTImportFileLocationBindingSource)).BeginInit(); this.groupBox14.SuspendLayout(); this.tabPageImportExported.SuspendLayout(); this.groupBox27.SuspendLayout(); this.groupBox23.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudImportLowerBoundTE)).BeginInit(); this.groupBox22.SuspendLayout(); this.panel2.SuspendLayout(); this.groupBox21.SuspendLayout(); @@ -402,13 +367,52 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.nudWarnImportMoreThan)).BeginInit(); this.groupBox13.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewExportFolders)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.aTExportFolderLocationsBindingSource)).BeginInit(); this.tabPageTimers.SuspendLayout(); this.groupBox24.SuspendLayout(); this.groupBox8.SuspendLayout(); this.tabPageOverlay.SuspendLayout(); this.groupBox10.SuspendLayout(); this.pCustomOverlayLocation.SuspendLayout(); + this.tabPageOCR.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudWildLevelStep)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintAmountEvent)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintAmount)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMatingSpeed)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyFoodConsumptionSpeedEvent)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMatingIntervalEvent)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyCuddleIntervalEvent)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyMatureSpeedEvent)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudEggHatchSpeedEvent)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyFoodConsumptionSpeed)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMatingInterval)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyCuddleInterval)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyMatureSpeed)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintingStatScale)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudEggHatchSpeed)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMaxServerLevel)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMaxGraphLevel)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMaxWildLevels)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMaxDomLevels)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudDinoCharacterFoodDrainEvent)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudTamingSpeedEvent)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudDinoCharacterFoodDrain)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudTamingSpeed)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.NudSpeciesSelectorCountLastUsed)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudDefaultFontSize)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelOddMax)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelOddMin)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelEvenMax)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelEvenMin)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxBreedingSug)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.NudWaitBeforeAutoLoad)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.NudKeepBackupFilesCount)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.NudBackupEveryMinutes)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudInfoGraphicHeight)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.aTImportFileLocationBindingSource)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudImportLowerBoundTE)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.aTExportFolderLocationsBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudCustomOverlayLocX)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudCustomOverlayLocY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudOverlayInfoPosY)).BeginInit(); @@ -416,15 +420,12 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.nudOverlayTimerPosY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudOverlayTimerPosX)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudOverlayInfoDuration)).BeginInit(); - this.tabPageOCR.SuspendLayout(); - this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.NudOCRClipboardCropHeight)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NudOCRClipboardCropWidth)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NudOCRClipboardCropTop)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NudOCRClipboardCropLeft)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudWaitBeforeScreenCapture)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudWhiteThreshold)).BeginInit(); - this.panel1.SuspendLayout(); this.SuspendLayout(); // // groupBoxMultiplier @@ -599,30 +600,6 @@ private void InitializeComponent() this.groupBox2.TabStop = false; this.groupBox2.Text = "Breeding-Multiplier"; // - // nudBabyImprintAmountEvent - // - this.nudBabyImprintAmountEvent.DecimalPlaces = 6; - this.nudBabyImprintAmountEvent.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudBabyImprintAmountEvent.Location = new System.Drawing.Point(263, 149); - this.nudBabyImprintAmountEvent.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudBabyImprintAmountEvent.Name = "nudBabyImprintAmountEvent"; - this.nudBabyImprintAmountEvent.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudBabyImprintAmountEvent.Size = new System.Drawing.Size(72, 20); - this.nudBabyImprintAmountEvent.TabIndex = 12; - this.nudBabyImprintAmountEvent.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // // label49 // this.label49.AutoSize = true; @@ -632,30 +609,6 @@ private void InitializeComponent() this.label49.TabIndex = 20; this.label49.Text = "BabyImprintAmountMultiplier"; // - // nudBabyImprintAmount - // - this.nudBabyImprintAmount.DecimalPlaces = 6; - this.nudBabyImprintAmount.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudBabyImprintAmount.Location = new System.Drawing.Point(183, 149); - this.nudBabyImprintAmount.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudBabyImprintAmount.Name = "nudBabyImprintAmount"; - this.nudBabyImprintAmount.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudBabyImprintAmount.Size = new System.Drawing.Size(72, 20); - this.nudBabyImprintAmount.TabIndex = 5; - this.nudBabyImprintAmount.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // // label44 // this.label44.AutoSize = true; @@ -665,151 +618,7 @@ private void InitializeComponent() this.label44.TabIndex = 18; this.label44.Text = "MatingSpeedMultiplier"; // - // nudMatingSpeed - // - this.nudMatingSpeed.DecimalPlaces = 6; - this.nudMatingSpeed.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudMatingSpeed.Location = new System.Drawing.Point(183, 19); - this.nudMatingSpeed.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudMatingSpeed.Name = "nudMatingSpeed"; - this.nudMatingSpeed.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudMatingSpeed.Size = new System.Drawing.Size(72, 20); - this.nudMatingSpeed.TabIndex = 0; - this.nudMatingSpeed.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // nudBabyFoodConsumptionSpeedEvent - // - this.nudBabyFoodConsumptionSpeedEvent.DecimalPlaces = 6; - this.nudBabyFoodConsumptionSpeedEvent.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudBabyFoodConsumptionSpeedEvent.Location = new System.Drawing.Point(263, 201); - this.nudBabyFoodConsumptionSpeedEvent.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudBabyFoodConsumptionSpeedEvent.Name = "nudBabyFoodConsumptionSpeedEvent"; - this.nudBabyFoodConsumptionSpeedEvent.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudBabyFoodConsumptionSpeedEvent.Size = new System.Drawing.Size(72, 20); - this.nudBabyFoodConsumptionSpeedEvent.TabIndex = 13; - this.nudBabyFoodConsumptionSpeedEvent.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // nudMatingIntervalEvent - // - this.nudMatingIntervalEvent.DecimalPlaces = 6; - this.nudMatingIntervalEvent.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudMatingIntervalEvent.Location = new System.Drawing.Point(263, 45); - this.nudMatingIntervalEvent.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudMatingIntervalEvent.Name = "nudMatingIntervalEvent"; - this.nudMatingIntervalEvent.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudMatingIntervalEvent.Size = new System.Drawing.Size(72, 20); - this.nudMatingIntervalEvent.TabIndex = 8; - this.nudMatingIntervalEvent.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // nudBabyCuddleIntervalEvent - // - this.nudBabyCuddleIntervalEvent.DecimalPlaces = 6; - this.nudBabyCuddleIntervalEvent.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudBabyCuddleIntervalEvent.Location = new System.Drawing.Point(263, 123); - this.nudBabyCuddleIntervalEvent.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudBabyCuddleIntervalEvent.Name = "nudBabyCuddleIntervalEvent"; - this.nudBabyCuddleIntervalEvent.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudBabyCuddleIntervalEvent.Size = new System.Drawing.Size(72, 20); - this.nudBabyCuddleIntervalEvent.TabIndex = 11; - this.nudBabyCuddleIntervalEvent.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // nudBabyMatureSpeedEvent - // - this.nudBabyMatureSpeedEvent.DecimalPlaces = 6; - this.nudBabyMatureSpeedEvent.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudBabyMatureSpeedEvent.Location = new System.Drawing.Point(263, 97); - this.nudBabyMatureSpeedEvent.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudBabyMatureSpeedEvent.Name = "nudBabyMatureSpeedEvent"; - this.nudBabyMatureSpeedEvent.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudBabyMatureSpeedEvent.Size = new System.Drawing.Size(72, 20); - this.nudBabyMatureSpeedEvent.TabIndex = 10; - this.nudBabyMatureSpeedEvent.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // nudEggHatchSpeedEvent - // - this.nudEggHatchSpeedEvent.DecimalPlaces = 6; - this.nudEggHatchSpeedEvent.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudEggHatchSpeedEvent.Location = new System.Drawing.Point(263, 71); - this.nudEggHatchSpeedEvent.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudEggHatchSpeedEvent.Name = "nudEggHatchSpeedEvent"; - this.nudEggHatchSpeedEvent.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudEggHatchSpeedEvent.Size = new System.Drawing.Size(72, 20); - this.nudEggHatchSpeedEvent.TabIndex = 9; - this.nudEggHatchSpeedEvent.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // labelBabyFoodConsumptionSpeed + // labelBabyFoodConsumptionSpeed // this.labelBabyFoodConsumptionSpeed.AutoSize = true; this.labelBabyFoodConsumptionSpeed.Location = new System.Drawing.Point(10, 203); @@ -818,30 +627,6 @@ private void InitializeComponent() this.labelBabyFoodConsumptionSpeed.TabIndex = 10; this.labelBabyFoodConsumptionSpeed.Text = "BabyFoodConsumptionSpeedMult"; // - // nudBabyFoodConsumptionSpeed - // - this.nudBabyFoodConsumptionSpeed.DecimalPlaces = 6; - this.nudBabyFoodConsumptionSpeed.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudBabyFoodConsumptionSpeed.Location = new System.Drawing.Point(183, 201); - this.nudBabyFoodConsumptionSpeed.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudBabyFoodConsumptionSpeed.Name = "nudBabyFoodConsumptionSpeed"; - this.nudBabyFoodConsumptionSpeed.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudBabyFoodConsumptionSpeed.Size = new System.Drawing.Size(72, 20); - this.nudBabyFoodConsumptionSpeed.TabIndex = 7; - this.nudBabyFoodConsumptionSpeed.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // // label3 // this.label3.AutoSize = true; @@ -851,30 +636,6 @@ private void InitializeComponent() this.label3.TabIndex = 8; this.label3.Text = "MatingIntervalMultiplier"; // - // nudMatingInterval - // - this.nudMatingInterval.DecimalPlaces = 6; - this.nudMatingInterval.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudMatingInterval.Location = new System.Drawing.Point(183, 45); - this.nudMatingInterval.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudMatingInterval.Name = "nudMatingInterval"; - this.nudMatingInterval.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudMatingInterval.Size = new System.Drawing.Size(72, 20); - this.nudMatingInterval.TabIndex = 1; - this.nudMatingInterval.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // // label17 // this.label17.AutoSize = true; @@ -884,30 +645,6 @@ private void InitializeComponent() this.label17.TabIndex = 6; this.label17.Text = "BabyCuddleIntervalMultiplier"; // - // nudBabyCuddleInterval - // - this.nudBabyCuddleInterval.DecimalPlaces = 6; - this.nudBabyCuddleInterval.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudBabyCuddleInterval.Location = new System.Drawing.Point(183, 123); - this.nudBabyCuddleInterval.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudBabyCuddleInterval.Name = "nudBabyCuddleInterval"; - this.nudBabyCuddleInterval.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudBabyCuddleInterval.Size = new System.Drawing.Size(72, 20); - this.nudBabyCuddleInterval.TabIndex = 4; - this.nudBabyCuddleInterval.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // // label13 // this.label13.AutoSize = true; @@ -926,88 +663,16 @@ private void InitializeComponent() this.label9.TabIndex = 2; this.label9.Text = "BabyMatureSpeedMultiplier"; // - // nudBabyMatureSpeed + // label8 // - this.nudBabyMatureSpeed.DecimalPlaces = 6; - this.nudBabyMatureSpeed.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudBabyMatureSpeed.Location = new System.Drawing.Point(183, 97); - this.nudBabyMatureSpeed.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudBabyMatureSpeed.Name = "nudBabyMatureSpeed"; - this.nudBabyMatureSpeed.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudBabyMatureSpeed.Size = new System.Drawing.Size(72, 20); - this.nudBabyMatureSpeed.TabIndex = 3; - this.nudBabyMatureSpeed.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(10, 73); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(127, 13); + this.label8.TabIndex = 0; + this.label8.Text = "EggHatchSpeedMultiplier"; // - // nudBabyImprintingStatScale - // - this.nudBabyImprintingStatScale.DecimalPlaces = 6; - this.nudBabyImprintingStatScale.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudBabyImprintingStatScale.Location = new System.Drawing.Point(183, 175); - this.nudBabyImprintingStatScale.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudBabyImprintingStatScale.Name = "nudBabyImprintingStatScale"; - this.nudBabyImprintingStatScale.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudBabyImprintingStatScale.Size = new System.Drawing.Size(72, 20); - this.nudBabyImprintingStatScale.TabIndex = 6; - this.nudBabyImprintingStatScale.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(10, 73); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(127, 13); - this.label8.TabIndex = 0; - this.label8.Text = "EggHatchSpeedMultiplier"; - // - // nudEggHatchSpeed - // - this.nudEggHatchSpeed.DecimalPlaces = 6; - this.nudEggHatchSpeed.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudEggHatchSpeed.Location = new System.Drawing.Point(183, 71); - this.nudEggHatchSpeed.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudEggHatchSpeed.Name = "nudEggHatchSpeed"; - this.nudEggHatchSpeed.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudEggHatchSpeed.Size = new System.Drawing.Size(72, 20); - this.nudEggHatchSpeed.TabIndex = 2; - this.nudEggHatchSpeed.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // groupBox3 + // groupBox3 // this.groupBox3.Controls.Add(this.LbDefaultLevelups); this.groupBox3.Controls.Add(this.nudMaxServerLevel); @@ -1033,24 +698,6 @@ private void InitializeComponent() this.LbDefaultLevelups.Size = new System.Drawing.Size(0, 13); this.LbDefaultLevelups.TabIndex = 13; // - // nudMaxServerLevel - // - this.nudMaxServerLevel.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudMaxServerLevel.Location = new System.Drawing.Point(183, 97); - this.nudMaxServerLevel.Maximum = new decimal(new int[] { - 100000, - 0, - 0, - 0}); - this.nudMaxServerLevel.Name = "nudMaxServerLevel"; - this.nudMaxServerLevel.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudMaxServerLevel.Size = new System.Drawing.Size(57, 20); - this.nudMaxServerLevel.TabIndex = 3; - // // lbMaxTotalLevel // this.lbMaxTotalLevel.AutoSize = true; @@ -1060,24 +707,6 @@ private void InitializeComponent() this.lbMaxTotalLevel.TabIndex = 12; this.lbMaxTotalLevel.Text = "Max Total Level (0: disabled)"; // - // nudMaxGraphLevel - // - this.nudMaxGraphLevel.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudMaxGraphLevel.Location = new System.Drawing.Point(183, 71); - this.nudMaxGraphLevel.Maximum = new decimal(new int[] { - 100000, - 0, - 0, - 0}); - this.nudMaxGraphLevel.Name = "nudMaxGraphLevel"; - this.nudMaxGraphLevel.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudMaxGraphLevel.Size = new System.Drawing.Size(57, 20); - this.nudMaxGraphLevel.TabIndex = 2; - // // label18 // this.label18.AutoSize = true; @@ -1096,24 +725,6 @@ private void InitializeComponent() this.label11.TabIndex = 0; this.label11.Text = "Max Wild Level"; // - // nudMaxWildLevels - // - this.nudMaxWildLevels.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudMaxWildLevels.Location = new System.Drawing.Point(183, 19); - this.nudMaxWildLevels.Maximum = new decimal(new int[] { - 100000, - 0, - 0, - 0}); - this.nudMaxWildLevels.Name = "nudMaxWildLevels"; - this.nudMaxWildLevels.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudMaxWildLevels.Size = new System.Drawing.Size(57, 20); - this.nudMaxWildLevels.TabIndex = 0; - // // label10 // this.label10.AutoSize = true; @@ -1123,24 +734,6 @@ private void InitializeComponent() this.label10.TabIndex = 2; this.label10.Text = "Max Tamed Levelups"; // - // nudMaxDomLevels - // - this.nudMaxDomLevels.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudMaxDomLevels.Location = new System.Drawing.Point(183, 45); - this.nudMaxDomLevels.Maximum = new decimal(new int[] { - 100000, - 0, - 0, - 0}); - this.nudMaxDomLevels.Name = "nudMaxDomLevels"; - this.nudMaxDomLevels.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudMaxDomLevels.Size = new System.Drawing.Size(57, 20); - this.nudMaxDomLevels.TabIndex = 1; - // // groupBox4 // this.groupBox4.Controls.Add(this.label57); @@ -1200,107 +793,6 @@ private void InitializeComponent() this.pbChartEvenRange.TabIndex = 12; this.pbChartEvenRange.TabStop = false; // - // nudChartLevelOddMax - // - this.nudChartLevelOddMax.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudChartLevelOddMax.Location = new System.Drawing.Point(268, 137); - this.nudChartLevelOddMax.Maximum = new decimal(new int[] { - 360, - 0, - 0, - 0}); - this.nudChartLevelOddMax.Minimum = new decimal(new int[] { - 360, - 0, - 0, - -2147483648}); - this.nudChartLevelOddMax.Name = "nudChartLevelOddMax"; - this.nudChartLevelOddMax.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudChartLevelOddMax.Size = new System.Drawing.Size(41, 20); - this.nudChartLevelOddMax.TabIndex = 11; - this.nudChartLevelOddMax.Value = new decimal(new int[] { - 360, - 0, - 0, - 0}); - this.nudChartLevelOddMax.ValueChanged += new System.EventHandler(this.nudChartLevelOddMax_ValueChanged); - // - // nudChartLevelOddMin - // - this.nudChartLevelOddMin.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudChartLevelOddMin.Location = new System.Drawing.Point(209, 137); - this.nudChartLevelOddMin.Maximum = new decimal(new int[] { - 360, - 0, - 0, - 0}); - this.nudChartLevelOddMin.Minimum = new decimal(new int[] { - 360, - 0, - 0, - -2147483648}); - this.nudChartLevelOddMin.Name = "nudChartLevelOddMin"; - this.nudChartLevelOddMin.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudChartLevelOddMin.Size = new System.Drawing.Size(41, 20); - this.nudChartLevelOddMin.TabIndex = 10; - this.nudChartLevelOddMin.ValueChanged += new System.EventHandler(this.nudChartLevelOddMin_ValueChanged); - // - // nudChartLevelEvenMax - // - this.nudChartLevelEvenMax.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudChartLevelEvenMax.Location = new System.Drawing.Point(102, 137); - this.nudChartLevelEvenMax.Maximum = new decimal(new int[] { - 360, - 0, - 0, - 0}); - this.nudChartLevelEvenMax.Minimum = new decimal(new int[] { - 360, - 0, - 0, - -2147483648}); - this.nudChartLevelEvenMax.Name = "nudChartLevelEvenMax"; - this.nudChartLevelEvenMax.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudChartLevelEvenMax.Size = new System.Drawing.Size(41, 20); - this.nudChartLevelEvenMax.TabIndex = 9; - this.nudChartLevelEvenMax.ValueChanged += new System.EventHandler(this.nudChartLevelEvenMax_ValueChanged); - // - // nudChartLevelEvenMin - // - this.nudChartLevelEvenMin.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudChartLevelEvenMin.Location = new System.Drawing.Point(43, 137); - this.nudChartLevelEvenMin.Maximum = new decimal(new int[] { - 360, - 0, - 0, - 0}); - this.nudChartLevelEvenMin.Minimum = new decimal(new int[] { - 360, - 0, - 0, - -2147483648}); - this.nudChartLevelEvenMin.Name = "nudChartLevelEvenMin"; - this.nudChartLevelEvenMin.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudChartLevelEvenMin.Size = new System.Drawing.Size(41, 20); - this.nudChartLevelEvenMin.TabIndex = 8; - this.nudChartLevelEvenMin.ValueChanged += new System.EventHandler(this.nudChartLevelEvenMin_ValueChanged); - // // CbHighlightLevelEvenOdd // this.CbHighlightLevelEvenOdd.AutoSize = true; @@ -1371,24 +863,6 @@ private void InitializeComponent() this.label12.TabIndex = 0; this.label12.Text = "Max Breeding Pair Suggestions"; // - // numericUpDownMaxBreedingSug - // - this.numericUpDownMaxBreedingSug.ForeColor = System.Drawing.SystemColors.GrayText; - this.numericUpDownMaxBreedingSug.Location = new System.Drawing.Point(252, 19); - this.numericUpDownMaxBreedingSug.Maximum = new decimal(new int[] { - 200, - 0, - 0, - 0}); - this.numericUpDownMaxBreedingSug.Name = "numericUpDownMaxBreedingSug"; - this.numericUpDownMaxBreedingSug.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.numericUpDownMaxBreedingSug.Size = new System.Drawing.Size(57, 20); - this.numericUpDownMaxBreedingSug.TabIndex = 1; - // // groupBox5 // this.groupBox5.Controls.Add(this.nudDinoCharacterFoodDrainEvent); @@ -1404,55 +878,7 @@ private void InitializeComponent() this.groupBox5.TabStop = false; this.groupBox5.Text = "Taming-Multiplier"; // - // nudDinoCharacterFoodDrainEvent - // - this.nudDinoCharacterFoodDrainEvent.DecimalPlaces = 6; - this.nudDinoCharacterFoodDrainEvent.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudDinoCharacterFoodDrainEvent.Location = new System.Drawing.Point(263, 45); - this.nudDinoCharacterFoodDrainEvent.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudDinoCharacterFoodDrainEvent.Name = "nudDinoCharacterFoodDrainEvent"; - this.nudDinoCharacterFoodDrainEvent.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudDinoCharacterFoodDrainEvent.Size = new System.Drawing.Size(72, 20); - this.nudDinoCharacterFoodDrainEvent.TabIndex = 3; - this.nudDinoCharacterFoodDrainEvent.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // nudTamingSpeedEvent - // - this.nudTamingSpeedEvent.DecimalPlaces = 6; - this.nudTamingSpeedEvent.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudTamingSpeedEvent.Location = new System.Drawing.Point(263, 19); - this.nudTamingSpeedEvent.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudTamingSpeedEvent.Name = "nudTamingSpeedEvent"; - this.nudTamingSpeedEvent.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudTamingSpeedEvent.Size = new System.Drawing.Size(72, 20); - this.nudTamingSpeedEvent.TabIndex = 2; - this.nudTamingSpeedEvent.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // label7 + // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(10, 47); @@ -1470,54 +896,6 @@ private void InitializeComponent() this.label14.TabIndex = 0; this.label14.Text = "TamingSpeedMultiplier"; // - // nudDinoCharacterFoodDrain - // - this.nudDinoCharacterFoodDrain.DecimalPlaces = 6; - this.nudDinoCharacterFoodDrain.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudDinoCharacterFoodDrain.Location = new System.Drawing.Point(183, 45); - this.nudDinoCharacterFoodDrain.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudDinoCharacterFoodDrain.Name = "nudDinoCharacterFoodDrain"; - this.nudDinoCharacterFoodDrain.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudDinoCharacterFoodDrain.Size = new System.Drawing.Size(72, 20); - this.nudDinoCharacterFoodDrain.TabIndex = 1; - this.nudDinoCharacterFoodDrain.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // nudTamingSpeed - // - this.nudTamingSpeed.DecimalPlaces = 6; - this.nudTamingSpeed.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudTamingSpeed.Location = new System.Drawing.Point(183, 19); - this.nudTamingSpeed.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudTamingSpeed.Name = "nudTamingSpeed"; - this.nudTamingSpeed.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudTamingSpeed.Size = new System.Drawing.Size(72, 20); - this.nudTamingSpeed.TabIndex = 0; - this.nudTamingSpeed.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // // label15 // this.label15.Location = new System.Drawing.Point(453, 527); @@ -1558,24 +936,6 @@ private void InitializeComponent() this.label55.TabIndex = 13; this.label55.Text = "wait before loading [ms]"; // - // NudWaitBeforeAutoLoad - // - this.NudWaitBeforeAutoLoad.ForeColor = System.Drawing.SystemColors.GrayText; - this.NudWaitBeforeAutoLoad.Location = new System.Drawing.Point(255, 41); - this.NudWaitBeforeAutoLoad.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.NudWaitBeforeAutoLoad.Name = "NudWaitBeforeAutoLoad"; - this.NudWaitBeforeAutoLoad.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.NudWaitBeforeAutoLoad.Size = new System.Drawing.Size(56, 20); - this.NudWaitBeforeAutoLoad.TabIndex = 12; - // // label54 // this.label54.AutoSize = true; @@ -1585,19 +945,6 @@ private void InitializeComponent() this.label54.TabIndex = 5; this.label54.Text = "backup files (0 to disable backups)"; // - // NudKeepBackupFilesCount - // - this.NudKeepBackupFilesCount.ForeColor = System.Drawing.SystemColors.GrayText; - this.NudKeepBackupFilesCount.Location = new System.Drawing.Point(44, 118); - this.NudKeepBackupFilesCount.Name = "NudKeepBackupFilesCount"; - this.NudKeepBackupFilesCount.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.NudKeepBackupFilesCount.Size = new System.Drawing.Size(59, 20); - this.NudKeepBackupFilesCount.TabIndex = 4; - // // label53 // this.label53.AutoSize = true; @@ -1646,19 +993,6 @@ private void InitializeComponent() this.label2.Text = "Enable both checkboxes if you want to edit the library file with multiple persons" + ". Place the .asb collection-file in a shared-folder that the others have access " + "to."; - // - // NudBackupEveryMinutes - // - this.NudBackupEveryMinutes.ForeColor = System.Drawing.SystemColors.GrayText; - this.NudBackupEveryMinutes.Location = new System.Drawing.Point(132, 144); - this.NudBackupEveryMinutes.Name = "NudBackupEveryMinutes"; - this.NudBackupEveryMinutes.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.NudBackupEveryMinutes.Size = new System.Drawing.Size(47, 20); - this.NudBackupEveryMinutes.TabIndex = 7; // // groupBox7 // @@ -1701,6 +1035,7 @@ private void InitializeComponent() // this.tabPageMultipliers.AllowDrop = true; this.tabPageMultipliers.AutoScroll = true; + this.tabPageMultipliers.Controls.Add(this.BtSettingsToClipboard); this.tabPageMultipliers.Controls.Add(this.groupBox29); this.tabPageMultipliers.Controls.Add(this.label34); this.tabPageMultipliers.Controls.Add(this.btExportMultipliers); @@ -1747,18 +1082,18 @@ private void InitializeComponent() // // label34 // - this.label34.Location = new System.Drawing.Point(419, 605); + this.label34.Location = new System.Drawing.Point(404, 605); this.label34.Name = "label34"; - this.label34.Size = new System.Drawing.Size(320, 34); + this.label34.Size = new System.Drawing.Size(338, 34); this.label34.TabIndex = 10; - this.label34.Text = "You can export the settings on this page to a file, e.g. to share it with tribe m" + - "embers or for bug reports."; + this.label34.Text = "You can export the settings on this page to a file or the clipboard to share it w" + + "ith tribe members or for bug reports."; // // btExportMultipliers // - this.btExportMultipliers.Location = new System.Drawing.Point(422, 642); + this.btExportMultipliers.Location = new System.Drawing.Point(407, 642); this.btExportMultipliers.Name = "btExportMultipliers"; - this.btExportMultipliers.Size = new System.Drawing.Size(317, 23); + this.btExportMultipliers.Size = new System.Drawing.Size(187, 23); this.btExportMultipliers.TabIndex = 11; this.btExportMultipliers.Text = "Export multiplier settings to file…"; this.btExportMultipliers.UseVisualStyleBackColor = true; @@ -1800,7 +1135,7 @@ private void InitializeComponent() this.label27.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label27.Location = new System.Drawing.Point(417, 527); this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(30, 26); + this.label27.Size = new System.Drawing.Size(37, 26); this.label27.TabIndex = 12; this.label27.Text = "💡"; // @@ -1837,34 +1172,6 @@ private void InitializeComponent() this.cbAllowMoreThanHundredImprinting.Text = "Allow more than 100% imprinting"; this.cbAllowMoreThanHundredImprinting.UseVisualStyleBackColor = true; // - // nudWildLevelStep - // - this.nudWildLevelStep.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudWildLevelStep.Location = new System.Drawing.Point(319, 17); - this.nudWildLevelStep.Maximum = new decimal(new int[] { - 100000, - 0, - 0, - 0}); - this.nudWildLevelStep.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.nudWildLevelStep.Name = "nudWildLevelStep"; - this.nudWildLevelStep.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudWildLevelStep.Size = new System.Drawing.Size(57, 20); - this.nudWildLevelStep.TabIndex = 1; - this.nudWildLevelStep.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // // cbConsiderWildLevelSteps // this.cbConsiderWildLevelSteps.AutoSize = true; @@ -2050,19 +1357,6 @@ private void InitializeComponent() this.LbSpeciesSelectorCountLastUsed.TabIndex = 0; this.LbSpeciesSelectorCountLastUsed.Text = "Number of displayed last used species"; // - // NudSpeciesSelectorCountLastUsed - // - this.NudSpeciesSelectorCountLastUsed.ForeColor = System.Drawing.SystemColors.GrayText; - this.NudSpeciesSelectorCountLastUsed.Location = new System.Drawing.Point(252, 19); - this.NudSpeciesSelectorCountLastUsed.Name = "NudSpeciesSelectorCountLastUsed"; - this.NudSpeciesSelectorCountLastUsed.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.NudSpeciesSelectorCountLastUsed.Size = new System.Drawing.Size(57, 20); - this.NudSpeciesSelectorCountLastUsed.TabIndex = 1; - // // groupBox26 // this.groupBox26.Controls.Add(this.cbAdminConsoleCommandWithCheat); @@ -2126,20 +1420,6 @@ private void InitializeComponent() this.CbbColorMode.Size = new System.Drawing.Size(222, 21); this.CbbColorMode.TabIndex = 5; // - // nudDefaultFontSize - // - this.nudDefaultFontSize.DecimalPlaces = 2; - this.nudDefaultFontSize.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudDefaultFontSize.Location = new System.Drawing.Point(335, 18); - this.nudDefaultFontSize.Name = "nudDefaultFontSize"; - this.nudDefaultFontSize.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudDefaultFontSize.Size = new System.Drawing.Size(72, 20); - this.nudDefaultFontSize.TabIndex = 3; - // // label33 // this.label33.AutoSize = true; @@ -2288,6 +1568,16 @@ private void InitializeComponent() this.tabPageInfoGraphic.Text = "Info Graphic"; this.tabPageInfoGraphic.UseVisualStyleBackColor = true; // + // BtNewRandomInfoGraphicCreature + // + this.BtNewRandomInfoGraphicCreature.Location = new System.Drawing.Point(62, 293); + this.BtNewRandomInfoGraphicCreature.Name = "BtNewRandomInfoGraphicCreature"; + this.BtNewRandomInfoGraphicCreature.Size = new System.Drawing.Size(200, 20); + this.BtNewRandomInfoGraphicCreature.TabIndex = 19; + this.BtNewRandomInfoGraphicCreature.Text = "new random creature for preview"; + this.BtNewRandomInfoGraphicCreature.UseVisualStyleBackColor = true; + this.BtNewRandomInfoGraphicCreature.Click += new System.EventHandler(this.BtNewRandomInfoGraphicCreature_Click); + // // label63 // this.label63.AutoSize = true; @@ -2341,35 +1631,6 @@ private void InitializeComponent() this.CbbInfoGraphicFontName.TabIndex = 16; this.CbbInfoGraphicFontName.SelectedIndexChanged += new System.EventHandler(this.CbbInfoGraphicFontName_SelectedIndexChanged); // - // nudInfoGraphicHeight - // - this.nudInfoGraphicHeight.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudInfoGraphicHeight.Location = new System.Drawing.Point(126, 18); - this.nudInfoGraphicHeight.Maximum = new decimal(new int[] { - 99999, - 0, - 0, - 0}); - this.nudInfoGraphicHeight.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.nudInfoGraphicHeight.Name = "nudInfoGraphicHeight"; - this.nudInfoGraphicHeight.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudInfoGraphicHeight.Size = new System.Drawing.Size(57, 20); - this.nudInfoGraphicHeight.TabIndex = 2; - this.nudInfoGraphicHeight.Value = new decimal(new int[] { - 100, - 0, - 0, - 0}); - this.nudInfoGraphicHeight.ValueChanged += new System.EventHandler(this.nudInfoGraphicHeight_ValueChanged); - // // BtInfoGraphicForeColor // this.BtInfoGraphicForeColor.Location = new System.Drawing.Point(9, 44); @@ -2647,28 +1908,6 @@ private void InitializeComponent() this.dataGridView_FileLocations.TabIndex = 2; this.dataGridView_FileLocations.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_FileLocations_CellClick); // - // convenientNameDataGridViewTextBoxColumn - // - this.convenientNameDataGridViewTextBoxColumn.DataPropertyName = "ConvenientName"; - this.convenientNameDataGridViewTextBoxColumn.HeaderText = "Name"; - this.convenientNameDataGridViewTextBoxColumn.Name = "convenientNameDataGridViewTextBoxColumn"; - this.convenientNameDataGridViewTextBoxColumn.ReadOnly = true; - // - // serverNameDataGridViewTextBoxColumn - // - this.serverNameDataGridViewTextBoxColumn.DataPropertyName = "ServerName"; - this.serverNameDataGridViewTextBoxColumn.HeaderText = "Server name"; - this.serverNameDataGridViewTextBoxColumn.Name = "serverNameDataGridViewTextBoxColumn"; - this.serverNameDataGridViewTextBoxColumn.ReadOnly = true; - // - // fileLocationDataGridViewTextBoxColumn - // - this.fileLocationDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.fileLocationDataGridViewTextBoxColumn.DataPropertyName = "FileLocation"; - this.fileLocationDataGridViewTextBoxColumn.HeaderText = "File location"; - this.fileLocationDataGridViewTextBoxColumn.Name = "fileLocationDataGridViewTextBoxColumn"; - this.fileLocationDataGridViewTextBoxColumn.ReadOnly = true; - // // dgvFileLocation_Change // this.dgvFileLocation_Change.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; @@ -2703,11 +1942,6 @@ private void InitializeComponent() this.dgvFileLocation_Delete.UseColumnTextForButtonValue = true; this.dgvFileLocation_Delete.Width = 50; // - // aTImportFileLocationBindingSource - // - this.aTImportFileLocationBindingSource.AllowNew = false; - this.aTImportFileLocationBindingSource.DataSource = typeof(ARKBreedingStats.settings.ATImportFileLocation); - // // btAddSavegameFileLocation // this.btAddSavegameFileLocation.Dock = System.Windows.Forms.DockStyle.Top; @@ -2741,15 +1975,6 @@ private void InitializeComponent() this.groupBox14.TabStop = false; this.groupBox14.Text = "Target folder for save-game working copy (user\'s temp dir if empty). It\'s recomme" + "nded to leave this setting empty."; - // - // fileSelectorExtractedSaveFolder - // - this.fileSelectorExtractedSaveFolder.Dock = System.Windows.Forms.DockStyle.Fill; - this.fileSelectorExtractedSaveFolder.Link = "filename"; - this.fileSelectorExtractedSaveFolder.Location = new System.Drawing.Point(3, 16); - this.fileSelectorExtractedSaveFolder.Name = "fileSelectorExtractedSaveFolder"; - this.fileSelectorExtractedSaveFolder.Size = new System.Drawing.Size(724, 28); - this.fileSelectorExtractedSaveFolder.TabIndex = 0; // // label24 // @@ -2861,21 +2086,7 @@ private void InitializeComponent() this.label30.TabIndex = 11; this.label30.Text = "%"; // - // nudImportLowerBoundTE - // - this.nudImportLowerBoundTE.DecimalPlaces = 2; - this.nudImportLowerBoundTE.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudImportLowerBoundTE.Location = new System.Drawing.Point(227, 19); - this.nudImportLowerBoundTE.Name = "nudImportLowerBoundTE"; - this.nudImportLowerBoundTE.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudImportLowerBoundTE.Size = new System.Drawing.Size(64, 20); - this.nudImportLowerBoundTE.TabIndex = 1; - // - // groupBox22 + // groupBox22 // this.groupBox22.Controls.Add(this.CbBringToFrontOnImportExportIssue); this.groupBox22.Controls.Add(this.CbAutoExtractAddToLibrary); @@ -3166,39 +2377,1364 @@ private void InitializeComponent() 0, 0, 0}); - this.nudWarnImportMoreThan.Name = "nudWarnImportMoreThan"; - this.nudWarnImportMoreThan.Size = new System.Drawing.Size(128, 20); - this.nudWarnImportMoreThan.TabIndex = 1; - // - // groupBox13 - // - this.groupBox13.Controls.Add(this.dataGridViewExportFolders); - this.groupBox13.Controls.Add(this.btAddExportFolder); - this.groupBox13.Location = new System.Drawing.Point(6, 112); - this.groupBox13.Name = "groupBox13"; - this.groupBox13.Size = new System.Drawing.Size(736, 261); - this.groupBox13.TabIndex = 2; - this.groupBox13.TabStop = false; - this.groupBox13.Text = "ARK export folders"; - // - // dataGridViewExportFolders - // - this.dataGridViewExportFolders.AutoGenerateColumns = false; - this.dataGridViewExportFolders.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.convenientNameDataGridViewTextBoxColumn1, - this.ownerSuffixDataGridViewTextBoxColumn, - this.folderPathDataGridViewTextBoxColumn, - this.dgvExportFolderChange, - this.dgvExportFolderDelete, - this.dgvExportMakeDefault}); - this.dataGridViewExportFolders.DataSource = this.aTExportFolderLocationsBindingSource; - this.dataGridViewExportFolders.Dock = System.Windows.Forms.DockStyle.Fill; - this.dataGridViewExportFolders.Location = new System.Drawing.Point(3, 39); - this.dataGridViewExportFolders.Name = "dataGridViewExportFolders"; - this.dataGridViewExportFolders.RowHeadersVisible = false; - this.dataGridViewExportFolders.Size = new System.Drawing.Size(730, 219); - this.dataGridViewExportFolders.TabIndex = 1; - this.dataGridViewExportFolders.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewExportFolders_CellClick); + this.nudWarnImportMoreThan.Name = "nudWarnImportMoreThan"; + this.nudWarnImportMoreThan.Size = new System.Drawing.Size(128, 20); + this.nudWarnImportMoreThan.TabIndex = 1; + // + // groupBox13 + // + this.groupBox13.Controls.Add(this.dataGridViewExportFolders); + this.groupBox13.Controls.Add(this.btAddExportFolder); + this.groupBox13.Location = new System.Drawing.Point(6, 112); + this.groupBox13.Name = "groupBox13"; + this.groupBox13.Size = new System.Drawing.Size(736, 261); + this.groupBox13.TabIndex = 2; + this.groupBox13.TabStop = false; + this.groupBox13.Text = "ARK export folders"; + // + // dataGridViewExportFolders + // + this.dataGridViewExportFolders.AutoGenerateColumns = false; + this.dataGridViewExportFolders.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.convenientNameDataGridViewTextBoxColumn1, + this.ownerSuffixDataGridViewTextBoxColumn, + this.folderPathDataGridViewTextBoxColumn, + this.dgvExportFolderChange, + this.dgvExportFolderDelete, + this.dgvExportMakeDefault}); + this.dataGridViewExportFolders.DataSource = this.aTExportFolderLocationsBindingSource; + this.dataGridViewExportFolders.Dock = System.Windows.Forms.DockStyle.Fill; + this.dataGridViewExportFolders.Location = new System.Drawing.Point(3, 39); + this.dataGridViewExportFolders.Name = "dataGridViewExportFolders"; + this.dataGridViewExportFolders.RowHeadersVisible = false; + this.dataGridViewExportFolders.Size = new System.Drawing.Size(730, 219); + this.dataGridViewExportFolders.TabIndex = 1; + this.dataGridViewExportFolders.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewExportFolders_CellClick); + // + // dgvExportFolderChange + // + this.dgvExportFolderChange.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.dgvExportFolderChange.HeaderText = "Change"; + this.dgvExportFolderChange.MinimumWidth = 50; + this.dgvExportFolderChange.Name = "dgvExportFolderChange"; + this.dgvExportFolderChange.ReadOnly = true; + this.dgvExportFolderChange.Text = "Change"; + this.dgvExportFolderChange.UseColumnTextForButtonValue = true; + this.dgvExportFolderChange.Width = 50; + // + // dgvExportFolderDelete + // + this.dgvExportFolderDelete.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.dgvExportFolderDelete.HeaderText = "Delete"; + this.dgvExportFolderDelete.MinimumWidth = 50; + this.dgvExportFolderDelete.Name = "dgvExportFolderDelete"; + this.dgvExportFolderDelete.ReadOnly = true; + this.dgvExportFolderDelete.Text = "Delete"; + this.dgvExportFolderDelete.UseColumnTextForButtonValue = true; + this.dgvExportFolderDelete.Width = 50; + // + // dgvExportMakeDefault + // + this.dgvExportMakeDefault.HeaderText = "Default"; + this.dgvExportMakeDefault.Name = "dgvExportMakeDefault"; + this.dgvExportMakeDefault.ReadOnly = true; + this.dgvExportMakeDefault.Text = "Make default"; + this.dgvExportMakeDefault.UseColumnTextForButtonValue = true; + // + // btAddExportFolder + // + this.btAddExportFolder.Dock = System.Windows.Forms.DockStyle.Top; + this.btAddExportFolder.Location = new System.Drawing.Point(3, 16); + this.btAddExportFolder.Name = "btAddExportFolder"; + this.btAddExportFolder.Size = new System.Drawing.Size(730, 23); + this.btAddExportFolder.TabIndex = 0; + this.btAddExportFolder.Text = "Add Export Folder…"; + this.btAddExportFolder.UseVisualStyleBackColor = true; + this.btAddExportFolder.Click += new System.EventHandler(this.btAddExportFolder_Click); + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Location = new System.Drawing.Point(3, 3); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(669, 91); + this.label25.TabIndex = 0; + this.label25.Text = resources.GetString("label25.Text"); + // + // tabPageTimers + // + this.tabPageTimers.Controls.Add(this.groupBox24); + this.tabPageTimers.Controls.Add(this.groupBox8); + this.tabPageTimers.Location = new System.Drawing.Point(4, 22); + this.tabPageTimers.Name = "tabPageTimers"; + this.tabPageTimers.Padding = new System.Windows.Forms.Padding(3); + this.tabPageTimers.Size = new System.Drawing.Size(750, 676); + this.tabPageTimers.TabIndex = 6; + this.tabPageTimers.Text = "Timers"; + this.tabPageTimers.UseVisualStyleBackColor = true; + // + // groupBox24 + // + this.groupBox24.Controls.Add(this.cbKeepExpiredTimersInOverlay); + this.groupBox24.Controls.Add(this.cbDeleteExpiredTimersOnSaving); + this.groupBox24.Controls.Add(this.cbTimersInOverlayAutomatically); + this.groupBox24.Location = new System.Drawing.Point(8, 233); + this.groupBox24.Name = "groupBox24"; + this.groupBox24.Size = new System.Drawing.Size(413, 90); + this.groupBox24.TabIndex = 1; + this.groupBox24.TabStop = false; + this.groupBox24.Text = "Timers"; + // + // cbKeepExpiredTimersInOverlay + // + this.cbKeepExpiredTimersInOverlay.AutoSize = true; + this.cbKeepExpiredTimersInOverlay.Location = new System.Drawing.Point(6, 42); + this.cbKeepExpiredTimersInOverlay.Name = "cbKeepExpiredTimersInOverlay"; + this.cbKeepExpiredTimersInOverlay.Size = new System.Drawing.Size(166, 17); + this.cbKeepExpiredTimersInOverlay.TabIndex = 1; + this.cbKeepExpiredTimersInOverlay.Text = "Keep expired timers in overlay"; + this.cbKeepExpiredTimersInOverlay.UseVisualStyleBackColor = true; + // + // cbDeleteExpiredTimersOnSaving + // + this.cbDeleteExpiredTimersOnSaving.AutoSize = true; + this.cbDeleteExpiredTimersOnSaving.Location = new System.Drawing.Point(6, 65); + this.cbDeleteExpiredTimersOnSaving.Name = "cbDeleteExpiredTimersOnSaving"; + this.cbDeleteExpiredTimersOnSaving.Size = new System.Drawing.Size(217, 17); + this.cbDeleteExpiredTimersOnSaving.TabIndex = 2; + this.cbDeleteExpiredTimersOnSaving.Text = "Delete expired timers when saving library"; + this.cbDeleteExpiredTimersOnSaving.UseVisualStyleBackColor = true; + // + // cbTimersInOverlayAutomatically + // + this.cbTimersInOverlayAutomatically.AutoSize = true; + this.cbTimersInOverlayAutomatically.Location = new System.Drawing.Point(6, 19); + this.cbTimersInOverlayAutomatically.Name = "cbTimersInOverlayAutomatically"; + this.cbTimersInOverlayAutomatically.Size = new System.Drawing.Size(202, 17); + this.cbTimersInOverlayAutomatically.TabIndex = 0; + this.cbTimersInOverlayAutomatically.Text = "Display timers in overlay automatically"; + this.cbTimersInOverlayAutomatically.UseVisualStyleBackColor = true; + // + // groupBox8 + // + this.groupBox8.Controls.Add(this.label22); + this.groupBox8.Controls.Add(this.tbPlayAlarmsSeconds); + this.groupBox8.Controls.Add(this.customSCCustom); + this.groupBox8.Controls.Add(this.customSCWakeup); + this.groupBox8.Controls.Add(this.customSCBirth); + this.groupBox8.Controls.Add(this.customSCStarving); + this.groupBox8.Controls.Add(this.label20); + this.groupBox8.Location = new System.Drawing.Point(8, 6); + this.groupBox8.Name = "groupBox8"; + this.groupBox8.Size = new System.Drawing.Size(413, 221); + this.groupBox8.TabIndex = 0; + this.groupBox8.TabStop = false; + this.groupBox8.Text = "Timer Sounds"; + // + // label22 + // + this.label22.Location = new System.Drawing.Point(6, 171); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(255, 66); + this.label22.TabIndex = 5; + this.label22.Text = "List of seconds the alarms play before they reach 0.\r\nE.g. \"60,0\" to play the ala" + + "rm at 60 s and at 0 s. Use commas to separate the values."; + // + // tbPlayAlarmsSeconds + // + this.tbPlayAlarmsSeconds.Location = new System.Drawing.Point(267, 168); + this.tbPlayAlarmsSeconds.Name = "tbPlayAlarmsSeconds"; + this.tbPlayAlarmsSeconds.Size = new System.Drawing.Size(140, 20); + this.tbPlayAlarmsSeconds.TabIndex = 6; + // + // label20 + // + this.label20.Location = new System.Drawing.Point(6, 16); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(316, 33); + this.label20.TabIndex = 0; + this.label20.Text = "Only PCM-WAV-files are supported. The sound will play 1 min before the timer runs" + + " out."; + // + // tabPageOverlay + // + this.tabPageOverlay.Controls.Add(this.groupBox10); + this.tabPageOverlay.Location = new System.Drawing.Point(4, 22); + this.tabPageOverlay.Name = "tabPageOverlay"; + this.tabPageOverlay.Padding = new System.Windows.Forms.Padding(3); + this.tabPageOverlay.Size = new System.Drawing.Size(750, 676); + this.tabPageOverlay.TabIndex = 5; + this.tabPageOverlay.Text = "Overlay"; + this.tabPageOverlay.UseVisualStyleBackColor = true; + // + // groupBox10 + // + this.groupBox10.Controls.Add(this.CbOverlayDisplayInheritance); + this.groupBox10.Controls.Add(this.label45); + this.groupBox10.Controls.Add(this.pCustomOverlayLocation); + this.groupBox10.Controls.Add(this.cbCustomOverlayLocation); + this.groupBox10.Controls.Add(this.label38); + this.groupBox10.Controls.Add(this.nudOverlayInfoPosY); + this.groupBox10.Controls.Add(this.label39); + this.groupBox10.Controls.Add(this.nudOverlayInfoPosDFR); + this.groupBox10.Controls.Add(this.label40); + this.groupBox10.Controls.Add(this.label37); + this.groupBox10.Controls.Add(this.nudOverlayTimerPosY); + this.groupBox10.Controls.Add(this.label36); + this.groupBox10.Controls.Add(this.nudOverlayTimerPosX); + this.groupBox10.Controls.Add(this.label35); + this.groupBox10.Controls.Add(this.cbInventoryCheck); + this.groupBox10.Controls.Add(this.label21); + this.groupBox10.Controls.Add(this.nudOverlayInfoDuration); + this.groupBox10.Controls.Add(this.chkbSpeechRecognition); + this.groupBox10.Location = new System.Drawing.Point(8, 6); + this.groupBox10.Name = "groupBox10"; + this.groupBox10.Size = new System.Drawing.Size(734, 243); + this.groupBox10.TabIndex = 0; + this.groupBox10.TabStop = false; + this.groupBox10.Text = "Overlay"; + // + // CbOverlayDisplayInheritance + // + this.CbOverlayDisplayInheritance.AutoSize = true; + this.CbOverlayDisplayInheritance.Location = new System.Drawing.Point(6, 215); + this.CbOverlayDisplayInheritance.Name = "CbOverlayDisplayInheritance"; + this.CbOverlayDisplayInheritance.Size = new System.Drawing.Size(162, 17); + this.CbOverlayDisplayInheritance.TabIndex = 17; + this.CbOverlayDisplayInheritance.Text = "Display Inheritance on import"; + this.CbOverlayDisplayInheritance.UseVisualStyleBackColor = true; + // + // label45 + // + this.label45.AutoSize = true; + this.label45.Location = new System.Drawing.Point(6, 16); + this.label45.Name = "label45"; + this.label45.Size = new System.Drawing.Size(315, 13); + this.label45.TabIndex = 0; + this.label45.Text = "The window-mode \"Fullscreen-Windowed\" should be set ingame."; + // + // pCustomOverlayLocation + // + this.pCustomOverlayLocation.Controls.Add(this.nudCustomOverlayLocX); + this.pCustomOverlayLocation.Controls.Add(this.label42); + this.pCustomOverlayLocation.Controls.Add(this.label43); + this.pCustomOverlayLocation.Controls.Add(this.nudCustomOverlayLocY); + this.pCustomOverlayLocation.Enabled = false; + this.pCustomOverlayLocation.Location = new System.Drawing.Point(195, 179); + this.pCustomOverlayLocation.Name = "pCustomOverlayLocation"; + this.pCustomOverlayLocation.Size = new System.Drawing.Size(201, 28); + this.pCustomOverlayLocation.TabIndex = 16; + // + // label42 + // + this.label42.AutoSize = true; + this.label42.Location = new System.Drawing.Point(105, 5); + this.label42.Name = "label42"; + this.label42.Size = new System.Drawing.Size(14, 13); + this.label42.TabIndex = 2; + this.label42.Text = "Y"; + // + // label43 + // + this.label43.AutoSize = true; + this.label43.Location = new System.Drawing.Point(4, 5); + this.label43.Name = "label43"; + this.label43.Size = new System.Drawing.Size(14, 13); + this.label43.TabIndex = 0; + this.label43.Text = "X"; + // + // cbCustomOverlayLocation + // + this.cbCustomOverlayLocation.AutoSize = true; + this.cbCustomOverlayLocation.Location = new System.Drawing.Point(6, 183); + this.cbCustomOverlayLocation.Name = "cbCustomOverlayLocation"; + this.cbCustomOverlayLocation.Size = new System.Drawing.Size(138, 17); + this.cbCustomOverlayLocation.TabIndex = 15; + this.cbCustomOverlayLocation.Text = "Custom overlay location"; + this.cbCustomOverlayLocation.UseVisualStyleBackColor = true; + this.cbCustomOverlayLocation.CheckedChanged += new System.EventHandler(this.cbCustomOverlayLocation_CheckedChanged); + // + // label38 + // + this.label38.AutoSize = true; + this.label38.Location = new System.Drawing.Point(120, 149); + this.label38.Name = "label38"; + this.label38.Size = new System.Drawing.Size(93, 13); + this.label38.TabIndex = 11; + this.label38.Text = "distance from right"; + // + // label39 + // + this.label39.AutoSize = true; + this.label39.Location = new System.Drawing.Point(300, 149); + this.label39.Name = "label39"; + this.label39.Size = new System.Drawing.Size(14, 13); + this.label39.TabIndex = 13; + this.label39.Text = "Y"; + // + // label40 + // + this.label40.AutoSize = true; + this.label40.Location = new System.Drawing.Point(6, 149); + this.label40.Name = "label40"; + this.label40.Size = new System.Drawing.Size(94, 13); + this.label40.TabIndex = 10; + this.label40.Text = "Position of the info"; + // + // label37 + // + this.label37.AutoSize = true; + this.label37.Location = new System.Drawing.Point(300, 123); + this.label37.Name = "label37"; + this.label37.Size = new System.Drawing.Size(14, 13); + this.label37.TabIndex = 8; + this.label37.Text = "Y"; + // + // label36 + // + this.label36.AutoSize = true; + this.label36.Location = new System.Drawing.Point(199, 123); + this.label36.Name = "label36"; + this.label36.Size = new System.Drawing.Size(14, 13); + this.label36.TabIndex = 6; + this.label36.Text = "X"; + // + // label35 + // + this.label35.AutoSize = true; + this.label35.Location = new System.Drawing.Point(6, 123); + this.label35.Name = "label35"; + this.label35.Size = new System.Drawing.Size(104, 13); + this.label35.TabIndex = 5; + this.label35.Text = "Position of the timers"; + // + // cbInventoryCheck + // + this.cbInventoryCheck.Location = new System.Drawing.Point(6, 85); + this.cbInventoryCheck.Name = "cbInventoryCheck"; + this.cbInventoryCheck.Size = new System.Drawing.Size(305, 35); + this.cbInventoryCheck.TabIndex = 4; + this.cbInventoryCheck.Text = "Automatically extract inventory levels (needs working OCR and enabled overlay)"; + this.cbInventoryCheck.UseVisualStyleBackColor = true; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(6, 61); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(138, 13); + this.label21.TabIndex = 2; + this.label21.Text = "Display info in overlay for [s]"; + // + // chkbSpeechRecognition + // + this.chkbSpeechRecognition.AutoSize = true; + this.chkbSpeechRecognition.Location = new System.Drawing.Point(6, 36); + this.chkbSpeechRecognition.Name = "chkbSpeechRecognition"; + this.chkbSpeechRecognition.Size = new System.Drawing.Size(123, 17); + this.chkbSpeechRecognition.TabIndex = 1; + this.chkbSpeechRecognition.Text = "Speech Recognition"; + this.chkbSpeechRecognition.UseVisualStyleBackColor = true; + // + // tabPageOCR + // + this.tabPageOCR.AutoScroll = true; + this.tabPageOCR.Controls.Add(this.groupBox1); + this.tabPageOCR.Location = new System.Drawing.Point(4, 22); + this.tabPageOCR.Name = "tabPageOCR"; + this.tabPageOCR.Padding = new System.Windows.Forms.Padding(3); + this.tabPageOCR.Size = new System.Drawing.Size(750, 676); + this.tabPageOCR.TabIndex = 4; + this.tabPageOCR.Text = "OCR"; + this.tabPageOCR.UseVisualStyleBackColor = true; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.label62); + this.groupBox1.Controls.Add(this.label61); + this.groupBox1.Controls.Add(this.label60); + this.groupBox1.Controls.Add(this.label59); + this.groupBox1.Controls.Add(this.label58); + this.groupBox1.Controls.Add(this.NudOCRClipboardCropHeight); + this.groupBox1.Controls.Add(this.NudOCRClipboardCropWidth); + this.groupBox1.Controls.Add(this.NudOCRClipboardCropTop); + this.groupBox1.Controls.Add(this.NudOCRClipboardCropLeft); + this.groupBox1.Controls.Add(this.CbOCRFromClipboard); + this.groupBox1.Controls.Add(this.button1); + this.groupBox1.Controls.Add(this.cbOCRIgnoreImprintValue); + this.groupBox1.Controls.Add(this.cbShowOCRButton); + this.groupBox1.Controls.Add(this.label23); + this.groupBox1.Controls.Add(this.nudWaitBeforeScreenCapture); + this.groupBox1.Controls.Add(this.label19); + this.groupBox1.Controls.Add(this.nudWhiteThreshold); + this.groupBox1.Controls.Add(this.tbOCRCaptureApp); + this.groupBox1.Controls.Add(this.label4); + this.groupBox1.Controls.Add(this.cbbOCRApp); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Location = new System.Drawing.Point(6, 6); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(734, 352); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "OCR"; + // + // label62 + // + this.label62.AutoSize = true; + this.label62.Location = new System.Drawing.Point(34, 211); + this.label62.Name = "label62"; + this.label62.Size = new System.Drawing.Size(616, 13); + this.label62.TabIndex = 20; + this.label62.Text = "Set an area of the clipboard screenshot to be used for the actual OCR. Set all fi" + + "elds to 0 to disable and use the whole screenshot."; + // + // label61 + // + this.label61.AutoSize = true; + this.label61.Location = new System.Drawing.Point(151, 229); + this.label61.Name = "label61"; + this.label61.Size = new System.Drawing.Size(26, 13); + this.label61.TabIndex = 19; + this.label61.Text = "Top"; + // + // label60 + // + this.label60.AutoSize = true; + this.label60.Location = new System.Drawing.Point(258, 229); + this.label60.Name = "label60"; + this.label60.Size = new System.Drawing.Size(35, 13); + this.label60.TabIndex = 18; + this.label60.Text = "Width"; + // + // label59 + // + this.label59.AutoSize = true; + this.label59.Location = new System.Drawing.Point(374, 229); + this.label59.Name = "label59"; + this.label59.Size = new System.Drawing.Size(38, 13); + this.label59.TabIndex = 17; + this.label59.Text = "Height"; + // + // label58 + // + this.label58.AutoSize = true; + this.label58.Location = new System.Drawing.Point(45, 229); + this.label58.Name = "label58"; + this.label58.Size = new System.Drawing.Size(25, 13); + this.label58.TabIndex = 16; + this.label58.Text = "Left"; + // + // CbOCRFromClipboard + // + this.CbOCRFromClipboard.AutoSize = true; + this.CbOCRFromClipboard.Location = new System.Drawing.Point(6, 191); + this.CbOCRFromClipboard.Name = "CbOCRFromClipboard"; + this.CbOCRFromClipboard.Size = new System.Drawing.Size(506, 17); + this.CbOCRFromClipboard.TabIndex = 11; + this.CbOCRFromClipboard.Text = "Use image in clipboard for the OCR. You can press the Print-key to copy a screens" + + "hot to the cliphoard"; + this.CbOCRFromClipboard.UseVisualStyleBackColor = true; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(6, 292); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(139, 23); + this.button1.TabIndex = 8; + this.button1.Text = "ShooterGame (default)"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // cbOCRIgnoreImprintValue + // + this.cbOCRIgnoreImprintValue.AutoSize = true; + this.cbOCRIgnoreImprintValue.Location = new System.Drawing.Point(6, 168); + this.cbOCRIgnoreImprintValue.Name = "cbOCRIgnoreImprintValue"; + this.cbOCRIgnoreImprintValue.Size = new System.Drawing.Size(287, 17); + this.cbOCRIgnoreImprintValue.TabIndex = 6; + this.cbOCRIgnoreImprintValue.Text = "Don\'t read imprinting value (can be overlapped by chat)"; + this.cbOCRIgnoreImprintValue.UseVisualStyleBackColor = true; + // + // cbShowOCRButton + // + this.cbShowOCRButton.AutoSize = true; + this.cbShowOCRButton.Location = new System.Drawing.Point(6, 96); + this.cbShowOCRButton.Name = "cbShowOCRButton"; + this.cbShowOCRButton.Size = new System.Drawing.Size(228, 17); + this.cbShowOCRButton.TabIndex = 1; + this.cbShowOCRButton.Text = "Show OCR-Button instead of Import-Button"; + this.cbShowOCRButton.UseVisualStyleBackColor = true; + // + // label23 + // + this.label23.Location = new System.Drawing.Point(6, 145); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(296, 20); + this.label23.TabIndex = 4; + this.label23.Text = "Wait before screencapture (time to tab into game) in ms"; + // + // label19 + // + this.label19.Location = new System.Drawing.Point(6, 119); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(296, 20); + this.label19.TabIndex = 2; + this.label19.Text = "White Threshold (increase if you increased gamma ingame)"; + // + // tbOCRCaptureApp + // + this.tbOCRCaptureApp.Location = new System.Drawing.Point(151, 294); + this.tbOCRCaptureApp.Name = "tbOCRCaptureApp"; + this.tbOCRCaptureApp.Size = new System.Drawing.Size(577, 20); + this.tbOCRCaptureApp.TabIndex = 9; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(6, 276); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(289, 13); + this.label4.TabIndex = 7; + this.label4.Text = "Capture from (ShooterGame is default for the Steam-version)"; + // + // cbbOCRApp + // + this.cbbOCRApp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbbOCRApp.FormattingEnabled = true; + this.cbbOCRApp.Location = new System.Drawing.Point(6, 321); + this.cbbOCRApp.Name = "cbbOCRApp"; + this.cbbOCRApp.Size = new System.Drawing.Size(722, 21); + this.cbbOCRApp.TabIndex = 10; + this.cbbOCRApp.SelectedIndexChanged += new System.EventHandler(this.cbOCRApp_SelectedIndexChanged); + // + // label1 + // + this.label1.Location = new System.Drawing.Point(6, 16); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(722, 77); + this.label1.TabIndex = 0; + this.label1.Text = resources.GetString("label1.Text"); + // + // panel1 + // + this.panel1.Controls.Add(this.buttonCancel); + this.panel1.Controls.Add(this.buttonOK); + this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel1.Location = new System.Drawing.Point(0, 702); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(758, 30); + this.panel1.TabIndex = 12; + // + // BtSettingsToClipboard + // + this.BtSettingsToClipboard.Location = new System.Drawing.Point(600, 642); + this.BtSettingsToClipboard.Name = "BtSettingsToClipboard"; + this.BtSettingsToClipboard.Size = new System.Drawing.Size(142, 23); + this.BtSettingsToClipboard.TabIndex = 13; + this.BtSettingsToClipboard.Text = "Copy settings to clipboard"; + this.BtSettingsToClipboard.UseVisualStyleBackColor = true; + this.BtSettingsToClipboard.Click += new System.EventHandler(this.BtSettingsToClipboard_Click); + // + // nudWildLevelStep + // + this.nudWildLevelStep.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudWildLevelStep.Location = new System.Drawing.Point(319, 17); + this.nudWildLevelStep.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.nudWildLevelStep.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.nudWildLevelStep.Name = "nudWildLevelStep"; + this.nudWildLevelStep.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudWildLevelStep.Size = new System.Drawing.Size(57, 20); + this.nudWildLevelStep.TabIndex = 1; + this.nudWildLevelStep.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudBabyImprintAmountEvent + // + this.nudBabyImprintAmountEvent.DecimalPlaces = 6; + this.nudBabyImprintAmountEvent.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudBabyImprintAmountEvent.Location = new System.Drawing.Point(263, 149); + this.nudBabyImprintAmountEvent.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudBabyImprintAmountEvent.Name = "nudBabyImprintAmountEvent"; + this.nudBabyImprintAmountEvent.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudBabyImprintAmountEvent.Size = new System.Drawing.Size(72, 20); + this.nudBabyImprintAmountEvent.TabIndex = 12; + this.nudBabyImprintAmountEvent.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudBabyImprintAmount + // + this.nudBabyImprintAmount.DecimalPlaces = 6; + this.nudBabyImprintAmount.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudBabyImprintAmount.Location = new System.Drawing.Point(183, 149); + this.nudBabyImprintAmount.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudBabyImprintAmount.Name = "nudBabyImprintAmount"; + this.nudBabyImprintAmount.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudBabyImprintAmount.Size = new System.Drawing.Size(72, 20); + this.nudBabyImprintAmount.TabIndex = 5; + this.nudBabyImprintAmount.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudMatingSpeed + // + this.nudMatingSpeed.DecimalPlaces = 6; + this.nudMatingSpeed.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudMatingSpeed.Location = new System.Drawing.Point(183, 19); + this.nudMatingSpeed.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudMatingSpeed.Name = "nudMatingSpeed"; + this.nudMatingSpeed.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudMatingSpeed.Size = new System.Drawing.Size(72, 20); + this.nudMatingSpeed.TabIndex = 0; + this.nudMatingSpeed.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudBabyFoodConsumptionSpeedEvent + // + this.nudBabyFoodConsumptionSpeedEvent.DecimalPlaces = 6; + this.nudBabyFoodConsumptionSpeedEvent.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudBabyFoodConsumptionSpeedEvent.Location = new System.Drawing.Point(263, 201); + this.nudBabyFoodConsumptionSpeedEvent.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudBabyFoodConsumptionSpeedEvent.Name = "nudBabyFoodConsumptionSpeedEvent"; + this.nudBabyFoodConsumptionSpeedEvent.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudBabyFoodConsumptionSpeedEvent.Size = new System.Drawing.Size(72, 20); + this.nudBabyFoodConsumptionSpeedEvent.TabIndex = 13; + this.nudBabyFoodConsumptionSpeedEvent.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudMatingIntervalEvent + // + this.nudMatingIntervalEvent.DecimalPlaces = 6; + this.nudMatingIntervalEvent.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudMatingIntervalEvent.Location = new System.Drawing.Point(263, 45); + this.nudMatingIntervalEvent.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudMatingIntervalEvent.Name = "nudMatingIntervalEvent"; + this.nudMatingIntervalEvent.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudMatingIntervalEvent.Size = new System.Drawing.Size(72, 20); + this.nudMatingIntervalEvent.TabIndex = 8; + this.nudMatingIntervalEvent.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudBabyCuddleIntervalEvent + // + this.nudBabyCuddleIntervalEvent.DecimalPlaces = 6; + this.nudBabyCuddleIntervalEvent.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudBabyCuddleIntervalEvent.Location = new System.Drawing.Point(263, 123); + this.nudBabyCuddleIntervalEvent.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudBabyCuddleIntervalEvent.Name = "nudBabyCuddleIntervalEvent"; + this.nudBabyCuddleIntervalEvent.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudBabyCuddleIntervalEvent.Size = new System.Drawing.Size(72, 20); + this.nudBabyCuddleIntervalEvent.TabIndex = 11; + this.nudBabyCuddleIntervalEvent.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudBabyMatureSpeedEvent + // + this.nudBabyMatureSpeedEvent.DecimalPlaces = 6; + this.nudBabyMatureSpeedEvent.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudBabyMatureSpeedEvent.Location = new System.Drawing.Point(263, 97); + this.nudBabyMatureSpeedEvent.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudBabyMatureSpeedEvent.Name = "nudBabyMatureSpeedEvent"; + this.nudBabyMatureSpeedEvent.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudBabyMatureSpeedEvent.Size = new System.Drawing.Size(72, 20); + this.nudBabyMatureSpeedEvent.TabIndex = 10; + this.nudBabyMatureSpeedEvent.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudEggHatchSpeedEvent + // + this.nudEggHatchSpeedEvent.DecimalPlaces = 6; + this.nudEggHatchSpeedEvent.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudEggHatchSpeedEvent.Location = new System.Drawing.Point(263, 71); + this.nudEggHatchSpeedEvent.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudEggHatchSpeedEvent.Name = "nudEggHatchSpeedEvent"; + this.nudEggHatchSpeedEvent.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudEggHatchSpeedEvent.Size = new System.Drawing.Size(72, 20); + this.nudEggHatchSpeedEvent.TabIndex = 9; + this.nudEggHatchSpeedEvent.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudBabyFoodConsumptionSpeed + // + this.nudBabyFoodConsumptionSpeed.DecimalPlaces = 6; + this.nudBabyFoodConsumptionSpeed.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudBabyFoodConsumptionSpeed.Location = new System.Drawing.Point(183, 201); + this.nudBabyFoodConsumptionSpeed.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudBabyFoodConsumptionSpeed.Name = "nudBabyFoodConsumptionSpeed"; + this.nudBabyFoodConsumptionSpeed.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudBabyFoodConsumptionSpeed.Size = new System.Drawing.Size(72, 20); + this.nudBabyFoodConsumptionSpeed.TabIndex = 7; + this.nudBabyFoodConsumptionSpeed.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudMatingInterval + // + this.nudMatingInterval.DecimalPlaces = 6; + this.nudMatingInterval.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudMatingInterval.Location = new System.Drawing.Point(183, 45); + this.nudMatingInterval.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudMatingInterval.Name = "nudMatingInterval"; + this.nudMatingInterval.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudMatingInterval.Size = new System.Drawing.Size(72, 20); + this.nudMatingInterval.TabIndex = 1; + this.nudMatingInterval.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudBabyCuddleInterval + // + this.nudBabyCuddleInterval.DecimalPlaces = 6; + this.nudBabyCuddleInterval.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudBabyCuddleInterval.Location = new System.Drawing.Point(183, 123); + this.nudBabyCuddleInterval.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudBabyCuddleInterval.Name = "nudBabyCuddleInterval"; + this.nudBabyCuddleInterval.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudBabyCuddleInterval.Size = new System.Drawing.Size(72, 20); + this.nudBabyCuddleInterval.TabIndex = 4; + this.nudBabyCuddleInterval.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudBabyMatureSpeed + // + this.nudBabyMatureSpeed.DecimalPlaces = 6; + this.nudBabyMatureSpeed.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudBabyMatureSpeed.Location = new System.Drawing.Point(183, 97); + this.nudBabyMatureSpeed.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudBabyMatureSpeed.Name = "nudBabyMatureSpeed"; + this.nudBabyMatureSpeed.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudBabyMatureSpeed.Size = new System.Drawing.Size(72, 20); + this.nudBabyMatureSpeed.TabIndex = 3; + this.nudBabyMatureSpeed.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudBabyImprintingStatScale + // + this.nudBabyImprintingStatScale.DecimalPlaces = 6; + this.nudBabyImprintingStatScale.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudBabyImprintingStatScale.Location = new System.Drawing.Point(183, 175); + this.nudBabyImprintingStatScale.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudBabyImprintingStatScale.Name = "nudBabyImprintingStatScale"; + this.nudBabyImprintingStatScale.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudBabyImprintingStatScale.Size = new System.Drawing.Size(72, 20); + this.nudBabyImprintingStatScale.TabIndex = 6; + this.nudBabyImprintingStatScale.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudEggHatchSpeed + // + this.nudEggHatchSpeed.DecimalPlaces = 6; + this.nudEggHatchSpeed.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudEggHatchSpeed.Location = new System.Drawing.Point(183, 71); + this.nudEggHatchSpeed.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudEggHatchSpeed.Name = "nudEggHatchSpeed"; + this.nudEggHatchSpeed.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudEggHatchSpeed.Size = new System.Drawing.Size(72, 20); + this.nudEggHatchSpeed.TabIndex = 2; + this.nudEggHatchSpeed.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudMaxServerLevel + // + this.nudMaxServerLevel.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudMaxServerLevel.Location = new System.Drawing.Point(183, 97); + this.nudMaxServerLevel.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.nudMaxServerLevel.Name = "nudMaxServerLevel"; + this.nudMaxServerLevel.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudMaxServerLevel.Size = new System.Drawing.Size(57, 20); + this.nudMaxServerLevel.TabIndex = 3; + // + // nudMaxGraphLevel + // + this.nudMaxGraphLevel.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudMaxGraphLevel.Location = new System.Drawing.Point(183, 71); + this.nudMaxGraphLevel.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.nudMaxGraphLevel.Name = "nudMaxGraphLevel"; + this.nudMaxGraphLevel.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudMaxGraphLevel.Size = new System.Drawing.Size(57, 20); + this.nudMaxGraphLevel.TabIndex = 2; + // + // nudMaxWildLevels + // + this.nudMaxWildLevels.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudMaxWildLevels.Location = new System.Drawing.Point(183, 19); + this.nudMaxWildLevels.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.nudMaxWildLevels.Name = "nudMaxWildLevels"; + this.nudMaxWildLevels.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudMaxWildLevels.Size = new System.Drawing.Size(57, 20); + this.nudMaxWildLevels.TabIndex = 0; + // + // nudMaxDomLevels + // + this.nudMaxDomLevels.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudMaxDomLevels.Location = new System.Drawing.Point(183, 45); + this.nudMaxDomLevels.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.nudMaxDomLevels.Name = "nudMaxDomLevels"; + this.nudMaxDomLevels.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudMaxDomLevels.Size = new System.Drawing.Size(57, 20); + this.nudMaxDomLevels.TabIndex = 1; + // + // nudDinoCharacterFoodDrainEvent + // + this.nudDinoCharacterFoodDrainEvent.DecimalPlaces = 6; + this.nudDinoCharacterFoodDrainEvent.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudDinoCharacterFoodDrainEvent.Location = new System.Drawing.Point(263, 45); + this.nudDinoCharacterFoodDrainEvent.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudDinoCharacterFoodDrainEvent.Name = "nudDinoCharacterFoodDrainEvent"; + this.nudDinoCharacterFoodDrainEvent.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudDinoCharacterFoodDrainEvent.Size = new System.Drawing.Size(72, 20); + this.nudDinoCharacterFoodDrainEvent.TabIndex = 3; + this.nudDinoCharacterFoodDrainEvent.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudTamingSpeedEvent + // + this.nudTamingSpeedEvent.DecimalPlaces = 6; + this.nudTamingSpeedEvent.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudTamingSpeedEvent.Location = new System.Drawing.Point(263, 19); + this.nudTamingSpeedEvent.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudTamingSpeedEvent.Name = "nudTamingSpeedEvent"; + this.nudTamingSpeedEvent.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudTamingSpeedEvent.Size = new System.Drawing.Size(72, 20); + this.nudTamingSpeedEvent.TabIndex = 2; + this.nudTamingSpeedEvent.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudDinoCharacterFoodDrain + // + this.nudDinoCharacterFoodDrain.DecimalPlaces = 6; + this.nudDinoCharacterFoodDrain.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudDinoCharacterFoodDrain.Location = new System.Drawing.Point(183, 45); + this.nudDinoCharacterFoodDrain.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudDinoCharacterFoodDrain.Name = "nudDinoCharacterFoodDrain"; + this.nudDinoCharacterFoodDrain.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudDinoCharacterFoodDrain.Size = new System.Drawing.Size(72, 20); + this.nudDinoCharacterFoodDrain.TabIndex = 1; + this.nudDinoCharacterFoodDrain.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // nudTamingSpeed + // + this.nudTamingSpeed.DecimalPlaces = 6; + this.nudTamingSpeed.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudTamingSpeed.Location = new System.Drawing.Point(183, 19); + this.nudTamingSpeed.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudTamingSpeed.Name = "nudTamingSpeed"; + this.nudTamingSpeed.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudTamingSpeed.Size = new System.Drawing.Size(72, 20); + this.nudTamingSpeed.TabIndex = 0; + this.nudTamingSpeed.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // NudSpeciesSelectorCountLastUsed + // + this.NudSpeciesSelectorCountLastUsed.ForeColor = System.Drawing.SystemColors.GrayText; + this.NudSpeciesSelectorCountLastUsed.Location = new System.Drawing.Point(252, 19); + this.NudSpeciesSelectorCountLastUsed.Name = "NudSpeciesSelectorCountLastUsed"; + this.NudSpeciesSelectorCountLastUsed.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.NudSpeciesSelectorCountLastUsed.Size = new System.Drawing.Size(57, 20); + this.NudSpeciesSelectorCountLastUsed.TabIndex = 1; + // + // nudDefaultFontSize + // + this.nudDefaultFontSize.DecimalPlaces = 2; + this.nudDefaultFontSize.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudDefaultFontSize.Location = new System.Drawing.Point(335, 18); + this.nudDefaultFontSize.Name = "nudDefaultFontSize"; + this.nudDefaultFontSize.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudDefaultFontSize.Size = new System.Drawing.Size(72, 20); + this.nudDefaultFontSize.TabIndex = 3; + // + // nudChartLevelOddMax + // + this.nudChartLevelOddMax.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudChartLevelOddMax.Location = new System.Drawing.Point(268, 137); + this.nudChartLevelOddMax.Maximum = new decimal(new int[] { + 360, + 0, + 0, + 0}); + this.nudChartLevelOddMax.Minimum = new decimal(new int[] { + 360, + 0, + 0, + -2147483648}); + this.nudChartLevelOddMax.Name = "nudChartLevelOddMax"; + this.nudChartLevelOddMax.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudChartLevelOddMax.Size = new System.Drawing.Size(41, 20); + this.nudChartLevelOddMax.TabIndex = 11; + this.nudChartLevelOddMax.Value = new decimal(new int[] { + 360, + 0, + 0, + 0}); + this.nudChartLevelOddMax.ValueChanged += new System.EventHandler(this.nudChartLevelOddMax_ValueChanged); + // + // nudChartLevelOddMin + // + this.nudChartLevelOddMin.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudChartLevelOddMin.Location = new System.Drawing.Point(209, 137); + this.nudChartLevelOddMin.Maximum = new decimal(new int[] { + 360, + 0, + 0, + 0}); + this.nudChartLevelOddMin.Minimum = new decimal(new int[] { + 360, + 0, + 0, + -2147483648}); + this.nudChartLevelOddMin.Name = "nudChartLevelOddMin"; + this.nudChartLevelOddMin.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudChartLevelOddMin.Size = new System.Drawing.Size(41, 20); + this.nudChartLevelOddMin.TabIndex = 10; + this.nudChartLevelOddMin.ValueChanged += new System.EventHandler(this.nudChartLevelOddMin_ValueChanged); + // + // nudChartLevelEvenMax + // + this.nudChartLevelEvenMax.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudChartLevelEvenMax.Location = new System.Drawing.Point(102, 137); + this.nudChartLevelEvenMax.Maximum = new decimal(new int[] { + 360, + 0, + 0, + 0}); + this.nudChartLevelEvenMax.Minimum = new decimal(new int[] { + 360, + 0, + 0, + -2147483648}); + this.nudChartLevelEvenMax.Name = "nudChartLevelEvenMax"; + this.nudChartLevelEvenMax.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudChartLevelEvenMax.Size = new System.Drawing.Size(41, 20); + this.nudChartLevelEvenMax.TabIndex = 9; + this.nudChartLevelEvenMax.ValueChanged += new System.EventHandler(this.nudChartLevelEvenMax_ValueChanged); + // + // nudChartLevelEvenMin + // + this.nudChartLevelEvenMin.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudChartLevelEvenMin.Location = new System.Drawing.Point(43, 137); + this.nudChartLevelEvenMin.Maximum = new decimal(new int[] { + 360, + 0, + 0, + 0}); + this.nudChartLevelEvenMin.Minimum = new decimal(new int[] { + 360, + 0, + 0, + -2147483648}); + this.nudChartLevelEvenMin.Name = "nudChartLevelEvenMin"; + this.nudChartLevelEvenMin.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudChartLevelEvenMin.Size = new System.Drawing.Size(41, 20); + this.nudChartLevelEvenMin.TabIndex = 8; + this.nudChartLevelEvenMin.ValueChanged += new System.EventHandler(this.nudChartLevelEvenMin_ValueChanged); + // + // numericUpDownMaxBreedingSug + // + this.numericUpDownMaxBreedingSug.ForeColor = System.Drawing.SystemColors.GrayText; + this.numericUpDownMaxBreedingSug.Location = new System.Drawing.Point(252, 19); + this.numericUpDownMaxBreedingSug.Maximum = new decimal(new int[] { + 200, + 0, + 0, + 0}); + this.numericUpDownMaxBreedingSug.Name = "numericUpDownMaxBreedingSug"; + this.numericUpDownMaxBreedingSug.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.numericUpDownMaxBreedingSug.Size = new System.Drawing.Size(57, 20); + this.numericUpDownMaxBreedingSug.TabIndex = 1; + // + // NudWaitBeforeAutoLoad + // + this.NudWaitBeforeAutoLoad.ForeColor = System.Drawing.SystemColors.GrayText; + this.NudWaitBeforeAutoLoad.Location = new System.Drawing.Point(255, 41); + this.NudWaitBeforeAutoLoad.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.NudWaitBeforeAutoLoad.Name = "NudWaitBeforeAutoLoad"; + this.NudWaitBeforeAutoLoad.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.NudWaitBeforeAutoLoad.Size = new System.Drawing.Size(56, 20); + this.NudWaitBeforeAutoLoad.TabIndex = 12; + // + // NudKeepBackupFilesCount + // + this.NudKeepBackupFilesCount.ForeColor = System.Drawing.SystemColors.GrayText; + this.NudKeepBackupFilesCount.Location = new System.Drawing.Point(44, 118); + this.NudKeepBackupFilesCount.Name = "NudKeepBackupFilesCount"; + this.NudKeepBackupFilesCount.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.NudKeepBackupFilesCount.Size = new System.Drawing.Size(59, 20); + this.NudKeepBackupFilesCount.TabIndex = 4; + // + // NudBackupEveryMinutes + // + this.NudBackupEveryMinutes.ForeColor = System.Drawing.SystemColors.GrayText; + this.NudBackupEveryMinutes.Location = new System.Drawing.Point(132, 144); + this.NudBackupEveryMinutes.Name = "NudBackupEveryMinutes"; + this.NudBackupEveryMinutes.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.NudBackupEveryMinutes.Size = new System.Drawing.Size(47, 20); + this.NudBackupEveryMinutes.TabIndex = 7; + // + // nudInfoGraphicHeight + // + this.nudInfoGraphicHeight.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudInfoGraphicHeight.Location = new System.Drawing.Point(126, 18); + this.nudInfoGraphicHeight.Maximum = new decimal(new int[] { + 99999, + 0, + 0, + 0}); + this.nudInfoGraphicHeight.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.nudInfoGraphicHeight.Name = "nudInfoGraphicHeight"; + this.nudInfoGraphicHeight.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudInfoGraphicHeight.Size = new System.Drawing.Size(57, 20); + this.nudInfoGraphicHeight.TabIndex = 2; + this.nudInfoGraphicHeight.Value = new decimal(new int[] { + 100, + 0, + 0, + 0}); + this.nudInfoGraphicHeight.ValueChanged += new System.EventHandler(this.nudInfoGraphicHeight_ValueChanged); + // + // convenientNameDataGridViewTextBoxColumn + // + this.convenientNameDataGridViewTextBoxColumn.DataPropertyName = "ConvenientName"; + this.convenientNameDataGridViewTextBoxColumn.HeaderText = "Name"; + this.convenientNameDataGridViewTextBoxColumn.Name = "convenientNameDataGridViewTextBoxColumn"; + this.convenientNameDataGridViewTextBoxColumn.ReadOnly = true; + // + // serverNameDataGridViewTextBoxColumn + // + this.serverNameDataGridViewTextBoxColumn.DataPropertyName = "ServerName"; + this.serverNameDataGridViewTextBoxColumn.HeaderText = "Server name"; + this.serverNameDataGridViewTextBoxColumn.Name = "serverNameDataGridViewTextBoxColumn"; + this.serverNameDataGridViewTextBoxColumn.ReadOnly = true; + // + // fileLocationDataGridViewTextBoxColumn + // + this.fileLocationDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.fileLocationDataGridViewTextBoxColumn.DataPropertyName = "FileLocation"; + this.fileLocationDataGridViewTextBoxColumn.HeaderText = "File location"; + this.fileLocationDataGridViewTextBoxColumn.Name = "fileLocationDataGridViewTextBoxColumn"; + this.fileLocationDataGridViewTextBoxColumn.ReadOnly = true; + // + // aTImportFileLocationBindingSource + // + this.aTImportFileLocationBindingSource.AllowNew = false; + this.aTImportFileLocationBindingSource.DataSource = typeof(ARKBreedingStats.settings.ATImportFileLocation); + // + // fileSelectorExtractedSaveFolder + // + this.fileSelectorExtractedSaveFolder.Dock = System.Windows.Forms.DockStyle.Fill; + this.fileSelectorExtractedSaveFolder.Link = "filename"; + this.fileSelectorExtractedSaveFolder.Location = new System.Drawing.Point(3, 16); + this.fileSelectorExtractedSaveFolder.Name = "fileSelectorExtractedSaveFolder"; + this.fileSelectorExtractedSaveFolder.Size = new System.Drawing.Size(724, 28); + this.fileSelectorExtractedSaveFolder.TabIndex = 0; + // + // nudImportLowerBoundTE + // + this.nudImportLowerBoundTE.DecimalPlaces = 2; + this.nudImportLowerBoundTE.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudImportLowerBoundTE.Location = new System.Drawing.Point(227, 19); + this.nudImportLowerBoundTE.Name = "nudImportLowerBoundTE"; + this.nudImportLowerBoundTE.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudImportLowerBoundTE.Size = new System.Drawing.Size(64, 20); + this.nudImportLowerBoundTE.TabIndex = 1; // // convenientNameDataGridViewTextBoxColumn1 // @@ -3220,147 +3756,11 @@ private void InitializeComponent() this.folderPathDataGridViewTextBoxColumn.Name = "folderPathDataGridViewTextBoxColumn"; this.folderPathDataGridViewTextBoxColumn.ReadOnly = true; // - // dgvExportFolderChange - // - this.dgvExportFolderChange.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.dgvExportFolderChange.HeaderText = "Change"; - this.dgvExportFolderChange.MinimumWidth = 50; - this.dgvExportFolderChange.Name = "dgvExportFolderChange"; - this.dgvExportFolderChange.ReadOnly = true; - this.dgvExportFolderChange.Text = "Change"; - this.dgvExportFolderChange.UseColumnTextForButtonValue = true; - this.dgvExportFolderChange.Width = 50; - // - // dgvExportFolderDelete - // - this.dgvExportFolderDelete.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.dgvExportFolderDelete.HeaderText = "Delete"; - this.dgvExportFolderDelete.MinimumWidth = 50; - this.dgvExportFolderDelete.Name = "dgvExportFolderDelete"; - this.dgvExportFolderDelete.ReadOnly = true; - this.dgvExportFolderDelete.Text = "Delete"; - this.dgvExportFolderDelete.UseColumnTextForButtonValue = true; - this.dgvExportFolderDelete.Width = 50; - // - // dgvExportMakeDefault - // - this.dgvExportMakeDefault.HeaderText = "Default"; - this.dgvExportMakeDefault.Name = "dgvExportMakeDefault"; - this.dgvExportMakeDefault.ReadOnly = true; - this.dgvExportMakeDefault.Text = "Make default"; - this.dgvExportMakeDefault.UseColumnTextForButtonValue = true; - // // aTExportFolderLocationsBindingSource // this.aTExportFolderLocationsBindingSource.AllowNew = false; this.aTExportFolderLocationsBindingSource.DataSource = typeof(ARKBreedingStats.settings.ATImportExportedFolderLocation); // - // btAddExportFolder - // - this.btAddExportFolder.Dock = System.Windows.Forms.DockStyle.Top; - this.btAddExportFolder.Location = new System.Drawing.Point(3, 16); - this.btAddExportFolder.Name = "btAddExportFolder"; - this.btAddExportFolder.Size = new System.Drawing.Size(730, 23); - this.btAddExportFolder.TabIndex = 0; - this.btAddExportFolder.Text = "Add Export Folder…"; - this.btAddExportFolder.UseVisualStyleBackColor = true; - this.btAddExportFolder.Click += new System.EventHandler(this.btAddExportFolder_Click); - // - // label25 - // - this.label25.AutoSize = true; - this.label25.Location = new System.Drawing.Point(3, 3); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(669, 91); - this.label25.TabIndex = 0; - this.label25.Text = resources.GetString("label25.Text"); - // - // tabPageTimers - // - this.tabPageTimers.Controls.Add(this.groupBox24); - this.tabPageTimers.Controls.Add(this.groupBox8); - this.tabPageTimers.Location = new System.Drawing.Point(4, 22); - this.tabPageTimers.Name = "tabPageTimers"; - this.tabPageTimers.Padding = new System.Windows.Forms.Padding(3); - this.tabPageTimers.Size = new System.Drawing.Size(750, 676); - this.tabPageTimers.TabIndex = 6; - this.tabPageTimers.Text = "Timers"; - this.tabPageTimers.UseVisualStyleBackColor = true; - // - // groupBox24 - // - this.groupBox24.Controls.Add(this.cbKeepExpiredTimersInOverlay); - this.groupBox24.Controls.Add(this.cbDeleteExpiredTimersOnSaving); - this.groupBox24.Controls.Add(this.cbTimersInOverlayAutomatically); - this.groupBox24.Location = new System.Drawing.Point(8, 233); - this.groupBox24.Name = "groupBox24"; - this.groupBox24.Size = new System.Drawing.Size(413, 90); - this.groupBox24.TabIndex = 1; - this.groupBox24.TabStop = false; - this.groupBox24.Text = "Timers"; - // - // cbKeepExpiredTimersInOverlay - // - this.cbKeepExpiredTimersInOverlay.AutoSize = true; - this.cbKeepExpiredTimersInOverlay.Location = new System.Drawing.Point(6, 42); - this.cbKeepExpiredTimersInOverlay.Name = "cbKeepExpiredTimersInOverlay"; - this.cbKeepExpiredTimersInOverlay.Size = new System.Drawing.Size(166, 17); - this.cbKeepExpiredTimersInOverlay.TabIndex = 1; - this.cbKeepExpiredTimersInOverlay.Text = "Keep expired timers in overlay"; - this.cbKeepExpiredTimersInOverlay.UseVisualStyleBackColor = true; - // - // cbDeleteExpiredTimersOnSaving - // - this.cbDeleteExpiredTimersOnSaving.AutoSize = true; - this.cbDeleteExpiredTimersOnSaving.Location = new System.Drawing.Point(6, 65); - this.cbDeleteExpiredTimersOnSaving.Name = "cbDeleteExpiredTimersOnSaving"; - this.cbDeleteExpiredTimersOnSaving.Size = new System.Drawing.Size(217, 17); - this.cbDeleteExpiredTimersOnSaving.TabIndex = 2; - this.cbDeleteExpiredTimersOnSaving.Text = "Delete expired timers when saving library"; - this.cbDeleteExpiredTimersOnSaving.UseVisualStyleBackColor = true; - // - // cbTimersInOverlayAutomatically - // - this.cbTimersInOverlayAutomatically.AutoSize = true; - this.cbTimersInOverlayAutomatically.Location = new System.Drawing.Point(6, 19); - this.cbTimersInOverlayAutomatically.Name = "cbTimersInOverlayAutomatically"; - this.cbTimersInOverlayAutomatically.Size = new System.Drawing.Size(202, 17); - this.cbTimersInOverlayAutomatically.TabIndex = 0; - this.cbTimersInOverlayAutomatically.Text = "Display timers in overlay automatically"; - this.cbTimersInOverlayAutomatically.UseVisualStyleBackColor = true; - // - // groupBox8 - // - this.groupBox8.Controls.Add(this.label22); - this.groupBox8.Controls.Add(this.tbPlayAlarmsSeconds); - this.groupBox8.Controls.Add(this.customSCCustom); - this.groupBox8.Controls.Add(this.customSCWakeup); - this.groupBox8.Controls.Add(this.customSCBirth); - this.groupBox8.Controls.Add(this.customSCStarving); - this.groupBox8.Controls.Add(this.label20); - this.groupBox8.Location = new System.Drawing.Point(8, 6); - this.groupBox8.Name = "groupBox8"; - this.groupBox8.Size = new System.Drawing.Size(413, 221); - this.groupBox8.TabIndex = 0; - this.groupBox8.TabStop = false; - this.groupBox8.Text = "Timer Sounds"; - // - // label22 - // - this.label22.Location = new System.Drawing.Point(6, 171); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(255, 66); - this.label22.TabIndex = 5; - this.label22.Text = "List of seconds the alarms play before they reach 0.\r\nE.g. \"60,0\" to play the ala" + - "rm at 60 s and at 0 s. Use commas to separate the values."; - // - // tbPlayAlarmsSeconds - // - this.tbPlayAlarmsSeconds.Location = new System.Drawing.Point(267, 168); - this.tbPlayAlarmsSeconds.Name = "tbPlayAlarmsSeconds"; - this.tbPlayAlarmsSeconds.Size = new System.Drawing.Size(140, 20); - this.tbPlayAlarmsSeconds.TabIndex = 6; - // // customSCCustom // this.customSCCustom.Location = new System.Drawing.Point(6, 139); @@ -3379,97 +3779,19 @@ private void InitializeComponent() // // customSCBirth // - this.customSCBirth.Location = new System.Drawing.Point(6, 110); - this.customSCBirth.Name = "customSCBirth"; - this.customSCBirth.Size = new System.Drawing.Size(401, 23); - this.customSCBirth.SoundFile = ""; - this.customSCBirth.TabIndex = 3; - // - // customSCStarving - // - this.customSCStarving.Location = new System.Drawing.Point(6, 52); - this.customSCStarving.Name = "customSCStarving"; - this.customSCStarving.Size = new System.Drawing.Size(401, 23); - this.customSCStarving.SoundFile = null; - this.customSCStarving.TabIndex = 1; - // - // label20 - // - this.label20.Location = new System.Drawing.Point(6, 16); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(316, 33); - this.label20.TabIndex = 0; - this.label20.Text = "Only PCM-WAV-files are supported. The sound will play 1 min before the timer runs" + - " out."; - // - // tabPageOverlay - // - this.tabPageOverlay.Controls.Add(this.groupBox10); - this.tabPageOverlay.Location = new System.Drawing.Point(4, 22); - this.tabPageOverlay.Name = "tabPageOverlay"; - this.tabPageOverlay.Padding = new System.Windows.Forms.Padding(3); - this.tabPageOverlay.Size = new System.Drawing.Size(750, 676); - this.tabPageOverlay.TabIndex = 5; - this.tabPageOverlay.Text = "Overlay"; - this.tabPageOverlay.UseVisualStyleBackColor = true; - // - // groupBox10 - // - this.groupBox10.Controls.Add(this.CbOverlayDisplayInheritance); - this.groupBox10.Controls.Add(this.label45); - this.groupBox10.Controls.Add(this.pCustomOverlayLocation); - this.groupBox10.Controls.Add(this.cbCustomOverlayLocation); - this.groupBox10.Controls.Add(this.label38); - this.groupBox10.Controls.Add(this.nudOverlayInfoPosY); - this.groupBox10.Controls.Add(this.label39); - this.groupBox10.Controls.Add(this.nudOverlayInfoPosDFR); - this.groupBox10.Controls.Add(this.label40); - this.groupBox10.Controls.Add(this.label37); - this.groupBox10.Controls.Add(this.nudOverlayTimerPosY); - this.groupBox10.Controls.Add(this.label36); - this.groupBox10.Controls.Add(this.nudOverlayTimerPosX); - this.groupBox10.Controls.Add(this.label35); - this.groupBox10.Controls.Add(this.cbInventoryCheck); - this.groupBox10.Controls.Add(this.label21); - this.groupBox10.Controls.Add(this.nudOverlayInfoDuration); - this.groupBox10.Controls.Add(this.chkbSpeechRecognition); - this.groupBox10.Location = new System.Drawing.Point(8, 6); - this.groupBox10.Name = "groupBox10"; - this.groupBox10.Size = new System.Drawing.Size(734, 243); - this.groupBox10.TabIndex = 0; - this.groupBox10.TabStop = false; - this.groupBox10.Text = "Overlay"; - // - // CbOverlayDisplayInheritance - // - this.CbOverlayDisplayInheritance.AutoSize = true; - this.CbOverlayDisplayInheritance.Location = new System.Drawing.Point(6, 215); - this.CbOverlayDisplayInheritance.Name = "CbOverlayDisplayInheritance"; - this.CbOverlayDisplayInheritance.Size = new System.Drawing.Size(162, 17); - this.CbOverlayDisplayInheritance.TabIndex = 17; - this.CbOverlayDisplayInheritance.Text = "Display Inheritance on import"; - this.CbOverlayDisplayInheritance.UseVisualStyleBackColor = true; - // - // label45 - // - this.label45.AutoSize = true; - this.label45.Location = new System.Drawing.Point(6, 16); - this.label45.Name = "label45"; - this.label45.Size = new System.Drawing.Size(315, 13); - this.label45.TabIndex = 0; - this.label45.Text = "The window-mode \"Fullscreen-Windowed\" should be set ingame."; - // - // pCustomOverlayLocation + this.customSCBirth.Location = new System.Drawing.Point(6, 110); + this.customSCBirth.Name = "customSCBirth"; + this.customSCBirth.Size = new System.Drawing.Size(401, 23); + this.customSCBirth.SoundFile = ""; + this.customSCBirth.TabIndex = 3; // - this.pCustomOverlayLocation.Controls.Add(this.nudCustomOverlayLocX); - this.pCustomOverlayLocation.Controls.Add(this.label42); - this.pCustomOverlayLocation.Controls.Add(this.label43); - this.pCustomOverlayLocation.Controls.Add(this.nudCustomOverlayLocY); - this.pCustomOverlayLocation.Enabled = false; - this.pCustomOverlayLocation.Location = new System.Drawing.Point(195, 179); - this.pCustomOverlayLocation.Name = "pCustomOverlayLocation"; - this.pCustomOverlayLocation.Size = new System.Drawing.Size(201, 28); - this.pCustomOverlayLocation.TabIndex = 16; + // customSCStarving + // + this.customSCStarving.Location = new System.Drawing.Point(6, 52); + this.customSCStarving.Name = "customSCStarving"; + this.customSCStarving.Size = new System.Drawing.Size(401, 23); + this.customSCStarving.SoundFile = null; + this.customSCStarving.TabIndex = 1; // // nudCustomOverlayLocX // @@ -3494,24 +3816,6 @@ private void InitializeComponent() this.nudCustomOverlayLocX.Size = new System.Drawing.Size(57, 20); this.nudCustomOverlayLocX.TabIndex = 1; // - // label42 - // - this.label42.AutoSize = true; - this.label42.Location = new System.Drawing.Point(105, 5); - this.label42.Name = "label42"; - this.label42.Size = new System.Drawing.Size(14, 13); - this.label42.TabIndex = 2; - this.label42.Text = "Y"; - // - // label43 - // - this.label43.AutoSize = true; - this.label43.Location = new System.Drawing.Point(4, 5); - this.label43.Name = "label43"; - this.label43.Size = new System.Drawing.Size(14, 13); - this.label43.TabIndex = 0; - this.label43.Text = "X"; - // // nudCustomOverlayLocY // this.nudCustomOverlayLocY.ForeColor = System.Drawing.SystemColors.GrayText; @@ -3536,26 +3840,6 @@ private void InitializeComponent() this.nudCustomOverlayLocY.TabIndex = 3; this.nudCustomOverlayLocY.ThousandsSeparator = true; // - // cbCustomOverlayLocation - // - this.cbCustomOverlayLocation.AutoSize = true; - this.cbCustomOverlayLocation.Location = new System.Drawing.Point(6, 183); - this.cbCustomOverlayLocation.Name = "cbCustomOverlayLocation"; - this.cbCustomOverlayLocation.Size = new System.Drawing.Size(138, 17); - this.cbCustomOverlayLocation.TabIndex = 15; - this.cbCustomOverlayLocation.Text = "Custom overlay location"; - this.cbCustomOverlayLocation.UseVisualStyleBackColor = true; - this.cbCustomOverlayLocation.CheckedChanged += new System.EventHandler(this.cbCustomOverlayLocation_CheckedChanged); - // - // label38 - // - this.label38.AutoSize = true; - this.label38.Location = new System.Drawing.Point(120, 149); - this.label38.Name = "label38"; - this.label38.Size = new System.Drawing.Size(93, 13); - this.label38.TabIndex = 11; - this.label38.Text = "distance from right"; - // // nudOverlayInfoPosY // this.nudOverlayInfoPosY.ForeColor = System.Drawing.SystemColors.GrayText; @@ -3574,15 +3858,6 @@ private void InitializeComponent() this.nudOverlayInfoPosY.Size = new System.Drawing.Size(57, 20); this.nudOverlayInfoPosY.TabIndex = 14; // - // label39 - // - this.label39.AutoSize = true; - this.label39.Location = new System.Drawing.Point(300, 149); - this.label39.Name = "label39"; - this.label39.Size = new System.Drawing.Size(14, 13); - this.label39.TabIndex = 13; - this.label39.Text = "Y"; - // // nudOverlayInfoPosDFR // this.nudOverlayInfoPosDFR.ForeColor = System.Drawing.SystemColors.GrayText; @@ -3601,216 +3876,64 @@ private void InitializeComponent() this.nudOverlayInfoPosDFR.Size = new System.Drawing.Size(57, 20); this.nudOverlayInfoPosDFR.TabIndex = 12; // - // label40 - // - this.label40.AutoSize = true; - this.label40.Location = new System.Drawing.Point(6, 149); - this.label40.Name = "label40"; - this.label40.Size = new System.Drawing.Size(94, 13); - this.label40.TabIndex = 10; - this.label40.Text = "Position of the info"; - // - // label37 - // - this.label37.AutoSize = true; - this.label37.Location = new System.Drawing.Point(300, 123); - this.label37.Name = "label37"; - this.label37.Size = new System.Drawing.Size(14, 13); - this.label37.TabIndex = 8; - this.label37.Text = "Y"; - // // nudOverlayTimerPosY // this.nudOverlayTimerPosY.ForeColor = System.Drawing.SystemColors.GrayText; this.nudOverlayTimerPosY.Location = new System.Drawing.Point(320, 121); this.nudOverlayTimerPosY.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudOverlayTimerPosY.Name = "nudOverlayTimerPosY"; - this.nudOverlayTimerPosY.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudOverlayTimerPosY.Size = new System.Drawing.Size(57, 20); - this.nudOverlayTimerPosY.TabIndex = 9; - // - // label36 - // - this.label36.AutoSize = true; - this.label36.Location = new System.Drawing.Point(199, 123); - this.label36.Name = "label36"; - this.label36.Size = new System.Drawing.Size(14, 13); - this.label36.TabIndex = 6; - this.label36.Text = "X"; - // - // nudOverlayTimerPosX - // - this.nudOverlayTimerPosX.ForeColor = System.Drawing.SystemColors.GrayText; - this.nudOverlayTimerPosX.Location = new System.Drawing.Point(219, 121); - this.nudOverlayTimerPosX.Maximum = new decimal(new int[] { - 10000, - 0, - 0, - 0}); - this.nudOverlayTimerPosX.Name = "nudOverlayTimerPosX"; - this.nudOverlayTimerPosX.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudOverlayTimerPosX.Size = new System.Drawing.Size(57, 20); - this.nudOverlayTimerPosX.TabIndex = 7; - // - // label35 - // - this.label35.AutoSize = true; - this.label35.Location = new System.Drawing.Point(6, 123); - this.label35.Name = "label35"; - this.label35.Size = new System.Drawing.Size(104, 13); - this.label35.TabIndex = 5; - this.label35.Text = "Position of the timers"; - // - // cbInventoryCheck - // - this.cbInventoryCheck.Location = new System.Drawing.Point(6, 85); - this.cbInventoryCheck.Name = "cbInventoryCheck"; - this.cbInventoryCheck.Size = new System.Drawing.Size(305, 35); - this.cbInventoryCheck.TabIndex = 4; - this.cbInventoryCheck.Text = "Automatically extract inventory levels (needs working OCR and enabled overlay)"; - this.cbInventoryCheck.UseVisualStyleBackColor = true; - // - // label21 - // - this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(6, 61); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(138, 13); - this.label21.TabIndex = 2; - this.label21.Text = "Display info in overlay for [s]"; - // - // nudOverlayInfoDuration - // - this.nudOverlayInfoDuration.ForeColor = System.Drawing.SystemColors.WindowText; - this.nudOverlayInfoDuration.Location = new System.Drawing.Point(150, 59); - this.nudOverlayInfoDuration.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.nudOverlayInfoDuration.Name = "nudOverlayInfoDuration"; - this.nudOverlayInfoDuration.NeutralNumber = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.nudOverlayInfoDuration.Size = new System.Drawing.Size(57, 20); - this.nudOverlayInfoDuration.TabIndex = 3; - this.nudOverlayInfoDuration.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); - // - // chkbSpeechRecognition - // - this.chkbSpeechRecognition.AutoSize = true; - this.chkbSpeechRecognition.Location = new System.Drawing.Point(6, 36); - this.chkbSpeechRecognition.Name = "chkbSpeechRecognition"; - this.chkbSpeechRecognition.Size = new System.Drawing.Size(123, 17); - this.chkbSpeechRecognition.TabIndex = 1; - this.chkbSpeechRecognition.Text = "Speech Recognition"; - this.chkbSpeechRecognition.UseVisualStyleBackColor = true; - // - // tabPageOCR - // - this.tabPageOCR.AutoScroll = true; - this.tabPageOCR.Controls.Add(this.groupBox1); - this.tabPageOCR.Location = new System.Drawing.Point(4, 22); - this.tabPageOCR.Name = "tabPageOCR"; - this.tabPageOCR.Padding = new System.Windows.Forms.Padding(3); - this.tabPageOCR.Size = new System.Drawing.Size(750, 676); - this.tabPageOCR.TabIndex = 4; - this.tabPageOCR.Text = "OCR"; - this.tabPageOCR.UseVisualStyleBackColor = true; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.label62); - this.groupBox1.Controls.Add(this.label61); - this.groupBox1.Controls.Add(this.label60); - this.groupBox1.Controls.Add(this.label59); - this.groupBox1.Controls.Add(this.label58); - this.groupBox1.Controls.Add(this.NudOCRClipboardCropHeight); - this.groupBox1.Controls.Add(this.NudOCRClipboardCropWidth); - this.groupBox1.Controls.Add(this.NudOCRClipboardCropTop); - this.groupBox1.Controls.Add(this.NudOCRClipboardCropLeft); - this.groupBox1.Controls.Add(this.CbOCRFromClipboard); - this.groupBox1.Controls.Add(this.button1); - this.groupBox1.Controls.Add(this.cbOCRIgnoreImprintValue); - this.groupBox1.Controls.Add(this.cbShowOCRButton); - this.groupBox1.Controls.Add(this.label23); - this.groupBox1.Controls.Add(this.nudWaitBeforeScreenCapture); - this.groupBox1.Controls.Add(this.label19); - this.groupBox1.Controls.Add(this.nudWhiteThreshold); - this.groupBox1.Controls.Add(this.tbOCRCaptureApp); - this.groupBox1.Controls.Add(this.label4); - this.groupBox1.Controls.Add(this.cbbOCRApp); - this.groupBox1.Controls.Add(this.label1); - this.groupBox1.Location = new System.Drawing.Point(6, 6); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(734, 352); - this.groupBox1.TabIndex = 0; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "OCR"; - // - // label62 - // - this.label62.AutoSize = true; - this.label62.Location = new System.Drawing.Point(34, 211); - this.label62.Name = "label62"; - this.label62.Size = new System.Drawing.Size(616, 13); - this.label62.TabIndex = 20; - this.label62.Text = "Set an area of the clipboard screenshot to be used for the actual OCR. Set all fi" + - "elds to 0 to disable and use the whole screenshot."; - // - // label61 - // - this.label61.AutoSize = true; - this.label61.Location = new System.Drawing.Point(151, 229); - this.label61.Name = "label61"; - this.label61.Size = new System.Drawing.Size(26, 13); - this.label61.TabIndex = 19; - this.label61.Text = "Top"; - // - // label60 - // - this.label60.AutoSize = true; - this.label60.Location = new System.Drawing.Point(258, 229); - this.label60.Name = "label60"; - this.label60.Size = new System.Drawing.Size(35, 13); - this.label60.TabIndex = 18; - this.label60.Text = "Width"; + 10000, + 0, + 0, + 0}); + this.nudOverlayTimerPosY.Name = "nudOverlayTimerPosY"; + this.nudOverlayTimerPosY.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudOverlayTimerPosY.Size = new System.Drawing.Size(57, 20); + this.nudOverlayTimerPosY.TabIndex = 9; // - // label59 + // nudOverlayTimerPosX // - this.label59.AutoSize = true; - this.label59.Location = new System.Drawing.Point(374, 229); - this.label59.Name = "label59"; - this.label59.Size = new System.Drawing.Size(38, 13); - this.label59.TabIndex = 17; - this.label59.Text = "Height"; + this.nudOverlayTimerPosX.ForeColor = System.Drawing.SystemColors.GrayText; + this.nudOverlayTimerPosX.Location = new System.Drawing.Point(219, 121); + this.nudOverlayTimerPosX.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.nudOverlayTimerPosX.Name = "nudOverlayTimerPosX"; + this.nudOverlayTimerPosX.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudOverlayTimerPosX.Size = new System.Drawing.Size(57, 20); + this.nudOverlayTimerPosX.TabIndex = 7; // - // label58 + // nudOverlayInfoDuration // - this.label58.AutoSize = true; - this.label58.Location = new System.Drawing.Point(45, 229); - this.label58.Name = "label58"; - this.label58.Size = new System.Drawing.Size(25, 13); - this.label58.TabIndex = 16; - this.label58.Text = "Left"; + this.nudOverlayInfoDuration.ForeColor = System.Drawing.SystemColors.WindowText; + this.nudOverlayInfoDuration.Location = new System.Drawing.Point(150, 59); + this.nudOverlayInfoDuration.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.nudOverlayInfoDuration.Name = "nudOverlayInfoDuration"; + this.nudOverlayInfoDuration.NeutralNumber = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.nudOverlayInfoDuration.Size = new System.Drawing.Size(57, 20); + this.nudOverlayInfoDuration.TabIndex = 3; + this.nudOverlayInfoDuration.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); // // NudOCRClipboardCropHeight // @@ -3904,55 +4027,6 @@ private void InitializeComponent() this.NudOCRClipboardCropLeft.Size = new System.Drawing.Size(69, 20); this.NudOCRClipboardCropLeft.TabIndex = 12; // - // CbOCRFromClipboard - // - this.CbOCRFromClipboard.AutoSize = true; - this.CbOCRFromClipboard.Location = new System.Drawing.Point(6, 191); - this.CbOCRFromClipboard.Name = "CbOCRFromClipboard"; - this.CbOCRFromClipboard.Size = new System.Drawing.Size(506, 17); - this.CbOCRFromClipboard.TabIndex = 11; - this.CbOCRFromClipboard.Text = "Use image in clipboard for the OCR. You can press the Print-key to copy a screens" + - "hot to the cliphoard"; - this.CbOCRFromClipboard.UseVisualStyleBackColor = true; - // - // button1 - // - this.button1.Location = new System.Drawing.Point(6, 292); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(139, 23); - this.button1.TabIndex = 8; - this.button1.Text = "ShooterGame (default)"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // cbOCRIgnoreImprintValue - // - this.cbOCRIgnoreImprintValue.AutoSize = true; - this.cbOCRIgnoreImprintValue.Location = new System.Drawing.Point(6, 168); - this.cbOCRIgnoreImprintValue.Name = "cbOCRIgnoreImprintValue"; - this.cbOCRIgnoreImprintValue.Size = new System.Drawing.Size(287, 17); - this.cbOCRIgnoreImprintValue.TabIndex = 6; - this.cbOCRIgnoreImprintValue.Text = "Don\'t read imprinting value (can be overlapped by chat)"; - this.cbOCRIgnoreImprintValue.UseVisualStyleBackColor = true; - // - // cbShowOCRButton - // - this.cbShowOCRButton.AutoSize = true; - this.cbShowOCRButton.Location = new System.Drawing.Point(6, 96); - this.cbShowOCRButton.Name = "cbShowOCRButton"; - this.cbShowOCRButton.Size = new System.Drawing.Size(228, 17); - this.cbShowOCRButton.TabIndex = 1; - this.cbShowOCRButton.Text = "Show OCR-Button instead of Import-Button"; - this.cbShowOCRButton.UseVisualStyleBackColor = true; - // - // label23 - // - this.label23.Location = new System.Drawing.Point(6, 145); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(296, 20); - this.label23.TabIndex = 4; - this.label23.Text = "Wait before screencapture (time to tab into game) in ms"; - // // nudWaitBeforeScreenCapture // this.nudWaitBeforeScreenCapture.ForeColor = System.Drawing.SystemColors.GrayText; @@ -3971,14 +4045,6 @@ private void InitializeComponent() this.nudWaitBeforeScreenCapture.Size = new System.Drawing.Size(72, 20); this.nudWaitBeforeScreenCapture.TabIndex = 5; // - // label19 - // - this.label19.Location = new System.Drawing.Point(6, 119); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(296, 20); - this.label19.TabIndex = 2; - this.label19.Text = "White Threshold (increase if you increased gamma ingame)"; - // // nudWhiteThreshold // this.nudWhiteThreshold.ForeColor = System.Drawing.SystemColors.GrayText; @@ -3997,60 +4063,6 @@ private void InitializeComponent() this.nudWhiteThreshold.Size = new System.Drawing.Size(72, 20); this.nudWhiteThreshold.TabIndex = 3; // - // tbOCRCaptureApp - // - this.tbOCRCaptureApp.Location = new System.Drawing.Point(151, 294); - this.tbOCRCaptureApp.Name = "tbOCRCaptureApp"; - this.tbOCRCaptureApp.Size = new System.Drawing.Size(577, 20); - this.tbOCRCaptureApp.TabIndex = 9; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(6, 276); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(289, 13); - this.label4.TabIndex = 7; - this.label4.Text = "Capture from (ShooterGame is default for the Steam-version)"; - // - // cbbOCRApp - // - this.cbbOCRApp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbbOCRApp.FormattingEnabled = true; - this.cbbOCRApp.Location = new System.Drawing.Point(6, 321); - this.cbbOCRApp.Name = "cbbOCRApp"; - this.cbbOCRApp.Size = new System.Drawing.Size(722, 21); - this.cbbOCRApp.TabIndex = 10; - this.cbbOCRApp.SelectedIndexChanged += new System.EventHandler(this.cbOCRApp_SelectedIndexChanged); - // - // label1 - // - this.label1.Location = new System.Drawing.Point(6, 16); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(722, 77); - this.label1.TabIndex = 0; - this.label1.Text = resources.GetString("label1.Text"); - // - // panel1 - // - this.panel1.Controls.Add(this.buttonCancel); - this.panel1.Controls.Add(this.buttonOK); - this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel1.Location = new System.Drawing.Point(0, 702); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(758, 30); - this.panel1.TabIndex = 12; - // - // BtNewRandomInfoGraphicCreature - // - this.BtNewRandomInfoGraphicCreature.Location = new System.Drawing.Point(62, 293); - this.BtNewRandomInfoGraphicCreature.Name = "BtNewRandomInfoGraphicCreature"; - this.BtNewRandomInfoGraphicCreature.Size = new System.Drawing.Size(200, 20); - this.BtNewRandomInfoGraphicCreature.TabIndex = 19; - this.BtNewRandomInfoGraphicCreature.Text = "new random creature for preview"; - this.BtNewRandomInfoGraphicCreature.UseVisualStyleBackColor = true; - this.BtNewRandomInfoGraphicCreature.Click += new System.EventHandler(this.BtNewRandomInfoGraphicCreature_Click); - // // Settings // this.AcceptButton = this.buttonOK; @@ -4071,46 +4083,16 @@ private void InitializeComponent() this.groupBoxMultiplier.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintAmountEvent)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintAmount)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMatingSpeed)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyFoodConsumptionSpeedEvent)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMatingIntervalEvent)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyCuddleIntervalEvent)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyMatureSpeedEvent)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudEggHatchSpeedEvent)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyFoodConsumptionSpeed)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMatingInterval)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyCuddleInterval)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyMatureSpeed)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintingStatScale)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudEggHatchSpeed)).EndInit(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudMaxServerLevel)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMaxGraphLevel)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMaxWildLevels)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudMaxDomLevels)).EndInit(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbChartOddRange)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pbChartEvenRange)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelOddMax)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelOddMin)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelEvenMax)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelEvenMin)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxBreedingSug)).EndInit(); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudDinoCharacterFoodDrainEvent)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudTamingSpeedEvent)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudDinoCharacterFoodDrain)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudTamingSpeed)).EndInit(); this.groupBox6.ResumeLayout(false); this.groupBox6.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.NudWaitBeforeAutoLoad)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.NudKeepBackupFilesCount)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.NudBackupEveryMinutes)).EndInit(); this.groupBox7.ResumeLayout(false); this.groupBox7.PerformLayout(); this.tabControlSettings.ResumeLayout(false); @@ -4121,7 +4103,6 @@ private void InitializeComponent() this.groupBox18.ResumeLayout(false); this.groupBox11.ResumeLayout(false); this.groupBox11.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudWildLevelStep)).EndInit(); this.tabPageGeneral.ResumeLayout(false); this.groupBox31.ResumeLayout(false); this.groupBox31.PerformLayout(); @@ -4131,12 +4112,10 @@ private void InitializeComponent() this.groupBox16.ResumeLayout(false); this.GbSpecies.ResumeLayout(false); this.GbSpecies.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.NudSpeciesSelectorCountLastUsed)).EndInit(); this.groupBox26.ResumeLayout(false); this.groupBox26.PerformLayout(); this.groupBox25.ResumeLayout(false); this.groupBox25.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudDefaultFontSize)).EndInit(); this.groupBox20.ResumeLayout(false); this.groupBox20.PerformLayout(); this.groupBox17.ResumeLayout(false); @@ -4147,7 +4126,6 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.PbInfoGraphicPreview)).EndInit(); this.groupBox32.ResumeLayout(false); this.groupBox32.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudInfoGraphicHeight)).EndInit(); this.groupBox28.ResumeLayout(false); this.groupBox28.PerformLayout(); this.tabPageImportSavegame.ResumeLayout(false); @@ -4156,7 +4134,6 @@ private void InitializeComponent() this.groupBox15.ResumeLayout(false); this.groupBox15.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView_FileLocations)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.aTImportFileLocationBindingSource)).EndInit(); this.groupBox14.ResumeLayout(false); this.tabPageImportExported.ResumeLayout(false); this.tabPageImportExported.PerformLayout(); @@ -4164,7 +4141,6 @@ private void InitializeComponent() this.groupBox27.PerformLayout(); this.groupBox23.ResumeLayout(false); this.groupBox23.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudImportLowerBoundTE)).EndInit(); this.groupBox22.ResumeLayout(false); this.groupBox22.PerformLayout(); this.panel2.ResumeLayout(false); @@ -4176,7 +4152,6 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.nudWarnImportMoreThan)).EndInit(); this.groupBox13.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewExportFolders)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.aTExportFolderLocationsBindingSource)).EndInit(); this.tabPageTimers.ResumeLayout(false); this.groupBox24.ResumeLayout(false); this.groupBox24.PerformLayout(); @@ -4187,6 +4162,47 @@ private void InitializeComponent() this.groupBox10.PerformLayout(); this.pCustomOverlayLocation.ResumeLayout(false); this.pCustomOverlayLocation.PerformLayout(); + this.tabPageOCR.ResumeLayout(false); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.nudWildLevelStep)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintAmountEvent)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintAmount)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMatingSpeed)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyFoodConsumptionSpeedEvent)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMatingIntervalEvent)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyCuddleIntervalEvent)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyMatureSpeedEvent)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudEggHatchSpeedEvent)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyFoodConsumptionSpeed)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMatingInterval)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyCuddleInterval)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyMatureSpeed)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudBabyImprintingStatScale)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudEggHatchSpeed)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMaxServerLevel)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMaxGraphLevel)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMaxWildLevels)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudMaxDomLevels)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudDinoCharacterFoodDrainEvent)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudTamingSpeedEvent)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudDinoCharacterFoodDrain)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudTamingSpeed)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.NudSpeciesSelectorCountLastUsed)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudDefaultFontSize)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelOddMax)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelOddMin)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelEvenMax)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudChartLevelEvenMin)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxBreedingSug)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.NudWaitBeforeAutoLoad)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.NudKeepBackupFilesCount)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.NudBackupEveryMinutes)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudInfoGraphicHeight)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.aTImportFileLocationBindingSource)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudImportLowerBoundTE)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.aTExportFolderLocationsBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudCustomOverlayLocX)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudCustomOverlayLocY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudOverlayInfoPosY)).EndInit(); @@ -4194,16 +4210,12 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.nudOverlayTimerPosY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudOverlayTimerPosX)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudOverlayInfoDuration)).EndInit(); - this.tabPageOCR.ResumeLayout(false); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.NudOCRClipboardCropHeight)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NudOCRClipboardCropWidth)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NudOCRClipboardCropTop)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NudOCRClipboardCropLeft)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudWaitBeforeScreenCapture)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudWhiteThreshold)).EndInit(); - this.panel1.ResumeLayout(false); this.ResumeLayout(false); } @@ -4502,5 +4514,6 @@ private void InitializeComponent() private System.Windows.Forms.GroupBox groupBox31; private System.Windows.Forms.CheckBox CbHideInvisibleColorRegions; private System.Windows.Forms.Button BtNewRandomInfoGraphicCreature; + private System.Windows.Forms.Button BtSettingsToClipboard; } } \ No newline at end of file diff --git a/ARKBreedingStats/settings/Settings.cs b/ARKBreedingStats/settings/Settings.cs index 02c52e54..0b971a85 100644 --- a/ARKBreedingStats/settings/Settings.cs +++ b/ARKBreedingStats/settings/Settings.cs @@ -772,6 +772,7 @@ void ParseAndSetStatMultiplier(int multiplierIndex, string regexPattern) if (ParseAndSetValue(nudWildLevelStep, @"ASBExtractorWildLevelSteps ?= ?(\d+)")) cbConsiderWildLevelSteps.Checked = nudWildLevelStep.Value != 1; ParseAndSetCheckbox(cbAllowMoreThanHundredImprinting, @"ASBAllowHyperImprinting ?= ?(true|false)"); + ParseAndSetCheckbox(CbAllowFlyerSpeedLeveling, @"ASBAllowFlyerSpeedLeveling ?= ?(true|false)"); // event multipliers breeding ParseAndSetValue(nudMatingIntervalEvent, @"ASBEvent_MatingIntervalMultiplier ?= ?(\d*\.?\d+)"); @@ -1050,18 +1051,27 @@ private void btExportMultipliers_Click(object sender, EventArgs e) FileName = "ASBMultipliers" }) { - if (dlg.ShowDialog() == DialogResult.OK) + if (dlg.ShowDialog() != DialogResult.OK) return; + try + { + File.WriteAllText(dlg.FileName, GetMultiplierSettings()); + } + catch (Exception ex) { - SaveMultiplierSettingsToFile(dlg.FileName); + MessageBoxes.ExceptionMessageBox(ex, "Error while writing settings file:", "File writing error"); } } } + private void BtSettingsToClipboard_Click(object sender, EventArgs e) + { + Clipboard.SetText(GetMultiplierSettings()); + } + /// - /// Saves the multipliers for the stats, taming and breeding to an ini-file. + /// Returns the multipliers for the stats, taming and breeding in a string. /// - /// - private void SaveMultiplierSettingsToFile(string fileName) + private string GetMultiplierSettings() { var sb = new System.Text.StringBuilder(); var cultureForStrings = System.Globalization.CultureInfo.GetCultureInfo("en-US"); @@ -1101,6 +1111,7 @@ private void SaveMultiplierSettingsToFile(string fileName) // extractor sb.AppendLine($"ASBExtractorWildLevelSteps = {(cbConsiderWildLevelSteps.Checked ? nudWildLevelStep.Value.ToString(cultureForStrings) : "1")}"); sb.AppendLine($"ASBAllowHyperImprinting = {(cbAllowMoreThanHundredImprinting.Checked ? "true" : "false")}"); + sb.AppendLine($"ASBAllowFlyerSpeedLeveling = {(CbAllowFlyerSpeedLeveling.Checked ? "true" : "false")}"); // event multipliers sb.AppendLine($"ASBEvent_MatingIntervalMultiplier = {nudMatingIntervalEvent.Value.ToString(cultureForStrings)}"); @@ -1111,14 +1122,7 @@ private void SaveMultiplierSettingsToFile(string fileName) sb.AppendLine($"ASBEvent_TamingSpeedMultiplier = {nudTamingSpeedEvent.Value.ToString(cultureForStrings)}"); sb.AppendLine($"ASBEvent_DinoCharacterFoodDrainMultiplier = {nudDinoCharacterFoodDrainEvent.Value.ToString(cultureForStrings)}"); - try - { - File.WriteAllText(fileName, sb.ToString()); - } - catch (Exception ex) - { - MessageBoxes.ExceptionMessageBox(ex, "Error while writing settings file:", "File writing error"); - } + return sb.ToString(); } public enum SettingsTabPages diff --git a/ARKBreedingStats/uiControls/Hatching.cs b/ARKBreedingStats/uiControls/Hatching.cs index 3c365bd6..7b4b9876 100644 --- a/ARKBreedingStats/uiControls/Hatching.cs +++ b/ARKBreedingStats/uiControls/Hatching.cs @@ -1,8 +1,5 @@ -using System.Diagnostics; -using System.Text; -using System.Windows.Forms; +using System.Windows.Forms; using ARKBreedingStats.species; -using ARKBreedingStats.values; namespace ARKBreedingStats.uiControls { @@ -16,8 +13,6 @@ public Hatching() /// /// Set a species to display the stats of the current top levels. This can help in determine if a new creature is good. /// - /// - /// public void SetSpecies(Species species, int[] highLevels, int[] lowLevels) { if (species == null) diff --git a/ARKBreedingStats/uiControls/MultiSetter.cs b/ARKBreedingStats/uiControls/MultiSetter.cs index 61423e8e..aa4f13c1 100644 --- a/ARKBreedingStats/uiControls/MultiSetter.cs +++ b/ARKBreedingStats/uiControls/MultiSetter.cs @@ -35,7 +35,7 @@ public MultiSetter(List creatureList, List[] parents, List(); - this._creatureList = creatureList; + _creatureList = creatureList; parentComboBoxMother.naLabel = " - Mother n/a"; parentComboBoxFather.naLabel = " - Father n/a"; if (parents == null) @@ -50,7 +50,7 @@ public MultiSetter(List creatureList, List[] parents, List 0 && SelectedIndex - 1 < parentList.Count) return parentList[SelectedIndex - 1]; @@ -75,16 +76,13 @@ public List ParentList Items.Clear(); Items.Add(naLabel); int selInd = 0; - if (value == null) - { - parentList = new List(); - return; - } parentList = value; + if (value == null) return; + for (int c = 0; c < parentList.Count; c++) { - string similarities = ""; - string status = ""; + string similarities = string.Empty; + string status = string.Empty; if (parentsSimilarity != null && parentsSimilarity.Count > c) similarities = " (" + parentsSimilarity[c] + ")"; if (parentList[c].Status != CreatureStatus.Available) @@ -122,7 +120,7 @@ private void comboBoxParents_DrawItem(object sender, DrawItemEventArgs e) { myBrush = Brushes.DarkGray; // no parent selected } - else if (i >= 0 && parentsSimilarity != null && parentsSimilarity.Count > i) + else if (parentsSimilarity != null && parentsSimilarity.Count > i) { // Determine the color of the brush to draw each item based on the similarity of the wildlevels myBrush = brushes[parentsSimilarity[i]]; diff --git a/ARKBreedingStats/uiControls/StatPotential.cs b/ARKBreedingStats/uiControls/StatPotential.cs index 7b59ba33..a5f2be75 100644 --- a/ARKBreedingStats/uiControls/StatPotential.cs +++ b/ARKBreedingStats/uiControls/StatPotential.cs @@ -20,7 +20,7 @@ public StatPotential(int stat, bool percent) InitializeComponent(); statIndex = stat; this.percent = percent; - label1.Text = Utils.StatName(stat, true); + label1.Text = Utils.StatName(statIndex, true); } public void SetLevel(Species species, int wildLevel) @@ -39,5 +39,10 @@ public void SetLevel(Species species, int wildLevel) ResumeLayout(); } } + + public void SetLocalization() + { + label1.Text = Utils.StatName(statIndex, true); + } } } diff --git a/ARKBreedingStats/uiControls/StatPotentials.cs b/ARKBreedingStats/uiControls/StatPotentials.cs index 6c56b0cc..293c707b 100644 --- a/ARKBreedingStats/uiControls/StatPotentials.cs +++ b/ARKBreedingStats/uiControls/StatPotentials.cs @@ -1,44 +1,42 @@ using ARKBreedingStats.species; -using System.Collections.Generic; -using System.Drawing; using System.Windows.Forms; namespace ARKBreedingStats.uiControls { public partial class StatPotentials : UserControl { - private readonly StatPotential[] stats; - private Species selectedSpecies; - private readonly int[] oldLevels; + private readonly StatPotential[] _stats; + private Species _selectedSpecies; + private readonly int[] _oldLevels; public StatPotentials() { InitializeComponent(); - stats = new StatPotential[Stats.StatsCount]; + _stats = new StatPotential[Stats.StatsCount]; for (int s = 0; s < Stats.StatsCount; s++) { StatPotential stat = new StatPotential(s, Utils.Precision(s) == 3); - stats[s] = stat; + _stats[s] = stat; } for (int s = 0; s < Stats.StatsCount; s++) { int si = Stats.DisplayOrder[s]; - flpStats.Controls.Add(stats[si]); - flpStats.SetFlowBreak(stats[si], true); + flpStats.Controls.Add(_stats[si]); + flpStats.SetFlowBreak(_stats[si], true); } - oldLevels = new int[Stats.StatsCount]; + _oldLevels = new int[Stats.StatsCount]; } public Species Species { set { - if (value == null || value == selectedSpecies) return; - selectedSpecies = value; + if (value == null || value == _selectedSpecies) return; + _selectedSpecies = value; for (int s = 0; s < Stats.StatsCount; s++) { - stats[s].Visible = selectedSpecies.UsesStat(s); + _stats[s].Visible = _selectedSpecies.UsesStat(s); } } } @@ -48,31 +46,38 @@ public void SetLevels(int[] levelsWild, bool forceUpdate) SuspendLayout(); for (int s = 0; s < Stats.StatsCount; s++) { - if (forceUpdate || oldLevels[s] != levelsWild[s]) + if (forceUpdate || _oldLevels[s] != levelsWild[s]) { - oldLevels[s] = levelsWild[s]; - stats[s].SetLevel(selectedSpecies, levelsWild[s]); + _oldLevels[s] = levelsWild[s]; + _stats[s].SetLevel(_selectedSpecies, levelsWild[s]); } } ResumeLayout(); } - public int levelDomMax + public int LevelDomMax { set { for (int s = 0; s < Stats.StatsCount; s++) - stats[s].maxDomLevel = value; + _stats[s].maxDomLevel = value; } } - public int levelGraphMax + public int LevelGraphMax { set { for (int s = 0; s < Stats.StatsCount; s++) - stats[s].levelGraphMax = value; + _stats[s].levelGraphMax = value; } } + + public void SetLocalization() + { + if (_stats == null) return; + foreach (var s in _stats) + s.SetLocalization(); + } } }