From 21906c49f4307d78d5881e0fd0e6f66d45325c16 Mon Sep 17 00:00:00 2001 From: Li Date: Wed, 18 Jan 2023 23:56:12 -0800 Subject: [PATCH] Add scheme editor --- LibW4M/Data/Schemes/LandObjects.cs | 16 + LibW4M/Data/Schemes/SchemeData.cs | 24 +- LibW4M/Data/Schemes/Stockpiling.cs | 15 + LibW4M/Data/Schemes/SuddenDeath.cs | 15 + LibW4M/Data/Schemes/WaterSpeed.cs | 16 + W4Gui/Components/SchemePanel.Designer.cs | 1588 +++++++++-------- W4Gui/Components/SchemePanel.cs | 201 ++- W4Gui/Main.Designer.cs | 18 +- .../PublishProfiles/FolderProfile.pubxml.user | 2 +- W4Gui/Tabs/SchemeTab.Designer.cs | 99 + W4Gui/Tabs/SchemeTab.cs | 62 + W4Gui/Tabs/SchemeTab.resx | 60 + W4Gui/Tabs/TeamsTab.Designer.cs | 2 +- W4Gui/W4Gui.csproj | 1 + W4Gui/W4Gui.csproj.user | 3 + 15 files changed, 1302 insertions(+), 820 deletions(-) create mode 100644 LibW4M/Data/Schemes/LandObjects.cs create mode 100644 LibW4M/Data/Schemes/Stockpiling.cs create mode 100644 LibW4M/Data/Schemes/SuddenDeath.cs create mode 100644 LibW4M/Data/Schemes/WaterSpeed.cs create mode 100644 W4Gui/Tabs/SchemeTab.Designer.cs create mode 100644 W4Gui/Tabs/SchemeTab.cs create mode 100644 W4Gui/Tabs/SchemeTab.resx diff --git a/LibW4M/Data/Schemes/LandObjects.cs b/LibW4M/Data/Schemes/LandObjects.cs new file mode 100644 index 0000000..4885f08 --- /dev/null +++ b/LibW4M/Data/Schemes/LandObjects.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LibW4M.Data.Schemes +{ + public enum LandObjects : int + { + None = 0, + Mines = 1, + OilDrums = 2, + Full = 3 + } +} diff --git a/LibW4M/Data/Schemes/SchemeData.cs b/LibW4M/Data/Schemes/SchemeData.cs index 4b2d206..d6f0234 100644 --- a/LibW4M/Data/Schemes/SchemeData.cs +++ b/LibW4M/Data/Schemes/SchemeData.cs @@ -86,7 +86,7 @@ namespace LibW4M.Data.Schemes public int WormHealth; public int RoundTime; public int TurnTime; - public int Objects; // TODO: make this an enum + public LandObjects Objects; public int RandomCrateChancePerTurn; public int MysteryChance; public int WeaponChance; @@ -94,9 +94,9 @@ namespace LibW4M.Data.Schemes public int HealthChance; public int HealthInCrates; - public int Stockpiling; // TODO: make this an enum too - public int SuddenDeath; // TODO: make this an enum too - public int WaterSpeed; // TODO: make this an enum too + public Stockpiling Stockpiling; + public SuddenDeath SuddenDeath; // TODO: make this an enum too + public WaterSpeed WaterSpeed; // TODO: make this an enum too public int DisplayTime; public int LandTime; @@ -191,16 +191,16 @@ namespace LibW4M.Data.Schemes this.WormHealth = reader.ReadInt32(); this.RoundTime = reader.ReadInt32(); this.TurnTime = reader.ReadInt32(); - this.Objects = reader.ReadInt32(); + this.Objects = (LandObjects)reader.ReadInt32(); this.RandomCrateChancePerTurn = reader.ReadInt32(); this.MysteryChance = reader.ReadInt32(); this.WeaponChance = reader.ReadInt32(); this.UtilityChance = reader.ReadInt32(); this.HealthChance = reader.ReadInt32(); this.HealthInCrates = reader.ReadInt32(); - this.Stockpiling = reader.ReadInt32(); - this.SuddenDeath = reader.ReadInt32(); - this.WaterSpeed = reader.ReadInt32(); + this.Stockpiling = (Stockpiling)reader.ReadInt32(); + this.SuddenDeath = (SuddenDeath)reader.ReadInt32(); + this.WaterSpeed = (WaterSpeed)reader.ReadInt32(); this.DisplayTime = reader.ReadInt32(); this.LandTime = reader.ReadInt32(); this.RopeTime = reader.ReadInt32(); @@ -352,16 +352,16 @@ namespace LibW4M.Data.Schemes writer.WriteInt32(this.WormHealth); writer.WriteInt32(this.RoundTime); writer.WriteInt32(this.TurnTime); - writer.WriteInt32(this.Objects); + writer.WriteInt32((int)this.Objects); writer.WriteInt32(this.RandomCrateChancePerTurn); writer.WriteInt32(this.MysteryChance); writer.WriteInt32(this.WeaponChance); writer.WriteInt32(this.UtilityChance); writer.WriteInt32(this.HealthChance); writer.WriteInt32(this.HealthInCrates); - writer.WriteInt32(this.Stockpiling); - writer.WriteInt32(this.SuddenDeath); - writer.WriteInt32(this.WaterSpeed); + writer.WriteInt32((int)this.Stockpiling); + writer.WriteInt32((int)this.SuddenDeath); + writer.WriteInt32((int)this.WaterSpeed); writer.WriteInt32(this.DisplayTime); writer.WriteInt32(this.LandTime); writer.WriteInt32(this.RopeTime); diff --git a/LibW4M/Data/Schemes/Stockpiling.cs b/LibW4M/Data/Schemes/Stockpiling.cs new file mode 100644 index 0000000..cbdc55d --- /dev/null +++ b/LibW4M/Data/Schemes/Stockpiling.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LibW4M.Data.Schemes +{ + public enum Stockpiling : int + { + Normal = 0, + Additive = 1, + Limited = 2 + } +} diff --git a/LibW4M/Data/Schemes/SuddenDeath.cs b/LibW4M/Data/Schemes/SuddenDeath.cs new file mode 100644 index 0000000..d2cfed8 --- /dev/null +++ b/LibW4M/Data/Schemes/SuddenDeath.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LibW4M.Data.Schemes +{ + public enum SuddenDeath : int + { + OneHealth = 0, + RaiseWater = 1, + DrawRound = 2 + } +} diff --git a/LibW4M/Data/Schemes/WaterSpeed.cs b/LibW4M/Data/Schemes/WaterSpeed.cs new file mode 100644 index 0000000..6ecb447 --- /dev/null +++ b/LibW4M/Data/Schemes/WaterSpeed.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LibW4M.Data.Schemes +{ + public enum WaterSpeed : int + { + None = 0, + Slow = 1, + Medium = 2, + Fast = 3 + } +} diff --git a/W4Gui/Components/SchemePanel.Designer.cs b/W4Gui/Components/SchemePanel.Designer.cs index aae16ac..adacb90 100644 --- a/W4Gui/Components/SchemePanel.Designer.cs +++ b/W4Gui/Components/SchemePanel.Designer.cs @@ -31,7 +31,6 @@ this.schemeTabControl = new System.Windows.Forms.TabControl(); this.generalTab = new System.Windows.Forms.TabPage(); this.tblGeneral = new System.Windows.Forms.TableLayoutPanel(); - this.selStockpiling = new W4Gui.Components.IntUpDown(); this.lblHelpPanelDisplay = new System.Windows.Forms.Label(); this.lblSpecial = new System.Windows.Forms.Label(); this.lblHotSeat = new System.Windows.Forms.Label(); @@ -55,7 +54,7 @@ this.selLock = new System.Windows.Forms.TextBox(); this.lblLock = new System.Windows.Forms.Label(); this.lblSchemeName = new System.Windows.Forms.Label(); - this.selWinnerName = new System.Windows.Forms.TextBox(); + this.selSchemeName = new System.Windows.Forms.TextBox(); this.selArtilaryMode = new W4Gui.Components.IntUpDown(); this.selNumRounds = new W4Gui.Components.IntUpDown(); this.selDisplayTime = new W4Gui.Components.IntUpDown(); @@ -65,6 +64,7 @@ this.selHotSeat = new W4Gui.Components.IntUpDown(); this.selSpecial = new W4Gui.Components.IntUpDown(); this.selHelpPanelDisplay = new W4Gui.Components.IntUpDown(); + this.selStockpiling = new System.Windows.Forms.ComboBox(); this.tblPermanatToggle = new System.Windows.Forms.TableLayoutPanel(); this.selPermanent = new System.Windows.Forms.CheckBox(); this.crateTab = new System.Windows.Forms.TabPage(); @@ -86,86 +86,87 @@ this.tblMap = new System.Windows.Forms.TableLayoutPanel(); this.selMaxWindStrength = new W4Gui.Components.IntUpDown(); this.lblWindMaxStrength = new System.Windows.Forms.Label(); - this.selWaterRiseSpeed = new W4Gui.Components.IntUpDown(); - this.selSuddenDeath = new W4Gui.Components.IntUpDown(); this.lblWaterRiseSpeed = new System.Windows.Forms.Label(); this.lblSuddenDeath = new System.Windows.Forms.Label(); this.selMineFuse = new W4Gui.Components.IntUpDown(); this.lblMineFuse = new System.Windows.Forms.Label(); - this.selObject = new W4Gui.Components.IntUpDown(); this.lblObjects = new System.Windows.Forms.Label(); + this.selLndObjects = new System.Windows.Forms.ComboBox(); + this.selSuddenDeath = new System.Windows.Forms.ComboBox(); + this.selWaterSpeed = new System.Windows.Forms.ComboBox(); this.weaponsTab = new System.Windows.Forms.TabPage(); this.weapTypeTabControl = new System.Windows.Forms.TabControl(); this.weaponTab = new System.Windows.Forms.TabPage(); this.tblWeapons = new System.Windows.Forms.TableLayoutPanel(); + this.selStarburst = new W4Gui.Components.InputWeaponSettingsData(); + this.selBovineBlitz = new W4Gui.Components.InputWeaponSettingsData(); + this.selSniperRifle = new W4Gui.Components.InputWeaponSettingsData(); + this.selSentryGun = new W4Gui.Components.InputWeaponSettingsData(); + this.selPoisonArrow = new W4Gui.Components.InputWeaponSettingsData(); + this.selTailNail = new W4Gui.Components.InputWeaponSettingsData(); + this.selInflatableScouser = new W4Gui.Components.InputWeaponSettingsData(); + this.selFatkinsStrike = new W4Gui.Components.InputWeaponSettingsData(); + this.selAlienAbduction = new W4Gui.Components.InputWeaponSettingsData(); + this.selTeamWeapon = new W4Gui.Components.InputWeaponSettingsData(); + this.lblStarburst = new System.Windows.Forms.Label(); + this.lblBovineBlitz = new System.Windows.Forms.Label(); + this.lblSniperRifle = new System.Windows.Forms.Label(); + this.lblSentryGun = new System.Windows.Forms.Label(); + this.lblPoisonArrow = new System.Windows.Forms.Label(); + this.lblTailNail = new System.Windows.Forms.Label(); + this.lblInflatableScouser = new System.Windows.Forms.Label(); + this.lblFatkinsStrike = new System.Windows.Forms.Label(); + this.lblAlienAbduction = new System.Windows.Forms.Label(); + this.lblTeamWeapon = new System.Windows.Forms.Label(); + this.selFlood = new W4Gui.Components.InputWeaponSettingsData(); + this.selSuperSheep = new W4Gui.Components.InputWeaponSettingsData(); + this.selShotgun = new W4Gui.Components.InputWeaponSettingsData(); + this.selSheep = new W4Gui.Components.InputWeaponSettingsData(); + this.selProd = new W4Gui.Components.InputWeaponSettingsData(); + this.selOldWoman = new W4Gui.Components.InputWeaponSettingsData(); + this.selLandMine = new W4Gui.Components.InputWeaponSettingsData(); + this.selHomingMissile = new W4Gui.Components.InputWeaponSettingsData(); + this.selHolyHandGrenade = new W4Gui.Components.InputWeaponSettingsData(); + this.selGrenade = new W4Gui.Components.InputWeaponSettingsData(); + this.selGasCanister = new W4Gui.Components.InputWeaponSettingsData(); + this.lblFlood = new System.Windows.Forms.Label(); + this.lblSuperSheep = new System.Windows.Forms.Label(); + this.lblShotgun = new System.Windows.Forms.Label(); + this.lblSheep = new System.Windows.Forms.Label(); + this.lblProd = new System.Windows.Forms.Label(); + this.lblOldWoman = new System.Windows.Forms.Label(); + this.lblHomingMissile = new System.Windows.Forms.Label(); + this.lblLandMine = new System.Windows.Forms.Label(); + this.lblGasCanister = new System.Windows.Forms.Label(); + this.lblHolyHandGrenade = new System.Windows.Forms.Label(); + this.lblGrenade = new System.Windows.Forms.Label(); + this.selFirePunch = new W4Gui.Components.InputWeaponSettingsData(); + this.selDynamite = new W4Gui.Components.InputWeaponSettingsData(); + this.selConcreteDonkey = new W4Gui.Components.InputWeaponSettingsData(); + this.lblFirePunch = new System.Windows.Forms.Label(); + this.lblDynamite = new System.Windows.Forms.Label(); + this.lblConcreteDonkey = new System.Windows.Forms.Label(); + this.selBazooka = new W4Gui.Components.InputWeaponSettingsData(); + this.selClusterBomb = new W4Gui.Components.InputWeaponSettingsData(); + this.selBaseballBat = new W4Gui.Components.InputWeaponSettingsData(); + this.lblClusterBomb = new System.Windows.Forms.Label(); + this.lblBaseballBat = new System.Windows.Forms.Label(); + this.lblBazooka = new System.Windows.Forms.Label(); this.selBananaBomb = new W4Gui.Components.InputWeaponSettingsData(); this.lblBananaBomb = new System.Windows.Forms.Label(); this.lblAirstrike = new System.Windows.Forms.Label(); this.selAirstrike = new W4Gui.Components.InputWeaponSettingsData(); this.utilityTab = new System.Windows.Forms.TabPage(); - this.mysteryTab = new System.Windows.Forms.TabPage(); - this.lblBazooka = new System.Windows.Forms.Label(); - this.lblBaseballBat = new System.Windows.Forms.Label(); - this.lblClusterBomb = new System.Windows.Forms.Label(); - this.selBaseballBat = new W4Gui.Components.InputWeaponSettingsData(); - this.selClusterBomb = new W4Gui.Components.InputWeaponSettingsData(); - this.selBazooka = new W4Gui.Components.InputWeaponSettingsData(); - this.lblConcreteDonkey = new System.Windows.Forms.Label(); - this.lblDynamite = new System.Windows.Forms.Label(); - this.lblFirePunch = new System.Windows.Forms.Label(); - this.selConcreteDonkey = new W4Gui.Components.InputWeaponSettingsData(); - this.selDynamite = new W4Gui.Components.InputWeaponSettingsData(); - this.selFirePunch = new W4Gui.Components.InputWeaponSettingsData(); - this.lblGrenade = new System.Windows.Forms.Label(); - this.lblHolyHandGrenade = new System.Windows.Forms.Label(); - this.lblGasCanister = new System.Windows.Forms.Label(); - this.lblLandMine = new System.Windows.Forms.Label(); - this.lblHomingMissile = new System.Windows.Forms.Label(); - this.lblOldWoman = new System.Windows.Forms.Label(); - this.lblProd = new System.Windows.Forms.Label(); - this.lblSheep = new System.Windows.Forms.Label(); - this.lblShotgun = new System.Windows.Forms.Label(); - this.lblSuperSheep = new System.Windows.Forms.Label(); - this.lblFlood = new System.Windows.Forms.Label(); - this.selGasCanister = new W4Gui.Components.InputWeaponSettingsData(); - this.selGrenade = new W4Gui.Components.InputWeaponSettingsData(); - this.selHolyHandGrenade = new W4Gui.Components.InputWeaponSettingsData(); - this.selHomingMissile = new W4Gui.Components.InputWeaponSettingsData(); - this.selLandMine = new W4Gui.Components.InputWeaponSettingsData(); - this.selOldWoman = new W4Gui.Components.InputWeaponSettingsData(); - this.selProd = new W4Gui.Components.InputWeaponSettingsData(); - this.selSheep = new W4Gui.Components.InputWeaponSettingsData(); - this.selShotgun = new W4Gui.Components.InputWeaponSettingsData(); - this.selSuperSheep = new W4Gui.Components.InputWeaponSettingsData(); - this.selFlood = new W4Gui.Components.InputWeaponSettingsData(); - this.lblTeamWeapon = new System.Windows.Forms.Label(); - this.lblAlienAbduction = new System.Windows.Forms.Label(); - this.lblFatkinsStrike = new System.Windows.Forms.Label(); - this.lblInflatableScouser = new System.Windows.Forms.Label(); - this.lblTailNail = new System.Windows.Forms.Label(); - this.lblPoisonArrow = new System.Windows.Forms.Label(); - this.lblSentryGun = new System.Windows.Forms.Label(); - this.lblSniperRifle = new System.Windows.Forms.Label(); - this.lblBovineBlitz = new System.Windows.Forms.Label(); - this.lblStarburst = new System.Windows.Forms.Label(); - this.selTeamWeapon = new W4Gui.Components.InputWeaponSettingsData(); - this.selAlienAbduction = new W4Gui.Components.InputWeaponSettingsData(); - this.selFatkinsStrike = new W4Gui.Components.InputWeaponSettingsData(); - this.selInflatableScouser = new W4Gui.Components.InputWeaponSettingsData(); - this.selTailNail = new W4Gui.Components.InputWeaponSettingsData(); - this.selPoisonArrow = new W4Gui.Components.InputWeaponSettingsData(); - this.selSentryGun = new W4Gui.Components.InputWeaponSettingsData(); - this.selSniperRifle = new W4Gui.Components.InputWeaponSettingsData(); - this.selBovineBlitz = new W4Gui.Components.InputWeaponSettingsData(); - this.selStarburst = new W4Gui.Components.InputWeaponSettingsData(); this.tblWeapUtil = new System.Windows.Forms.TableLayoutPanel(); this.selArmour = new W4Gui.Components.InputWeaponSettingsData(); this.selDoubleDamage = new W4Gui.Components.InputWeaponSettingsData(); this.selCrateSpy = new W4Gui.Components.InputWeaponSettingsData(); this.selCrateShower = new W4Gui.Components.InputWeaponSettingsData(); + this.selSkipGo = new W4Gui.Components.InputWeaponSettingsData(); this.lblArmour = new System.Windows.Forms.Label(); this.lblCrateSpy = new System.Windows.Forms.Label(); this.lblDoubleDamage = new System.Windows.Forms.Label(); + this.lblSkipGo = new System.Windows.Forms.Label(); this.lblCrateShower = new System.Windows.Forms.Label(); this.selSurrender = new W4Gui.Components.InputWeaponSettingsData(); this.selGirder = new W4Gui.Components.InputWeaponSettingsData(); @@ -183,9 +184,12 @@ this.lblParachute = new System.Windows.Forms.Label(); this.lblJetPack = new System.Windows.Forms.Label(); this.selJetpack = new W4Gui.Components.InputWeaponSettingsData(); - this.lblSkipGo = new System.Windows.Forms.Label(); - this.selSkipGo = new W4Gui.Components.InputWeaponSettingsData(); + this.mysteryTab = new System.Windows.Forms.TabPage(); this.tblWeapMystery = new System.Windows.Forms.TableLayoutPanel(); + this.selBadPoisonMystery = new W4Gui.Components.InputWeaponSettingsData(); + this.selGoodPoisonMystery = new W4Gui.Components.InputWeaponSettingsData(); + this.lblTeamDisease = new System.Windows.Forms.Label(); + this.lblSickItToThem = new System.Windows.Forms.Label(); this.selSpecialWeaponMystery = new W4Gui.Components.InputWeaponSettingsData(); this.selSuperHealthMystery = new W4Gui.Components.InputWeaponSettingsData(); this.selDamageMystery = new W4Gui.Components.InputWeaponSettingsData(); @@ -212,10 +216,6 @@ this.lblRandomDetonation = new System.Windows.Forms.Label(); this.lblBringOnTheMines = new System.Windows.Forms.Label(); this.selMineLayerMystery = new W4Gui.Components.InputWeaponSettingsData(); - this.lblSickItToThem = new System.Windows.Forms.Label(); - this.lblTeamDisease = new System.Windows.Forms.Label(); - this.selGoodPoisonMystery = new W4Gui.Components.InputWeaponSettingsData(); - this.selBadPoisonMystery = new W4Gui.Components.InputWeaponSettingsData(); this.schemeTabControl.SuspendLayout(); this.generalTab.SuspendLayout(); this.tblGeneral.SuspendLayout(); @@ -230,8 +230,8 @@ this.weaponTab.SuspendLayout(); this.tblWeapons.SuspendLayout(); this.utilityTab.SuspendLayout(); - this.mysteryTab.SuspendLayout(); this.tblWeapUtil.SuspendLayout(); + this.mysteryTab.SuspendLayout(); this.tblWeapMystery.SuspendLayout(); this.SuspendLayout(); // @@ -262,7 +262,6 @@ this.generalTab.Size = new System.Drawing.Size(699, 387); this.generalTab.TabIndex = 0; this.generalTab.Text = "General"; - this.generalTab.Click += new System.EventHandler(this.generalTab_Click); // // tblGeneral // @@ -271,7 +270,6 @@ this.tblGeneral.ColumnCount = 2; this.tblGeneral.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tblGeneral.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tblGeneral.Controls.Add(this.selStockpiling, 1, 9); this.tblGeneral.Controls.Add(this.lblHelpPanelDisplay, 0, 16); this.tblGeneral.Controls.Add(this.lblSpecial, 0, 15); this.tblGeneral.Controls.Add(this.lblHotSeat, 0, 14); @@ -295,7 +293,7 @@ this.tblGeneral.Controls.Add(this.selLock, 1, 1); this.tblGeneral.Controls.Add(this.lblLock, 0, 1); this.tblGeneral.Controls.Add(this.lblSchemeName, 0, 0); - this.tblGeneral.Controls.Add(this.selWinnerName, 1, 0); + this.tblGeneral.Controls.Add(this.selSchemeName, 1, 0); this.tblGeneral.Controls.Add(this.selArtilaryMode, 1, 2); this.tblGeneral.Controls.Add(this.selNumRounds, 1, 4); this.tblGeneral.Controls.Add(this.selDisplayTime, 1, 10); @@ -305,6 +303,7 @@ this.tblGeneral.Controls.Add(this.selHotSeat, 1, 14); this.tblGeneral.Controls.Add(this.selSpecial, 1, 15); this.tblGeneral.Controls.Add(this.selHelpPanelDisplay, 1, 16); + this.tblGeneral.Controls.Add(this.selStockpiling, 1, 9); this.tblGeneral.Dock = System.Windows.Forms.DockStyle.Top; this.tblGeneral.Location = new System.Drawing.Point(3, 3); this.tblGeneral.Name = "tblGeneral"; @@ -329,16 +328,6 @@ this.tblGeneral.Size = new System.Drawing.Size(672, 529); this.tblGeneral.TabIndex = 0; // - // selStockpiling - // - this.selStockpiling.Dock = System.Windows.Forms.DockStyle.Top; - this.selStockpiling.Location = new System.Drawing.Point(121, 284); - this.selStockpiling.Name = "selStockpiling"; - this.selStockpiling.Size = new System.Drawing.Size(546, 23); - this.selStockpiling.TabIndex = 45; - this.selStockpiling.Text = "0"; - this.selStockpiling.Value = 0; - // // lblHelpPanelDisplay // this.lblHelpPanelDisplay.AutoSize = true; @@ -584,14 +573,14 @@ this.lblSchemeName.Text = "Scheme Name:"; this.lblSchemeName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // selWinnerName + // selSchemeName // - this.selWinnerName.Dock = System.Windows.Forms.DockStyle.Top; - this.selWinnerName.Location = new System.Drawing.Point(121, 5); - this.selWinnerName.Name = "selWinnerName"; - this.selWinnerName.PlaceholderText = "Scheme Name"; - this.selWinnerName.Size = new System.Drawing.Size(546, 23); - this.selWinnerName.TabIndex = 1; + this.selSchemeName.Dock = System.Windows.Forms.DockStyle.Top; + this.selSchemeName.Location = new System.Drawing.Point(121, 5); + this.selSchemeName.Name = "selSchemeName"; + this.selSchemeName.PlaceholderText = "Scheme Name"; + this.selSchemeName.Size = new System.Drawing.Size(546, 23); + this.selSchemeName.TabIndex = 1; // // selArtilaryMode // @@ -683,6 +672,20 @@ this.selHelpPanelDisplay.Text = "0"; this.selHelpPanelDisplay.Value = 0; // + // selStockpiling + // + this.selStockpiling.Dock = System.Windows.Forms.DockStyle.Top; + this.selStockpiling.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.selStockpiling.FormattingEnabled = true; + this.selStockpiling.Items.AddRange(new object[] { + "Normal", + "Additive", + "Limited"}); + this.selStockpiling.Location = new System.Drawing.Point(121, 284); + this.selStockpiling.Name = "selStockpiling"; + this.selStockpiling.Size = new System.Drawing.Size(546, 23); + this.selStockpiling.TabIndex = 53; + // // tblPermanatToggle // this.tblPermanatToggle.AutoSize = true; @@ -740,7 +743,7 @@ this.tblCrate.Controls.Add(this.selCrateChance, 1, 0); this.tblCrate.Controls.Add(this.selUtilityCrateChance, 1, 2); this.tblCrate.Dock = System.Windows.Forms.DockStyle.Top; - this.tblCrate.Location = new System.Drawing.Point(0, 0); + this.tblCrate.Location = new System.Drawing.Point(3, 3); this.tblCrate.Name = "tblCrate"; this.tblCrate.RowCount = 5; this.tblCrate.RowStyles.Add(new System.Windows.Forms.RowStyle()); @@ -866,7 +869,7 @@ this.mapTab.Controls.Add(this.tblMap); this.mapTab.Location = new System.Drawing.Point(4, 24); this.mapTab.Name = "mapTab"; - this.mapTab.Size = new System.Drawing.Size(699, 387); + this.mapTab.Size = new System.Drawing.Size(192, 72); this.mapTab.TabIndex = 2; this.mapTab.Text = "Map"; this.mapTab.UseVisualStyleBackColor = true; @@ -881,20 +884,20 @@ this.tblMineFactoryTelepadToggles.Controls.Add(this.selTelepads, 1, 0); this.tblMineFactoryTelepadToggles.Controls.Add(this.selMineFactory, 0, 0); this.tblMineFactoryTelepadToggles.Dock = System.Windows.Forms.DockStyle.Bottom; - this.tblMineFactoryTelepadToggles.Location = new System.Drawing.Point(0, 354); + this.tblMineFactoryTelepadToggles.Location = new System.Drawing.Point(0, 39); this.tblMineFactoryTelepadToggles.Name = "tblMineFactoryTelepadToggles"; this.tblMineFactoryTelepadToggles.RowCount = 1; this.tblMineFactoryTelepadToggles.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tblMineFactoryTelepadToggles.Size = new System.Drawing.Size(695, 29); + this.tblMineFactoryTelepadToggles.Size = new System.Drawing.Size(188, 29); this.tblMineFactoryTelepadToggles.TabIndex = 26; // // selTelepads // this.selTelepads.AutoSize = true; this.selTelepads.Dock = System.Windows.Forms.DockStyle.Fill; - this.selTelepads.Location = new System.Drawing.Point(351, 5); + this.selTelepads.Location = new System.Drawing.Point(98, 5); this.selTelepads.Name = "selTelepads"; - this.selTelepads.Size = new System.Drawing.Size(339, 19); + this.selTelepads.Size = new System.Drawing.Size(85, 19); this.selTelepads.TabIndex = 21; this.selTelepads.Text = "Telepads"; this.selTelepads.UseVisualStyleBackColor = true; @@ -905,7 +908,7 @@ this.selMineFactory.Dock = System.Windows.Forms.DockStyle.Fill; this.selMineFactory.Location = new System.Drawing.Point(5, 5); this.selMineFactory.Name = "selMineFactory"; - this.selMineFactory.Size = new System.Drawing.Size(338, 19); + this.selMineFactory.Size = new System.Drawing.Size(85, 19); this.selMineFactory.TabIndex = 20; this.selMineFactory.Text = "Mine Factory"; this.selMineFactory.UseVisualStyleBackColor = true; @@ -919,16 +922,16 @@ this.tblMap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tblMap.Controls.Add(this.selMaxWindStrength, 1, 4); this.tblMap.Controls.Add(this.lblWindMaxStrength, 0, 4); - this.tblMap.Controls.Add(this.selWaterRiseSpeed, 1, 3); - this.tblMap.Controls.Add(this.selSuddenDeath, 1, 2); this.tblMap.Controls.Add(this.lblWaterRiseSpeed, 0, 3); this.tblMap.Controls.Add(this.lblSuddenDeath, 0, 2); this.tblMap.Controls.Add(this.selMineFuse, 1, 1); this.tblMap.Controls.Add(this.lblMineFuse, 0, 1); - this.tblMap.Controls.Add(this.selObject, 1, 0); this.tblMap.Controls.Add(this.lblObjects, 0, 0); + this.tblMap.Controls.Add(this.selLndObjects, 1, 0); + this.tblMap.Controls.Add(this.selSuddenDeath, 1, 2); + this.tblMap.Controls.Add(this.selWaterSpeed, 1, 3); this.tblMap.Dock = System.Windows.Forms.DockStyle.Top; - this.tblMap.Location = new System.Drawing.Point(0, 0); + this.tblMap.Location = new System.Drawing.Point(3, 3); this.tblMap.Name = "tblMap"; this.tblMap.RowCount = 5; this.tblMap.RowStyles.Add(new System.Windows.Forms.RowStyle()); @@ -939,7 +942,7 @@ this.tblMap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tblMap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tblMap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tblMap.Size = new System.Drawing.Size(695, 157); + this.tblMap.Size = new System.Drawing.Size(188, 157); this.tblMap.TabIndex = 1; // // selMaxWindStrength @@ -947,7 +950,7 @@ this.selMaxWindStrength.Dock = System.Windows.Forms.DockStyle.Top; this.selMaxWindStrength.Location = new System.Drawing.Point(124, 129); this.selMaxWindStrength.Name = "selMaxWindStrength"; - this.selMaxWindStrength.Size = new System.Drawing.Size(566, 23); + this.selMaxWindStrength.Size = new System.Drawing.Size(59, 23); this.selMaxWindStrength.TabIndex = 44; this.selMaxWindStrength.Text = "0"; this.selMaxWindStrength.Value = 0; @@ -963,26 +966,6 @@ this.lblWindMaxStrength.Text = "Wind Max Strength:"; this.lblWindMaxStrength.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // selWaterRiseSpeed - // - this.selWaterRiseSpeed.Dock = System.Windows.Forms.DockStyle.Top; - this.selWaterRiseSpeed.Location = new System.Drawing.Point(124, 98); - this.selWaterRiseSpeed.Name = "selWaterRiseSpeed"; - this.selWaterRiseSpeed.Size = new System.Drawing.Size(566, 23); - this.selWaterRiseSpeed.TabIndex = 42; - this.selWaterRiseSpeed.Text = "0"; - this.selWaterRiseSpeed.Value = 0; - // - // selSuddenDeath - // - this.selSuddenDeath.Dock = System.Windows.Forms.DockStyle.Top; - this.selSuddenDeath.Location = new System.Drawing.Point(124, 67); - this.selSuddenDeath.Name = "selSuddenDeath"; - this.selSuddenDeath.Size = new System.Drawing.Size(566, 23); - this.selSuddenDeath.TabIndex = 41; - this.selSuddenDeath.Text = "0"; - this.selSuddenDeath.Value = 0; - // // lblWaterRiseSpeed // this.lblWaterRiseSpeed.AutoSize = true; @@ -1010,7 +993,7 @@ this.selMineFuse.Dock = System.Windows.Forms.DockStyle.Top; this.selMineFuse.Location = new System.Drawing.Point(124, 36); this.selMineFuse.Name = "selMineFuse"; - this.selMineFuse.Size = new System.Drawing.Size(566, 23); + this.selMineFuse.Size = new System.Drawing.Size(59, 23); this.selMineFuse.TabIndex = 38; this.selMineFuse.Text = "0"; this.selMineFuse.Value = 0; @@ -1026,16 +1009,6 @@ this.lblMineFuse.Text = "Mine Fuse:"; this.lblMineFuse.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // selObject - // - this.selObject.Dock = System.Windows.Forms.DockStyle.Top; - this.selObject.Location = new System.Drawing.Point(124, 5); - this.selObject.Name = "selObject"; - this.selObject.Size = new System.Drawing.Size(566, 23); - this.selObject.TabIndex = 36; - this.selObject.Text = "0"; - this.selObject.Value = 0; - // // lblObjects // this.lblObjects.AutoSize = true; @@ -1044,16 +1017,60 @@ this.lblObjects.Name = "lblObjects"; this.lblObjects.Size = new System.Drawing.Size(111, 29); this.lblObjects.TabIndex = 31; - this.lblObjects.Text = "Objects:"; + this.lblObjects.Text = "Land Objects:"; this.lblObjects.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // + // selLndObjects + // + this.selLndObjects.Dock = System.Windows.Forms.DockStyle.Top; + this.selLndObjects.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.selLndObjects.FormattingEnabled = true; + this.selLndObjects.Items.AddRange(new object[] { + "None", + "Mines", + "Oil Drums", + "Full"}); + this.selLndObjects.Location = new System.Drawing.Point(124, 5); + this.selLndObjects.Name = "selLndObjects"; + this.selLndObjects.Size = new System.Drawing.Size(59, 23); + this.selLndObjects.TabIndex = 45; + // + // selSuddenDeath + // + this.selSuddenDeath.Dock = System.Windows.Forms.DockStyle.Top; + this.selSuddenDeath.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.selSuddenDeath.FormattingEnabled = true; + this.selSuddenDeath.Items.AddRange(new object[] { + "1 Health", + "Raise Water", + "Draw Round"}); + this.selSuddenDeath.Location = new System.Drawing.Point(124, 67); + this.selSuddenDeath.Name = "selSuddenDeath"; + this.selSuddenDeath.Size = new System.Drawing.Size(59, 23); + this.selSuddenDeath.TabIndex = 46; + // + // selWaterSpeed + // + this.selWaterSpeed.Dock = System.Windows.Forms.DockStyle.Top; + this.selWaterSpeed.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.selWaterSpeed.FormattingEnabled = true; + this.selWaterSpeed.Items.AddRange(new object[] { + "None", + "Slow", + "Medium", + "Fast"}); + this.selWaterSpeed.Location = new System.Drawing.Point(124, 98); + this.selWaterSpeed.Name = "selWaterSpeed"; + this.selWaterSpeed.Size = new System.Drawing.Size(59, 23); + this.selWaterSpeed.TabIndex = 47; + // // weaponsTab // this.weaponsTab.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.weaponsTab.Controls.Add(this.weapTypeTabControl); this.weaponsTab.Location = new System.Drawing.Point(4, 24); this.weaponsTab.Name = "weaponsTab"; - this.weaponsTab.Size = new System.Drawing.Size(699, 387); + this.weaponsTab.Size = new System.Drawing.Size(192, 72); this.weaponsTab.TabIndex = 3; this.weaponsTab.Text = "Weapons"; this.weaponsTab.UseVisualStyleBackColor = true; @@ -1064,10 +1081,10 @@ this.weapTypeTabControl.Controls.Add(this.utilityTab); this.weapTypeTabControl.Controls.Add(this.mysteryTab); this.weapTypeTabControl.Dock = System.Windows.Forms.DockStyle.Fill; - this.weapTypeTabControl.Location = new System.Drawing.Point(0, 0); + this.weapTypeTabControl.Location = new System.Drawing.Point(\, 0); this.weapTypeTabControl.Name = "weapTypeTabControl"; this.weapTypeTabControl.SelectedIndex = 0; - this.weapTypeTabControl.Size = new System.Drawing.Size(695, 383); + this.weapTypeTabControl.Size = new System.Drawing.Size(188, 68); this.weapTypeTabControl.TabIndex = 0; // // weaponTab @@ -1078,11 +1095,10 @@ this.weaponTab.Location = new System.Drawing.Point(4, 24); this.weaponTab.Name = "weaponTab"; this.weaponTab.Padding = new System.Windows.Forms.Padding(3); - this.weaponTab.Size = new System.Drawing.Size(687, 355); + this.weaponTab.Size = new System.Drawing.Size(180, 40); this.weaponTab.TabIndex = 0; this.weaponTab.Text = "Weapons"; this.weaponTab.UseVisualStyleBackColor = true; - this.weaponTab.Click += new System.EventHandler(this.weaponTab_Click); // // tblWeapons // @@ -1182,16 +1198,556 @@ this.tblWeapons.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tblWeapons.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tblWeapons.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tblWeapons.Size = new System.Drawing.Size(660, 2989); + this.tblWeapons.Size = new System.Drawing.Size(153, 2989); this.tblWeapons.TabIndex = 0; // + // selStarburst + // + this.selStarburst.AutoSize = true; + this.selStarburst.Dock = System.Windows.Forms.DockStyle.Top; + this.selStarburst.Location = new System.Drawing.Point(127, 2889); + this.selStarburst.Name = "selStarburst"; + this.selStarburst.Size = new System.Drawing.Size(21, 95); + this.selStarburst.TabIndex = 57; + // + // selBovineBlitz + // + this.selBovineBlitz.AutoSize = true; + this.selBovineBlitz.Dock = System.Windows.Forms.DockStyle.Top; + this.selBovineBlitz.Location = new System.Drawing.Point(127, 2786); + this.selBovineBlitz.Name = "selBovineBlitz"; + this.selBovineBlitz.Size = new System.Drawing.Size(21, 95); + this.selBovineBlitz.TabIndex = 56; + // + // selSniperRifle + // + this.selSniperRifle.AutoSize = true; + this.selSniperRifle.Dock = System.Windows.Forms.DockStyle.Top; + this.selSniperRifle.Location = new System.Drawing.Point(127, 2683); + this.selSniperRifle.Name = "selSniperRifle"; + this.selSniperRifle.Size = new System.Drawing.Size(21, 95); + this.selSniperRifle.TabIndex = 55; + // + // selSentryGun + // + this.selSentryGun.AutoSize = true; + this.selSentryGun.Dock = System.Windows.Forms.DockStyle.Top; + this.selSentryGun.Location = new System.Drawing.Point(127, 2580); + this.selSentryGun.Name = "selSentryGun"; + this.selSentryGun.Size = new System.Drawing.Size(21, 95); + this.selSentryGun.TabIndex = 54; + // + // selPoisonArrow + // + this.selPoisonArrow.AutoSize = true; + this.selPoisonArrow.Dock = System.Windows.Forms.DockStyle.Top; + this.selPoisonArrow.Location = new System.Drawing.Point(127, 2477); + this.selPoisonArrow.Name = "selPoisonArrow"; + this.selPoisonArrow.Size = new System.Drawing.Size(21, 95); + this.selPoisonArrow.TabIndex = 53; + // + // selTailNail + // + this.selTailNail.AutoSize = true; + this.selTailNail.Dock = System.Windows.Forms.DockStyle.Top; + this.selTailNail.Location = new System.Drawing.Point(127, 2374); + this.selTailNail.Name = "selTailNail"; + this.selTailNail.Size = new System.Drawing.Size(21, 95); + this.selTailNail.TabIndex = 52; + // + // selInflatableScouser + // + this.selInflatableScouser.AutoSize = true; + this.selInflatableScouser.Dock = System.Windows.Forms.DockStyle.Top; + this.selInflatableScouser.Location = new System.Drawing.Point(127, 2271); + this.selInflatableScouser.Name = "selInflatableScouser"; + this.selInflatableScouser.Size = new System.Drawing.Size(21, 95); + this.selInflatableScouser.TabIndex = 51; + // + // selFatkinsStrike + // + this.selFatkinsStrike.AutoSize = true; + this.selFatkinsStrike.Dock = System.Windows.Forms.DockStyle.Top; + this.selFatkinsStrike.Location = new System.Drawing.Point(127, 2168); + this.selFatkinsStrike.Name = "selFatkinsStrike"; + this.selFatkinsStrike.Size = new System.Drawing.Size(21, 95); + this.selFatkinsStrike.TabIndex = 50; + // + // selAlienAbduction + // + this.selAlienAbduction.AutoSize = true; + this.selAlienAbduction.Dock = System.Windows.Forms.DockStyle.Top; + this.selAlienAbduction.Location = new System.Drawing.Point(127, 2065); + this.selAlienAbduction.Name = "selAlienAbduction"; + this.selAlienAbduction.Size = new System.Drawing.Size(21, 95); + this.selAlienAbduction.TabIndex = 49; + // + // selTeamWeapon + // + this.selTeamWeapon.AutoSize = true; + this.selTeamWeapon.Dock = System.Windows.Forms.DockStyle.Top; + this.selTeamWeapon.Location = new System.Drawing.Point(127, 1962); + this.selTeamWeapon.Name = "selTeamWeapon"; + this.selTeamWeapon.Size = new System.Drawing.Size(21, 95); + this.selTeamWeapon.TabIndex = 48; + // + // lblStarburst + // + this.lblStarburst.AutoSize = true; + this.lblStarburst.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblStarburst.Location = new System.Drawing.Point(5, 2886); + this.lblStarburst.Name = "lblStarburst"; + this.lblStarburst.Size = new System.Drawing.Size(114, 101); + this.lblStarburst.TabIndex = 47; + this.lblStarburst.Text = "Starburst:"; + this.lblStarburst.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblBovineBlitz + // + this.lblBovineBlitz.AutoSize = true; + this.lblBovineBlitz.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblBovineBlitz.Location = new System.Drawing.Point(5, 2783); + this.lblBovineBlitz.Name = "lblBovineBlitz"; + this.lblBovineBlitz.Size = new System.Drawing.Size(114, 101); + this.lblBovineBlitz.TabIndex = 46; + this.lblBovineBlitz.Text = "Bovine Blitz:"; + this.lblBovineBlitz.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblSniperRifle + // + this.lblSniperRifle.AutoSize = true; + this.lblSniperRifle.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblSniperRifle.Location = new System.Drawing.Point(5, 2680); + this.lblSniperRifle.Name = "lblSniperRifle"; + this.lblSniperRifle.Size = new System.Drawing.Size(114, 101); + this.lblSniperRifle.TabIndex = 45; + this.lblSniperRifle.Text = "Sniper Rifle:"; + this.lblSniperRifle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblSentryGun + // + this.lblSentryGun.AutoSize = true; + this.lblSentryGun.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblSentryGun.Location = new System.Drawing.Point(5, 2577); + this.lblSentryGun.Name = "lblSentryGun"; + this.lblSentryGun.Size = new System.Drawing.Size(114, 101); + this.lblSentryGun.TabIndex = 44; + this.lblSentryGun.Text = "Sentry Gun:"; + this.lblSentryGun.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblPoisonArrow + // + this.lblPoisonArrow.AutoSize = true; + this.lblPoisonArrow.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblPoisonArrow.Location = new System.Drawing.Point(5, 2474); + this.lblPoisonArrow.Name = "lblPoisonArrow"; + this.lblPoisonArrow.Size = new System.Drawing.Size(114, 101); + this.lblPoisonArrow.TabIndex = 43; + this.lblPoisonArrow.Text = "Poison Arrow:"; + this.lblPoisonArrow.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblTailNail + // + this.lblTailNail.AutoSize = true; + this.lblTailNail.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblTailNail.Location = new System.Drawing.Point(5, 2371); + this.lblTailNail.Name = "lblTailNail"; + this.lblTailNail.Size = new System.Drawing.Size(114, 101); + this.lblTailNail.TabIndex = 42; + this.lblTailNail.Text = "Tail Nail:"; + this.lblTailNail.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblInflatableScouser + // + this.lblInflatableScouser.AutoSize = true; + this.lblInflatableScouser.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblInflatableScouser.Location = new System.Drawing.Point(5, 2268); + this.lblInflatableScouser.Name = "lblInflatableScouser"; + this.lblInflatableScouser.Size = new System.Drawing.Size(114, 101); + this.lblInflatableScouser.TabIndex = 41; + this.lblInflatableScouser.Text = "Inflatable Scouser:"; + this.lblInflatableScouser.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblFatkinsStrike + // + this.lblFatkinsStrike.AutoSize = true; + this.lblFatkinsStrike.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblFatkinsStrike.Location = new System.Drawing.Point(5, 2165); + this.lblFatkinsStrike.Name = "lblFatkinsStrike"; + this.lblFatkinsStrike.Size = new System.Drawing.Size(114, 101); + this.lblFatkinsStrike.TabIndex = 40; + this.lblFatkinsStrike.Text = "Fatkins Strike:"; + this.lblFatkinsStrike.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblAlienAbduction + // + this.lblAlienAbduction.AutoSize = true; + this.lblAlienAbduction.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblAlienAbduction.Location = new System.Drawing.Point(5, 2062); + this.lblAlienAbduction.Name = "lblAlienAbduction"; + this.lblAlienAbduction.Size = new System.Drawing.Size(114, 101); + this.lblAlienAbduction.TabIndex = 39; + this.lblAlienAbduction.Text = "Alien Abduction:"; + this.lblAlienAbduction.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblTeamWeapon + // + this.lblTeamWeapon.AutoSize = true; + this.lblTeamWeapon.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblTeamWeapon.Location = new System.Drawing.Point(5, 1959); + this.lblTeamWeapon.Name = "lblTeamWeapon"; + this.lblTeamWeapon.Size = new System.Drawing.Size(114, 101); + this.lblTeamWeapon.TabIndex = 38; + this.lblTeamWeapon.Text = "Team Weapon:"; + this.lblTeamWeapon.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // selFlood + // + this.selFlood.AutoSize = true; + this.selFlood.Dock = System.Windows.Forms.DockStyle.Top; + this.selFlood.Location = new System.Drawing.Point(127, 1859); + this.selFlood.Name = "selFlood"; + this.selFlood.Size = new System.Drawing.Size(21, 95); + this.selFlood.TabIndex = 37; + // + // selSuperSheep + // + this.selSuperSheep.AutoSize = true; + this.selSuperSheep.Dock = System.Windows.Forms.DockStyle.Top; + this.selSuperSheep.Location = new System.Drawing.Point(127, 1756); + this.selSuperSheep.Name = "selSuperSheep"; + this.selSuperSheep.Size = new System.Drawing.Size(21, 95); + this.selSuperSheep.TabIndex = 36; + // + // selShotgun + // + this.selShotgun.AutoSize = true; + this.selShotgun.Dock = System.Windows.Forms.DockStyle.Top; + this.selShotgun.Location = new System.Drawing.Point(127, 1653); + this.selShotgun.Name = "selShotgun"; + this.selShotgun.Size = new System.Drawing.Size(21, 95); + this.selShotgun.TabIndex = 35; + // + // selSheep + // + this.selSheep.AutoSize = true; + this.selSheep.Dock = System.Windows.Forms.DockStyle.Top; + this.selSheep.Location = new System.Drawing.Point(127, 1550); + this.selSheep.Name = "selSheep"; + this.selSheep.Size = new System.Drawing.Size(21, 95); + this.selSheep.TabIndex = 34; + // + // selProd + // + this.selProd.AutoSize = true; + this.selProd.Dock = System.Windows.Forms.DockStyle.Top; + this.selProd.Location = new System.Drawing.Point(127, 1447); + this.selProd.Name = "selProd"; + this.selProd.Size = new System.Drawing.Size(21, 95); + this.selProd.TabIndex = 33; + // + // selOldWoman + // + this.selOldWoman.AutoSize = true; + this.selOldWoman.Dock = System.Windows.Forms.DockStyle.Top; + this.selOldWoman.Location = new System.Drawing.Point(127, 1344); + this.selOldWoman.Name = "selOldWoman"; + this.selOldWoman.Size = new System.Drawing.Size(21, 95); + this.selOldWoman.TabIndex = 32; + // + // selLandMine + // + this.selLandMine.AutoSize = true; + this.selLandMine.Dock = System.Windows.Forms.DockStyle.Top; + this.selLandMine.Location = new System.Drawing.Point(127, 1241); + this.selLandMine.Name = "selLandMine"; + this.selLandMine.Size = new System.Drawing.Size(21, 95); + this.selLandMine.TabIndex = 31; + // + // selHomingMissile + // + this.selHomingMissile.AutoSize = true; + this.selHomingMissile.Dock = System.Windows.Forms.DockStyle.Top; + this.selHomingMissile.Location = new System.Drawing.Point(127, 1138); + this.selHomingMissile.Name = "selHomingMissile"; + this.selHomingMissile.Size = new System.Drawing.Size(21, 95); + this.selHomingMissile.TabIndex = 30; + // + // selHolyHandGrenade + // + this.selHolyHandGrenade.AutoSize = true; + this.selHolyHandGrenade.Dock = System.Windows.Forms.DockStyle.Top; + this.selHolyHandGrenade.Location = new System.Drawing.Point(127, 1035); + this.selHolyHandGrenade.Name = "selHolyHandGrenade"; + this.selHolyHandGrenade.Size = new System.Drawing.Size(21, 95); + this.selHolyHandGrenade.TabIndex = 29; + // + // selGrenade + // + this.selGrenade.AutoSize = true; + this.selGrenade.Dock = System.Windows.Forms.DockStyle.Top; + this.selGrenade.Location = new System.Drawing.Point(127, 932); + this.selGrenade.Name = "selGrenade"; + this.selGrenade.Size = new System.Drawing.Size(21, 95); + this.selGrenade.TabIndex = 28; + // + // selGasCanister + // + this.selGasCanister.AutoSize = true; + this.selGasCanister.Dock = System.Windows.Forms.DockStyle.Top; + this.selGasCanister.Location = new System.Drawing.Point(127, 829); + this.selGasCanister.Name = "selGasCanister"; + this.selGasCanister.Size = new System.Drawing.Size(21, 95); + this.selGasCanister.TabIndex = 27; + // + // lblFlood + // + this.lblFlood.AutoSize = true; + this.lblFlood.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblFlood.Location = new System.Drawing.Point(5, 1856); + this.lblFlood.Name = "lblFlood"; + this.lblFlood.Size = new System.Drawing.Size(114, 101); + this.lblFlood.TabIndex = 26; + this.lblFlood.Text = "Flood:"; + this.lblFlood.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblSuperSheep + // + this.lblSuperSheep.AutoSize = true; + this.lblSuperSheep.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblSuperSheep.Location = new System.Drawing.Point(5, 1753); + this.lblSuperSheep.Name = "lblSuperSheep"; + this.lblSuperSheep.Size = new System.Drawing.Size(114, 101); + this.lblSuperSheep.TabIndex = 25; + this.lblSuperSheep.Text = "Super Sheep:"; + this.lblSuperSheep.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblShotgun + // + this.lblShotgun.AutoSize = true; + this.lblShotgun.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblShotgun.Location = new System.Drawing.Point(5, 1650); + this.lblShotgun.Name = "lblShotgun"; + this.lblShotgun.Size = new System.Drawing.Size(114, 101); + this.lblShotgun.TabIndex = 24; + this.lblShotgun.Text = "Shotgun:"; + this.lblShotgun.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblSheep + // + this.lblSheep.AutoSize = true; + this.lblSheep.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblSheep.Location = new System.Drawing.Point(5, 1547); + this.lblSheep.Name = "lblSheep"; + this.lblSheep.Size = new System.Drawing.Size(114, 101); + this.lblSheep.TabIndex = 23; + this.lblSheep.Text = "Sheep:"; + this.lblSheep.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblProd + // + this.lblProd.AutoSize = true; + this.lblProd.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblProd.Location = new System.Drawing.Point(5, 1444); + this.lblProd.Name = "lblProd"; + this.lblProd.Size = new System.Drawing.Size(114, 101); + this.lblProd.TabIndex = 22; + this.lblProd.Text = "Prod:"; + this.lblProd.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblOldWoman + // + this.lblOldWoman.AutoSize = true; + this.lblOldWoman.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblOldWoman.Location = new System.Drawing.Point(5, 1341); + this.lblOldWoman.Name = "lblOldWoman"; + this.lblOldWoman.Size = new System.Drawing.Size(114, 101); + this.lblOldWoman.TabIndex = 21; + this.lblOldWoman.Text = "Old Woman:"; + this.lblOldWoman.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblHomingMissile + // + this.lblHomingMissile.AutoSize = true; + this.lblHomingMissile.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblHomingMissile.Location = new System.Drawing.Point(5, 1135); + this.lblHomingMissile.Name = "lblHomingMissile"; + this.lblHomingMissile.Size = new System.Drawing.Size(114, 101); + this.lblHomingMissile.TabIndex = 20; + this.lblHomingMissile.Text = "Homing Missile:"; + this.lblHomingMissile.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblLandMine + // + this.lblLandMine.AutoSize = true; + this.lblLandMine.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblLandMine.Location = new System.Drawing.Point(5, 1238); + this.lblLandMine.Name = "lblLandMine"; + this.lblLandMine.Size = new System.Drawing.Size(114, 101); + this.lblLandMine.TabIndex = 19; + this.lblLandMine.Text = "Land Mine:"; + this.lblLandMine.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblGasCanister + // + this.lblGasCanister.AutoSize = true; + this.lblGasCanister.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblGasCanister.Location = new System.Drawing.Point(5, 826); + this.lblGasCanister.Name = "lblGasCanister"; + this.lblGasCanister.Size = new System.Drawing.Size(114, 101); + this.lblGasCanister.TabIndex = 18; + this.lblGasCanister.Text = "Gas Canister:"; + this.lblGasCanister.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblHolyHandGrenade + // + this.lblHolyHandGrenade.AutoSize = true; + this.lblHolyHandGrenade.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblHolyHandGrenade.Location = new System.Drawing.Point(5, 1032); + this.lblHolyHandGrenade.Name = "lblHolyHandGrenade"; + this.lblHolyHandGrenade.Size = new System.Drawing.Size(114, 101); + this.lblHolyHandGrenade.TabIndex = 17; + this.lblHolyHandGrenade.Text = "Holy Hand Grenade:"; + this.lblHolyHandGrenade.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblGrenade + // + this.lblGrenade.AutoSize = true; + this.lblGrenade.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblGrenade.Location = new System.Drawing.Point(5, 929); + this.lblGrenade.Name = "lblGrenade"; + this.lblGrenade.Size = new System.Drawing.Size(114, 101); + this.lblGrenade.TabIndex = 16; + this.lblGrenade.Text = "Grenade:"; + this.lblGrenade.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // selFirePunch + // + this.selFirePunch.AutoSize = true; + this.selFirePunch.Dock = System.Windows.Forms.DockStyle.Top; + this.selFirePunch.Location = new System.Drawing.Point(127, 726); + this.selFirePunch.Name = "selFirePunch"; + this.selFirePunch.Size = new System.Drawing.Size(21, 95); + this.selFirePunch.TabIndex = 15; + // + // selDynamite + // + this.selDynamite.AutoSize = true; + this.selDynamite.Dock = System.Windows.Forms.DockStyle.Top; + this.selDynamite.Location = new System.Drawing.Point(127, 623); + this.selDynamite.Name = "selDynamite"; + this.selDynamite.Size = new System.Drawing.Size(21, 95); + this.selDynamite.TabIndex = 14; + // + // selConcreteDonkey + // + this.selConcreteDonkey.AutoSize = true; + this.selConcreteDonkey.Dock = System.Windows.Forms.DockStyle.Top; + this.selConcreteDonkey.Location = new System.Drawing.Point(127, 520); + this.selConcreteDonkey.Name = "selConcreteDonkey"; + this.selConcreteDonkey.Size = new System.Drawing.Size(21, 95); + this.selConcreteDonkey.TabIndex = 13; + // + // lblFirePunch + // + this.lblFirePunch.AutoSize = true; + this.lblFirePunch.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblFirePunch.Location = new System.Drawing.Point(5, 723); + this.lblFirePunch.Name = "lblFirePunch"; + this.lblFirePunch.Size = new System.Drawing.Size(114, 101); + this.lblFirePunch.TabIndex = 12; + this.lblFirePunch.Text = "Fire Punch:"; + this.lblFirePunch.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblDynamite + // + this.lblDynamite.AutoSize = true; + this.lblDynamite.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblDynamite.Location = new System.Drawing.Point(5, 620); + this.lblDynamite.Name = "lblDynamite"; + this.lblDynamite.Size = new System.Drawing.Size(114, 101); + this.lblDynamite.TabIndex = 11; + this.lblDynamite.Text = "Dynamite:"; + this.lblDynamite.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblConcreteDonkey + // + this.lblConcreteDonkey.AutoSize = true; + this.lblConcreteDonkey.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblConcreteDonkey.Location = new System.Drawing.Point(5, 517); + this.lblConcreteDonkey.Name = "lblConcreteDonkey"; + this.lblConcreteDonkey.Size = new System.Drawing.Size(114, 101); + this.lblConcreteDonkey.TabIndex = 10; + this.lblConcreteDonkey.Text = "Concrete Donkey:"; + this.lblConcreteDonkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // selBazooka + // + this.selBazooka.AutoSize = true; + this.selBazooka.Dock = System.Windows.Forms.DockStyle.Top; + this.selBazooka.Location = new System.Drawing.Point(127, 314); + this.selBazooka.Name = "selBazooka"; + this.selBazooka.Size = new System.Drawing.Size(21, 95); + this.selBazooka.TabIndex = 9; + // + // selClusterBomb + // + this.selClusterBomb.AutoSize = true; + this.selClusterBomb.Dock = System.Windows.Forms.DockStyle.Top; + this.selClusterBomb.Location = new System.Drawing.Point(127, 417); + this.selClusterBomb.Name = "selClusterBomb"; + this.selClusterBomb.Size = new System.Drawing.Size(21, 95); + this.selClusterBomb.TabIndex = 8; + // + // selBaseballBat + // + this.selBaseballBat.AutoSize = true; + this.selBaseballBat.Dock = System.Windows.Forms.DockStyle.Top; + this.selBaseballBat.Location = new System.Drawing.Point(127, 211); + this.selBaseballBat.Name = "selBaseballBat"; + this.selBaseballBat.Size = new System.Drawing.Size(21, 95); + this.selBaseballBat.TabIndex = 7; + // + // lblClusterBomb + // + this.lblClusterBomb.AutoSize = true; + this.lblClusterBomb.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblClusterBomb.Location = new System.Drawing.Point(5, 414); + this.lblClusterBomb.Name = "lblClusterBomb"; + this.lblClusterBomb.Size = new System.Drawing.Size(114, 101); + this.lblClusterBomb.TabIndex = 6; + this.lblClusterBomb.Text = "Cluster Bomb:"; + this.lblClusterBomb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblBaseballBat + // + this.lblBaseballBat.AutoSize = true; + this.lblBaseballBat.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblBaseballBat.Location = new System.Drawing.Point(5, 208); + this.lblBaseballBat.Name = "lblBaseballBat"; + this.lblBaseballBat.Size = new System.Drawing.Size(114, 101); + this.lblBaseballBat.TabIndex = 5; + this.lblBaseballBat.Text = "Baseball Bat:"; + this.lblBaseballBat.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblBazooka + // + this.lblBazooka.AutoSize = true; + this.lblBazooka.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblBazooka.Location = new System.Drawing.Point(5, 311); + this.lblBazooka.Name = "lblBazooka"; + this.lblBazooka.Size = new System.Drawing.Size(114, 101); + this.lblBazooka.TabIndex = 4; + this.lblBazooka.Text = "Bazooka:"; + this.lblBazooka.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // selBananaBomb // this.selBananaBomb.AutoSize = true; this.selBananaBomb.Dock = System.Windows.Forms.DockStyle.Top; this.selBananaBomb.Location = new System.Drawing.Point(127, 108); this.selBananaBomb.Name = "selBananaBomb"; - this.selBananaBomb.Size = new System.Drawing.Size(528, 95); + this.selBananaBomb.Size = new System.Drawing.Size(21, 95); this.selBananaBomb.TabIndex = 3; // // lblBananaBomb @@ -1222,7 +1778,7 @@ this.selAirstrike.Dock = System.Windows.Forms.DockStyle.Top; this.selAirstrike.Location = new System.Drawing.Point(127, 5); this.selAirstrike.Name = "selAirstrike"; - this.selAirstrike.Size = new System.Drawing.Size(528, 95); + this.selAirstrike.Size = new System.Drawing.Size(21, 95); this.selAirstrike.TabIndex = 1; // // utilityTab @@ -1233,563 +1789,11 @@ this.utilityTab.Location = new System.Drawing.Point(4, 24); this.utilityTab.Name = "utilityTab"; this.utilityTab.Padding = new System.Windows.Forms.Padding(3); - this.utilityTab.Size = new System.Drawing.Size(687, 355); + this.utilityTab.Size = new System.Drawing.Size(180, 40); this.utilityTab.TabIndex = 1; this.utilityTab.Text = "Utilties"; this.utilityTab.UseVisualStyleBackColor = true; // - // mysteryTab - // - this.mysteryTab.AutoScroll = true; - this.mysteryTab.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.mysteryTab.Controls.Add(this.tblWeapMystery); - this.mysteryTab.Location = new System.Drawing.Point(4, 24); - this.mysteryTab.Name = "mysteryTab"; - this.mysteryTab.Size = new System.Drawing.Size(687, 355); - this.mysteryTab.TabIndex = 2; - this.mysteryTab.Text = "Mystery"; - this.mysteryTab.UseVisualStyleBackColor = true; - // - // lblBazooka - // - this.lblBazooka.AutoSize = true; - this.lblBazooka.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblBazooka.Location = new System.Drawing.Point(5, 311); - this.lblBazooka.Name = "lblBazooka"; - this.lblBazooka.Size = new System.Drawing.Size(114, 101); - this.lblBazooka.TabIndex = 4; - this.lblBazooka.Text = "Bazooka:"; - this.lblBazooka.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblBaseballBat - // - this.lblBaseballBat.AutoSize = true; - this.lblBaseballBat.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblBaseballBat.Location = new System.Drawing.Point(5, 208); - this.lblBaseballBat.Name = "lblBaseballBat"; - this.lblBaseballBat.Size = new System.Drawing.Size(114, 101); - this.lblBaseballBat.TabIndex = 5; - this.lblBaseballBat.Text = "Baseball Bat:"; - this.lblBaseballBat.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblClusterBomb - // - this.lblClusterBomb.AutoSize = true; - this.lblClusterBomb.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblClusterBomb.Location = new System.Drawing.Point(5, 414); - this.lblClusterBomb.Name = "lblClusterBomb"; - this.lblClusterBomb.Size = new System.Drawing.Size(114, 101); - this.lblClusterBomb.TabIndex = 6; - this.lblClusterBomb.Text = "Cluster Bomb:"; - this.lblClusterBomb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // selBaseballBat - // - this.selBaseballBat.AutoSize = true; - this.selBaseballBat.Dock = System.Windows.Forms.DockStyle.Top; - this.selBaseballBat.Location = new System.Drawing.Point(127, 211); - this.selBaseballBat.Name = "selBaseballBat"; - this.selBaseballBat.Size = new System.Drawing.Size(528, 95); - this.selBaseballBat.TabIndex = 7; - // - // selClusterBomb - // - this.selClusterBomb.AutoSize = true; - this.selClusterBomb.Dock = System.Windows.Forms.DockStyle.Top; - this.selClusterBomb.Location = new System.Drawing.Point(127, 417); - this.selClusterBomb.Name = "selClusterBomb"; - this.selClusterBomb.Size = new System.Drawing.Size(528, 95); - this.selClusterBomb.TabIndex = 8; - // - // selBazooka - // - this.selBazooka.AutoSize = true; - this.selBazooka.Dock = System.Windows.Forms.DockStyle.Top; - this.selBazooka.Location = new System.Drawing.Point(127, 314); - this.selBazooka.Name = "selBazooka"; - this.selBazooka.Size = new System.Drawing.Size(528, 95); - this.selBazooka.TabIndex = 9; - // - // lblConcreteDonkey - // - this.lblConcreteDonkey.AutoSize = true; - this.lblConcreteDonkey.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblConcreteDonkey.Location = new System.Drawing.Point(5, 517); - this.lblConcreteDonkey.Name = "lblConcreteDonkey"; - this.lblConcreteDonkey.Size = new System.Drawing.Size(114, 101); - this.lblConcreteDonkey.TabIndex = 10; - this.lblConcreteDonkey.Text = "Concrete Donkey:"; - this.lblConcreteDonkey.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblDynamite - // - this.lblDynamite.AutoSize = true; - this.lblDynamite.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblDynamite.Location = new System.Drawing.Point(5, 620); - this.lblDynamite.Name = "lblDynamite"; - this.lblDynamite.Size = new System.Drawing.Size(114, 101); - this.lblDynamite.TabIndex = 11; - this.lblDynamite.Text = "Dynamite:"; - this.lblDynamite.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblFirePunch - // - this.lblFirePunch.AutoSize = true; - this.lblFirePunch.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblFirePunch.Location = new System.Drawing.Point(5, 723); - this.lblFirePunch.Name = "lblFirePunch"; - this.lblFirePunch.Size = new System.Drawing.Size(114, 101); - this.lblFirePunch.TabIndex = 12; - this.lblFirePunch.Text = "Fire Punch:"; - this.lblFirePunch.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // selConcreteDonkey - // - this.selConcreteDonkey.AutoSize = true; - this.selConcreteDonkey.Dock = System.Windows.Forms.DockStyle.Top; - this.selConcreteDonkey.Location = new System.Drawing.Point(127, 520); - this.selConcreteDonkey.Name = "selConcreteDonkey"; - this.selConcreteDonkey.Size = new System.Drawing.Size(528, 95); - this.selConcreteDonkey.TabIndex = 13; - // - // selDynamite - // - this.selDynamite.AutoSize = true; - this.selDynamite.Dock = System.Windows.Forms.DockStyle.Top; - this.selDynamite.Location = new System.Drawing.Point(127, 623); - this.selDynamite.Name = "selDynamite"; - this.selDynamite.Size = new System.Drawing.Size(528, 95); - this.selDynamite.TabIndex = 14; - // - // selFirePunch - // - this.selFirePunch.AutoSize = true; - this.selFirePunch.Dock = System.Windows.Forms.DockStyle.Top; - this.selFirePunch.Location = new System.Drawing.Point(127, 726); - this.selFirePunch.Name = "selFirePunch"; - this.selFirePunch.Size = new System.Drawing.Size(528, 95); - this.selFirePunch.TabIndex = 15; - // - // lblGrenade - // - this.lblGrenade.AutoSize = true; - this.lblGrenade.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblGrenade.Location = new System.Drawing.Point(5, 929); - this.lblGrenade.Name = "lblGrenade"; - this.lblGrenade.Size = new System.Drawing.Size(114, 101); - this.lblGrenade.TabIndex = 16; - this.lblGrenade.Text = "Grenade:"; - this.lblGrenade.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblHolyHandGrenade - // - this.lblHolyHandGrenade.AutoSize = true; - this.lblHolyHandGrenade.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblHolyHandGrenade.Location = new System.Drawing.Point(5, 1032); - this.lblHolyHandGrenade.Name = "lblHolyHandGrenade"; - this.lblHolyHandGrenade.Size = new System.Drawing.Size(114, 101); - this.lblHolyHandGrenade.TabIndex = 17; - this.lblHolyHandGrenade.Text = "Holy Hand Grenade:"; - this.lblHolyHandGrenade.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblGasCanister - // - this.lblGasCanister.AutoSize = true; - this.lblGasCanister.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblGasCanister.Location = new System.Drawing.Point(5, 826); - this.lblGasCanister.Name = "lblGasCanister"; - this.lblGasCanister.Size = new System.Drawing.Size(114, 101); - this.lblGasCanister.TabIndex = 18; - this.lblGasCanister.Text = "Gas Canister:"; - this.lblGasCanister.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblLandMine - // - this.lblLandMine.AutoSize = true; - this.lblLandMine.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblLandMine.Location = new System.Drawing.Point(5, 1238); - this.lblLandMine.Name = "lblLandMine"; - this.lblLandMine.Size = new System.Drawing.Size(114, 101); - this.lblLandMine.TabIndex = 19; - this.lblLandMine.Text = "Land Mine:"; - this.lblLandMine.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblHomingMissile - // - this.lblHomingMissile.AutoSize = true; - this.lblHomingMissile.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblHomingMissile.Location = new System.Drawing.Point(5, 1135); - this.lblHomingMissile.Name = "lblHomingMissile"; - this.lblHomingMissile.Size = new System.Drawing.Size(114, 101); - this.lblHomingMissile.TabIndex = 20; - this.lblHomingMissile.Text = "Homing Missile:"; - this.lblHomingMissile.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblOldWoman - // - this.lblOldWoman.AutoSize = true; - this.lblOldWoman.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblOldWoman.Location = new System.Drawing.Point(5, 1341); - this.lblOldWoman.Name = "lblOldWoman"; - this.lblOldWoman.Size = new System.Drawing.Size(114, 101); - this.lblOldWoman.TabIndex = 21; - this.lblOldWoman.Text = "Old Woman:"; - this.lblOldWoman.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblProd - // - this.lblProd.AutoSize = true; - this.lblProd.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblProd.Location = new System.Drawing.Point(5, 1444); - this.lblProd.Name = "lblProd"; - this.lblProd.Size = new System.Drawing.Size(114, 101); - this.lblProd.TabIndex = 22; - this.lblProd.Text = "Prod:"; - this.lblProd.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblSheep - // - this.lblSheep.AutoSize = true; - this.lblSheep.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblSheep.Location = new System.Drawing.Point(5, 1547); - this.lblSheep.Name = "lblSheep"; - this.lblSheep.Size = new System.Drawing.Size(114, 101); - this.lblSheep.TabIndex = 23; - this.lblSheep.Text = "Sheep:"; - this.lblSheep.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblShotgun - // - this.lblShotgun.AutoSize = true; - this.lblShotgun.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblShotgun.Location = new System.Drawing.Point(5, 1650); - this.lblShotgun.Name = "lblShotgun"; - this.lblShotgun.Size = new System.Drawing.Size(114, 101); - this.lblShotgun.TabIndex = 24; - this.lblShotgun.Text = "Shotgun:"; - this.lblShotgun.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblSuperSheep - // - this.lblSuperSheep.AutoSize = true; - this.lblSuperSheep.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblSuperSheep.Location = new System.Drawing.Point(5, 1753); - this.lblSuperSheep.Name = "lblSuperSheep"; - this.lblSuperSheep.Size = new System.Drawing.Size(114, 101); - this.lblSuperSheep.TabIndex = 25; - this.lblSuperSheep.Text = "Super Sheep:"; - this.lblSuperSheep.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblFlood - // - this.lblFlood.AutoSize = true; - this.lblFlood.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblFlood.Location = new System.Drawing.Point(5, 1856); - this.lblFlood.Name = "lblFlood"; - this.lblFlood.Size = new System.Drawing.Size(114, 101); - this.lblFlood.TabIndex = 26; - this.lblFlood.Text = "Flood:"; - this.lblFlood.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // selGasCanister - // - this.selGasCanister.AutoSize = true; - this.selGasCanister.Dock = System.Windows.Forms.DockStyle.Top; - this.selGasCanister.Location = new System.Drawing.Point(127, 829); - this.selGasCanister.Name = "selGasCanister"; - this.selGasCanister.Size = new System.Drawing.Size(528, 95); - this.selGasCanister.TabIndex = 27; - // - // selGrenade - // - this.selGrenade.AutoSize = true; - this.selGrenade.Dock = System.Windows.Forms.DockStyle.Top; - this.selGrenade.Location = new System.Drawing.Point(127, 932); - this.selGrenade.Name = "selGrenade"; - this.selGrenade.Size = new System.Drawing.Size(528, 95); - this.selGrenade.TabIndex = 28; - // - // selHolyHandGrenade - // - this.selHolyHandGrenade.AutoSize = true; - this.selHolyHandGrenade.Dock = System.Windows.Forms.DockStyle.Top; - this.selHolyHandGrenade.Location = new System.Drawing.Point(127, 1035); - this.selHolyHandGrenade.Name = "selHolyHandGrenade"; - this.selHolyHandGrenade.Size = new System.Drawing.Size(528, 95); - this.selHolyHandGrenade.TabIndex = 29; - // - // selHomingMissile - // - this.selHomingMissile.AutoSize = true; - this.selHomingMissile.Dock = System.Windows.Forms.DockStyle.Top; - this.selHomingMissile.Location = new System.Drawing.Point(127, 1138); - this.selHomingMissile.Name = "selHomingMissile"; - this.selHomingMissile.Size = new System.Drawing.Size(528, 95); - this.selHomingMissile.TabIndex = 30; - // - // selLandMine - // - this.selLandMine.AutoSize = true; - this.selLandMine.Dock = System.Windows.Forms.DockStyle.Top; - this.selLandMine.Location = new System.Drawing.Point(127, 1241); - this.selLandMine.Name = "selLandMine"; - this.selLandMine.Size = new System.Drawing.Size(528, 95); - this.selLandMine.TabIndex = 31; - // - // selOldWoman - // - this.selOldWoman.AutoSize = true; - this.selOldWoman.Dock = System.Windows.Forms.DockStyle.Top; - this.selOldWoman.Location = new System.Drawing.Point(127, 1344); - this.selOldWoman.Name = "selOldWoman"; - this.selOldWoman.Size = new System.Drawing.Size(528, 95); - this.selOldWoman.TabIndex = 32; - // - // selProd - // - this.selProd.AutoSize = true; - this.selProd.Dock = System.Windows.Forms.DockStyle.Top; - this.selProd.Location = new System.Drawing.Point(127, 1447); - this.selProd.Name = "selProd"; - this.selProd.Size = new System.Drawing.Size(528, 95); - this.selProd.TabIndex = 33; - // - // selSheep - // - this.selSheep.AutoSize = true; - this.selSheep.Dock = System.Windows.Forms.DockStyle.Top; - this.selSheep.Location = new System.Drawing.Point(127, 1550); - this.selSheep.Name = "selSheep"; - this.selSheep.Size = new System.Drawing.Size(528, 95); - this.selSheep.TabIndex = 34; - // - // selShotgun - // - this.selShotgun.AutoSize = true; - this.selShotgun.Dock = System.Windows.Forms.DockStyle.Top; - this.selShotgun.Location = new System.Drawing.Point(127, 1653); - this.selShotgun.Name = "selShotgun"; - this.selShotgun.Size = new System.Drawing.Size(528, 95); - this.selShotgun.TabIndex = 35; - // - // selSuperSheep - // - this.selSuperSheep.AutoSize = true; - this.selSuperSheep.Dock = System.Windows.Forms.DockStyle.Top; - this.selSuperSheep.Location = new System.Drawing.Point(127, 1756); - this.selSuperSheep.Name = "selSuperSheep"; - this.selSuperSheep.Size = new System.Drawing.Size(528, 95); - this.selSuperSheep.TabIndex = 36; - // - // selFlood - // - this.selFlood.AutoSize = true; - this.selFlood.Dock = System.Windows.Forms.DockStyle.Top; - this.selFlood.Location = new System.Drawing.Point(127, 1859); - this.selFlood.Name = "selFlood"; - this.selFlood.Size = new System.Drawing.Size(528, 95); - this.selFlood.TabIndex = 37; - // - // lblTeamWeapon - // - this.lblTeamWeapon.AutoSize = true; - this.lblTeamWeapon.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblTeamWeapon.Location = new System.Drawing.Point(5, 1959); - this.lblTeamWeapon.Name = "lblTeamWeapon"; - this.lblTeamWeapon.Size = new System.Drawing.Size(114, 101); - this.lblTeamWeapon.TabIndex = 38; - this.lblTeamWeapon.Text = "Team Weapon:"; - this.lblTeamWeapon.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblAlienAbduction - // - this.lblAlienAbduction.AutoSize = true; - this.lblAlienAbduction.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblAlienAbduction.Location = new System.Drawing.Point(5, 2062); - this.lblAlienAbduction.Name = "lblAlienAbduction"; - this.lblAlienAbduction.Size = new System.Drawing.Size(114, 101); - this.lblAlienAbduction.TabIndex = 39; - this.lblAlienAbduction.Text = "Alien Abduction:"; - this.lblAlienAbduction.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblFatkinsStrike - // - this.lblFatkinsStrike.AutoSize = true; - this.lblFatkinsStrike.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblFatkinsStrike.Location = new System.Drawing.Point(5, 2165); - this.lblFatkinsStrike.Name = "lblFatkinsStrike"; - this.lblFatkinsStrike.Size = new System.Drawing.Size(114, 101); - this.lblFatkinsStrike.TabIndex = 40; - this.lblFatkinsStrike.Text = "Fatkins Strike:"; - this.lblFatkinsStrike.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblInflatableScouser - // - this.lblInflatableScouser.AutoSize = true; - this.lblInflatableScouser.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblInflatableScouser.Location = new System.Drawing.Point(5, 2268); - this.lblInflatableScouser.Name = "lblInflatableScouser"; - this.lblInflatableScouser.Size = new System.Drawing.Size(114, 101); - this.lblInflatableScouser.TabIndex = 41; - this.lblInflatableScouser.Text = "Inflatable Scouser:"; - this.lblInflatableScouser.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblTailNail - // - this.lblTailNail.AutoSize = true; - this.lblTailNail.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblTailNail.Location = new System.Drawing.Point(5, 2371); - this.lblTailNail.Name = "lblTailNail"; - this.lblTailNail.Size = new System.Drawing.Size(114, 101); - this.lblTailNail.TabIndex = 42; - this.lblTailNail.Text = "Tail Nail:"; - this.lblTailNail.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblPoisonArrow - // - this.lblPoisonArrow.AutoSize = true; - this.lblPoisonArrow.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblPoisonArrow.Location = new System.Drawing.Point(5, 2474); - this.lblPoisonArrow.Name = "lblPoisonArrow"; - this.lblPoisonArrow.Size = new System.Drawing.Size(114, 101); - this.lblPoisonArrow.TabIndex = 43; - this.lblPoisonArrow.Text = "Poison Arrow:"; - this.lblPoisonArrow.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblSentryGun - // - this.lblSentryGun.AutoSize = true; - this.lblSentryGun.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblSentryGun.Location = new System.Drawing.Point(5, 2577); - this.lblSentryGun.Name = "lblSentryGun"; - this.lblSentryGun.Size = new System.Drawing.Size(114, 101); - this.lblSentryGun.TabIndex = 44; - this.lblSentryGun.Text = "Sentry Gun:"; - this.lblSentryGun.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblSniperRifle - // - this.lblSniperRifle.AutoSize = true; - this.lblSniperRifle.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblSniperRifle.Location = new System.Drawing.Point(5, 2680); - this.lblSniperRifle.Name = "lblSniperRifle"; - this.lblSniperRifle.Size = new System.Drawing.Size(114, 101); - this.lblSniperRifle.TabIndex = 45; - this.lblSniperRifle.Text = "Sniper Rifle:"; - this.lblSniperRifle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblBovineBlitz - // - this.lblBovineBlitz.AutoSize = true; - this.lblBovineBlitz.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblBovineBlitz.Location = new System.Drawing.Point(5, 2783); - this.lblBovineBlitz.Name = "lblBovineBlitz"; - this.lblBovineBlitz.Size = new System.Drawing.Size(114, 101); - this.lblBovineBlitz.TabIndex = 46; - this.lblBovineBlitz.Text = "Bovine Blitz:"; - this.lblBovineBlitz.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblStarburst - // - this.lblStarburst.AutoSize = true; - this.lblStarburst.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblStarburst.Location = new System.Drawing.Point(5, 2886); - this.lblStarburst.Name = "lblStarburst"; - this.lblStarburst.Size = new System.Drawing.Size(114, 101); - this.lblStarburst.TabIndex = 47; - this.lblStarburst.Text = "Starburst:"; - this.lblStarburst.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // selTeamWeapon - // - this.selTeamWeapon.AutoSize = true; - this.selTeamWeapon.Dock = System.Windows.Forms.DockStyle.Top; - this.selTeamWeapon.Location = new System.Drawing.Point(127, 1962); - this.selTeamWeapon.Name = "selTeamWeapon"; - this.selTeamWeapon.Size = new System.Drawing.Size(528, 95); - this.selTeamWeapon.TabIndex = 48; - // - // selAlienAbduction - // - this.selAlienAbduction.AutoSize = true; - this.selAlienAbduction.Dock = System.Windows.Forms.DockStyle.Top; - this.selAlienAbduction.Location = new System.Drawing.Point(127, 2065); - this.selAlienAbduction.Name = "selAlienAbduction"; - this.selAlienAbduction.Size = new System.Drawing.Size(528, 95); - this.selAlienAbduction.TabIndex = 49; - // - // selFatkinsStrike - // - this.selFatkinsStrike.AutoSize = true; - this.selFatkinsStrike.Dock = System.Windows.Forms.DockStyle.Top; - this.selFatkinsStrike.Location = new System.Drawing.Point(127, 2168); - this.selFatkinsStrike.Name = "selFatkinsStrike"; - this.selFatkinsStrike.Size = new System.Drawing.Size(528, 95); - this.selFatkinsStrike.TabIndex = 50; - // - // selInflatableScouser - // - this.selInflatableScouser.AutoSize = true; - this.selInflatableScouser.Dock = System.Windows.Forms.DockStyle.Top; - this.selInflatableScouser.Location = new System.Drawing.Point(127, 2271); - this.selInflatableScouser.Name = "selInflatableScouser"; - this.selInflatableScouser.Size = new System.Drawing.Size(528, 95); - this.selInflatableScouser.TabIndex = 51; - // - // selTailNail - // - this.selTailNail.AutoSize = true; - this.selTailNail.Dock = System.Windows.Forms.DockStyle.Top; - this.selTailNail.Location = new System.Drawing.Point(127, 2374); - this.selTailNail.Name = "selTailNail"; - this.selTailNail.Size = new System.Drawing.Size(528, 95); - this.selTailNail.TabIndex = 52; - // - // selPoisonArrow - // - this.selPoisonArrow.AutoSize = true; - this.selPoisonArrow.Dock = System.Windows.Forms.DockStyle.Top; - this.selPoisonArrow.Location = new System.Drawing.Point(127, 2477); - this.selPoisonArrow.Name = "selPoisonArrow"; - this.selPoisonArrow.Size = new System.Drawing.Size(528, 95); - this.selPoisonArrow.TabIndex = 53; - // - // selSentryGun - // - this.selSentryGun.AutoSize = true; - this.selSentryGun.Dock = System.Windows.Forms.DockStyle.Top; - this.selSentryGun.Location = new System.Drawing.Point(127, 2580); - this.selSentryGun.Name = "selSentryGun"; - this.selSentryGun.Size = new System.Drawing.Size(528, 95); - this.selSentryGun.TabIndex = 54; - // - // selSniperRifle - // - this.selSniperRifle.AutoSize = true; - this.selSniperRifle.Dock = System.Windows.Forms.DockStyle.Top; - this.selSniperRifle.Location = new System.Drawing.Point(127, 2683); - this.selSniperRifle.Name = "selSniperRifle"; - this.selSniperRifle.Size = new System.Drawing.Size(528, 95); - this.selSniperRifle.TabIndex = 55; - // - // selBovineBlitz - // - this.selBovineBlitz.AutoSize = true; - this.selBovineBlitz.Dock = System.Windows.Forms.DockStyle.Top; - this.selBovineBlitz.Location = new System.Drawing.Point(127, 2786); - this.selBovineBlitz.Name = "selBovineBlitz"; - this.selBovineBlitz.Size = new System.Drawing.Size(528, 95); - this.selBovineBlitz.TabIndex = 56; - // - // selStarburst - // - this.selStarburst.AutoSize = true; - this.selStarburst.Dock = System.Windows.Forms.DockStyle.Top; - this.selStarburst.Location = new System.Drawing.Point(127, 2889); - this.selStarburst.Name = "selStarburst"; - this.selStarburst.Size = new System.Drawing.Size(528, 95); - this.selStarburst.TabIndex = 57; - // // tblWeapUtil // this.tblWeapUtil.AutoSize = true; @@ -1841,7 +1845,7 @@ this.tblWeapUtil.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tblWeapUtil.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tblWeapUtil.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tblWeapUtil.Size = new System.Drawing.Size(660, 1341); + this.tblWeapUtil.Size = new System.Drawing.Size(153, 1341); this.tblWeapUtil.TabIndex = 1; // // selArmour @@ -1850,7 +1854,7 @@ this.selArmour.Dock = System.Windows.Forms.DockStyle.Top; this.selArmour.Location = new System.Drawing.Point(108, 1241); this.selArmour.Name = "selArmour"; - this.selArmour.Size = new System.Drawing.Size(547, 95); + this.selArmour.Size = new System.Drawing.Size(40, 95); this.selArmour.TabIndex = 32; // // selDoubleDamage @@ -1859,7 +1863,7 @@ this.selDoubleDamage.Dock = System.Windows.Forms.DockStyle.Top; this.selDoubleDamage.Location = new System.Drawing.Point(108, 1138); this.selDoubleDamage.Name = "selDoubleDamage"; - this.selDoubleDamage.Size = new System.Drawing.Size(547, 95); + this.selDoubleDamage.Size = new System.Drawing.Size(40, 95); this.selDoubleDamage.TabIndex = 31; // // selCrateSpy @@ -1868,7 +1872,7 @@ this.selCrateSpy.Dock = System.Windows.Forms.DockStyle.Top; this.selCrateSpy.Location = new System.Drawing.Point(108, 1035); this.selCrateSpy.Name = "selCrateSpy"; - this.selCrateSpy.Size = new System.Drawing.Size(547, 95); + this.selCrateSpy.Size = new System.Drawing.Size(40, 95); this.selCrateSpy.TabIndex = 30; // // selCrateShower @@ -1877,9 +1881,18 @@ this.selCrateShower.Dock = System.Windows.Forms.DockStyle.Top; this.selCrateShower.Location = new System.Drawing.Point(108, 932); this.selCrateShower.Name = "selCrateShower"; - this.selCrateShower.Size = new System.Drawing.Size(547, 95); + this.selCrateShower.Size = new System.Drawing.Size(40, 95); this.selCrateShower.TabIndex = 29; // + // selSkipGo + // + this.selSkipGo.AutoSize = true; + this.selSkipGo.Dock = System.Windows.Forms.DockStyle.Top; + this.selSkipGo.Location = new System.Drawing.Point(108, 829); + this.selSkipGo.Name = "selSkipGo"; + this.selSkipGo.Size = new System.Drawing.Size(40, 95); + this.selSkipGo.TabIndex = 27; + // // lblArmour // this.lblArmour.AutoSize = true; @@ -1913,6 +1926,17 @@ this.lblDoubleDamage.Text = "Double Damage:"; this.lblDoubleDamage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // + // lblSkipGo + // + this.lblSkipGo.AutoSize = true; + this.lblSkipGo.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblSkipGo.Location = new System.Drawing.Point(5, 826); + this.lblSkipGo.Name = "lblSkipGo"; + this.lblSkipGo.Size = new System.Drawing.Size(95, 101); + this.lblSkipGo.TabIndex = 18; + this.lblSkipGo.Text = "Skip Go:"; + this.lblSkipGo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // lblCrateShower // this.lblCrateShower.AutoSize = true; @@ -1930,7 +1954,7 @@ this.selSurrender.Dock = System.Windows.Forms.DockStyle.Top; this.selSurrender.Location = new System.Drawing.Point(108, 726); this.selSurrender.Name = "selSurrender"; - this.selSurrender.Size = new System.Drawing.Size(547, 95); + this.selSurrender.Size = new System.Drawing.Size(40, 95); this.selSurrender.TabIndex = 15; // // selGirder @@ -1939,7 +1963,7 @@ this.selGirder.Dock = System.Windows.Forms.DockStyle.Top; this.selGirder.Location = new System.Drawing.Point(108, 623); this.selGirder.Name = "selGirder"; - this.selGirder.Size = new System.Drawing.Size(547, 95); + this.selGirder.Size = new System.Drawing.Size(40, 95); this.selGirder.TabIndex = 14; // // selBubbleTrouble @@ -1948,7 +1972,7 @@ this.selBubbleTrouble.Dock = System.Windows.Forms.DockStyle.Top; this.selBubbleTrouble.Location = new System.Drawing.Point(108, 520); this.selBubbleTrouble.Name = "selBubbleTrouble"; - this.selBubbleTrouble.Size = new System.Drawing.Size(547, 95); + this.selBubbleTrouble.Size = new System.Drawing.Size(40, 95); this.selBubbleTrouble.TabIndex = 13; // // lblSurrender @@ -1990,7 +2014,7 @@ this.selIcarusPotion.Dock = System.Windows.Forms.DockStyle.Top; this.selIcarusPotion.Location = new System.Drawing.Point(108, 314); this.selIcarusPotion.Name = "selIcarusPotion"; - this.selIcarusPotion.Size = new System.Drawing.Size(547, 95); + this.selIcarusPotion.Size = new System.Drawing.Size(40, 95); this.selIcarusPotion.TabIndex = 9; // // selWormSelect @@ -1999,7 +2023,7 @@ this.selWormSelect.Dock = System.Windows.Forms.DockStyle.Top; this.selWormSelect.Location = new System.Drawing.Point(108, 417); this.selWormSelect.Name = "selWormSelect"; - this.selWormSelect.Size = new System.Drawing.Size(547, 95); + this.selWormSelect.Size = new System.Drawing.Size(40, 95); this.selWormSelect.TabIndex = 8; // // selNinjaRope @@ -2008,7 +2032,7 @@ this.selNinjaRope.Dock = System.Windows.Forms.DockStyle.Top; this.selNinjaRope.Location = new System.Drawing.Point(108, 211); this.selNinjaRope.Name = "selNinjaRope"; - this.selNinjaRope.Size = new System.Drawing.Size(547, 95); + this.selNinjaRope.Size = new System.Drawing.Size(40, 95); this.selNinjaRope.TabIndex = 7; // // lblWormSelector @@ -2050,7 +2074,7 @@ this.selParachute.Dock = System.Windows.Forms.DockStyle.Top; this.selParachute.Location = new System.Drawing.Point(108, 108); this.selParachute.Name = "selParachute"; - this.selParachute.Size = new System.Drawing.Size(547, 95); + this.selParachute.Size = new System.Drawing.Size(40, 95); this.selParachute.TabIndex = 3; // // lblParachute @@ -2081,28 +2105,20 @@ this.selJetpack.Dock = System.Windows.Forms.DockStyle.Top; this.selJetpack.Location = new System.Drawing.Point(108, 5); this.selJetpack.Name = "selJetpack"; - this.selJetpack.Size = new System.Drawing.Size(547, 95); + this.selJetpack.Size = new System.Drawing.Size(40, 95); this.selJetpack.TabIndex = 1; // - // lblSkipGo + // mysteryTab // - this.lblSkipGo.AutoSize = true; - this.lblSkipGo.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblSkipGo.Location = new System.Drawing.Point(5, 826); - this.lblSkipGo.Name = "lblSkipGo"; - this.lblSkipGo.Size = new System.Drawing.Size(95, 101); - this.lblSkipGo.TabIndex = 18; - this.lblSkipGo.Text = "Skip Go:"; - this.lblSkipGo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // selSkipGo - // - this.selSkipGo.AutoSize = true; - this.selSkipGo.Dock = System.Windows.Forms.DockStyle.Top; - this.selSkipGo.Location = new System.Drawing.Point(108, 829); - this.selSkipGo.Name = "selSkipGo"; - this.selSkipGo.Size = new System.Drawing.Size(547, 95); - this.selSkipGo.TabIndex = 27; + this.mysteryTab.AutoScroll = true; + this.mysteryTab.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.mysteryTab.Controls.Add(this.tblWeapMystery); + this.mysteryTab.Location = new System.Drawing.Point(4, 24); + this.mysteryTab.Name = "mysteryTab"; + this.mysteryTab.Size = new System.Drawing.Size(180, 40); + this.mysteryTab.TabIndex = 2; + this.mysteryTab.Text = "Mystery"; + this.mysteryTab.UseVisualStyleBackColor = true; // // tblWeapMystery // @@ -2142,7 +2158,7 @@ this.tblWeapMystery.Controls.Add(this.lblBringOnTheMines, 0, 0); this.tblWeapMystery.Controls.Add(this.selMineLayerMystery, 1, 0); this.tblWeapMystery.Dock = System.Windows.Forms.DockStyle.Top; - this.tblWeapMystery.Location = new System.Drawing.Point(0, 0); + this.tblWeapMystery.Location = new System.Drawing.Point(3, 3); this.tblWeapMystery.Name = "tblWeapMystery"; this.tblWeapMystery.RowCount = 15; this.tblWeapMystery.RowStyles.Add(new System.Windows.Forms.RowStyle()); @@ -2160,16 +2176,56 @@ this.tblWeapMystery.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tblWeapMystery.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tblWeapMystery.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tblWeapMystery.Size = new System.Drawing.Size(666, 1547); + this.tblWeapMystery.Size = new System.Drawing.Size(159, 1547); this.tblWeapMystery.TabIndex = 2; // + // selBadPoisonMystery + // + this.selBadPoisonMystery.AutoSize = true; + this.selBadPoisonMystery.Dock = System.Windows.Forms.DockStyle.Top; + this.selBadPoisonMystery.Location = new System.Drawing.Point(130, 1344); + this.selBadPoisonMystery.Name = "selBadPoisonMystery"; + this.selBadPoisonMystery.Size = new System.Drawing.Size(24, 95); + this.selBadPoisonMystery.TabIndex = 36; + // + // selGoodPoisonMystery + // + this.selGoodPoisonMystery.AutoSize = true; + this.selGoodPoisonMystery.Dock = System.Windows.Forms.DockStyle.Top; + this.selGoodPoisonMystery.Location = new System.Drawing.Point(130, 1447); + this.selGoodPoisonMystery.Name = "selGoodPoisonMystery"; + this.selGoodPoisonMystery.Size = new System.Drawing.Size(24, 95); + this.selGoodPoisonMystery.TabIndex = 35; + // + // lblTeamDisease + // + this.lblTeamDisease.AutoSize = true; + this.lblTeamDisease.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblTeamDisease.Location = new System.Drawing.Point(5, 1341); + this.lblTeamDisease.Name = "lblTeamDisease"; + this.lblTeamDisease.Size = new System.Drawing.Size(117, 101); + this.lblTeamDisease.TabIndex = 34; + this.lblTeamDisease.Text = "Team Disease:"; + this.lblTeamDisease.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblSickItToThem + // + this.lblSickItToThem.AutoSize = true; + this.lblSickItToThem.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblSickItToThem.Location = new System.Drawing.Point(5, 1444); + this.lblSickItToThem.Name = "lblSickItToThem"; + this.lblSickItToThem.Size = new System.Drawing.Size(117, 101); + this.lblSickItToThem.TabIndex = 33; + this.lblSickItToThem.Text = "Sick it to them:"; + this.lblSickItToThem.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // selSpecialWeaponMystery // this.selSpecialWeaponMystery.AutoSize = true; this.selSpecialWeaponMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selSpecialWeaponMystery.Location = new System.Drawing.Point(130, 1241); this.selSpecialWeaponMystery.Name = "selSpecialWeaponMystery"; - this.selSpecialWeaponMystery.Size = new System.Drawing.Size(531, 95); + this.selSpecialWeaponMystery.Size = new System.Drawing.Size(24, 95); this.selSpecialWeaponMystery.TabIndex = 32; // // selSuperHealthMystery @@ -2178,7 +2234,7 @@ this.selSuperHealthMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selSuperHealthMystery.Location = new System.Drawing.Point(130, 1138); this.selSuperHealthMystery.Name = "selSuperHealthMystery"; - this.selSuperHealthMystery.Size = new System.Drawing.Size(531, 95); + this.selSuperHealthMystery.Size = new System.Drawing.Size(24, 95); this.selSuperHealthMystery.TabIndex = 31; // // selDamageMystery @@ -2187,7 +2243,7 @@ this.selDamageMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selDamageMystery.Location = new System.Drawing.Point(130, 1035); this.selDamageMystery.Name = "selDamageMystery"; - this.selDamageMystery.Size = new System.Drawing.Size(531, 95); + this.selDamageMystery.Size = new System.Drawing.Size(24, 95); this.selDamageMystery.TabIndex = 30; // // selHealthMystery @@ -2196,7 +2252,7 @@ this.selHealthMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selHealthMystery.Location = new System.Drawing.Point(130, 932); this.selHealthMystery.Name = "selHealthMystery"; - this.selHealthMystery.Size = new System.Drawing.Size(531, 95); + this.selHealthMystery.Size = new System.Drawing.Size(24, 95); this.selHealthMystery.TabIndex = 29; // // selDoubleTurnTimeMystery @@ -2205,7 +2261,7 @@ this.selDoubleTurnTimeMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selDoubleTurnTimeMystery.Location = new System.Drawing.Point(130, 829); this.selDoubleTurnTimeMystery.Name = "selDoubleTurnTimeMystery"; - this.selDoubleTurnTimeMystery.Size = new System.Drawing.Size(531, 95); + this.selDoubleTurnTimeMystery.Size = new System.Drawing.Size(24, 95); this.selDoubleTurnTimeMystery.TabIndex = 27; // // lblBigGuns @@ -2269,7 +2325,7 @@ this.selLowGravityMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selLowGravityMystery.Location = new System.Drawing.Point(130, 726); this.selLowGravityMystery.Name = "selLowGravityMystery"; - this.selLowGravityMystery.Size = new System.Drawing.Size(531, 95); + this.selLowGravityMystery.Size = new System.Drawing.Size(24, 95); this.selLowGravityMystery.TabIndex = 15; // // selQuickWalkMystery @@ -2278,7 +2334,7 @@ this.selQuickWalkMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selQuickWalkMystery.Location = new System.Drawing.Point(130, 623); this.selQuickWalkMystery.Name = "selQuickWalkMystery"; - this.selQuickWalkMystery.Size = new System.Drawing.Size(531, 95); + this.selQuickWalkMystery.Size = new System.Drawing.Size(24, 95); this.selQuickWalkMystery.TabIndex = 14; // // selTeleportMystery @@ -2287,7 +2343,7 @@ this.selTeleportMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selTeleportMystery.Location = new System.Drawing.Point(130, 520); this.selTeleportMystery.Name = "selTeleportMystery"; - this.selTeleportMystery.Size = new System.Drawing.Size(531, 95); + this.selTeleportMystery.Size = new System.Drawing.Size(24, 95); this.selTeleportMystery.TabIndex = 13; // // lblMoonPhysics @@ -2329,7 +2385,7 @@ this.selFloodMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selFloodMystery.Location = new System.Drawing.Point(130, 314); this.selFloodMystery.Name = "selFloodMystery"; - this.selFloodMystery.Size = new System.Drawing.Size(531, 95); + this.selFloodMystery.Size = new System.Drawing.Size(24, 95); this.selFloodMystery.TabIndex = 9; // // selDisarmMystery @@ -2338,7 +2394,7 @@ this.selDisarmMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selDisarmMystery.Location = new System.Drawing.Point(130, 417); this.selDisarmMystery.Name = "selDisarmMystery"; - this.selDisarmMystery.Size = new System.Drawing.Size(531, 95); + this.selDisarmMystery.Size = new System.Drawing.Size(24, 95); this.selDisarmMystery.TabIndex = 8; // // selBarrelTripletMystery @@ -2347,7 +2403,7 @@ this.selBarrelTripletMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selBarrelTripletMystery.Location = new System.Drawing.Point(130, 211); this.selBarrelTripletMystery.Name = "selBarrelTripletMystery"; - this.selBarrelTripletMystery.Size = new System.Drawing.Size(531, 95); + this.selBarrelTripletMystery.Size = new System.Drawing.Size(24, 95); this.selBarrelTripletMystery.TabIndex = 7; // // lblSabotageInventory @@ -2389,7 +2445,7 @@ this.selMineTripletMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selMineTripletMystery.Location = new System.Drawing.Point(130, 108); this.selMineTripletMystery.Name = "selMineTripletMystery"; - this.selMineTripletMystery.Size = new System.Drawing.Size(531, 95); + this.selMineTripletMystery.Size = new System.Drawing.Size(24, 95); this.selMineTripletMystery.TabIndex = 3; // // lblRandomDetonation @@ -2420,49 +2476,9 @@ this.selMineLayerMystery.Dock = System.Windows.Forms.DockStyle.Top; this.selMineLayerMystery.Location = new System.Drawing.Point(130, 5); this.selMineLayerMystery.Name = "selMineLayerMystery"; - this.selMineLayerMystery.Size = new System.Drawing.Size(531, 95); + this.selMineLayerMystery.Size = new System.Drawing.Size(24, 95); this.selMineLayerMystery.TabIndex = 1; // - // lblSickItToThem - // - this.lblSickItToThem.AutoSize = true; - this.lblSickItToThem.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblSickItToThem.Location = new System.Drawing.Point(5, 1444); - this.lblSickItToThem.Name = "lblSickItToThem"; - this.lblSickItToThem.Size = new System.Drawing.Size(117, 101); - this.lblSickItToThem.TabIndex = 33; - this.lblSickItToThem.Text = "Sick it to them:"; - this.lblSickItToThem.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblTeamDisease - // - this.lblTeamDisease.AutoSize = true; - this.lblTeamDisease.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblTeamDisease.Location = new System.Drawing.Point(5, 1341); - this.lblTeamDisease.Name = "lblTeamDisease"; - this.lblTeamDisease.Size = new System.Drawing.Size(117, 101); - this.lblTeamDisease.TabIndex = 34; - this.lblTeamDisease.Text = "Team Disease:"; - this.lblTeamDisease.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // selGoodPoisonMystery - // - this.selGoodPoisonMystery.AutoSize = true; - this.selGoodPoisonMystery.Dock = System.Windows.Forms.DockStyle.Top; - this.selGoodPoisonMystery.Location = new System.Drawing.Point(130, 1447); - this.selGoodPoisonMystery.Name = "selGoodPoisonMystery"; - this.selGoodPoisonMystery.Size = new System.Drawing.Size(531, 95); - this.selGoodPoisonMystery.TabIndex = 35; - // - // selBadPoisonMystery - // - this.selBadPoisonMystery.AutoSize = true; - this.selBadPoisonMystery.Dock = System.Windows.Forms.DockStyle.Top; - this.selBadPoisonMystery.Location = new System.Drawing.Point(130, 1344); - this.selBadPoisonMystery.Name = "selBadPoisonMystery"; - this.selBadPoisonMystery.Size = new System.Drawing.Size(531, 95); - this.selBadPoisonMystery.TabIndex = 36; - // // SchemePanel // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); @@ -2496,10 +2512,10 @@ this.tblWeapons.PerformLayout(); this.utilityTab.ResumeLayout(false); this.utilityTab.PerformLayout(); - this.mysteryTab.ResumeLayout(false); - this.mysteryTab.PerformLayout(); this.tblWeapUtil.ResumeLayout(false); this.tblWeapUtil.PerformLayout(); + this.mysteryTab.ResumeLayout(false); + this.mysteryTab.PerformLayout(); this.tblWeapMystery.ResumeLayout(false); this.tblWeapMystery.PerformLayout(); this.ResumeLayout(false); @@ -2512,7 +2528,7 @@ private TabPage generalTab; private TableLayoutPanel tblGeneral; private Label lblSchemeName; - private TextBox selWinnerName; + private TextBox selSchemeName; private Label lblLock; private TextBox selLock; private CheckBox selPermanent; @@ -2548,13 +2564,10 @@ private CheckBox selTelepads; private CheckBox selMineFactory; private TableLayoutPanel tblMap; - private IntUpDown selWaterRiseSpeed; - private IntUpDown selSuddenDeath; private Label lblWaterRiseSpeed; private Label lblSuddenDeath; private IntUpDown selMineFuse; private Label lblMineFuse; - private IntUpDown selObject; private Label lblObjects; private IntUpDown selMaxWindStrength; private Label lblWindMaxStrength; @@ -2565,7 +2578,6 @@ private Label lblHotSeat; private Label lblFallDamage; private Label lblHelpPanelDisplay; - private IntUpDown selStockpiling; private Label lblDisplayTime; private IntUpDown selDisplayTime; private IntUpDown selLandTime; @@ -2696,5 +2708,9 @@ private Label lblRandomDetonation; private Label lblBringOnTheMines; private InputWeaponSettingsData selMineLayerMystery; + private ComboBox selLndObjects; + private ComboBox selStockpiling; + private ComboBox selSuddenDeath; + private ComboBox selWaterSpeed; } } diff --git a/W4Gui/Components/SchemePanel.cs b/W4Gui/Components/SchemePanel.cs index 15ae7ec..890a76d 100644 --- a/W4Gui/Components/SchemePanel.cs +++ b/W4Gui/Components/SchemePanel.cs @@ -1,4 +1,5 @@ using LibW4M.Data.Highscores; +using LibW4M.Data.Schemes; using LibW4M.Data.Teams; using LibW4M.Data.WeaponFactory; using System; @@ -21,30 +22,196 @@ namespace W4Gui.Components InitializeComponent(); } - private void generalTab_Click(object sender, EventArgs e) + public void SaveSchemeData(ref SchemeData scheme) { + this.selAirstrike.SaveWeaponSettingsData(ref scheme.Airstrike); + this.selBananaBomb.SaveWeaponSettingsData(ref scheme.BananaBomb); + this.selBaseballBat.SaveWeaponSettingsData(ref scheme.BaseballBat); + this.selBazooka.SaveWeaponSettingsData(ref scheme.Bazooka); + this.selClusterBomb.SaveWeaponSettingsData(ref scheme.ClusterGrenade); + this.selConcreteDonkey.SaveWeaponSettingsData(ref scheme.ConcreteDonkey); + this.selCrateShower.SaveWeaponSettingsData(ref scheme.CrateShower); + this.selCrateSpy.SaveWeaponSettingsData(ref scheme.CrateSpy); + this.selDoubleDamage.SaveWeaponSettingsData(ref scheme.DoubleDamage); + this.selDynamite.SaveWeaponSettingsData(ref scheme.Dynamite); + this.selFirePunch.SaveWeaponSettingsData(ref scheme.FirePunch); + this.selGasCanister.SaveWeaponSettingsData(ref scheme.GasCanister); + this.selGirder.SaveWeaponSettingsData(ref scheme.Girder); + this.selGrenade.SaveWeaponSettingsData(ref scheme.Grenade); + this.selHolyHandGrenade.SaveWeaponSettingsData(ref scheme.HolyHandGrenade); + this.selHomingMissile.SaveWeaponSettingsData(ref scheme.HomingMissile); + this.selJetpack.SaveWeaponSettingsData(ref scheme.Jetpack); + this.selLandMine.SaveWeaponSettingsData(ref scheme.Landmine); + this.selNinjaRope.SaveWeaponSettingsData(ref scheme.NinjaRope); + this.selOldWoman.SaveWeaponSettingsData(ref scheme.OldWoman); + this.selParachute.SaveWeaponSettingsData(ref scheme.Parachute); + this.selProd.SaveWeaponSettingsData(ref scheme.Prod); + this.selWormSelect.SaveWeaponSettingsData(ref scheme.SelectWorm); + this.selSheep.SaveWeaponSettingsData(ref scheme.Sheep); + this.selShotgun.SaveWeaponSettingsData(ref scheme.Shotgun); + this.selSkipGo.SaveWeaponSettingsData(ref scheme.SkipGo); + this.selSuperSheep.SaveWeaponSettingsData(ref scheme.SuperSheep); + this.selIcarusPotion.SaveWeaponSettingsData(ref scheme.Redbull); + this.selFlood.SaveWeaponSettingsData(ref scheme.Flood); + this.selArmour.SaveWeaponSettingsData(ref scheme.Armour); + this.selTeamWeapon.SaveWeaponSettingsData(ref scheme.WeaponFactoryWeapon); + this.selAlienAbduction.SaveWeaponSettingsData(ref scheme.AlienAbduction); + this.selFatkinsStrike.SaveWeaponSettingsData(ref scheme.Fatkins); + this.selInflatableScouser.SaveWeaponSettingsData(ref scheme.Scouser); + this.selTailNail.SaveWeaponSettingsData(ref scheme.NoMoreNails); + this.selPoisonArrow.SaveWeaponSettingsData(ref scheme.PoisonArrow); + this.selSentryGun.SaveWeaponSettingsData(ref scheme.SentryGun); + this.selSniperRifle.SaveWeaponSettingsData(ref scheme.SniperRifle); + this.selBovineBlitz.SaveWeaponSettingsData(ref scheme.SuperAirstrike); + this.selBubbleTrouble.SaveWeaponSettingsData(ref scheme.BubbleTrouble); + this.selStarburst.SaveWeaponSettingsData(ref scheme.Starburst); + this.selSurrender.SaveWeaponSettingsData(ref scheme.Surrender); + this.selMineLayerMystery.SaveWeaponSettingsData(ref scheme.MineLayerMystery); + this.selMineTripletMystery.SaveWeaponSettingsData(ref scheme.MineTripletMystery); + this.selBarrelTripletMystery.SaveWeaponSettingsData(ref scheme.BarrelTripletMystery); + this.selFloodMystery.SaveWeaponSettingsData(ref scheme.FloodMystery); + this.selDisarmMystery.SaveWeaponSettingsData(ref scheme.DisarmMystery); + this.selTeleportMystery.SaveWeaponSettingsData(ref scheme.TeleportMystery); + this.selQuickWalkMystery.SaveWeaponSettingsData(ref scheme.QuickWalkMystery); + this.selLowGravityMystery.SaveWeaponSettingsData(ref scheme.LowGravityMystery); + this.selDoubleTurnTimeMystery.SaveWeaponSettingsData(ref scheme.DoubleTurnTimeMystery); + this.selHealthMystery.SaveWeaponSettingsData(ref scheme.HealthMystery); + this.selDoubleDamage.SaveWeaponSettingsData(ref scheme.DamageMystery); + this.selSuperHealthMystery.SaveWeaponSettingsData(ref scheme.SuperHealthMystery); + this.selSpecialWeaponMystery.SaveWeaponSettingsData(ref scheme.SpecialWeaponMystery); + this.selBadPoisonMystery.SaveWeaponSettingsData(ref scheme.BadPoisonMystery); + this.selGoodPoisonMystery.SaveWeaponSettingsData(ref scheme.GoodPoisonMystery); + + scheme.Name = DataManager.SaveFile.LookupString(this.selSchemeName.Text); + scheme.Lock = DataManager.SaveFile.LookupString(this.selLock.Text); + scheme.ArtileryMode = this.selArtilaryMode.Value; + scheme.TeleportIn = this.selTeleportIn.Value; + scheme.Wins = this.selNumRounds.Value; + scheme.WormSelect = this.selWormSelectAtGameStart.Value; + scheme.WormHealth = this.selWormHealth.Value; + scheme.RoundTime = this.selRoundTime.Value; + scheme.TurnTime = this.selTurnTime.Value; + scheme.Stockpiling = (Stockpiling)this.selStockpiling.SelectedIndex; + scheme.DisplayTime = this.selDisplayTime.Value; + scheme.LandTime = this.selLandTime.Value; + scheme.RopeTime = this.selRopeTime.Value; + scheme.FallDamage = this.selFallDamage.Value; + scheme.HotSeat = this.selHotSeat.Value; + scheme.Special = this.selSpecial.Value; + scheme.HelpPanelDelay = this.selHelpPanelDisplay.Value; + scheme.Permanant = this.selPermanent.Checked; + + scheme.RandomCrateChancePerTurn = this.selCrateChance.Value; + scheme.MysteryChance = this.selMysteryCrateChance.Value; + scheme.UtilityChance = this.selUtilityCrateChance.Value; + scheme.HealthChance = this.selHealthCrateChance.Value; + scheme.HealthInCrates = this.selHealthCrateAmount.Value; + + scheme.Objects = (LandObjects)this.selLndObjects.SelectedIndex; + scheme.MineFuse = this.selMineFuse.Value; + scheme.SuddenDeath = (SuddenDeath)this.selSuddenDeath.SelectedIndex; + scheme.WaterSpeed = (WaterSpeed)this.selWaterSpeed.SelectedIndex; + scheme.WindMaxStrength = this.selMaxWindStrength.Value; + + scheme.MineFactoryOn = this.selMineFactory.Checked; + scheme.TelepadsOn = this.selTelepads.Checked; } - private void weaponTab_Click(object sender, EventArgs e) + public void LoadSchemeData(SchemeData scheme) { + this.selAirstrike.LoadWeaponSettingsData(scheme.Airstrike); + this.selBananaBomb.LoadWeaponSettingsData(scheme.BananaBomb); + this.selBaseballBat.LoadWeaponSettingsData(scheme.BaseballBat); + this.selBazooka.LoadWeaponSettingsData(scheme.Bazooka); + this.selClusterBomb.LoadWeaponSettingsData(scheme.ClusterGrenade); + this.selConcreteDonkey.LoadWeaponSettingsData(scheme.ConcreteDonkey); + this.selCrateShower.LoadWeaponSettingsData(scheme.CrateShower); + this.selCrateSpy.LoadWeaponSettingsData(scheme.CrateSpy); + this.selDoubleDamage.LoadWeaponSettingsData(scheme.DoubleDamage); + this.selDynamite.LoadWeaponSettingsData(scheme.Dynamite); + this.selFirePunch.LoadWeaponSettingsData(scheme.FirePunch); + this.selGasCanister.LoadWeaponSettingsData(scheme.GasCanister); + this.selGirder.LoadWeaponSettingsData(scheme.Girder); + this.selGrenade.LoadWeaponSettingsData(scheme.Grenade); + this.selHolyHandGrenade.LoadWeaponSettingsData(scheme.HolyHandGrenade); + this.selHomingMissile.LoadWeaponSettingsData(scheme.HomingMissile); + this.selJetpack.LoadWeaponSettingsData(scheme.Jetpack); + this.selLandMine.LoadWeaponSettingsData(scheme.Landmine); + this.selNinjaRope.LoadWeaponSettingsData(scheme.NinjaRope); + this.selOldWoman.LoadWeaponSettingsData(scheme.OldWoman); + this.selParachute.LoadWeaponSettingsData(scheme.Parachute); + this.selProd.LoadWeaponSettingsData(scheme.Prod); + this.selWormSelect.LoadWeaponSettingsData(scheme.SelectWorm); + this.selSheep.LoadWeaponSettingsData(scheme.Sheep); + this.selShotgun.LoadWeaponSettingsData(scheme.Shotgun); + this.selSkipGo.LoadWeaponSettingsData(scheme.SkipGo); + this.selSuperSheep.LoadWeaponSettingsData(scheme.SuperSheep); + this.selIcarusPotion.LoadWeaponSettingsData(scheme.Redbull); + this.selFlood.LoadWeaponSettingsData(scheme.Flood); + this.selArmour.LoadWeaponSettingsData(scheme.Armour); + this.selTeamWeapon.LoadWeaponSettingsData(scheme.WeaponFactoryWeapon); + this.selAlienAbduction.LoadWeaponSettingsData(scheme.AlienAbduction); + this.selFatkinsStrike.LoadWeaponSettingsData(scheme.Fatkins); + this.selInflatableScouser.LoadWeaponSettingsData(scheme.Scouser); + this.selTailNail.LoadWeaponSettingsData(scheme.NoMoreNails); + this.selPoisonArrow.LoadWeaponSettingsData(scheme.PoisonArrow); + this.selSentryGun.LoadWeaponSettingsData(scheme.SentryGun); + this.selSniperRifle.LoadWeaponSettingsData(scheme.SniperRifle); + this.selBovineBlitz.LoadWeaponSettingsData(scheme.SuperAirstrike); + this.selBubbleTrouble.LoadWeaponSettingsData(scheme.BubbleTrouble); + this.selStarburst.LoadWeaponSettingsData(scheme.Starburst); + this.selSurrender.LoadWeaponSettingsData(scheme.Surrender); + this.selMineLayerMystery.LoadWeaponSettingsData(scheme.MineLayerMystery); + this.selMineTripletMystery.LoadWeaponSettingsData(scheme.MineTripletMystery); + this.selBarrelTripletMystery.LoadWeaponSettingsData(scheme.BarrelTripletMystery); + this.selFloodMystery.LoadWeaponSettingsData(scheme.FloodMystery); + this.selDisarmMystery.LoadWeaponSettingsData(scheme.DisarmMystery); + this.selTeleportMystery.LoadWeaponSettingsData(scheme.TeleportMystery); + this.selQuickWalkMystery.LoadWeaponSettingsData(scheme.QuickWalkMystery); + this.selLowGravityMystery.LoadWeaponSettingsData(scheme.LowGravityMystery); + this.selDoubleTurnTimeMystery.LoadWeaponSettingsData(scheme.DoubleTurnTimeMystery); + this.selHealthMystery.LoadWeaponSettingsData(scheme.HealthMystery); + this.selDoubleDamage.LoadWeaponSettingsData(scheme.DamageMystery); + this.selSuperHealthMystery.LoadWeaponSettingsData(scheme.SuperHealthMystery); + this.selSpecialWeaponMystery.LoadWeaponSettingsData(scheme.SpecialWeaponMystery); + this.selBadPoisonMystery.LoadWeaponSettingsData(scheme.BadPoisonMystery); + this.selGoodPoisonMystery.LoadWeaponSettingsData(scheme.GoodPoisonMystery); + this.selSchemeName.Text = scheme.Name.Value; + this.selLock.Text = scheme.Lock.Value; + this.selArtilaryMode.Value = scheme.ArtileryMode; + this.selTeleportIn.Value = scheme.TeleportIn; + this.selNumRounds.Value = scheme.Wins; + this.selWormSelectAtGameStart.Value = scheme.WormSelect; + this.selWormHealth.Value = scheme.WormHealth; + this.selRoundTime.Value = scheme.RoundTime; + this.selTurnTime.Value = scheme.TurnTime; + this.selStockpiling.SelectedIndex = (int)scheme.Stockpiling; + this.selDisplayTime.Value = scheme.DisplayTime; + this.selLandTime.Value = scheme.LandTime; + this.selRopeTime.Value = scheme.RopeTime; + this.selFallDamage.Value = scheme.FallDamage; + this.selHotSeat.Value = scheme.HotSeat; + this.selSpecial.Value = scheme.Special; + this.selHelpPanelDisplay.Value = scheme.HelpPanelDelay; + this.selPermanent.Checked = scheme.Permanant; + + this.selCrateChance.Value = scheme.RandomCrateChancePerTurn; + this.selMysteryCrateChance.Value = scheme.MysteryChance; + this.selUtilityCrateChance.Value = scheme.UtilityChance; + this.selHealthCrateChance.Value = scheme.HealthChance; + this.selHealthCrateAmount.Value = scheme.HealthInCrates; + + this.selLndObjects.SelectedIndex = (int)scheme.Objects; + this.selMineFuse.Value = scheme.MineFuse; + this.selSuddenDeath.SelectedIndex = (int)scheme.SuddenDeath; + this.selWaterSpeed.SelectedIndex = (int)scheme.WaterSpeed; + this.selMaxWindStrength.Value = scheme.WindMaxStrength; + + this.selMineFactory.Checked = scheme.MineFactoryOn; + this.selTelepads.Checked = scheme.TelepadsOn; } - - /*public void SaveHighscoreData(ref HighscoreData highscore) - { - // Load general - highscore.WinnerName = DataManager.SaveFile.LookupString(selWinnerName.Text); - highscore.WinnerTime = selWinnerTime.Value; - } - - public void LoadHighscoreData(HighscoreData highscore) - { - // Load general - this.selWinnerName.Text = highscore.WinnerName.Value; - this.selWinnerTime.Value = highscore.WinnerTime; - }*/ - } } diff --git a/W4Gui/Main.Designer.cs b/W4Gui/Main.Designer.cs index 41b06a4..b063425 100644 --- a/W4Gui/Main.Designer.cs +++ b/W4Gui/Main.Designer.cs @@ -48,10 +48,12 @@ namespace W4Gui this.highscoresPage = new W4Gui.Tabs.HighscoresTab(); this.inputTab = new System.Windows.Forms.TabPage(); this.variablesTab = new System.Windows.Forms.TabPage(); + this.schemesPage = new W4Gui.Tabs.SchemeTab(); this.mainMenuStrip.SuspendLayout(); this.mainTabControl.SuspendLayout(); this.weaponTab.SuspendLayout(); this.teamTab.SuspendLayout(); + this.schemeTab.SuspendLayout(); this.highscoreTab.SuspendLayout(); this.SuspendLayout(); // @@ -182,9 +184,10 @@ namespace W4Gui // schemeTab // this.schemeTab.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.schemeTab.Controls.Add(this.schemesPage); this.schemeTab.Location = new System.Drawing.Point(4, 24); this.schemeTab.Name = "schemeTab"; - this.schemeTab.Size = new System.Drawing.Size(192, 72); + this.schemeTab.Size = new System.Drawing.Size(868, 509); this.schemeTab.TabIndex = 3; this.schemeTab.Text = "Schemes"; this.schemeTab.UseVisualStyleBackColor = true; @@ -195,14 +198,13 @@ namespace W4Gui this.highscoreTab.Controls.Add(this.highscoresPage); this.highscoreTab.Location = new System.Drawing.Point(4, 24); this.highscoreTab.Name = "highscoreTab"; - this.highscoreTab.Size = new System.Drawing.Size(868, 509); + this.highscoreTab.Size = new System.Drawing.Size(192, 72); this.highscoreTab.TabIndex = 2; this.highscoreTab.Text = "Highscores"; this.highscoreTab.UseVisualStyleBackColor = true; // // highscoresPage // - this.highscoresPage.Dock = System.Windows.Forms.DockStyle.Fill; this.highscoresPage.Location = new System.Drawing.Point(3, 3); this.highscoresPage.Name = "highscoresPage"; @@ -229,6 +231,14 @@ namespace W4Gui this.variablesTab.Text = "Variables"; this.variablesTab.UseVisualStyleBackColor = true; // + // schemePage + // + this.schemesPage.Dock = System.Windows.Forms.DockStyle.Fill; + this.schemesPage.Location = new System.Drawing.Point(3, 3); + this.schemesPage.Name = "schemePage"; + this.schemesPage.Size = new System.Drawing.Size(858, 499); + this.schemesPage.TabIndex = 0; + // // Main // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); @@ -247,6 +257,7 @@ namespace W4Gui this.mainTabControl.ResumeLayout(false); this.weaponTab.ResumeLayout(false); this.teamTab.ResumeLayout(false); + this.schemeTab.ResumeLayout(false); this.highscoreTab.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -273,5 +284,6 @@ namespace W4Gui private TabPage inputTab; private TabPage variablesTab; private HighscoresTab highscoresPage; + private SchemeTab schemesPage; } } \ No newline at end of file diff --git a/W4Gui/Properties/PublishProfiles/FolderProfile.pubxml.user b/W4Gui/Properties/PublishProfiles/FolderProfile.pubxml.user index 00f1bc5..77c44c5 100644 --- a/W4Gui/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/W4Gui/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. --> - True|2023-01-15T04:06:35.5919106Z;True|2023-01-13T16:57:56.0824690-08:00;True|2023-01-11T01:22:28.8737310-08:00;True|2023-01-11T01:16:55.3469226-08:00; + True|2023-01-19T07:41:26.7371208Z;True|2023-01-14T20:06:35.5919106-08:00;True|2023-01-13T16:57:56.0824690-08:00;True|2023-01-11T01:22:28.8737310-08:00;True|2023-01-11T01:16:55.3469226-08:00; \ No newline at end of file diff --git a/W4Gui/Tabs/SchemeTab.Designer.cs b/W4Gui/Tabs/SchemeTab.Designer.cs new file mode 100644 index 0000000..6ee51da --- /dev/null +++ b/W4Gui/Tabs/SchemeTab.Designer.cs @@ -0,0 +1,99 @@ +namespace W4Gui.Tabs +{ + partial class SchemeTab + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.schemesSplitContainer = new System.Windows.Forms.SplitContainer(); + this.schemesList = new W4Gui.Components.CollectiveListAddDelete(); + this.schemesPanel = new W4Gui.Components.SchemePanel(); + ((System.ComponentModel.ISupportInitialize)(this.schemesSplitContainer)).BeginInit(); + this.schemesSplitContainer.Panel1.SuspendLayout(); + this.schemesSplitContainer.Panel2.SuspendLayout(); + this.schemesSplitContainer.SuspendLayout(); + this.SuspendLayout(); + // + // teamsSplitContainer + // + this.schemesSplitContainer.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.schemesSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; + this.schemesSplitContainer.Location = new System.Drawing.Point(0, 0); + this.schemesSplitContainer.Name = "schemesSplitContainer"; + // + // teamsSplitContainer.Panel1 + // + this.schemesSplitContainer.Panel1.Controls.Add(this.schemesList); + // + // teamsSplitContainer.Panel2 + // + this.schemesSplitContainer.Panel2.Controls.Add(this.schemesPanel); + this.schemesSplitContainer.Size = new System.Drawing.Size(797, 464); + this.schemesSplitContainer.SplitterDistance = 265; + this.schemesSplitContainer.TabIndex = 0; + // + // schemesList + // + this.schemesList.Dock = System.Windows.Forms.DockStyle.Fill; + this.schemesList.Location = new System.Drawing.Point(3, 3); + this.schemesList.Name = "schemesList"; + this.schemesList.Size = new System.Drawing.Size(261, 460); + this.schemesList.TabIndex = 0; + this.schemesList.NewButton += new System.EventHandler(this.schemesList_NewButton); + this.schemesList.DeleteButton += new System.EventHandler(this.schemesList_DeleteButton); + // + // schemesPanel + // + this.schemesPanel.BackColor = System.Drawing.Color.LightGray; + this.schemesPanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.schemesPanel.Enabled = false; + this.schemesPanel.Location = new System.Drawing.Point(0, 0); + this.schemesPanel.Name = "schemesPanel"; + this.schemesPanel.Size = new System.Drawing.Size(524, 460); + this.schemesPanel.TabIndex = 0; + // + // SchemeTab + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.schemesSplitContainer); + this.Name = "SchemeTab"; + this.Size = new System.Drawing.Size(797, 464); + this.schemesSplitContainer.Panel1.ResumeLayout(false); + this.schemesSplitContainer.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.schemesSplitContainer)).EndInit(); + this.schemesSplitContainer.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private SplitContainer schemesSplitContainer; + private Components.CollectiveListAddDelete schemesList; + private Components.SchemePanel schemesPanel; + } +} diff --git a/W4Gui/Tabs/SchemeTab.cs b/W4Gui/Tabs/SchemeTab.cs new file mode 100644 index 0000000..a51eed8 --- /dev/null +++ b/W4Gui/Tabs/SchemeTab.cs @@ -0,0 +1,62 @@ +using LibW4M.Data.Schemes; +using LibW4M.Data.Teams; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace W4Gui.Tabs +{ + public partial class SchemeTab : TabEntry + { + public SchemeTab() + { + InitializeComponent(); + this.schemesList.List.Selected += schemesList_Selected; + this.schemesList.List.Unselected += schemesList_Unselected; + + } + + public override void SaveFromControl() + { + if (schemesList.List.IsItemSelected) + schemesList_Unselected(null, null); + } + + public override void LoadIntoControl() + { + this.schemesList.List.LoadCollective(DataManager.SaveFile.SchemeCollective); + schemesPanel.Enabled = false; + } + + private void schemesList_Unselected(object? sender, EventArgs e) + { + SchemeData scheme = DataManager.SaveFile.SchemeCollective[schemesList.List.LastSelected] as SchemeData; + schemesPanel.SaveSchemeData(ref scheme); + schemesList.List.UpdateName(schemesList.List.LastSelected, scheme.Name.Value); + } + + private void schemesList_Selected(object? sender, EventArgs e) + { + SchemeData scheme = DataManager.SaveFile.SchemeCollective[schemesList.List.CurrentlySelected] as SchemeData; + schemesPanel.LoadSchemeData(scheme); + schemesPanel.Enabled = true; + } + + private void schemesList_NewButton(object sender, EventArgs e) + { + throw new NotImplementedException("Adding new schemes from here not implemented yet ;)"); + } + + private void schemesList_DeleteButton(object sender, EventArgs e) + { + throw new NotImplementedException("Removing schemes from here not implemented yet ;)"); + } + + } +} diff --git a/W4Gui/Tabs/SchemeTab.resx b/W4Gui/Tabs/SchemeTab.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/W4Gui/Tabs/SchemeTab.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/W4Gui/Tabs/TeamsTab.Designer.cs b/W4Gui/Tabs/TeamsTab.Designer.cs index b876c16..0b76606 100644 --- a/W4Gui/Tabs/TeamsTab.Designer.cs +++ b/W4Gui/Tabs/TeamsTab.Designer.cs @@ -58,7 +58,7 @@ // teamsList // this.teamsList.Dock = System.Windows.Forms.DockStyle.Fill; - this.teamsList.Location = new System.Drawing.Point(0, 0); + this.teamsList.Location = new System.Drawing.Point(3, 3); this.teamsList.Name = "teamsList"; this.teamsList.Size = new System.Drawing.Size(261, 460); this.teamsList.TabIndex = 0; diff --git a/W4Gui/W4Gui.csproj b/W4Gui/W4Gui.csproj index 0062d24..d3fc32e 100644 --- a/W4Gui/W4Gui.csproj +++ b/W4Gui/W4Gui.csproj @@ -18,6 +18,7 @@ True Resources.resx + diff --git a/W4Gui/W4Gui.csproj.user b/W4Gui/W4Gui.csproj.user index c641d30..a8150e0 100644 --- a/W4Gui/W4Gui.csproj.user +++ b/W4Gui/W4Gui.csproj.user @@ -52,6 +52,9 @@ UserControl + + UserControl + UserControl