aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-05-13 13:59:08 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-05-13 13:59:08 +0300
commitf9d41b0e8edd338dedac34187448de554fc6224b (patch)
treeb6522df4279baf56606533317a5cd034911caed8
parent315063b6d6e75d2279865e507cbe41add8b9f499 (diff)
downloadMundus-f9d41b0e8edd338dedac34187448de554fc6224b.tar
Mundus-f9d41b0e8edd338dedac34187448de554fc6224b.tar.gz
Mundus-f9d41b0e8edd338dedac34187448de554fc6224b.zip
Did huge refactoring of game windows and did some documentation.
-rw-r--r--Mundus/Mundus.csproj38
-rw-r--r--Mundus/Service/GameGenerator.cs2
-rw-r--r--Mundus/Views/Windows/GameWindows/IGameWindow.cs2
-rw-r--r--Mundus/Views/Windows/GameWindows/Large/LargeButtonClickedEvents.cs1782
-rw-r--r--Mundus/Views/Windows/GameWindows/Large/LargeLogic.cs433
-rw-r--r--Mundus/Views/Windows/GameWindows/Large/LargePrinting.cs606
-rw-r--r--Mundus/Views/Windows/GameWindows/LargeGameWindow.cs2261
-rw-r--r--Mundus/Views/Windows/GameWindows/Medium/MediumButtonClickedEvents.cs1172
-rw-r--r--Mundus/Views/Windows/GameWindows/Medium/MediumLogic.cs331
-rw-r--r--Mundus/Views/Windows/GameWindows/Medium/MediumPrinting.cs456
-rw-r--r--Mundus/Views/Windows/GameWindows/MediumGameWindow.cs1549
-rw-r--r--Mundus/Views/Windows/GameWindows/Small/SmallButtonClickedEvents.cs701
-rw-r--r--Mundus/Views/Windows/GameWindows/Small/SmallLogic.cs274
-rw-r--r--Mundus/Views/Windows/GameWindows/Small/SmallPrinting.cs347
-rw-r--r--Mundus/Views/Windows/GameWindows/SmallGameWindow.cs970
-rw-r--r--Mundus/gtk-gui/Mundus.Views.Windows.SmallGameWindow.cs1722
-rw-r--r--Mundus/packages.config63
17 files changed, 7033 insertions, 5676 deletions
diff --git a/Mundus/Mundus.csproj b/Mundus/Mundus.csproj
index 8b371a8..1264034 100644
--- a/Mundus/Mundus.csproj
+++ b/Mundus/Mundus.csproj
@@ -170,6 +170,27 @@
<Reference Include="MySql.Data.EntityFrameworkCore">
<HintPath>..\packages\MySql.Data.EntityFrameworkCore.8.0.20\lib\netstandard2.0\MySql.Data.EntityFrameworkCore.dll</HintPath>
</Reference>
+ <Reference Include="Microsoft.IdentityModel.Logging">
+ <HintPath>..\packages\Microsoft.IdentityModel.Logging.6.5.1\lib\net461\Microsoft.IdentityModel.Logging.dll</HintPath>
+ </Reference>
+ <Reference Include="Microsoft.IdentityModel.Tokens">
+ <HintPath>..\packages\Microsoft.IdentityModel.Tokens.6.5.1\lib\net461\Microsoft.IdentityModel.Tokens.dll</HintPath>
+ </Reference>
+ <Reference Include="Microsoft.IdentityModel.JsonWebTokens">
+ <HintPath>..\packages\Microsoft.IdentityModel.JsonWebTokens.6.5.1\lib\net461\Microsoft.IdentityModel.JsonWebTokens.dll</HintPath>
+ </Reference>
+ <Reference Include="Microsoft.IdentityModel.Protocols">
+ <HintPath>..\packages\Microsoft.IdentityModel.Protocols.6.5.1\lib\net461\Microsoft.IdentityModel.Protocols.dll</HintPath>
+ </Reference>
+ <Reference Include="Newtonsoft.Json">
+ <HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
+ </Reference>
+ <Reference Include="System.IdentityModel.Tokens.Jwt">
+ <HintPath>..\packages\System.IdentityModel.Tokens.Jwt.6.5.1\lib\net461\System.IdentityModel.Tokens.Jwt.dll</HintPath>
+ </Reference>
+ <Reference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect">
+ <HintPath>..\packages\Microsoft.IdentityModel.Protocols.OpenIdConnect.6.5.1\lib\net461\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll</HintPath>
+ </Reference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="gtk-gui\gui.stetic">
@@ -280,9 +301,6 @@
<Compile Include="Service\Tiles\Items\Presets\StructurePresets.cs" />
<Compile Include="Service\Tiles\Items\Presets\ToolPresets.cs" />
<Compile Include="Views\Windows\GameWindows\IGameWindow.cs" />
- <Compile Include="Views\Windows\GameWindows\LargeGameWindow.cs" />
- <Compile Include="Views\Windows\GameWindows\MediumGameWindow.cs" />
- <Compile Include="Views\Windows\GameWindows\SmallGameWindow.cs" />
<Compile Include="Data\Crafting\CraftingTableContext.cs" />
<Compile Include="Data\DataBaseContexts.cs" />
<Compile Include="Data\SuperLayers\SkyContext.cs">
@@ -306,6 +324,15 @@
<Compile Include="Data\SuperLayers\DBTables\LMPlacedTile.cs" />
<Compile Include="Data\GameEventLogs\GameEventLog.cs" />
<Compile Include="Data\GameEventLogs\GameEventLogContext.cs" />
+ <Compile Include="Views\Windows\GameWindows\Small\SmallLogic.cs" />
+ <Compile Include="Views\Windows\GameWindows\Small\SmallPrinting.cs" />
+ <Compile Include="Views\Windows\GameWindows\Small\SmallButtonClickedEvents.cs" />
+ <Compile Include="Views\Windows\GameWindows\Medium\MediumLogic.cs" />
+ <Compile Include="Views\Windows\GameWindows\Medium\MediumButtonClickedEvents.cs" />
+ <Compile Include="Views\Windows\GameWindows\Medium\MediumPrinting.cs" />
+ <Compile Include="Views\Windows\GameWindows\Large\LargeLogic.cs" />
+ <Compile Include="Views\Windows\GameWindows\Large\LargeButtonClickedEvents.cs" />
+ <Compile Include="Views\Windows\GameWindows\Large\LargePrinting.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Service\" />
@@ -332,11 +359,14 @@
<Folder Include="Icons\UI\Hearth\" />
<Folder Include="Data\SuperLayers\DBTables\" />
<Folder Include="Data\GameEventLogs\" />
+ <Folder Include="Views\Windows\GameWindows\Small\" />
+ <Folder Include="Views\Windows\GameWindows\Medium\" />
+ <Folder Include="Views\Windows\GameWindows\Large\" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <Import Project="..\packages\Microsoft.Data.SqlClient.SNI.1.0.19235.1\build\net46\Microsoft.Data.SqlClient.SNI.targets" Condition="Exists('..\packages\Microsoft.Data.SqlClient.SNI.1.0.19235.1\build\net46\Microsoft.Data.SqlClient.SNI.targets')" />
+ <Import Project="..\packages\Microsoft.Data.SqlClient.SNI.1.1.1\build\net46\Microsoft.Data.SqlClient.SNI.targets" Condition="Exists('..\packages\Microsoft.Data.SqlClient.SNI.1.1.1\build\net46\Microsoft.Data.SqlClient.SNI.targets')" />
</Project> \ No newline at end of file
diff --git a/Mundus/Service/GameGenerator.cs b/Mundus/Service/GameGenerator.cs
index df89e21..17dba54 100644
--- a/Mundus/Service/GameGenerator.cs
+++ b/Mundus/Service/GameGenerator.cs
@@ -42,7 +42,7 @@ namespace Mundus.Service {
public static void GameWindowInitialize() {
WI.WPause.GameWindow = WI.SelWin;
- WI.SelWin.PrintScreen();
+ WI.SelWin.PrintWorldScreen();
WI.SelWin.PrintMainMenu();
WI.SelWin.Show();
}
diff --git a/Mundus/Views/Windows/GameWindows/IGameWindow.cs b/Mundus/Views/Windows/GameWindows/IGameWindow.cs
index f5225c9..c864fe9 100644
--- a/Mundus/Views/Windows/GameWindows/IGameWindow.cs
+++ b/Mundus/Views/Windows/GameWindows/IGameWindow.cs
@@ -13,7 +13,7 @@
void SetDefaults();
- void PrintScreen();
+ void PrintWorldScreen();
void PrintMap();
diff --git a/Mundus/Views/Windows/GameWindows/Large/LargeButtonClickedEvents.cs b/Mundus/Views/Windows/GameWindows/Large/LargeButtonClickedEvents.cs
new file mode 100644
index 0000000..e69e04c
--- /dev/null
+++ b/Mundus/Views/Windows/GameWindows/Large/LargeButtonClickedEvents.cs
@@ -0,0 +1,1782 @@
+namespace Mundus.Views.Windows
+{
+ using System;
+ using Mundus.Service;
+
+ public partial class LargeGameWindow
+ {
+ protected void OnBtnMapClicked(object sender, EventArgs e)
+ {
+ //Hide inv menu, if it is visible (so only one of the two is visible)
+ if (this.InvMenuIsVisible()) this.OnBtnInvClicked(this, null);
+
+ if (this.MapMenuIsVisible())
+ {
+ this.SetMapMenuVisibility(false);
+ }
+ else
+ {
+ this.PrintMap();
+ this.SetMapMenuVisibility(true);
+ }
+ }
+
+ protected void OnBtnInvClicked(object sender, EventArgs e)
+ {
+ //Hide map menu, if it is visible (so only one of the two is visible)
+ if (this.MapMenuIsVisible()) this.OnBtnMapClicked(this, null);
+
+ if (btnI1.Visible)
+ {
+ this.SetInvMenuVisibility(false);
+ }
+ else
+ {
+ this.PrintInventory();
+ this.SetInvMenuVisibility(true);
+ }
+ }
+
+ protected void OnBtnPauseClicked(object sender, EventArgs e)
+ {
+ // Note: pause window blocks player input
+ WindowController.ShowPauseWindow();
+ }
+
+ protected void OnBtnMusicClicked(object sender, EventArgs e)
+ {
+ WindowController.ShowMusicWindow();
+ }
+
+ protected void OnBtnCraftingClicked(object sender, EventArgs e)
+ {
+ WindowController.ShowCraftingWindow();
+ }
+
+ #region Screen buttons
+
+ protected void OnBtnP1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(1);
+ }
+ }
+
+ protected void OnBtnP2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(2);
+ }
+ }
+
+ protected void OnBtnP3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(3);
+ }
+ }
+
+ protected void OnBtnP4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(4);
+ }
+ }
+
+ protected void OnBtnP5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(5);
+ }
+ }
+
+ protected void OnBtnP6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(6);
+ }
+ }
+
+ protected void OnBtnP7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(7);
+ }
+ }
+
+ protected void OnBtnP8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(8);
+ }
+ }
+
+ protected void OnBtnP9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(9);
+ }
+ }
+
+ protected void OnBtnP10Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(10);
+ }
+ }
+
+ protected void OnBtnP11Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(11);
+ }
+ }
+
+ protected void OnBtnP12Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(12);
+ }
+ }
+
+ protected void OnBtnP13Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(13);
+ }
+ }
+
+ protected void OnBtnP14Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(14);
+ }
+ }
+
+ protected void OnBtnP15Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(15);
+ }
+ }
+
+ protected void OnBtnP16Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(16);
+ }
+ }
+
+ protected void OnBtnP17Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(17);
+ }
+ }
+
+ protected void OnBtnP18Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(18);
+ }
+ }
+
+ protected void OnBtnP19Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(19);
+ }
+ }
+
+ protected void OnBtnP20Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(20);
+ }
+ }
+
+ protected void OnBtnP21Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(21);
+ }
+ }
+
+ protected void OnBtnP22Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(22);
+ }
+ }
+
+ protected void OnBtnP23Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(23);
+ }
+ }
+
+ protected void OnBtnP24Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(24);
+ }
+ }
+
+ protected void OnBtnP25Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(25);
+ }
+ }
+
+ protected void OnBtnP26Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(26);
+ }
+ }
+
+ protected void OnBtnP27Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(27);
+ }
+ }
+
+ protected void OnBtnP28Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(28);
+ }
+ }
+
+ protected void OnBtnP29Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(29);
+ }
+ }
+
+ protected void OnBtnP30Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(30);
+ }
+ }
+
+ protected void OnBtnP31Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(31);
+ }
+ }
+
+ protected void OnBtnP32Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(32);
+ }
+ }
+
+ protected void OnBtnP33Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(33);
+ }
+ }
+
+ protected void OnBtnP34Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(34);
+ }
+ }
+
+ protected void OnBtnP35Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(35);
+ }
+ }
+
+ protected void OnBtnP36Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(36);
+ }
+ }
+
+ protected void OnBtnP37Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(37);
+ }
+ }
+
+ protected void OnBtnP38Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(38);
+ }
+ }
+
+ protected void OnBtnP39Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(39);
+ }
+ }
+
+ protected void OnBtnP40Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(40);
+ }
+ }
+
+ protected void OnBtnP41Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(41);
+ }
+ }
+
+ protected void OnBtnP42Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(42);
+ }
+ }
+
+ protected void OnBtnP43Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(43);
+ }
+ }
+
+ protected void OnBtnP44Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(44);
+ }
+ }
+
+ protected void OnBtnP45Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(45);
+ }
+ }
+
+ protected void OnBtnP46Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(46);
+ }
+ }
+
+ protected void OnBtnP47Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(47);
+ }
+ }
+
+ protected void OnBtnP48Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(48);
+ }
+ }
+
+ protected void OnBtnP49Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(49);
+ }
+ }
+
+ protected void OnBtnP50Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(50);
+ }
+ }
+
+ protected void OnBtnP51Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(51);
+ }
+ }
+
+ protected void OnBtnP52Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(52);
+ }
+ }
+
+ protected void OnBtnP53Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(53);
+ }
+ }
+
+ protected void OnBtnP54Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(54);
+ }
+ }
+
+ protected void OnBtnP55Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(55);
+ }
+ }
+
+ protected void OnBtnP56Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(56);
+ }
+ }
+
+ protected void OnBtnP57Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(57);
+ }
+ }
+
+ protected void OnBtnP58Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(58);
+ }
+ }
+
+ protected void OnBtnP59Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(59);
+ }
+ }
+
+ protected void OnBtnP60Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(60);
+ }
+ }
+
+ protected void OnBtnP61Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(61);
+ }
+ }
+
+ protected void OnBtnP62Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(62);
+ }
+ }
+
+ protected void OnBtnP63Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(63);
+ }
+ }
+
+ protected void OnBtnP64Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(64);
+ }
+ }
+
+ protected void OnBtnP65Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(65);
+ }
+ }
+
+ protected void OnBtnP66Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(66);
+ }
+ }
+
+ protected void OnBtnP67Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(67);
+ }
+ }
+
+ protected void OnBtnP68Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(68);
+ }
+ }
+
+ protected void OnBtnP69Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(69);
+ }
+ }
+
+ protected void OnBtnP70Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(70);
+ }
+ }
+
+ protected void OnBtnP71Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(71);
+ }
+ }
+
+ protected void OnBtnP72Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(72);
+ }
+ }
+
+ protected void OnBtnP73Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(73);
+ }
+ }
+
+ protected void OnBtnP74Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(74);
+ }
+ }
+
+ protected void OnBtnP75Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(75);
+ }
+ }
+
+ protected void OnBtnP76Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(76);
+ }
+ }
+
+ protected void OnBtnP77Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(77);
+ }
+ }
+
+ protected void OnBtnP78Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(78);
+ }
+ }
+
+ protected void OnBtnP79Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(79);
+ }
+ }
+
+ protected void OnBtnP80Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(80);
+ }
+ }
+
+ protected void OnBtnP81Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(81);
+ }
+ }
+
+ #endregion
+
+ #region Hotbar buttons
+
+ protected void OnBtnH1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 0);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 1);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 2);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 3);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 4);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 5);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 6);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 7);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 8);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnLogClicked(object sender, EventArgs e)
+ {
+ WindowController.ShowLogWindow();
+ }
+
+ #endregion
+
+ #region Inventory (items) buttons
+
+ protected void OnBtnI1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 0);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 1);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 2);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 3);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 4);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 5);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 6);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 7);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 8);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI10Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 9);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI11Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 10);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI12Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 11);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI13Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 12);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI14Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 13);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI15Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 14);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI16Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 15);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI17Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 16);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI18Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 17);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI19Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 18);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI20Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 19);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI21Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 20);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI22Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 21);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI23Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 22);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI24Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 23);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI25Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 24);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI26Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 25);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI27Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 26);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI28Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 27);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI29Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 28);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI30Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 29);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI31Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 30);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI32Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 31);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI33Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 32);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI34Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 33);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI35Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 34);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI36Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 35);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI37Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 36);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI38Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 37);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI39Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 38);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI40Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 39);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI41Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 40);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI42Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 41);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI43Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 42);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI44Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 43);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI45Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 44);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI46Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 45);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI47Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 46);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI48Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 47);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI49Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 48);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI50Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 49);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI51Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 50);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI52Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 51);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI53Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 52);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI54Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 53);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI55Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 54);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI56Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 55);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI57Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 56);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI58Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 57);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI59Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 58);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI60Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 59);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI61Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 60);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI62Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 61);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI63Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 62);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI64Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 63);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI65Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 64);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI66Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 65);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI67Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 66);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI68Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 67);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI69Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 68);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI70Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 69);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI71Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 70);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI72Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 71);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI73Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 72);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI74Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 73);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI75Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 74);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI76Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 75);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI77Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 76);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI78Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 77);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI79Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 78);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI80Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 79);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI81Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 80);
+ this.PrintInventory();
+ }
+ }
+
+ #endregion
+
+ #region Accessories buttons
+
+ protected void OnBtnA1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 0);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 1);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 2);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 3);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 4);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 5);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 6);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 7);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 8);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA10Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 9);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA11Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 10);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA12Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 11);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA13Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 12);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA14Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 13);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA15Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 14);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA16Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 15);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA17Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 16);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA18Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 17);
+ this.PrintInventory();
+ }
+ }
+
+ #endregion
+
+ #region Gear buttons
+
+ protected void OnBtnG1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 0);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 1);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 2);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 3);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 4);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 5);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 6);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 7);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 8);
+ this.PrintInventory();
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/Mundus/Views/Windows/GameWindows/Large/LargeLogic.cs b/Mundus/Views/Windows/GameWindows/Large/LargeLogic.cs
new file mode 100644
index 0000000..a4aef01
--- /dev/null
+++ b/Mundus/Views/Windows/GameWindows/Large/LargeLogic.cs
@@ -0,0 +1,433 @@
+namespace Mundus.Views.Windows {
+ using Gtk;
+ using Mundus.Service;
+ using Mundus.Service.Tiles.Items;
+ using Mundus.Service.Tiles.Mobs;
+ using Mundus.Service.Tiles.Mobs.Controllers;
+
+ public partial class LargeGameWindow : Gtk.Window, IGameWindow
+ {
+ /// <summary>
+ /// TODO: Make it an enum
+ /// Saves the place from which the player has selected an item
+ /// Must be either: "hotbar", "items", "accessories" or "gear"
+ /// </summary>
+ private string selPlace = null;
+
+ /// <summary>
+ /// Saves the index of the selected item
+ /// </summary>
+ private int selIndex = -1;
+
+ public LargeGameWindow() : base(Gtk.WindowType.Toplevel)
+ {
+ this.Build();
+ }
+
+ /// <summary>
+ /// Gets value for the height and width of the game screen, map screens and inventory screen
+ /// and the width of stats, hotbar, accessories, gear and items on the ground menus
+ /// </summary>
+ public int Size { get; private set; }
+
+ public void OnDeleteEvent(object o, DeleteEventArgs args)
+ {
+ Application.Quit();
+ }
+
+ public void SetDefaults()
+ {
+ this.Size = 9;
+ this.SetMapMenuVisibility(false);
+ this.SetInvMenuVisibility(false);
+ }
+
+ private void SelectItem(string place, int index)
+ {
+ if (this.HasSelection())
+ {
+ this.ResetSelection();
+ SwitchItems.ReplaceItems(place, index);
+ }
+ else
+ {
+ this.selPlace = place;
+ this.selIndex = index;
+ SwitchItems.SetOrigin(place, index);
+ }
+
+ this.PrintMainMenu();
+ this.PrintInventory();
+ }
+
+ private void React(int button)
+ {
+ int buttonYPos = (button - 1) / this.Size;
+ int buttonXPos = (button - (buttonYPos * this.Size)) - 1;
+
+ int mapXPos = Calculate.CalculateXFromButton(buttonXPos, this.Size);
+ int mapYPos = Calculate.CalculateYFromButton(buttonYPos, this.Size);
+
+ if (!this.HasSelection())
+ {
+ MobMovement.MovePlayer(mapYPos, mapXPos, this.Size);
+ MobMovement.MoveRandomlyAllMobs();
+ }
+ else
+ {
+ if (Inventory.GetPlayerItem(this.selPlace, this.selIndex) != null)
+ {
+ if (MobFighting.ExistsFightTargetForPlayer(mapYPos, mapXPos))
+ {
+ MobFighting.PlayerTryFight(this.selPlace, this.selIndex, mapYPos, mapXPos);
+ }
+ else
+ {
+ MobTerraforming.PlayerTerraformAt(mapYPos, mapXPos, this.selPlace, this.selIndex);
+ }
+ }
+
+ this.ResetSelection();
+ }
+
+ this.PrintWorldScreen();
+ this.PrintMainMenu();
+
+ if (this.MapMenuIsVisible())
+ {
+ this.PrintMap();
+ }
+ else if (this.InvMenuIsVisible())
+ {
+ this.PrintInventory();
+ }
+ }
+
+ private void ResetSelection()
+ {
+ this.selPlace = null;
+ this.selIndex = -1;
+ }
+
+ private bool HasSelection()
+ {
+ return this.selPlace != null;
+ }
+
+ private bool InvMenuIsVisible()
+ {
+ return btnI1.Visible;
+ }
+
+ private bool MapMenuIsVisible()
+ {
+ return imgG1.Visible;
+ }
+
+ /// <summary>
+ /// The map menu is the left menu with the grond layer, structure layer, coordinates, superlayer and "ground above player" items
+ /// </summary>
+ private void SetMapMenuVisibility(bool isVisible)
+ {
+ lblGroundLayer.Visible = isVisible;
+ imgG1.Visible = isVisible;
+ imgG2.Visible = isVisible;
+ imgG3.Visible = isVisible;
+ imgG4.Visible = isVisible;
+ imgG5.Visible = isVisible;
+ imgG6.Visible = isVisible;
+ imgG7.Visible = isVisible;
+ imgG8.Visible = isVisible;
+ imgG9.Visible = isVisible;
+ imgG10.Visible = isVisible;
+ imgG11.Visible = isVisible;
+ imgG12.Visible = isVisible;
+ imgG13.Visible = isVisible;
+ imgG14.Visible = isVisible;
+ imgG15.Visible = isVisible;
+ imgG16.Visible = isVisible;
+ imgG17.Visible = isVisible;
+ imgG18.Visible = isVisible;
+ imgG19.Visible = isVisible;
+ imgG20.Visible = isVisible;
+ imgG21.Visible = isVisible;
+ imgG22.Visible = isVisible;
+ imgG23.Visible = isVisible;
+ imgG24.Visible = isVisible;
+ imgG25.Visible = isVisible;
+ imgG26.Visible = isVisible;
+ imgG27.Visible = isVisible;
+ imgG28.Visible = isVisible;
+ imgG29.Visible = isVisible;
+ imgG30.Visible = isVisible;
+ imgG31.Visible = isVisible;
+ imgG32.Visible = isVisible;
+ imgG33.Visible = isVisible;
+ imgG34.Visible = isVisible;
+ imgG35.Visible = isVisible;
+ imgG36.Visible = isVisible;
+ imgG37.Visible = isVisible;
+ imgG38.Visible = isVisible;
+ imgG39.Visible = isVisible;
+ imgG40.Visible = isVisible;
+ imgG41.Visible = isVisible;
+ imgG42.Visible = isVisible;
+ imgG43.Visible = isVisible;
+ imgG44.Visible = isVisible;
+ imgG45.Visible = isVisible;
+ imgG46.Visible = isVisible;
+ imgG47.Visible = isVisible;
+ imgG48.Visible = isVisible;
+ imgG49.Visible = isVisible;
+ imgG50.Visible = isVisible;
+ imgG51.Visible = isVisible;
+ imgG52.Visible = isVisible;
+ imgG53.Visible = isVisible;
+ imgG54.Visible = isVisible;
+ imgG55.Visible = isVisible;
+ imgG56.Visible = isVisible;
+ imgG57.Visible = isVisible;
+ imgG58.Visible = isVisible;
+ imgG59.Visible = isVisible;
+ imgG60.Visible = isVisible;
+ imgG61.Visible = isVisible;
+ imgG62.Visible = isVisible;
+ imgG63.Visible = isVisible;
+ imgG64.Visible = isVisible;
+ imgG65.Visible = isVisible;
+ imgG66.Visible = isVisible;
+ imgG67.Visible = isVisible;
+ imgG68.Visible = isVisible;
+ imgG69.Visible = isVisible;
+ imgG70.Visible = isVisible;
+ imgG71.Visible = isVisible;
+ imgG72.Visible = isVisible;
+ imgG73.Visible = isVisible;
+ imgG74.Visible = isVisible;
+ imgG75.Visible = isVisible;
+ imgG76.Visible = isVisible;
+ imgG77.Visible = isVisible;
+ imgG78.Visible = isVisible;
+ imgG79.Visible = isVisible;
+ imgG80.Visible = isVisible;
+ imgG81.Visible = isVisible;
+
+ lblSuperLayer.Visible = isVisible;
+ lblCoord1.Visible = isVisible;
+ lblCoord2.Visible = isVisible;
+
+ lblItemLayer.Visible = isVisible;
+ imgI1.Visible = isVisible;
+ imgI2.Visible = isVisible;
+ imgI3.Visible = isVisible;
+ imgI4.Visible = isVisible;
+ imgI5.Visible = isVisible;
+ imgI6.Visible = isVisible;
+ imgI7.Visible = isVisible;
+ imgI8.Visible = isVisible;
+ imgI9.Visible = isVisible;
+ imgI10.Visible = isVisible;
+ imgI11.Visible = isVisible;
+ imgI12.Visible = isVisible;
+ imgI13.Visible = isVisible;
+ imgI14.Visible = isVisible;
+ imgI15.Visible = isVisible;
+ imgI16.Visible = isVisible;
+ imgI17.Visible = isVisible;
+ imgI18.Visible = isVisible;
+ imgI19.Visible = isVisible;
+ imgI20.Visible = isVisible;
+ imgI21.Visible = isVisible;
+ imgI22.Visible = isVisible;
+ imgI23.Visible = isVisible;
+ imgI24.Visible = isVisible;
+ imgI25.Visible = isVisible;
+ imgI26.Visible = isVisible;
+ imgI27.Visible = isVisible;
+ imgI28.Visible = isVisible;
+ imgI29.Visible = isVisible;
+ imgI30.Visible = isVisible;
+ imgI31.Visible = isVisible;
+ imgI32.Visible = isVisible;
+ imgI33.Visible = isVisible;
+ imgI34.Visible = isVisible;
+ imgI35.Visible = isVisible;
+ imgI36.Visible = isVisible;
+ imgI37.Visible = isVisible;
+ imgI38.Visible = isVisible;
+ imgI39.Visible = isVisible;
+ imgI40.Visible = isVisible;
+ imgI41.Visible = isVisible;
+ imgI42.Visible = isVisible;
+ imgI43.Visible = isVisible;
+ imgI44.Visible = isVisible;
+ imgI45.Visible = isVisible;
+ imgI46.Visible = isVisible;
+ imgI47.Visible = isVisible;
+ imgI48.Visible = isVisible;
+ imgI49.Visible = isVisible;
+ imgI50.Visible = isVisible;
+ imgI51.Visible = isVisible;
+ imgI52.Visible = isVisible;
+ imgI53.Visible = isVisible;
+ imgI54.Visible = isVisible;
+ imgI55.Visible = isVisible;
+ imgI56.Visible = isVisible;
+ imgI57.Visible = isVisible;
+ imgI58.Visible = isVisible;
+ imgI59.Visible = isVisible;
+ imgI60.Visible = isVisible;
+ imgI61.Visible = isVisible;
+ imgI62.Visible = isVisible;
+ imgI63.Visible = isVisible;
+ imgI64.Visible = isVisible;
+ imgI65.Visible = isVisible;
+ imgI66.Visible = isVisible;
+ imgI67.Visible = isVisible;
+ imgI68.Visible = isVisible;
+ imgI69.Visible = isVisible;
+ imgI70.Visible = isVisible;
+ imgI71.Visible = isVisible;
+ imgI72.Visible = isVisible;
+ imgI73.Visible = isVisible;
+ imgI74.Visible = isVisible;
+ imgI75.Visible = isVisible;
+ imgI76.Visible = isVisible;
+ imgI77.Visible = isVisible;
+ imgI78.Visible = isVisible;
+ imgI79.Visible = isVisible;
+ imgI80.Visible = isVisible;
+ imgI81.Visible = isVisible;
+
+ lblHoleMsg.Visible = isVisible;
+ lblHoleOnTop.Visible = isVisible;
+
+ lblBlank6.Visible = isVisible;
+ }
+
+ /// <summary>
+ /// The inventory menu is the right menu with the items, accessories, gear incentories, item info and crafting button
+ /// </summary>
+ private void SetInvMenuVisibility(bool isVisible)
+ {
+ btnI1.Visible = isVisible;
+ btnI2.Visible = isVisible;
+ btnI3.Visible = isVisible;
+ btnI4.Visible = isVisible;
+ btnI5.Visible = isVisible;
+ btnI6.Visible = isVisible;
+ btnI7.Visible = isVisible;
+ btnI8.Visible = isVisible;
+ btnI9.Visible = isVisible;
+ btnI10.Visible = isVisible;
+ btnI11.Visible = isVisible;
+ btnI12.Visible = isVisible;
+ btnI13.Visible = isVisible;
+ btnI14.Visible = isVisible;
+ btnI15.Visible = isVisible;
+ btnI16.Visible = isVisible;
+ btnI17.Visible = isVisible;
+ btnI18.Visible = isVisible;
+ btnI19.Visible = isVisible;
+ btnI20.Visible = isVisible;
+ btnI21.Visible = isVisible;
+ btnI22.Visible = isVisible;
+ btnI23.Visible = isVisible;
+ btnI24.Visible = isVisible;
+ btnI25.Visible = isVisible;
+ btnI26.Visible = isVisible;
+ btnI27.Visible = isVisible;
+ btnI28.Visible = isVisible;
+ btnI29.Visible = isVisible;
+ btnI30.Visible = isVisible;
+ btnI31.Visible = isVisible;
+ btnI32.Visible = isVisible;
+ btnI33.Visible = isVisible;
+ btnI34.Visible = isVisible;
+ btnI35.Visible = isVisible;
+ btnI36.Visible = isVisible;
+ btnI37.Visible = isVisible;
+ btnI38.Visible = isVisible;
+ btnI39.Visible = isVisible;
+ btnI40.Visible = isVisible;
+ btnI41.Visible = isVisible;
+ btnI42.Visible = isVisible;
+ btnI43.Visible = isVisible;
+ btnI44.Visible = isVisible;
+ btnI45.Visible = isVisible;
+ btnI46.Visible = isVisible;
+ btnI47.Visible = isVisible;
+ btnI48.Visible = isVisible;
+ btnI49.Visible = isVisible;
+ btnI50.Visible = isVisible;
+ btnI51.Visible = isVisible;
+ btnI52.Visible = isVisible;
+ btnI53.Visible = isVisible;
+ btnI54.Visible = isVisible;
+ btnI55.Visible = isVisible;
+ btnI56.Visible = isVisible;
+ btnI57.Visible = isVisible;
+ btnI58.Visible = isVisible;
+ btnI59.Visible = isVisible;
+ btnI60.Visible = isVisible;
+ btnI61.Visible = isVisible;
+ btnI62.Visible = isVisible;
+ btnI63.Visible = isVisible;
+ btnI64.Visible = isVisible;
+ btnI65.Visible = isVisible;
+ btnI66.Visible = isVisible;
+ btnI67.Visible = isVisible;
+ btnI68.Visible = isVisible;
+ btnI69.Visible = isVisible;
+ btnI70.Visible = isVisible;
+ btnI71.Visible = isVisible;
+ btnI72.Visible = isVisible;
+ btnI73.Visible = isVisible;
+ btnI74.Visible = isVisible;
+ btnI75.Visible = isVisible;
+ btnI76.Visible = isVisible;
+ btnI77.Visible = isVisible;
+ btnI78.Visible = isVisible;
+ btnI79.Visible = isVisible;
+ btnI80.Visible = isVisible;
+ btnI81.Visible = isVisible;
+ btnCrafting.Visible = isVisible;
+
+ lblAccessories.Visible = isVisible;
+ btnA1.Visible = isVisible;
+ btnA2.Visible = isVisible;
+ btnA3.Visible = isVisible;
+ btnA4.Visible = isVisible;
+ btnA5.Visible = isVisible;
+ btnA6.Visible = isVisible;
+ btnA7.Visible = isVisible;
+ btnA8.Visible = isVisible;
+ btnA9.Visible = isVisible;
+ btnA10.Visible = isVisible;
+ btnA11.Visible = isVisible;
+ btnA12.Visible = isVisible;
+ btnA13.Visible = isVisible;
+ btnA14.Visible = isVisible;
+ btnA15.Visible = isVisible;
+ btnA16.Visible = isVisible;
+ btnA17.Visible = isVisible;
+ btnA18.Visible = isVisible;
+
+ lblGear.Visible = isVisible;
+ btnG1.Visible = isVisible;
+ btnG2.Visible = isVisible;
+ btnG3.Visible = isVisible;
+ btnG4.Visible = isVisible;
+ btnG5.Visible = isVisible;
+ btnG6.Visible = isVisible;
+ btnG7.Visible = isVisible;
+ btnG8.Visible = isVisible;
+ btnG9.Visible = isVisible;
+
+ imgInfo.Visible = isVisible;
+ lblInfo.Visible = isVisible;
+
+ lblBlank6.Visible = isVisible;
+ }
+ }
+}
diff --git a/Mundus/Views/Windows/GameWindows/Large/LargePrinting.cs b/Mundus/Views/Windows/GameWindows/Large/LargePrinting.cs
new file mode 100644
index 0000000..fce9ad6
--- /dev/null
+++ b/Mundus/Views/Windows/GameWindows/Large/LargePrinting.cs
@@ -0,0 +1,606 @@
+namespace Mundus.Views.Windows
+{
+ using Gtk;
+ using Mundus.Service;
+ using Mundus.Service.SuperLayers;
+ using Mundus.Service.Tiles.Items;
+ using Mundus.Service.Tiles.Mobs.Controllers;
+
+ public partial class LargeGameWindow
+ {
+ public void PrintWorldScreen()
+ {
+ for (int layer = 0; layer < 3; layer++)
+ {
+ for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), btn = 1; row <= maxY; row++)
+ {
+ for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, btn++)
+ {
+ Image img = ImageController.GetScreenImage(row, col, layer);
+
+ if (img == null)
+ {
+ continue;
+ }
+
+ switch (btn)
+ {
+ case 1: btnP1.Image = img; break;
+ case 2: btnP2.Image = img; break;
+ case 3: btnP3.Image = img; break;
+ case 4: btnP4.Image = img; break;
+ case 5: btnP5.Image = img; break;
+ case 6: btnP6.Image = img; break;
+ case 7: btnP7.Image = img; break;
+ case 8: btnP8.Image = img; break;
+ case 9: btnP9.Image = img; break;
+ case 10: btnP10.Image = img; break;
+ case 11: btnP11.Image = img; break;
+ case 12: btnP12.Image = img; break;
+ case 13: btnP13.Image = img; break;
+ case 14: btnP14.Image = img; break;
+ case 15: btnP15.Image = img; break;
+ case 16: btnP16.Image = img; break;
+ case 17: btnP17.Image = img; break;
+ case 18: btnP18.Image = img; break;
+ case 19: btnP19.Image = img; break;
+ case 20: btnP20.Image = img; break;
+ case 21: btnP21.Image = img; break;
+ case 22: btnP22.Image = img; break;
+ case 23: btnP23.Image = img; break;
+ case 24: btnP24.Image = img; break;
+ case 25: btnP25.Image = img; break;
+ case 26: btnP26.Image = img; break;
+ case 27: btnP27.Image = img; break;
+ case 28: btnP28.Image = img; break;
+ case 29: btnP29.Image = img; break;
+ case 30: btnP30.Image = img; break;
+ case 31: btnP31.Image = img; break;
+ case 32: btnP32.Image = img; break;
+ case 33: btnP33.Image = img; break;
+ case 34: btnP34.Image = img; break;
+ case 35: btnP35.Image = img; break;
+ case 36: btnP36.Image = img; break;
+ case 37: btnP37.Image = img; break;
+ case 38: btnP38.Image = img; break;
+ case 39: btnP39.Image = img; break;
+ case 40: btnP40.Image = img; break;
+ case 41: btnP41.Image = img; break;
+ case 42: btnP42.Image = img; break;
+ case 43: btnP43.Image = img; break;
+ case 44: btnP44.Image = img; break;
+ case 45: btnP45.Image = img; break;
+ case 46: btnP46.Image = img; break;
+ case 47: btnP47.Image = img; break;
+ case 48: btnP48.Image = img; break;
+ case 49: btnP49.Image = img; break;
+ case 50: btnP50.Image = img; break;
+ case 51: btnP51.Image = img; break;
+ case 52: btnP52.Image = img; break;
+ case 53: btnP53.Image = img; break;
+ case 54: btnP54.Image = img; break;
+ case 55: btnP55.Image = img; break;
+ case 56: btnP56.Image = img; break;
+ case 57: btnP57.Image = img; break;
+ case 58: btnP58.Image = img; break;
+ case 59: btnP59.Image = img; break;
+ case 60: btnP60.Image = img; break;
+ case 61: btnP61.Image = img; break;
+ case 62: btnP62.Image = img; break;
+ case 63: btnP63.Image = img; break;
+ case 64: btnP64.Image = img; break;
+ case 65: btnP65.Image = img; break;
+ case 66: btnP66.Image = img; break;
+ case 67: btnP67.Image = img; break;
+ case 68: btnP68.Image = img; break;
+ case 69: btnP69.Image = img; break;
+ case 70: btnP70.Image = img; break;
+ case 71: btnP71.Image = img; break;
+ case 72: btnP72.Image = img; break;
+ case 73: btnP73.Image = img; break;
+ case 74: btnP74.Image = img; break;
+ case 75: btnP75.Image = img; break;
+ case 76: btnP76.Image = img; break;
+ case 77: btnP77.Image = img; break;
+ case 78: btnP78.Image = img; break;
+ case 79: btnP79.Image = img; break;
+ case 80: btnP80.Image = img; break;
+ case 81: btnP81.Image = img; break;
+ }
+ }
+ }
+ }
+ }
+
+ /// <summary>
+ /// Prints the energy, health and hot bars and log
+ /// </summary>
+ public void PrintMainMenu()
+ {
+ this.PrintEnergyBar();
+ this.PrintHealthBar();
+ this.PrintHotBar();
+ this.PrintLog();
+ }
+
+ /// <summary>
+ /// Prints the inventory (items, accessories and gear)
+ /// </summary>
+ public void PrintInventory()
+ {
+ this.PrintItemsInventory();
+ this.PrintAccessoriesInventory();
+ this.PrintGearInventory();
+ }
+
+ /// <summary>
+ /// Prints the information that is avalable for the given item
+ /// </summary>
+ public void PrintSelectedItemInfo(ItemTile itemTile)
+ {
+ if (itemTile != null)
+ {
+ imgInfo.SetFromStock(itemTile.stock_id, IconSize.Dnd);
+ lblInfo.Text = itemTile.ToString();
+ }
+ else
+ {
+ imgInfo.SetFromImage(null, null);
+ lblInfo.Text = null;
+ }
+ }
+
+ /// <summary>
+ /// Prints the map menu items (ground layer, structure layer, coordinates, current superlayer, there is hole on top of player)
+ /// </summary>
+ public void PrintMap()
+ {
+ this.PrintGroundLayerMap();
+
+ lblSuperLayer.Text = MobStatsController.GetPlayerSuperLayerName();
+ lblCoord1.Text = "X: " + MobStatsController.GetPlayerXCoord();
+ lblCoord2.Text = "Y: " + MobStatsController.GetPlayerYCoord();
+
+ this.PrintStructureLayerMap();
+
+ lblHoleOnTop.Text = MobStatsController.ExistsHoleOnTopOfPlayer() + string.Empty;
+ }
+
+ #region Main menu
+
+ private void PrintEnergyBar()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ string iconName = MobStatsController.GetPlayerEnergyStock(i);
+
+ switch (i)
+ {
+ case 0: imgS1.SetFromStock(iconName, IconSize.Dnd); break;
+ case 1: imgS2.SetFromStock(iconName, IconSize.Dnd); break;
+ case 2: imgS3.SetFromStock(iconName, IconSize.Dnd); break;
+ case 3: imgS4.SetFromStock(iconName, IconSize.Dnd); break;
+ case 4: imgS5.SetFromStock(iconName, IconSize.Dnd); break;
+ case 5: imgS6.SetFromStock(iconName, IconSize.Dnd); break;
+ case 6: imgS7.SetFromStock(iconName, IconSize.Dnd); break;
+ case 7: imgS8.SetFromStock(iconName, IconSize.Dnd); break;
+ case 8: imgS9.SetFromStock(iconName, IconSize.Dnd); break;
+ }
+ }
+ }
+
+ private void PrintHealthBar()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ string iconName = MobStatsController.GetPlayerHearthStock(i);
+
+ switch (i)
+ {
+ case 0: imgS10.SetFromStock(iconName, IconSize.Dnd); break;
+ case 1: imgS11.SetFromStock(iconName, IconSize.Dnd); break;
+ case 2: imgS12.SetFromStock(iconName, IconSize.Dnd); break;
+ case 3: imgS13.SetFromStock(iconName, IconSize.Dnd); break;
+ case 4: imgS14.SetFromStock(iconName, IconSize.Dnd); break;
+ case 5: imgS15.SetFromStock(iconName, IconSize.Dnd); break;
+ case 6: imgS16.SetFromStock(iconName, IconSize.Dnd); break;
+ case 7: imgS17.SetFromStock(iconName, IconSize.Dnd); break;
+ case 8: imgS18.SetFromStock(iconName, IconSize.Dnd); break;
+ }
+ }
+ }
+
+ private void PrintHotBar()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ Image img = ImageController.GetPlayerHotbarImage(i);
+
+ switch (i)
+ {
+ case 0: btnH1.Image = img; break;
+ case 1: btnH2.Image = img; break;
+ case 2: btnH3.Image = img; break;
+ case 3: btnH4.Image = img; break;
+ case 4: btnH5.Image = img; break;
+ case 5: btnH6.Image = img; break;
+ case 6: btnH7.Image = img; break;
+ case 7: btnH8.Image = img; break;
+ case 8: btnH9.Image = img; break;
+ }
+ }
+ }
+
+ private void PrintLog()
+ {
+ for (int i = 0, msgIndex = GameEventLogController.GetCount() - 1; i < Size; msgIndex--, i++)
+ {
+ string msg = GameEventLogController.GetMessagage(msgIndex);
+
+ switch (i)
+ {
+ case 0: lblLog1.Text = msg; break;
+ case 1: lblLog2.Text = msg; break;
+ case 2: lblLog3.Text = msg; break;
+ case 3: lblLog4.Text = msg; break;
+ case 4: lblLog5.Text = msg; break;
+ case 5: lblLog6.Text = msg; break;
+ case 7: lblLog7.Text = msg; break;
+ case 8: lblLog8.Text = msg; break;
+ }
+ }
+ }
+
+ #endregion
+
+ #region Invenory
+
+ private void PrintItemsInventory()
+ {
+ for (int row = 0; row < Size; row++)
+ {
+ for (int col = 0; col < Size; col++)
+ {
+ Image img = ImageController.GetPlayerInventoryItemImage((row * Size) + col);
+
+ switch ((row * Size) + col + 1)
+ {
+ case 1: btnI1.Image = img; break;
+ case 2: btnI2.Image = img; break;
+ case 3: btnI3.Image = img; break;
+ case 4: btnI4.Image = img; break;
+ case 5: btnI5.Image = img; break;
+ case 6: btnI6.Image = img; break;
+ case 7: btnI7.Image = img; break;
+ case 8: btnI8.Image = img; break;
+ case 9: btnI9.Image = img; break;
+ case 10: btnI10.Image = img; break;
+ case 11: btnI11.Image = img; break;
+ case 12: btnI12.Image = img; break;
+ case 13: btnI13.Image = img; break;
+ case 14: btnI14.Image = img; break;
+ case 15: btnI15.Image = img; break;
+ case 16: btnI16.Image = img; break;
+ case 17: btnI17.Image = img; break;
+ case 18: btnI18.Image = img; break;
+ case 19: btnI19.Image = img; break;
+ case 20: btnI20.Image = img; break;
+ case 21: btnI21.Image = img; break;
+ case 22: btnI22.Image = img; break;
+ case 23: btnI23.Image = img; break;
+ case 24: btnI24.Image = img; break;
+ case 25: btnI25.Image = img; break;
+ case 26: btnI26.Image = img; break;
+ case 27: btnI27.Image = img; break;
+ case 28: btnI28.Image = img; break;
+ case 29: btnI29.Image = img; break;
+ case 30: btnI30.Image = img; break;
+ case 31: btnI31.Image = img; break;
+ case 32: btnI32.Image = img; break;
+ case 33: btnI33.Image = img; break;
+ case 34: btnI34.Image = img; break;
+ case 35: btnI35.Image = img; break;
+ case 36: btnI36.Image = img; break;
+ case 37: btnI37.Image = img; break;
+ case 38: btnI38.Image = img; break;
+ case 39: btnI39.Image = img; break;
+ case 40: btnI40.Image = img; break;
+ case 41: btnI41.Image = img; break;
+ case 42: btnI42.Image = img; break;
+ case 43: btnI43.Image = img; break;
+ case 44: btnI44.Image = img; break;
+ case 45: btnI45.Image = img; break;
+ case 46: btnI46.Image = img; break;
+ case 47: btnI47.Image = img; break;
+ case 48: btnI48.Image = img; break;
+ case 49: btnI49.Image = img; break;
+ case 50: btnI50.Image = img; break;
+ case 51: btnI51.Image = img; break;
+ case 52: btnI52.Image = img; break;
+ case 53: btnI53.Image = img; break;
+ case 54: btnI54.Image = img; break;
+ case 55: btnI55.Image = img; break;
+ case 56: btnI56.Image = img; break;
+ case 57: btnI57.Image = img; break;
+ case 58: btnI58.Image = img; break;
+ case 59: btnI59.Image = img; break;
+ case 60: btnI60.Image = img; break;
+ case 61: btnI61.Image = img; break;
+ case 62: btnI62.Image = img; break;
+ case 63: btnI63.Image = img; break;
+ case 64: btnI64.Image = img; break;
+ case 65: btnI65.Image = img; break;
+ case 66: btnI66.Image = img; break;
+ case 67: btnI67.Image = img; break;
+ case 68: btnI68.Image = img; break;
+ case 69: btnI69.Image = img; break;
+ case 70: btnI70.Image = img; break;
+ case 71: btnI71.Image = img; break;
+ case 72: btnI72.Image = img; break;
+ case 73: btnI73.Image = img; break;
+ case 74: btnI74.Image = img; break;
+ case 75: btnI75.Image = img; break;
+ case 76: btnI76.Image = img; break;
+ case 77: btnI77.Image = img; break;
+ case 78: btnI78.Image = img; break;
+ case 79: btnI79.Image = img; break;
+ case 80: btnI80.Image = img; break;
+ case 81: btnI81.Image = img; break;
+ }
+ }
+ }
+ }
+
+ private void PrintAccessoriesInventory()
+ {
+ for (int row = 0; row < 2; row++)
+ {
+ for (int col = 0; col < Size; col++)
+ {
+ Image img = ImageController.GetPlayerAccessoryImage((row * Size) + col);
+
+ switch ((row * Size) + col + 1)
+ {
+ case 1: btnA1.Image = img; break;
+ case 2: btnA2.Image = img; break;
+ case 3: btnA3.Image = img; break;
+ case 4: btnA4.Image = img; break;
+ case 5: btnA5.Image = img; break;
+ case 6: btnA6.Image = img; break;
+ case 7: btnA7.Image = img; break;
+ case 8: btnA8.Image = img; break;
+ case 9: btnA9.Image = img; break;
+ case 10: btnA10.Image = img; break;
+ case 11: btnA11.Image = img; break;
+ case 12: btnA12.Image = img; break;
+ case 13: btnA13.Image = img; break;
+ case 14: btnA14.Image = img; break;
+ case 15: btnA15.Image = img; break;
+ case 16: btnA16.Image = img; break;
+ case 17: btnA17.Image = img; break;
+ case 18: btnA18.Image = img; break;
+ }
+ }
+ }
+ }
+
+ private void PrintGearInventory()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ Image img = ImageController.GetPlayerGearImage(i);
+
+ switch (i + 1)
+ {
+ case 1: btnG1.Image = img; break;
+ case 2: btnG2.Image = img; break;
+ case 3: btnG3.Image = img; break;
+ case 4: btnG4.Image = img; break;
+ case 5: btnG5.Image = img; break;
+ case 6: btnG6.Image = img; break;
+ case 7: btnG7.Image = img; break;
+ case 8: btnG8.Image = img; break;
+ case 9: btnG9.Image = img; break;
+ }
+ }
+ }
+
+ #endregion
+
+ #region Map
+
+ private void PrintGroundLayerMap()
+ {
+ for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++)
+ {
+ for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++)
+ {
+ string stockName = ImageController.GetPlayerGroundImage(row, col).Stock;
+
+ switch (img)
+ {
+ case 1: imgG1.SetFromStock(stockName, IconSize.Dnd); break;
+ case 2: imgG2.SetFromStock(stockName, IconSize.Dnd); break;
+ case 3: imgG3.SetFromStock(stockName, IconSize.Dnd); break;
+ case 4: imgG4.SetFromStock(stockName, IconSize.Dnd); break;
+ case 5: imgG5.SetFromStock(stockName, IconSize.Dnd); break;
+ case 6: imgG6.SetFromStock(stockName, IconSize.Dnd); break;
+ case 7: imgG7.SetFromStock(stockName, IconSize.Dnd); break;
+ case 8: imgG8.SetFromStock(stockName, IconSize.Dnd); break;
+ case 9: imgG9.SetFromStock(stockName, IconSize.Dnd); break;
+ case 10: imgG10.SetFromStock(stockName, IconSize.Dnd); break;
+ case 11: imgG11.SetFromStock(stockName, IconSize.Dnd); break;
+ case 12: imgG12.SetFromStock(stockName, IconSize.Dnd); break;
+ case 13: imgG13.SetFromStock(stockName, IconSize.Dnd); break;
+ case 14: imgG14.SetFromStock(stockName, IconSize.Dnd); break;
+ case 15: imgG15.SetFromStock(stockName, IconSize.Dnd); break;
+ case 16: imgG16.SetFromStock(stockName, IconSize.Dnd); break;
+ case 17: imgG17.SetFromStock(stockName, IconSize.Dnd); break;
+ case 18: imgG18.SetFromStock(stockName, IconSize.Dnd); break;
+ case 19: imgG19.SetFromStock(stockName, IconSize.Dnd); break;
+ case 20: imgG20.SetFromStock(stockName, IconSize.Dnd); break;
+ case 21: imgG21.SetFromStock(stockName, IconSize.Dnd); break;
+ case 22: imgG22.SetFromStock(stockName, IconSize.Dnd); break;
+ case 23: imgG23.SetFromStock(stockName, IconSize.Dnd); break;
+ case 24: imgG24.SetFromStock(stockName, IconSize.Dnd); break;
+ case 25: imgG25.SetFromStock(stockName, IconSize.Dnd); break;
+ case 26: imgG26.SetFromStock(stockName, IconSize.Dnd); break;
+ case 27: imgG27.SetFromStock(stockName, IconSize.Dnd); break;
+ case 28: imgG28.SetFromStock(stockName, IconSize.Dnd); break;
+ case 29: imgG29.SetFromStock(stockName, IconSize.Dnd); break;
+ case 30: imgG30.SetFromStock(stockName, IconSize.Dnd); break;
+ case 31: imgG31.SetFromStock(stockName, IconSize.Dnd); break;
+ case 32: imgG32.SetFromStock(stockName, IconSize.Dnd); break;
+ case 33: imgG33.SetFromStock(stockName, IconSize.Dnd); break;
+ case 34: imgG34.SetFromStock(stockName, IconSize.Dnd); break;
+ case 35: imgG35.SetFromStock(stockName, IconSize.Dnd); break;
+ case 36: imgG36.SetFromStock(stockName, IconSize.Dnd); break;
+ case 37: imgG37.SetFromStock(stockName, IconSize.Dnd); break;
+ case 38: imgG38.SetFromStock(stockName, IconSize.Dnd); break;
+ case 39: imgG39.SetFromStock(stockName, IconSize.Dnd); break;
+ case 40: imgG40.SetFromStock(stockName, IconSize.Dnd); break;
+ case 41: imgG41.SetFromStock(stockName, IconSize.Dnd); break;
+ case 42: imgG42.SetFromStock(stockName, IconSize.Dnd); break;
+ case 43: imgG43.SetFromStock(stockName, IconSize.Dnd); break;
+ case 44: imgG44.SetFromStock(stockName, IconSize.Dnd); break;
+ case 45: imgG45.SetFromStock(stockName, IconSize.Dnd); break;
+ case 46: imgG46.SetFromStock(stockName, IconSize.Dnd); break;
+ case 47: imgG47.SetFromStock(stockName, IconSize.Dnd); break;
+ case 48: imgG48.SetFromStock(stockName, IconSize.Dnd); break;
+ case 49: imgG49.SetFromStock(stockName, IconSize.Dnd); break;
+ case 50: imgG50.SetFromStock(stockName, IconSize.Dnd); break;
+ case 51: imgG51.SetFromStock(stockName, IconSize.Dnd); break;
+ case 52: imgG52.SetFromStock(stockName, IconSize.Dnd); break;
+ case 53: imgG53.SetFromStock(stockName, IconSize.Dnd); break;
+ case 54: imgG54.SetFromStock(stockName, IconSize.Dnd); break;
+ case 55: imgG55.SetFromStock(stockName, IconSize.Dnd); break;
+ case 56: imgG56.SetFromStock(stockName, IconSize.Dnd); break;
+ case 57: imgG57.SetFromStock(stockName, IconSize.Dnd); break;
+ case 58: imgG58.SetFromStock(stockName, IconSize.Dnd); break;
+ case 59: imgG59.SetFromStock(stockName, IconSize.Dnd); break;
+ case 60: imgG60.SetFromStock(stockName, IconSize.Dnd); break;
+ case 61: imgG61.SetFromStock(stockName, IconSize.Dnd); break;
+ case 62: imgG62.SetFromStock(stockName, IconSize.Dnd); break;
+ case 63: imgG63.SetFromStock(stockName, IconSize.Dnd); break;
+ case 64: imgG64.SetFromStock(stockName, IconSize.Dnd); break;
+ case 65: imgG65.SetFromStock(stockName, IconSize.Dnd); break;
+ case 66: imgG66.SetFromStock(stockName, IconSize.Dnd); break;
+ case 67: imgG67.SetFromStock(stockName, IconSize.Dnd); break;
+ case 68: imgG68.SetFromStock(stockName, IconSize.Dnd); break;
+ case 69: imgG69.SetFromStock(stockName, IconSize.Dnd); break;
+ case 70: imgG70.SetFromStock(stockName, IconSize.Dnd); break;
+ case 71: imgG71.SetFromStock(stockName, IconSize.Dnd); break;
+ case 72: imgG72.SetFromStock(stockName, IconSize.Dnd); break;
+ case 73: imgG73.SetFromStock(stockName, IconSize.Dnd); break;
+ case 74: imgG74.SetFromStock(stockName, IconSize.Dnd); break;
+ case 75: imgG75.SetFromStock(stockName, IconSize.Dnd); break;
+ case 76: imgG76.SetFromStock(stockName, IconSize.Dnd); break;
+ case 77: imgG77.SetFromStock(stockName, IconSize.Dnd); break;
+ case 78: imgG78.SetFromStock(stockName, IconSize.Dnd); break;
+ case 79: imgG79.SetFromStock(stockName, IconSize.Dnd); break;
+ case 80: imgG80.SetFromStock(stockName, IconSize.Dnd); break;
+ case 81: imgG81.SetFromStock(stockName, IconSize.Dnd); break;
+ }
+ }
+ }
+ }
+
+ private void PrintStructureLayerMap()
+ {
+ for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++)
+ {
+ for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++)
+ {
+ string stockName = ImageController.GetPlayerStructureImage(row, col).Stock;
+
+ switch (img)
+ {
+ case 1: imgI1.SetFromStock(stockName, IconSize.Dnd); break;
+ case 2: imgI2.SetFromStock(stockName, IconSize.Dnd); break;
+ case 3: imgI3.SetFromStock(stockName, IconSize.Dnd); break;
+ case 4: imgI4.SetFromStock(stockName, IconSize.Dnd); break;
+ case 5: imgI5.SetFromStock(stockName, IconSize.Dnd); break;
+ case 6: imgI6.SetFromStock(stockName, IconSize.Dnd); break;
+ case 7: imgI7.SetFromStock(stockName, IconSize.Dnd); break;
+ case 8: imgI8.SetFromStock(stockName, IconSize.Dnd); break;
+ case 9: imgI9.SetFromStock(stockName, IconSize.Dnd); break;
+ case 10: imgI10.SetFromStock(stockName, IconSize.Dnd); break;
+ case 11: imgI11.SetFromStock(stockName, IconSize.Dnd); break;
+ case 12: imgI12.SetFromStock(stockName, IconSize.Dnd); break;
+ case 13: imgI13.SetFromStock(stockName, IconSize.Dnd); break;
+ case 14: imgI14.SetFromStock(stockName, IconSize.Dnd); break;
+ case 15: imgI15.SetFromStock(stockName, IconSize.Dnd); break;
+ case 16: imgI16.SetFromStock(stockName, IconSize.Dnd); break;
+ case 17: imgI17.SetFromStock(stockName, IconSize.Dnd); break;
+ case 18: imgI18.SetFromStock(stockName, IconSize.Dnd); break;
+ case 19: imgI19.SetFromStock(stockName, IconSize.Dnd); break;
+ case 20: imgI20.SetFromStock(stockName, IconSize.Dnd); break;
+ case 21: imgI21.SetFromStock(stockName, IconSize.Dnd); break;
+ case 22: imgI22.SetFromStock(stockName, IconSize.Dnd); break;
+ case 23: imgI23.SetFromStock(stockName, IconSize.Dnd); break;
+ case 24: imgI24.SetFromStock(stockName, IconSize.Dnd); break;
+ case 25: imgI25.SetFromStock(stockName, IconSize.Dnd); break;
+ case 26: imgI26.SetFromStock(stockName, IconSize.Dnd); break;
+ case 27: imgI27.SetFromStock(stockName, IconSize.Dnd); break;
+ case 28: imgI28.SetFromStock(stockName, IconSize.Dnd); break;
+ case 29: imgI29.SetFromStock(stockName, IconSize.Dnd); break;
+ case 30: imgI30.SetFromStock(stockName, IconSize.Dnd); break;
+ case 31: imgI31.SetFromStock(stockName, IconSize.Dnd); break;
+ case 32: imgI32.SetFromStock(stockName, IconSize.Dnd); break;
+ case 33: imgI33.SetFromStock(stockName, IconSize.Dnd); break;
+ case 34: imgI34.SetFromStock(stockName, IconSize.Dnd); break;
+ case 35: imgI35.SetFromStock(stockName, IconSize.Dnd); break;
+ case 36: imgI36.SetFromStock(stockName, IconSize.Dnd); break;
+ case 37: imgI37.SetFromStock(stockName, IconSize.Dnd); break;
+ case 38: imgI38.SetFromStock(stockName, IconSize.Dnd); break;
+ case 39: imgI39.SetFromStock(stockName, IconSize.Dnd); break;
+ case 40: imgI40.SetFromStock(stockName, IconSize.Dnd); break;
+ case 41: imgI41.SetFromStock(stockName, IconSize.Dnd); break;
+ case 42: imgI42.SetFromStock(stockName, IconSize.Dnd); break;
+ case 43: imgI43.SetFromStock(stockName, IconSize.Dnd); break;
+ case 44: imgI44.SetFromStock(stockName, IconSize.Dnd); break;
+ case 45: imgI45.SetFromStock(stockName, IconSize.Dnd); break;
+ case 46: imgI46.SetFromStock(stockName, IconSize.Dnd); break;
+ case 47: imgI47.SetFromStock(stockName, IconSize.Dnd); break;
+ case 48: imgI48.SetFromStock(stockName, IconSize.Dnd); break;
+ case 49: imgI49.SetFromStock(stockName, IconSize.Dnd); break;
+ case 50: imgI50.SetFromStock(stockName, IconSize.Dnd); break;
+ case 51: imgI51.SetFromStock(stockName, IconSize.Dnd); break;
+ case 52: imgI52.SetFromStock(stockName, IconSize.Dnd); break;
+ case 53: imgI53.SetFromStock(stockName, IconSize.Dnd); break;
+ case 54: imgI54.SetFromStock(stockName, IconSize.Dnd); break;
+ case 55: imgI55.SetFromStock(stockName, IconSize.Dnd); break;
+ case 56: imgI56.SetFromStock(stockName, IconSize.Dnd); break;
+ case 57: imgI57.SetFromStock(stockName, IconSize.Dnd); break;
+ case 58: imgI58.SetFromStock(stockName, IconSize.Dnd); break;
+ case 59: imgI59.SetFromStock(stockName, IconSize.Dnd); break;
+ case 60: imgI60.SetFromStock(stockName, IconSize.Dnd); break;
+ case 61: imgI61.SetFromStock(stockName, IconSize.Dnd); break;
+ case 62: imgI62.SetFromStock(stockName, IconSize.Dnd); break;
+ case 63: imgI63.SetFromStock(stockName, IconSize.Dnd); break;
+ case 64: imgI64.SetFromStock(stockName, IconSize.Dnd); break;
+ case 65: imgI65.SetFromStock(stockName, IconSize.Dnd); break;
+ case 66: imgI66.SetFromStock(stockName, IconSize.Dnd); break;
+ case 67: imgI67.SetFromStock(stockName, IconSize.Dnd); break;
+ case 68: imgI68.SetFromStock(stockName, IconSize.Dnd); break;
+ case 69: imgI69.SetFromStock(stockName, IconSize.Dnd); break;
+ case 70: imgI70.SetFromStock(stockName, IconSize.Dnd); break;
+ case 71: imgI71.SetFromStock(stockName, IconSize.Dnd); break;
+ case 72: imgI72.SetFromStock(stockName, IconSize.Dnd); break;
+ case 73: imgI73.SetFromStock(stockName, IconSize.Dnd); break;
+ case 74: imgI74.SetFromStock(stockName, IconSize.Dnd); break;
+ case 75: imgI75.SetFromStock(stockName, IconSize.Dnd); break;
+ case 76: imgI76.SetFromStock(stockName, IconSize.Dnd); break;
+ case 77: imgI77.SetFromStock(stockName, IconSize.Dnd); break;
+ case 78: imgI78.SetFromStock(stockName, IconSize.Dnd); break;
+ case 79: imgI79.SetFromStock(stockName, IconSize.Dnd); break;
+ case 80: imgI80.SetFromStock(stockName, IconSize.Dnd); break;
+ case 81: imgI81.SetFromStock(stockName, IconSize.Dnd); break;
+ }
+ }
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/Mundus/Views/Windows/GameWindows/LargeGameWindow.cs b/Mundus/Views/Windows/GameWindows/LargeGameWindow.cs
deleted file mode 100644
index b50ef41..0000000
--- a/Mundus/Views/Windows/GameWindows/LargeGameWindow.cs
+++ /dev/null
@@ -1,2261 +0,0 @@
-using System;
-using Gtk;
-using Mundus.Service;
-using Mundus.Service.Tiles.Mobs.Controllers;
-using Mundus.Service.SuperLayers;
-using Mundus.Service.Tiles.Items;
-using Mundus.Service.Tiles.Mobs;
-
-namespace Mundus.Views.Windows {
- public partial class LargeGameWindow : Gtk.Window, IGameWindow {
- public int Size { get; private set; }
-
- public LargeGameWindow() : base( Gtk.WindowType.Toplevel ) {
- this.Build();
- }
-
- public void OnDeleteEvent(object o, DeleteEventArgs args) {
- Application.Quit();
- }
-
- public void SetDefaults() {
- this.Size = 9;
- this.SetMapMenuVisibility(false);
- this.SetInvMenuVisibility(false);
- }
-
- private void SelectItem(string place, int index) {
- if (HasSelection()) {
- ResetSelection();
- SwitchItems.ReplaceItems(place, index);
- }
- else {
- selPlace = place;
- selIndex = index;
- SwitchItems.SetOrigin(place, index);
- }
-
- this.PrintMainMenu();
- this.PrintInventory();
- }
-
- private void React(int button) {
- int buttonYPos = (button - 1) / Size;
- int buttonXPos = (button - (buttonYPos * Size)) - 1;
-
- int mapXPos = Calculate.CalculateXFromButton(buttonXPos, Size);
- int mapYPos = Calculate.CalculateYFromButton(buttonYPos, Size);
-
- if (!HasSelection()) {
- MobMovement.MovePlayer(mapYPos, mapXPos, Size);
- MobMovement.MoveRandomlyAllMobs();
- }
- else {
- if (Inventory.GetPlayerItem(selPlace, selIndex) != null) {
- if (MobFighting.ExistsFightTargetForPlayer(mapYPos, mapXPos)) {
- MobFighting.PlayerTryFight(selPlace, selIndex, mapYPos, mapXPos);
- }
- else {
- MobTerraforming.PlayerTerraformAt(mapYPos, mapXPos, selPlace, selIndex);
- }
- }
- ResetSelection();
- }
-
- this.PrintScreen();
- this.PrintMainMenu();
-
- if (this.MapMenuIsVisible()) {
- this.PrintMap();
- }
- else if (this.InvMenuIsVisible()) {
- this.PrintInventory();
- }
- }
-
- private static string selPlace = null;
- private static int selIndex = -1;
- private static void ResetSelection() {
- selPlace = null;
- selIndex = -1;
- }
- private static bool HasSelection() {
- return selPlace != null;
- }
-
- private bool InvMenuIsVisible() {
- return btnI1.Visible;
- }
-
- private bool MapMenuIsVisible() {
- return imgG1.Visible;
- }
-
- //
- // PRINTING
- //
-
- public void PrintSelectedItemInfo(ItemTile itemTile) {
- if (itemTile != null) {
- imgInfo.SetFromStock(itemTile.stock_id, IconSize.Dnd);
- lblInfo.Text = itemTile.ToString();
- }
- else {
- imgInfo.SetFromImage(null, null);
- lblInfo.Text = null;
- }
- }
-
- public void PrintScreen() {
- for (int layer = 0; layer < 3; layer++) {
- for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), btn = 1; row <= maxY; row++) {
- for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, btn++) {
- Image img = ImageController.GetScreenImage(row, col, layer);
-
- if (img == null) continue;
-
- switch (btn) {
- case 1: btnP1.Image = img; break;
- case 2: btnP2.Image = img; break;
- case 3: btnP3.Image = img; break;
- case 4: btnP4.Image = img; break;
- case 5: btnP5.Image = img; break;
- case 6: btnP6.Image = img; break;
- case 7: btnP7.Image = img; break;
- case 8: btnP8.Image = img; break;
- case 9: btnP9.Image = img; break;
- case 10: btnP10.Image = img; break;
- case 11: btnP11.Image = img; break;
- case 12: btnP12.Image = img; break;
- case 13: btnP13.Image = img; break;
- case 14: btnP14.Image = img; break;
- case 15: btnP15.Image = img; break;
- case 16: btnP16.Image = img; break;
- case 17: btnP17.Image = img; break;
- case 18: btnP18.Image = img; break;
- case 19: btnP19.Image = img; break;
- case 20: btnP20.Image = img; break;
- case 21: btnP21.Image = img; break;
- case 22: btnP22.Image = img; break;
- case 23: btnP23.Image = img; break;
- case 24: btnP24.Image = img; break;
- case 25: btnP25.Image = img; break;
- case 26: btnP26.Image = img; break;
- case 27: btnP27.Image = img; break;
- case 28: btnP28.Image = img; break;
- case 29: btnP29.Image = img; break;
- case 30: btnP30.Image = img; break;
- case 31: btnP31.Image = img; break;
- case 32: btnP32.Image = img; break;
- case 33: btnP33.Image = img; break;
- case 34: btnP34.Image = img; break;
- case 35: btnP35.Image = img; break;
- case 36: btnP36.Image = img; break;
- case 37: btnP37.Image = img; break;
- case 38: btnP38.Image = img; break;
- case 39: btnP39.Image = img; break;
- case 40: btnP40.Image = img; break;
- case 41: btnP41.Image = img; break;
- case 42: btnP42.Image = img; break;
- case 43: btnP43.Image = img; break;
- case 44: btnP44.Image = img; break;
- case 45: btnP45.Image = img; break;
- case 46: btnP46.Image = img; break;
- case 47: btnP47.Image = img; break;
- case 48: btnP48.Image = img; break;
- case 49: btnP49.Image = img; break;
- case 50: btnP50.Image = img; break;
- case 51: btnP51.Image = img; break;
- case 52: btnP52.Image = img; break;
- case 53: btnP53.Image = img; break;
- case 54: btnP54.Image = img; break;
- case 55: btnP55.Image = img; break;
- case 56: btnP56.Image = img; break;
- case 57: btnP57.Image = img; break;
- case 58: btnP58.Image = img; break;
- case 59: btnP59.Image = img; break;
- case 60: btnP60.Image = img; break;
- case 61: btnP61.Image = img; break;
- case 62: btnP62.Image = img; break;
- case 63: btnP63.Image = img; break;
- case 64: btnP64.Image = img; break;
- case 65: btnP65.Image = img; break;
- case 66: btnP66.Image = img; break;
- case 67: btnP67.Image = img; break;
- case 68: btnP68.Image = img; break;
- case 69: btnP69.Image = img; break;
- case 70: btnP70.Image = img; break;
- case 71: btnP71.Image = img; break;
- case 72: btnP72.Image = img; break;
- case 73: btnP73.Image = img; break;
- case 74: btnP74.Image = img; break;
- case 75: btnP75.Image = img; break;
- case 76: btnP76.Image = img; break;
- case 77: btnP77.Image = img; break;
- case 78: btnP78.Image = img; break;
- case 79: btnP79.Image = img; break;
- case 80: btnP80.Image = img; break;
- case 81: btnP81.Image = img; break;
- }
- }
- }
- }
- }
-
- public void PrintMainMenu() {
- //Print energy
- for (int i = 0; i < Size; i++) {
- string iName = MobStatsController.GetPlayerEnergyStock(i);
-
- switch (i) {
- case 0: imgS1.SetFromStock(iName, IconSize.Dnd); break;
- case 1: imgS2.SetFromStock(iName, IconSize.Dnd); break;
- case 2: imgS3.SetFromStock(iName, IconSize.Dnd); break;
- case 3: imgS4.SetFromStock(iName, IconSize.Dnd); break;
- case 4: imgS5.SetFromStock(iName, IconSize.Dnd); break;
- case 5: imgS6.SetFromStock(iName, IconSize.Dnd); break;
- case 6: imgS7.SetFromStock(iName, IconSize.Dnd); break;
- case 7: imgS8.SetFromStock(iName, IconSize.Dnd); break;
- case 8: imgS9.SetFromStock(iName, IconSize.Dnd); break;
- }
- }
-
- //Print health
- for (int i = 0; i < Size; i++) {
- string iName = MobStatsController.GetPlayerHearthStock(i);
-
- switch (i) {
- case 0: imgS10.SetFromStock(iName, IconSize.Dnd); break;
- case 1: imgS11.SetFromStock(iName, IconSize.Dnd); break;
- case 2: imgS12.SetFromStock(iName, IconSize.Dnd); break;
- case 3: imgS13.SetFromStock(iName, IconSize.Dnd); break;
- case 4: imgS14.SetFromStock(iName, IconSize.Dnd); break;
- case 5: imgS15.SetFromStock(iName, IconSize.Dnd); break;
- case 6: imgS16.SetFromStock(iName, IconSize.Dnd); break;
- case 7: imgS17.SetFromStock(iName, IconSize.Dnd); break;
- case 8: imgS18.SetFromStock(iName, IconSize.Dnd); break;
- }
- }
-
- //Prints hotbar
- for (int i = 0; i < Size; i++) {
- Image img = ImageController.GetPlayerHotbarImage(i);
-
- switch (i) {
- case 0: btnH1.Image = img; break;
- case 1: btnH2.Image = img; break;
- case 2: btnH3.Image = img; break;
- case 3: btnH4.Image = img; break;
- case 4: btnH5.Image = img; break;
- case 5: btnH6.Image = img; break;
- case 6: btnH7.Image = img; break;
- case 7: btnH8.Image = img; break;
- case 8: btnH9.Image = img; break;
- }
- }
-
- //Prints log
- for (int i = 0, mIndex = GameEventLogController.GetCount() - 1; i < Size; mIndex--, i++) {
- string msg = GameEventLogController.GetMessagage(mIndex);
-
- switch (i) {
- case 0: lblLog1.Text = msg; break;
- case 1: lblLog2.Text = msg; break;
- case 2: lblLog3.Text = msg; break;
- case 3: lblLog4.Text = msg; break;
- case 4: lblLog5.Text = msg; break;
- case 5: lblLog6.Text = msg; break;
- case 7: lblLog7.Text = msg; break;
- case 8: lblLog8.Text = msg; break;
- }
- }
- }
-
- public void PrintMap() {
- //Prints the "Ground layer" in map menu
- for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++) {
- for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++) {
- string sName = ImageController.GetPlayerGroundImage(row, col).Stock;
-
- switch (img) {
- case 1: imgG1.SetFromStock(sName, IconSize.Dnd); break;
- case 2: imgG2.SetFromStock(sName, IconSize.Dnd); break;
- case 3: imgG3.SetFromStock(sName, IconSize.Dnd); break;
- case 4: imgG4.SetFromStock(sName, IconSize.Dnd); break;
- case 5: imgG5.SetFromStock(sName, IconSize.Dnd); break;
- case 6: imgG6.SetFromStock(sName, IconSize.Dnd); break;
- case 7: imgG7.SetFromStock(sName, IconSize.Dnd); break;
- case 8: imgG8.SetFromStock(sName, IconSize.Dnd); break;
- case 9: imgG9.SetFromStock(sName, IconSize.Dnd); break;
- case 10: imgG10.SetFromStock(sName, IconSize.Dnd); break;
- case 11: imgG11.SetFromStock(sName, IconSize.Dnd); break;
- case 12: imgG12.SetFromStock(sName, IconSize.Dnd); break;
- case 13: imgG13.SetFromStock(sName, IconSize.Dnd); break;
- case 14: imgG14.SetFromStock(sName, IconSize.Dnd); break;
- case 15: imgG15.SetFromStock(sName, IconSize.Dnd); break;
- case 16: imgG16.SetFromStock(sName, IconSize.Dnd); break;
- case 17: imgG17.SetFromStock(sName, IconSize.Dnd); break;
- case 18: imgG18.SetFromStock(sName, IconSize.Dnd); break;
- case 19: imgG19.SetFromStock(sName, IconSize.Dnd); break;
- case 20: imgG20.SetFromStock(sName, IconSize.Dnd); break;
- case 21: imgG21.SetFromStock(sName, IconSize.Dnd); break;
- case 22: imgG22.SetFromStock(sName, IconSize.Dnd); break;
- case 23: imgG23.SetFromStock(sName, IconSize.Dnd); break;
- case 24: imgG24.SetFromStock(sName, IconSize.Dnd); break;
- case 25: imgG25.SetFromStock(sName, IconSize.Dnd); break;
- case 26: imgG26.SetFromStock(sName, IconSize.Dnd); break;
- case 27: imgG27.SetFromStock(sName, IconSize.Dnd); break;
- case 28: imgG28.SetFromStock(sName, IconSize.Dnd); break;
- case 29: imgG29.SetFromStock(sName, IconSize.Dnd); break;
- case 30: imgG30.SetFromStock(sName, IconSize.Dnd); break;
- case 31: imgG31.SetFromStock(sName, IconSize.Dnd); break;
- case 32: imgG32.SetFromStock(sName, IconSize.Dnd); break;
- case 33: imgG33.SetFromStock(sName, IconSize.Dnd); break;
- case 34: imgG34.SetFromStock(sName, IconSize.Dnd); break;
- case 35: imgG35.SetFromStock(sName, IconSize.Dnd); break;
- case 36: imgG36.SetFromStock(sName, IconSize.Dnd); break;
- case 37: imgG37.SetFromStock(sName, IconSize.Dnd); break;
- case 38: imgG38.SetFromStock(sName, IconSize.Dnd); break;
- case 39: imgG39.SetFromStock(sName, IconSize.Dnd); break;
- case 40: imgG40.SetFromStock(sName, IconSize.Dnd); break;
- case 41: imgG41.SetFromStock(sName, IconSize.Dnd); break;
- case 42: imgG42.SetFromStock(sName, IconSize.Dnd); break;
- case 43: imgG43.SetFromStock(sName, IconSize.Dnd); break;
- case 44: imgG44.SetFromStock(sName, IconSize.Dnd); break;
- case 45: imgG45.SetFromStock(sName, IconSize.Dnd); break;
- case 46: imgG46.SetFromStock(sName, IconSize.Dnd); break;
- case 47: imgG47.SetFromStock(sName, IconSize.Dnd); break;
- case 48: imgG48.SetFromStock(sName, IconSize.Dnd); break;
- case 49: imgG49.SetFromStock(sName, IconSize.Dnd); break;
- case 50: imgG50.SetFromStock(sName, IconSize.Dnd); break;
- case 51: imgG51.SetFromStock(sName, IconSize.Dnd); break;
- case 52: imgG52.SetFromStock(sName, IconSize.Dnd); break;
- case 53: imgG53.SetFromStock(sName, IconSize.Dnd); break;
- case 54: imgG54.SetFromStock(sName, IconSize.Dnd); break;
- case 55: imgG55.SetFromStock(sName, IconSize.Dnd); break;
- case 56: imgG56.SetFromStock(sName, IconSize.Dnd); break;
- case 57: imgG57.SetFromStock(sName, IconSize.Dnd); break;
- case 58: imgG58.SetFromStock(sName, IconSize.Dnd); break;
- case 59: imgG59.SetFromStock(sName, IconSize.Dnd); break;
- case 60: imgG60.SetFromStock(sName, IconSize.Dnd); break;
- case 61: imgG61.SetFromStock(sName, IconSize.Dnd); break;
- case 62: imgG62.SetFromStock(sName, IconSize.Dnd); break;
- case 63: imgG63.SetFromStock(sName, IconSize.Dnd); break;
- case 64: imgG64.SetFromStock(sName, IconSize.Dnd); break;
- case 65: imgG65.SetFromStock(sName, IconSize.Dnd); break;
- case 66: imgG66.SetFromStock(sName, IconSize.Dnd); break;
- case 67: imgG67.SetFromStock(sName, IconSize.Dnd); break;
- case 68: imgG68.SetFromStock(sName, IconSize.Dnd); break;
- case 69: imgG69.SetFromStock(sName, IconSize.Dnd); break;
- case 70: imgG70.SetFromStock(sName, IconSize.Dnd); break;
- case 71: imgG71.SetFromStock(sName, IconSize.Dnd); break;
- case 72: imgG72.SetFromStock(sName, IconSize.Dnd); break;
- case 73: imgG73.SetFromStock(sName, IconSize.Dnd); break;
- case 74: imgG74.SetFromStock(sName, IconSize.Dnd); break;
- case 75: imgG75.SetFromStock(sName, IconSize.Dnd); break;
- case 76: imgG76.SetFromStock(sName, IconSize.Dnd); break;
- case 77: imgG77.SetFromStock(sName, IconSize.Dnd); break;
- case 78: imgG78.SetFromStock(sName, IconSize.Dnd); break;
- case 79: imgG79.SetFromStock(sName, IconSize.Dnd); break;
- case 80: imgG80.SetFromStock(sName, IconSize.Dnd); break;
- case 81: imgG81.SetFromStock(sName, IconSize.Dnd); break;
- }
- }
- }
-
- lblSuperLayer.Text = MobStatsController.GetPlayerSuperLayerName();
- lblCoord1.Text = "X: " + MobStatsController.GetPlayerXCoord();
- lblCoord2.Text = "Y: " + MobStatsController.GetPlayerYCoord();
-
- //Prints the "Item layer" in map menu
- for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++) {
- for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++) {
- string sName = ImageController.GetPlayerStructureImage(row, col).Stock;
-
- switch (img) {
- case 1: imgI1.SetFromStock(sName, IconSize.Dnd); break;
- case 2: imgI2.SetFromStock(sName, IconSize.Dnd); break;
- case 3: imgI3.SetFromStock(sName, IconSize.Dnd); break;
- case 4: imgI4.SetFromStock(sName, IconSize.Dnd); break;
- case 5: imgI5.SetFromStock(sName, IconSize.Dnd); break;
- case 6: imgI6.SetFromStock(sName, IconSize.Dnd); break;
- case 7: imgI7.SetFromStock(sName, IconSize.Dnd); break;
- case 8: imgI8.SetFromStock(sName, IconSize.Dnd); break;
- case 9: imgI9.SetFromStock(sName, IconSize.Dnd); break;
- case 10: imgI10.SetFromStock(sName, IconSize.Dnd); break;
- case 11: imgI11.SetFromStock(sName, IconSize.Dnd); break;
- case 12: imgI12.SetFromStock(sName, IconSize.Dnd); break;
- case 13: imgI13.SetFromStock(sName, IconSize.Dnd); break;
- case 14: imgI14.SetFromStock(sName, IconSize.Dnd); break;
- case 15: imgI15.SetFromStock(sName, IconSize.Dnd); break;
- case 16: imgI16.SetFromStock(sName, IconSize.Dnd); break;
- case 17: imgI17.SetFromStock(sName, IconSize.Dnd); break;
- case 18: imgI18.SetFromStock(sName, IconSize.Dnd); break;
- case 19: imgI19.SetFromStock(sName, IconSize.Dnd); break;
- case 20: imgI20.SetFromStock(sName, IconSize.Dnd); break;
- case 21: imgI21.SetFromStock(sName, IconSize.Dnd); break;
- case 22: imgI22.SetFromStock(sName, IconSize.Dnd); break;
- case 23: imgI23.SetFromStock(sName, IconSize.Dnd); break;
- case 24: imgI24.SetFromStock(sName, IconSize.Dnd); break;
- case 25: imgI25.SetFromStock(sName, IconSize.Dnd); break;
- case 26: imgI26.SetFromStock(sName, IconSize.Dnd); break;
- case 27: imgI27.SetFromStock(sName, IconSize.Dnd); break;
- case 28: imgI28.SetFromStock(sName, IconSize.Dnd); break;
- case 29: imgI29.SetFromStock(sName, IconSize.Dnd); break;
- case 30: imgI30.SetFromStock(sName, IconSize.Dnd); break;
- case 31: imgI31.SetFromStock(sName, IconSize.Dnd); break;
- case 32: imgI32.SetFromStock(sName, IconSize.Dnd); break;
- case 33: imgI33.SetFromStock(sName, IconSize.Dnd); break;
- case 34: imgI34.SetFromStock(sName, IconSize.Dnd); break;
- case 35: imgI35.SetFromStock(sName, IconSize.Dnd); break;
- case 36: imgI36.SetFromStock(sName, IconSize.Dnd); break;
- case 37: imgI37.SetFromStock(sName, IconSize.Dnd); break;
- case 38: imgI38.SetFromStock(sName, IconSize.Dnd); break;
- case 39: imgI39.SetFromStock(sName, IconSize.Dnd); break;
- case 40: imgI40.SetFromStock(sName, IconSize.Dnd); break;
- case 41: imgI41.SetFromStock(sName, IconSize.Dnd); break;
- case 42: imgI42.SetFromStock(sName, IconSize.Dnd); break;
- case 43: imgI43.SetFromStock(sName, IconSize.Dnd); break;
- case 44: imgI44.SetFromStock(sName, IconSize.Dnd); break;
- case 45: imgI45.SetFromStock(sName, IconSize.Dnd); break;
- case 46: imgI46.SetFromStock(sName, IconSize.Dnd); break;
- case 47: imgI47.SetFromStock(sName, IconSize.Dnd); break;
- case 48: imgI48.SetFromStock(sName, IconSize.Dnd); break;
- case 49: imgI49.SetFromStock(sName, IconSize.Dnd); break;
- case 50: imgI50.SetFromStock(sName, IconSize.Dnd); break;
- case 51: imgI51.SetFromStock(sName, IconSize.Dnd); break;
- case 52: imgI52.SetFromStock(sName, IconSize.Dnd); break;
- case 53: imgI53.SetFromStock(sName, IconSize.Dnd); break;
- case 54: imgI54.SetFromStock(sName, IconSize.Dnd); break;
- case 55: imgI55.SetFromStock(sName, IconSize.Dnd); break;
- case 56: imgI56.SetFromStock(sName, IconSize.Dnd); break;
- case 57: imgI57.SetFromStock(sName, IconSize.Dnd); break;
- case 58: imgI58.SetFromStock(sName, IconSize.Dnd); break;
- case 59: imgI59.SetFromStock(sName, IconSize.Dnd); break;
- case 60: imgI60.SetFromStock(sName, IconSize.Dnd); break;
- case 61: imgI61.SetFromStock(sName, IconSize.Dnd); break;
- case 62: imgI62.SetFromStock(sName, IconSize.Dnd); break;
- case 63: imgI63.SetFromStock(sName, IconSize.Dnd); break;
- case 64: imgI64.SetFromStock(sName, IconSize.Dnd); break;
- case 65: imgI65.SetFromStock(sName, IconSize.Dnd); break;
- case 66: imgI66.SetFromStock(sName, IconSize.Dnd); break;
- case 67: imgI67.SetFromStock(sName, IconSize.Dnd); break;
- case 68: imgI68.SetFromStock(sName, IconSize.Dnd); break;
- case 69: imgI69.SetFromStock(sName, IconSize.Dnd); break;
- case 70: imgI70.SetFromStock(sName, IconSize.Dnd); break;
- case 71: imgI71.SetFromStock(sName, IconSize.Dnd); break;
- case 72: imgI72.SetFromStock(sName, IconSize.Dnd); break;
- case 73: imgI73.SetFromStock(sName, IconSize.Dnd); break;
- case 74: imgI74.SetFromStock(sName, IconSize.Dnd); break;
- case 75: imgI75.SetFromStock(sName, IconSize.Dnd); break;
- case 76: imgI76.SetFromStock(sName, IconSize.Dnd); break;
- case 77: imgI77.SetFromStock(sName, IconSize.Dnd); break;
- case 78: imgI78.SetFromStock(sName, IconSize.Dnd); break;
- case 79: imgI79.SetFromStock(sName, IconSize.Dnd); break;
- case 80: imgI80.SetFromStock(sName, IconSize.Dnd); break;
- case 81: imgI81.SetFromStock(sName, IconSize.Dnd); break;
- }
- }
- }
-
- lblHoleOnTop.Text = MobStatsController.ExistsHoleOnTopOfPlayer() + "";
- }
-
- public void PrintInventory() {
- //Prints the actual inventory (items)
- for (int row = 0; row < Size; row++) {
- for (int col = 0; col < Size; col++) {
- Image img = ImageController.GetPlayerInventoryItemImage(row * Size + col);
-
- switch (row * Size + col + 1) {
- case 1: btnI1.Image = img; break;
- case 2: btnI2.Image = img; break;
- case 3: btnI3.Image = img; break;
- case 4: btnI4.Image = img; break;
- case 5: btnI5.Image = img; break;
- case 6: btnI6.Image = img; break;
- case 7: btnI7.Image = img; break;
- case 8: btnI8.Image = img; break;
- case 9: btnI9.Image = img; break;
- case 10: btnI10.Image = img; break;
- case 11: btnI11.Image = img; break;
- case 12: btnI12.Image = img; break;
- case 13: btnI13.Image = img; break;
- case 14: btnI14.Image = img; break;
- case 15: btnI15.Image = img; break;
- case 16: btnI16.Image = img; break;
- case 17: btnI17.Image = img; break;
- case 18: btnI18.Image = img; break;
- case 19: btnI19.Image = img; break;
- case 20: btnI20.Image = img; break;
- case 21: btnI21.Image = img; break;
- case 22: btnI22.Image = img; break;
- case 23: btnI23.Image = img; break;
- case 24: btnI24.Image = img; break;
- case 25: btnI25.Image = img; break;
- case 26: btnI26.Image = img; break;
- case 27: btnI27.Image = img; break;
- case 28: btnI28.Image = img; break;
- case 29: btnI29.Image = img; break;
- case 30: btnI30.Image = img; break;
- case 31: btnI31.Image = img; break;
- case 32: btnI32.Image = img; break;
- case 33: btnI33.Image = img; break;
- case 34: btnI34.Image = img; break;
- case 35: btnI35.Image = img; break;
- case 36: btnI36.Image = img; break;
- case 37: btnI37.Image = img; break;
- case 38: btnI38.Image = img; break;
- case 39: btnI39.Image = img; break;
- case 40: btnI40.Image = img; break;
- case 41: btnI41.Image = img; break;
- case 42: btnI42.Image = img; break;
- case 43: btnI43.Image = img; break;
- case 44: btnI44.Image = img; break;
- case 45: btnI45.Image = img; break;
- case 46: btnI46.Image = img; break;
- case 47: btnI47.Image = img; break;
- case 48: btnI48.Image = img; break;
- case 49: btnI49.Image = img; break;
- case 50: btnI50.Image = img; break;
- case 51: btnI51.Image = img; break;
- case 52: btnI52.Image = img; break;
- case 53: btnI53.Image = img; break;
- case 54: btnI54.Image = img; break;
- case 55: btnI55.Image = img; break;
- case 56: btnI56.Image = img; break;
- case 57: btnI57.Image = img; break;
- case 58: btnI58.Image = img; break;
- case 59: btnI59.Image = img; break;
- case 60: btnI60.Image = img; break;
- case 61: btnI61.Image = img; break;
- case 62: btnI62.Image = img; break;
- case 63: btnI63.Image = img; break;
- case 64: btnI64.Image = img; break;
- case 65: btnI65.Image = img; break;
- case 66: btnI66.Image = img; break;
- case 67: btnI67.Image = img; break;
- case 68: btnI68.Image = img; break;
- case 69: btnI69.Image = img; break;
- case 70: btnI70.Image = img; break;
- case 71: btnI71.Image = img; break;
- case 72: btnI72.Image = img; break;
- case 73: btnI73.Image = img; break;
- case 74: btnI74.Image = img; break;
- case 75: btnI75.Image = img; break;
- case 76: btnI76.Image = img; break;
- case 77: btnI77.Image = img; break;
- case 78: btnI78.Image = img; break;
- case 79: btnI79.Image = img; break;
- case 80: btnI80.Image = img; break;
- case 81: btnI81.Image = img; break;
- }
- }
- }
-
- //Prints accessories
- for (int row = 0; row < 2; row++) {
- for (int col = 0; col < Size; col++) {
- Image img = ImageController.GetPlayerAccessoryImage(row * Size + col);
-
- switch (row * Size + col + 1) {
- case 1: btnA1.Image = img; break;
- case 2: btnA2.Image = img; break;
- case 3: btnA3.Image = img; break;
- case 4: btnA4.Image = img; break;
- case 5: btnA5.Image = img; break;
- case 6: btnA6.Image = img; break;
- case 7: btnA7.Image = img; break;
- case 8: btnA8.Image = img; break;
- case 9: btnA9.Image = img; break;
- case 10: btnA10.Image = img; break;
- case 11: btnA11.Image = img; break;
- case 12: btnA12.Image = img; break;
- case 13: btnA13.Image = img; break;
- case 14: btnA14.Image = img; break;
- case 15: btnA15.Image = img; break;
- case 16: btnA16.Image = img; break;
- case 17: btnA17.Image = img; break;
- case 18: btnA18.Image = img; break;
- }
- }
- }
-
- //Prints gear
- for (int i = 0; i < Size; i++) {
- Image img = ImageController.GetPlayerGearImage(i);
-
- switch (i + 1) {
- case 1: btnG1.Image = img; break;
- case 2: btnG2.Image = img; break;
- case 3: btnG3.Image = img; break;
- case 4: btnG4.Image = img; break;
- case 5: btnG5.Image = img; break;
- case 6: btnG6.Image = img; break;
- case 7: btnG7.Image = img; break;
- case 8: btnG8.Image = img; break;
- case 9: btnG9.Image = img; break;
- }
- }
- }
-
- //
- // BUTTON CLICKED EVENTS
- //
-
- protected void OnBtnMapClicked(object sender, EventArgs e) {
- //Hide inv menu, if it is visible (so only one of the two is visible)
- if (this.InvMenuIsVisible()) this.OnBtnInvClicked(this, null);
-
- if (this.MapMenuIsVisible()) {
- this.SetMapMenuVisibility(false);
- }
- else {
- this.PrintMap();
- this.SetMapMenuVisibility(true);
- }
- }
-
- protected void OnBtnInvClicked(object sender, EventArgs e) {
- //Hide map menu, if it is visible (so only one of the two is visible)
- if (this.MapMenuIsVisible()) this.OnBtnMapClicked(this, null);
-
- if (btnI1.Visible) {
- this.SetInvMenuVisibility(false);
- }
- else {
- this.PrintInventory();
- this.SetInvMenuVisibility(true);
- }
- }
-
- protected void OnBtnPauseClicked(object sender, EventArgs e) {
- // Note: pause window blocks player input
- WindowController.ShowPauseWindow();
- }
-
- protected void OnBtnMusicClicked(object sender, EventArgs e) {
- WindowController.ShowMusicWindow();
- }
-
- protected void OnBtnCraftingClicked(object sender, EventArgs e) {
- WindowController.ShowCraftingWindow();
- }
-
- // Screen buttons
- protected void OnBtnP1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(1);
- }
- }
-
- protected void OnBtnP2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(2);
- }
- }
-
- protected void OnBtnP3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(3);
- }
- }
-
- protected void OnBtnP4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(4);
- }
- }
-
- protected void OnBtnP5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(5);
- }
- }
-
- protected void OnBtnP6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(6);
- }
- }
-
- protected void OnBtnP7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(7);
- }
- }
-
- protected void OnBtnP8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(8);
- }
- }
-
- protected void OnBtnP9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(9);
- }
- }
-
- protected void OnBtnP10Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(10);
- }
- }
-
- protected void OnBtnP11Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(11);
- }
- }
-
- protected void OnBtnP12Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(12);
- }
- }
-
- protected void OnBtnP13Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(13);
- }
- }
-
- protected void OnBtnP14Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(14);
- }
- }
-
- protected void OnBtnP15Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(15);
- }
- }
-
- protected void OnBtnP16Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(16);
- }
- }
-
- protected void OnBtnP17Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(17);
- }
- }
-
- protected void OnBtnP18Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(18);
- }
- }
-
- protected void OnBtnP19Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(19);
- }
- }
-
- protected void OnBtnP20Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(20);
- }
- }
-
- protected void OnBtnP21Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(21);
- }
- }
-
- protected void OnBtnP22Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(22);
- }
- }
-
- protected void OnBtnP23Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(23);
- }
- }
-
- protected void OnBtnP24Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(24);
- }
- }
-
- protected void OnBtnP25Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(25);
- }
- }
-
- protected void OnBtnP26Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(26);
- }
- }
-
- protected void OnBtnP27Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(27);
- }
- }
-
- protected void OnBtnP28Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(28);
- }
- }
-
- protected void OnBtnP29Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(29);
- }
- }
-
- protected void OnBtnP30Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(30);
- }
- }
-
- protected void OnBtnP31Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(31);
- }
- }
-
- protected void OnBtnP32Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(32);
- }
- }
-
- protected void OnBtnP33Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(33);
- }
- }
-
- protected void OnBtnP34Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(34);
- }
- }
-
- protected void OnBtnP35Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(35);
- }
- }
-
- protected void OnBtnP36Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(36);
- }
- }
-
- protected void OnBtnP37Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(37);
- }
- }
-
- protected void OnBtnP38Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(38);
- }
- }
-
- protected void OnBtnP39Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(39);
- }
- }
-
- protected void OnBtnP40Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(40);
- }
- }
-
- protected void OnBtnP41Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(41);
- }
- }
-
- protected void OnBtnP42Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(42);
- }
- }
-
- protected void OnBtnP43Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(43);
- }
- }
-
- protected void OnBtnP44Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(44);
- }
- }
-
- protected void OnBtnP45Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(45);
- }
- }
-
- protected void OnBtnP46Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(46);
- }
- }
-
- protected void OnBtnP47Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(47);
- }
- }
-
- protected void OnBtnP48Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(48);
- }
- }
-
- protected void OnBtnP49Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(49);
- }
- }
-
- protected void OnBtnP50Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(50);
- }
- }
-
- protected void OnBtnP51Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(51);
- }
- }
-
- protected void OnBtnP52Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(52);
- }
- }
-
- protected void OnBtnP53Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(53);
- }
- }
-
- protected void OnBtnP54Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(54);
- }
- }
-
- protected void OnBtnP55Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(55);
- }
- }
-
- protected void OnBtnP56Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(56);
- }
- }
-
- protected void OnBtnP57Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(57);
- }
- }
-
- protected void OnBtnP58Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(58);
- }
- }
-
- protected void OnBtnP59Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(59);
- }
- }
-
- protected void OnBtnP60Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(60);
- }
- }
-
- protected void OnBtnP61Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(61);
- }
- }
-
- protected void OnBtnP62Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(62);
- }
- }
-
- protected void OnBtnP63Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(63);
- }
- }
-
- protected void OnBtnP64Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(64);
- }
- }
-
- protected void OnBtnP65Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(65);
- }
- }
-
- protected void OnBtnP66Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(66);
- }
- }
-
- protected void OnBtnP67Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(67);
- }
- }
-
- protected void OnBtnP68Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(68);
- }
- }
-
- protected void OnBtnP69Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(69);
- }
- }
-
- protected void OnBtnP70Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(70);
- }
- }
-
- protected void OnBtnP71Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(71);
- }
- }
-
- protected void OnBtnP72Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(72);
- }
- }
-
- protected void OnBtnP73Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(73);
- }
- }
-
- protected void OnBtnP74Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(74);
- }
- }
-
- protected void OnBtnP75Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(75);
- }
- }
-
- protected void OnBtnP76Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(76);
- }
- }
-
- protected void OnBtnP77Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(77);
- }
- }
-
- protected void OnBtnP78Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(78);
- }
- }
-
- protected void OnBtnP79Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(79);
- }
- }
-
- protected void OnBtnP80Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(80);
- }
- }
-
- protected void OnBtnP81Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(81);
- }
- }
-
- // Hotbar buttons
- protected void OnBtnH1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 0);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 1);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 2);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 3);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 4);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 5);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 6);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 7);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 8);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnLogClicked(object sender, EventArgs e) {
- WindowController.ShowLogWindow();
- }
-
- // Inventory (items) buttons
- protected void OnBtnI1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 0);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 1);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 2);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 3);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 4);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 5);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 6);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 7);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 8);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI10Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 9);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI11Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 10);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI12Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 11);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI13Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 12);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI14Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 13);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI15Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 14);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI16Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 15);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI17Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 16);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI18Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 17);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI19Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 18);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI20Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 19);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI21Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 20);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI22Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 21);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI23Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 22);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI24Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 23);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI25Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 24);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI26Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 25);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI27Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 26);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI28Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 27);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI29Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 28);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI30Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 29);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI31Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 30);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI32Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 31);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI33Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 32);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI34Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 33);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI35Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 34);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI36Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 35);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI37Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 36);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI38Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 37);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI39Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 38);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI40Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 39);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI41Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 40);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI42Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 41);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI43Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 42);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI44Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 43);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI45Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 44);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI46Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 45);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI47Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 46);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI48Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 47);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI49Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 48);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI50Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 49);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI51Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 50);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI52Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 51);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI53Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 52);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI54Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 53);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI55Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 54);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI56Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 55);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI57Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 56);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI58Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 57);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI59Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 58);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI60Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 59);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI61Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 60);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI62Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 61);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI63Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 62);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI64Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 63);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI65Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 64);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI66Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 65);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI67Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 66);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI68Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 67);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI69Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 68);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI70Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 69);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI71Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 70);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI72Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 71);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI73Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 72);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI74Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 73);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI75Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 74);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI76Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 75);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI77Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 76);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI78Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 77);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI79Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 78);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI80Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 79);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI81Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 80);
- this.PrintInventory();
- }
- }
-
- // Accessories buttons
- protected void OnBtnA1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 0);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 1);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 2);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 3);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 4);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 5);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 6);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 7);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 8);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA10Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 9);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA11Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 10);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA12Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 11);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA13Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 12);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA14Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 13);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA15Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 14);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA16Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 15);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA17Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 16);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA18Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 17);
- this.PrintInventory();
- }
- }
-
- // Gear buttons
- protected void OnBtnG1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 0);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 1);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 2);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 3);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 4);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 5);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 6);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 7);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 8);
- this.PrintInventory();
- }
- }
-
- //
- // VISIBILITY
- //
-
- private void SetMapMenuVisibility(bool isVisible) {
- lblGroundLayer.Visible = isVisible;
- imgG1.Visible = isVisible;
- imgG2.Visible = isVisible;
- imgG3.Visible = isVisible;
- imgG4.Visible = isVisible;
- imgG5.Visible = isVisible;
- imgG6.Visible = isVisible;
- imgG7.Visible = isVisible;
- imgG8.Visible = isVisible;
- imgG9.Visible = isVisible;
- imgG10.Visible = isVisible;
- imgG11.Visible = isVisible;
- imgG12.Visible = isVisible;
- imgG13.Visible = isVisible;
- imgG14.Visible = isVisible;
- imgG15.Visible = isVisible;
- imgG16.Visible = isVisible;
- imgG17.Visible = isVisible;
- imgG18.Visible = isVisible;
- imgG19.Visible = isVisible;
- imgG20.Visible = isVisible;
- imgG21.Visible = isVisible;
- imgG22.Visible = isVisible;
- imgG23.Visible = isVisible;
- imgG24.Visible = isVisible;
- imgG25.Visible = isVisible;
- imgG26.Visible = isVisible;
- imgG27.Visible = isVisible;
- imgG28.Visible = isVisible;
- imgG29.Visible = isVisible;
- imgG30.Visible = isVisible;
- imgG31.Visible = isVisible;
- imgG32.Visible = isVisible;
- imgG33.Visible = isVisible;
- imgG34.Visible = isVisible;
- imgG35.Visible = isVisible;
- imgG36.Visible = isVisible;
- imgG37.Visible = isVisible;
- imgG38.Visible = isVisible;
- imgG39.Visible = isVisible;
- imgG40.Visible = isVisible;
- imgG41.Visible = isVisible;
- imgG42.Visible = isVisible;
- imgG43.Visible = isVisible;
- imgG44.Visible = isVisible;
- imgG45.Visible = isVisible;
- imgG46.Visible = isVisible;
- imgG47.Visible = isVisible;
- imgG48.Visible = isVisible;
- imgG49.Visible = isVisible;
- imgG50.Visible = isVisible;
- imgG51.Visible = isVisible;
- imgG52.Visible = isVisible;
- imgG53.Visible = isVisible;
- imgG54.Visible = isVisible;
- imgG55.Visible = isVisible;
- imgG56.Visible = isVisible;
- imgG57.Visible = isVisible;
- imgG58.Visible = isVisible;
- imgG59.Visible = isVisible;
- imgG60.Visible = isVisible;
- imgG61.Visible = isVisible;
- imgG62.Visible = isVisible;
- imgG63.Visible = isVisible;
- imgG64.Visible = isVisible;
- imgG65.Visible = isVisible;
- imgG66.Visible = isVisible;
- imgG67.Visible = isVisible;
- imgG68.Visible = isVisible;
- imgG69.Visible = isVisible;
- imgG70.Visible = isVisible;
- imgG71.Visible = isVisible;
- imgG72.Visible = isVisible;
- imgG73.Visible = isVisible;
- imgG74.Visible = isVisible;
- imgG75.Visible = isVisible;
- imgG76.Visible = isVisible;
- imgG77.Visible = isVisible;
- imgG78.Visible = isVisible;
- imgG79.Visible = isVisible;
- imgG80.Visible = isVisible;
- imgG81.Visible = isVisible;
-
- lblSuperLayer.Visible = isVisible;
- lblCoord1.Visible = isVisible;
- lblCoord2.Visible = isVisible;
-
- lblItemLayer.Visible = isVisible;
- imgI1.Visible = isVisible;
- imgI2.Visible = isVisible;
- imgI3.Visible = isVisible;
- imgI4.Visible = isVisible;
- imgI5.Visible = isVisible;
- imgI6.Visible = isVisible;
- imgI7.Visible = isVisible;
- imgI8.Visible = isVisible;
- imgI9.Visible = isVisible;
- imgI10.Visible = isVisible;
- imgI11.Visible = isVisible;
- imgI12.Visible = isVisible;
- imgI13.Visible = isVisible;
- imgI14.Visible = isVisible;
- imgI15.Visible = isVisible;
- imgI16.Visible = isVisible;
- imgI17.Visible = isVisible;
- imgI18.Visible = isVisible;
- imgI19.Visible = isVisible;
- imgI20.Visible = isVisible;
- imgI21.Visible = isVisible;
- imgI22.Visible = isVisible;
- imgI23.Visible = isVisible;
- imgI24.Visible = isVisible;
- imgI25.Visible = isVisible;
- imgI26.Visible = isVisible;
- imgI27.Visible = isVisible;
- imgI28.Visible = isVisible;
- imgI29.Visible = isVisible;
- imgI30.Visible = isVisible;
- imgI31.Visible = isVisible;
- imgI32.Visible = isVisible;
- imgI33.Visible = isVisible;
- imgI34.Visible = isVisible;
- imgI35.Visible = isVisible;
- imgI36.Visible = isVisible;
- imgI37.Visible = isVisible;
- imgI38.Visible = isVisible;
- imgI39.Visible = isVisible;
- imgI40.Visible = isVisible;
- imgI41.Visible = isVisible;
- imgI42.Visible = isVisible;
- imgI43.Visible = isVisible;
- imgI44.Visible = isVisible;
- imgI45.Visible = isVisible;
- imgI46.Visible = isVisible;
- imgI47.Visible = isVisible;
- imgI48.Visible = isVisible;
- imgI49.Visible = isVisible;
- imgI50.Visible = isVisible;
- imgI51.Visible = isVisible;
- imgI52.Visible = isVisible;
- imgI53.Visible = isVisible;
- imgI54.Visible = isVisible;
- imgI55.Visible = isVisible;
- imgI56.Visible = isVisible;
- imgI57.Visible = isVisible;
- imgI58.Visible = isVisible;
- imgI59.Visible = isVisible;
- imgI60.Visible = isVisible;
- imgI61.Visible = isVisible;
- imgI62.Visible = isVisible;
- imgI63.Visible = isVisible;
- imgI64.Visible = isVisible;
- imgI65.Visible = isVisible;
- imgI66.Visible = isVisible;
- imgI67.Visible = isVisible;
- imgI68.Visible = isVisible;
- imgI69.Visible = isVisible;
- imgI70.Visible = isVisible;
- imgI71.Visible = isVisible;
- imgI72.Visible = isVisible;
- imgI73.Visible = isVisible;
- imgI74.Visible = isVisible;
- imgI75.Visible = isVisible;
- imgI76.Visible = isVisible;
- imgI77.Visible = isVisible;
- imgI78.Visible = isVisible;
- imgI79.Visible = isVisible;
- imgI80.Visible = isVisible;
- imgI81.Visible = isVisible;
-
- lblHoleMsg.Visible = isVisible;
- lblHoleOnTop.Visible = isVisible;
-
- lblBlank6.Visible = isVisible;
- }
-
- private void SetInvMenuVisibility(bool isVisible) {
- btnI1.Visible = isVisible;
- btnI2.Visible = isVisible;
- btnI3.Visible = isVisible;
- btnI4.Visible = isVisible;
- btnI5.Visible = isVisible;
- btnI6.Visible = isVisible;
- btnI7.Visible = isVisible;
- btnI8.Visible = isVisible;
- btnI9.Visible = isVisible;
- btnI10.Visible = isVisible;
- btnI11.Visible = isVisible;
- btnI12.Visible = isVisible;
- btnI13.Visible = isVisible;
- btnI14.Visible = isVisible;
- btnI15.Visible = isVisible;
- btnI16.Visible = isVisible;
- btnI17.Visible = isVisible;
- btnI18.Visible = isVisible;
- btnI19.Visible = isVisible;
- btnI20.Visible = isVisible;
- btnI21.Visible = isVisible;
- btnI22.Visible = isVisible;
- btnI23.Visible = isVisible;
- btnI24.Visible = isVisible;
- btnI25.Visible = isVisible;
- btnI26.Visible = isVisible;
- btnI27.Visible = isVisible;
- btnI28.Visible = isVisible;
- btnI29.Visible = isVisible;
- btnI30.Visible = isVisible;
- btnI31.Visible = isVisible;
- btnI32.Visible = isVisible;
- btnI33.Visible = isVisible;
- btnI34.Visible = isVisible;
- btnI35.Visible = isVisible;
- btnI36.Visible = isVisible;
- btnI37.Visible = isVisible;
- btnI38.Visible = isVisible;
- btnI39.Visible = isVisible;
- btnI40.Visible = isVisible;
- btnI41.Visible = isVisible;
- btnI42.Visible = isVisible;
- btnI43.Visible = isVisible;
- btnI44.Visible = isVisible;
- btnI45.Visible = isVisible;
- btnI46.Visible = isVisible;
- btnI47.Visible = isVisible;
- btnI48.Visible = isVisible;
- btnI49.Visible = isVisible;
- btnI50.Visible = isVisible;
- btnI51.Visible = isVisible;
- btnI52.Visible = isVisible;
- btnI53.Visible = isVisible;
- btnI54.Visible = isVisible;
- btnI55.Visible = isVisible;
- btnI56.Visible = isVisible;
- btnI57.Visible = isVisible;
- btnI58.Visible = isVisible;
- btnI59.Visible = isVisible;
- btnI60.Visible = isVisible;
- btnI61.Visible = isVisible;
- btnI62.Visible = isVisible;
- btnI63.Visible = isVisible;
- btnI64.Visible = isVisible;
- btnI65.Visible = isVisible;
- btnI66.Visible = isVisible;
- btnI67.Visible = isVisible;
- btnI68.Visible = isVisible;
- btnI69.Visible = isVisible;
- btnI70.Visible = isVisible;
- btnI71.Visible = isVisible;
- btnI72.Visible = isVisible;
- btnI73.Visible = isVisible;
- btnI74.Visible = isVisible;
- btnI75.Visible = isVisible;
- btnI76.Visible = isVisible;
- btnI77.Visible = isVisible;
- btnI78.Visible = isVisible;
- btnI79.Visible = isVisible;
- btnI80.Visible = isVisible;
- btnI81.Visible = isVisible;
- btnCrafting.Visible = isVisible;
-
- lblAccessories.Visible = isVisible;
- btnA1.Visible = isVisible;
- btnA2.Visible = isVisible;
- btnA3.Visible = isVisible;
- btnA4.Visible = isVisible;
- btnA5.Visible = isVisible;
- btnA6.Visible = isVisible;
- btnA7.Visible = isVisible;
- btnA8.Visible = isVisible;
- btnA9.Visible = isVisible;
- btnA10.Visible = isVisible;
- btnA11.Visible = isVisible;
- btnA12.Visible = isVisible;
- btnA13.Visible = isVisible;
- btnA14.Visible = isVisible;
- btnA15.Visible = isVisible;
- btnA16.Visible = isVisible;
- btnA17.Visible = isVisible;
- btnA18.Visible = isVisible;
-
- lblGear.Visible = isVisible;
- btnG1.Visible = isVisible;
- btnG2.Visible = isVisible;
- btnG3.Visible = isVisible;
- btnG4.Visible = isVisible;
- btnG5.Visible = isVisible;
- btnG6.Visible = isVisible;
- btnG7.Visible = isVisible;
- btnG8.Visible = isVisible;
- btnG9.Visible = isVisible;
-
- imgInfo.Visible = isVisible;
- lblInfo.Visible = isVisible;
-
- lblBlank6.Visible = isVisible;
- }
- }
-}
diff --git a/Mundus/Views/Windows/GameWindows/Medium/MediumButtonClickedEvents.cs b/Mundus/Views/Windows/GameWindows/Medium/MediumButtonClickedEvents.cs
new file mode 100644
index 0000000..8bc6d9a
--- /dev/null
+++ b/Mundus/Views/Windows/GameWindows/Medium/MediumButtonClickedEvents.cs
@@ -0,0 +1,1172 @@
+namespace Mundus.Views.Windows
+{
+ using System;
+ using Mundus.Service;
+
+ public partial class MediumGameWindow
+ {
+ protected void OnBtnMapClicked(object sender, EventArgs e)
+ {
+ // Hide inv menu, if it is visible (so only one of the two is visible)
+ if (this.InvMenuIsVisible())
+ {
+ this.OnBtnInvClicked(this, null);
+ }
+
+ if (this.MapMenuIsVisible())
+ {
+ this.SetMapMenuVisibility(false);
+ }
+ else
+ {
+ this.PrintMap();
+ this.SetMapMenuVisibility(true);
+ }
+ }
+
+ protected void OnBtnInvClicked(object sender, EventArgs e)
+ {
+ // Hide map menu, if it is visible (so only one of the two is visible)
+ if (this.MapMenuIsVisible())
+ {
+ this.OnBtnMapClicked(this, null);
+ }
+
+ if (btnI1.Visible)
+ {
+ this.SetInvMenuVisibility(false);
+ }
+ else
+ {
+ this.PrintInventory();
+ this.SetInvMenuVisibility(true);
+ }
+ }
+
+ protected void OnBtnPauseClicked(object sender, EventArgs e)
+ {
+ // Note: pause window blocks player input
+ WindowController.ShowPauseWindow();
+ }
+
+ protected void OnBtnMusicClicked(object sender, EventArgs e)
+ {
+ WindowController.ShowMusicWindow();
+ }
+
+ protected void OnBtnCraftingClicked(object sender, EventArgs e)
+ {
+ WindowController.ShowCraftingWindow();
+ }
+
+ #region Screen buttons
+
+ protected void OnBtnP1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(1);
+ }
+ }
+
+ protected void OnBtnP2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(2);
+ }
+ }
+
+ protected void OnBtnP3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(3);
+ }
+ }
+
+ protected void OnBtnP4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(4);
+ }
+ }
+
+ protected void OnBtnP5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(5);
+ }
+ }
+
+ protected void OnBtnP6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(6);
+ }
+ }
+
+ protected void OnBtnP7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(7);
+ }
+ }
+
+ protected void OnBtnP8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(8);
+ }
+ }
+
+ protected void OnBtnP9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(9);
+ }
+ }
+
+ protected void OnBtnP10Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(10);
+ }
+ }
+
+ protected void OnBtnP11Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(11);
+ }
+ }
+
+ protected void OnBtnP12Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(12);
+ }
+ }
+
+ protected void OnBtnP13Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(13);
+ }
+ }
+
+ protected void OnBtnP14Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(14);
+ }
+ }
+
+ protected void OnBtnP15Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(15);
+ }
+ }
+
+ protected void OnBtnP16Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(16);
+ }
+ }
+
+ protected void OnBtnP17Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(17);
+ }
+ }
+
+ protected void OnBtnP18Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(18);
+ }
+ }
+
+ protected void OnBtnP19Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(19);
+ }
+ }
+
+ protected void OnBtnP20Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(20);
+ }
+ }
+
+ protected void OnBtnP21Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(21);
+ }
+ }
+
+ protected void OnBtnP22Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(22);
+ }
+ }
+
+ protected void OnBtnP23Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(23);
+ }
+ }
+
+ protected void OnBtnP24Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(24);
+ }
+ }
+
+ protected void OnBtnP25Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(25);
+ }
+ }
+
+ protected void OnBtnP26Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(26);
+ }
+ }
+
+ protected void OnBtnP27Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(27);
+ }
+ }
+
+ protected void OnBtnP28Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(28);
+ }
+ }
+
+ protected void OnBtnP29Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(29);
+ }
+ }
+
+ protected void OnBtnP30Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(30);
+ }
+ }
+
+ protected void OnBtnP31Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(31);
+ }
+ }
+
+ protected void OnBtnP32Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(32);
+ }
+ }
+
+ protected void OnBtnP33Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(33);
+ }
+ }
+
+ protected void OnBtnP34Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(34);
+ }
+ }
+
+ protected void OnBtnP35Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(35);
+ }
+ }
+
+ protected void OnBtnP36Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(36);
+ }
+ }
+
+ protected void OnBtnP37Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(37);
+ }
+ }
+
+ protected void OnBtnP38Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(38);
+ }
+ }
+
+ protected void OnBtnP39Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(39);
+ }
+ }
+
+ protected void OnBtnP40Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(40);
+ }
+ }
+
+ protected void OnBtnP41Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(41);
+ }
+ }
+
+ protected void OnBtnP42Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(42);
+ }
+ }
+
+ protected void OnBtnP43Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(43);
+ }
+ }
+
+ protected void OnBtnP44Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(44);
+ }
+ }
+
+ protected void OnBtnP45Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(45);
+ }
+ }
+
+ protected void OnBtnP46Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(46);
+ }
+ }
+
+ protected void OnBtnP47Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(47);
+ }
+ }
+
+ protected void OnBtnP48Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(48);
+ }
+ }
+
+ protected void OnBtnP49Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(49);
+ }
+ }
+
+ #endregion
+
+ #region Hotbar buttons
+
+ protected void OnBtnH1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 0);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 1);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 2);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 3);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 4);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 5);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 6);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnLogClicked(object sender, EventArgs e)
+ {
+ WindowController.ShowLogWindow();
+ }
+
+ #endregion
+
+ #region Inventory (items) buttons
+
+ protected void OnBtnI1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 0);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 1);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 2);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 3);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 4);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 5);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 6);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 7);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 8);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI10Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 9);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI11Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 10);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI12Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 11);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI13Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 12);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI14Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 13);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI15Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 14);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI16Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 15);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI17Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 16);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI18Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 17);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI19Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 18);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI20Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 19);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI21Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 20);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI22Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 21);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI23Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 22);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI24Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 23);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI25Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 24);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI26Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 25);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI27Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 26);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI28Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 27);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI29Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 28);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI30Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 29);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI31Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 30);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI32Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 31);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI33Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 32);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI34Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 33);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI35Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 34);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI36Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 35);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI37Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 36);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI38Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 37);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI39Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 38);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI40Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 39);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI41Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 40);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI42Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 41);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI43Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 42);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI44Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 43);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI45Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 44);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI46Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 45);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI47Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 46);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI48Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 47);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI49Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 48);
+ this.PrintInventory();
+ }
+ }
+
+ #endregion
+
+ #region Accessories buttons
+
+ protected void OnBtnA1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 0);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 1);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 2);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 3);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 4);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 5);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 6);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 7);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 8);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA10Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 9);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA11Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 10);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA12Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 11);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA13Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 12);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA14Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 13);
+ this.PrintInventory();
+ }
+ }
+
+ #endregion
+
+ #region Gear buttons
+
+ protected void OnBtnG1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 0);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 1);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 2);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 3);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 4);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 5);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 6);
+ this.PrintInventory();
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/Mundus/Views/Windows/GameWindows/Medium/MediumLogic.cs b/Mundus/Views/Windows/GameWindows/Medium/MediumLogic.cs
new file mode 100644
index 0000000..a7558bd
--- /dev/null
+++ b/Mundus/Views/Windows/GameWindows/Medium/MediumLogic.cs
@@ -0,0 +1,331 @@
+namespace Mundus.Views.Windows
+{
+ using Gtk;
+ using Mundus.Service;
+ using Mundus.Service.Tiles.Items;
+ using Mundus.Service.Tiles.Mobs;
+ using Mundus.Service.Tiles.Mobs.Controllers;
+
+ public partial class MediumGameWindow : Gtk.Window, IGameWindow
+ {
+ /// <summary>
+ /// TODO: Make it an enum
+ /// Saves the place from which the player has selected an item
+ /// Must be either: "hotbar", "items", "accessories" or "gear"
+ /// </summary>
+ private string selPlace = null;
+
+ /// <summary>
+ /// Saves the index of the selected item
+ /// </summary>
+ private int selIndex = -1;
+
+ public MediumGameWindow() : base( Gtk.WindowType.Toplevel )
+ {
+ this.Build();
+ }
+
+ /// <summary>
+ /// Gets value for the height and width of the game screen, map screens and inventory screen
+ /// and the width of stats, hotbar, accessories, gear and items on the ground menus
+ /// </summary>
+ public int Size { get; private set; }
+
+ public void OnDeleteEvent(object o, DeleteEventArgs args)
+ {
+ //Open exit dialogue if you haven't saved in a while
+ Application.Quit();
+ }
+
+ public void SetDefaults()
+ {
+ this.Size = 7;
+ this.SetMapMenuVisibility(false);
+ this.SetInvMenuVisibility(false);
+ }
+
+ private void SelectItem(string place, int index)
+ {
+ if (HasSelection())
+ {
+ ResetSelection();
+ SwitchItems.ReplaceItems(place, index);
+ }
+ else
+ {
+ selPlace = place;
+ selIndex = index;
+ SwitchItems.SetOrigin(place, index);
+ }
+
+ this.PrintMainMenu();
+ this.PrintInventory();
+ }
+
+ private void React(int button)
+ {
+ int buttonYPos = (button - 1) / Size;
+ int buttonXPos = (button - (buttonYPos * Size)) - 1;
+
+ int mapXPos = Calculate.CalculateXFromButton(buttonXPos, Size);
+ int mapYPos = Calculate.CalculateYFromButton(buttonYPos, Size);
+
+ if (!HasSelection())
+ {
+ MobMovement.MovePlayer(mapYPos, mapXPos, Size);
+ MobMovement.MoveRandomlyAllMobs();
+ }
+ else
+ {
+ if (Inventory.GetPlayerItem(selPlace, selIndex) != null)
+ {
+ if (MobFighting.ExistsFightTargetForPlayer(mapYPos, mapXPos))
+ {
+ MobFighting.PlayerTryFight(selPlace, selIndex, mapYPos, mapXPos);
+ }
+ else
+ {
+ MobTerraforming.PlayerTerraformAt(mapYPos, mapXPos, selPlace, selIndex);
+ }
+ }
+ ResetSelection();
+ }
+
+ this.PrintWorldScreen();
+ this.PrintMainMenu();
+
+ if (this.MapMenuIsVisible())
+ {
+ this.PrintMap();
+ }
+ else if (this.InvMenuIsVisible())
+ {
+ this.PrintInventory();
+ }
+ }
+
+ private void ResetSelection()
+ {
+ selPlace = null;
+ selIndex = -1;
+ }
+ private bool HasSelection()
+ {
+ return selPlace != null;
+ }
+
+ private bool InvMenuIsVisible()
+ {
+ return btnI1.Visible;
+ }
+
+ private bool MapMenuIsVisible()
+ {
+ return imgG1.Visible;
+ }
+
+ /// <summary>
+ /// The map menu is the left menu with the grond layer, structure layer, coordinates, superlayer and "ground above player" items
+ /// </summary>
+ private void SetMapMenuVisibility(bool isVisible)
+ {
+ lblGroundLayer.Visible = isVisible;
+ imgG1.Visible = isVisible;
+ imgG2.Visible = isVisible;
+ imgG3.Visible = isVisible;
+ imgG4.Visible = isVisible;
+ imgG5.Visible = isVisible;
+ imgG6.Visible = isVisible;
+ imgG7.Visible = isVisible;
+ imgG8.Visible = isVisible;
+ imgG9.Visible = isVisible;
+ imgG10.Visible = isVisible;
+ imgG11.Visible = isVisible;
+ imgG12.Visible = isVisible;
+ imgG13.Visible = isVisible;
+ imgG14.Visible = isVisible;
+ imgG15.Visible = isVisible;
+ imgG16.Visible = isVisible;
+ imgG17.Visible = isVisible;
+ imgG18.Visible = isVisible;
+ imgG19.Visible = isVisible;
+ imgG20.Visible = isVisible;
+ imgG21.Visible = isVisible;
+ imgG22.Visible = isVisible;
+ imgG23.Visible = isVisible;
+ imgG24.Visible = isVisible;
+ imgG25.Visible = isVisible;
+ imgG26.Visible = isVisible;
+ imgG27.Visible = isVisible;
+ imgG28.Visible = isVisible;
+ imgG29.Visible = isVisible;
+ imgG30.Visible = isVisible;
+ imgG31.Visible = isVisible;
+ imgG32.Visible = isVisible;
+ imgG33.Visible = isVisible;
+ imgG34.Visible = isVisible;
+ imgG35.Visible = isVisible;
+ imgG36.Visible = isVisible;
+ imgG37.Visible = isVisible;
+ imgG38.Visible = isVisible;
+ imgG39.Visible = isVisible;
+ imgG40.Visible = isVisible;
+ imgG41.Visible = isVisible;
+ imgG42.Visible = isVisible;
+ imgG43.Visible = isVisible;
+ imgG44.Visible = isVisible;
+ imgG45.Visible = isVisible;
+ imgG46.Visible = isVisible;
+ imgG47.Visible = isVisible;
+ imgG48.Visible = isVisible;
+ imgG49.Visible = isVisible;
+
+ lblSuperLayer.Visible = isVisible;
+ lblCoord1.Visible = isVisible;
+ lblCoord2.Visible = isVisible;
+
+ lblItemLayer.Visible = isVisible;
+ imgI1.Visible = isVisible;
+ imgI2.Visible = isVisible;
+ imgI3.Visible = isVisible;
+ imgI4.Visible = isVisible;
+ imgI5.Visible = isVisible;
+ imgI6.Visible = isVisible;
+ imgI7.Visible = isVisible;
+ imgI8.Visible = isVisible;
+ imgI9.Visible = isVisible;
+ imgI10.Visible = isVisible;
+ imgI11.Visible = isVisible;
+ imgI12.Visible = isVisible;
+ imgI13.Visible = isVisible;
+ imgI14.Visible = isVisible;
+ imgI15.Visible = isVisible;
+ imgI16.Visible = isVisible;
+ imgI17.Visible = isVisible;
+ imgI18.Visible = isVisible;
+ imgI19.Visible = isVisible;
+ imgI20.Visible = isVisible;
+ imgI21.Visible = isVisible;
+ imgI22.Visible = isVisible;
+ imgI23.Visible = isVisible;
+ imgI24.Visible = isVisible;
+ imgI25.Visible = isVisible;
+ imgI26.Visible = isVisible;
+ imgI27.Visible = isVisible;
+ imgI28.Visible = isVisible;
+ imgI29.Visible = isVisible;
+ imgI30.Visible = isVisible;
+ imgI31.Visible = isVisible;
+ imgI32.Visible = isVisible;
+ imgI33.Visible = isVisible;
+ imgI34.Visible = isVisible;
+ imgI35.Visible = isVisible;
+ imgI36.Visible = isVisible;
+ imgI37.Visible = isVisible;
+ imgI38.Visible = isVisible;
+ imgI39.Visible = isVisible;
+ imgI40.Visible = isVisible;
+ imgI41.Visible = isVisible;
+ imgI42.Visible = isVisible;
+ imgI43.Visible = isVisible;
+ imgI44.Visible = isVisible;
+ imgI45.Visible = isVisible;
+ imgI46.Visible = isVisible;
+ imgI47.Visible = isVisible;
+ imgI48.Visible = isVisible;
+ imgI49.Visible = isVisible;
+
+ lblHoleMsg.Visible = isVisible;
+ lblHoleOnTop.Visible = isVisible;
+
+ lblBlank6.Visible = isVisible;
+ }
+
+ /// <summary>
+ /// The inventory menu is the right menu with the items, accessories, gear incentories, item info and crafting button
+ /// </summary>
+ private void SetInvMenuVisibility(bool isVisible)
+ {
+ btnI1.Visible = isVisible;
+ btnI2.Visible = isVisible;
+ btnI3.Visible = isVisible;
+ btnI4.Visible = isVisible;
+ btnI5.Visible = isVisible;
+ btnI6.Visible = isVisible;
+ btnI7.Visible = isVisible;
+ btnI8.Visible = isVisible;
+ btnI9.Visible = isVisible;
+ btnI10.Visible = isVisible;
+ btnI11.Visible = isVisible;
+ btnI12.Visible = isVisible;
+ btnI13.Visible = isVisible;
+ btnI14.Visible = isVisible;
+ btnI15.Visible = isVisible;
+ btnI16.Visible = isVisible;
+ btnI17.Visible = isVisible;
+ btnI18.Visible = isVisible;
+ btnI19.Visible = isVisible;
+ btnI20.Visible = isVisible;
+ btnI21.Visible = isVisible;
+ btnI22.Visible = isVisible;
+ btnI23.Visible = isVisible;
+ btnI24.Visible = isVisible;
+ btnI25.Visible = isVisible;
+ btnI26.Visible = isVisible;
+ btnI27.Visible = isVisible;
+ btnI28.Visible = isVisible;
+ btnI29.Visible = isVisible;
+ btnI30.Visible = isVisible;
+ btnI31.Visible = isVisible;
+ btnI32.Visible = isVisible;
+ btnI33.Visible = isVisible;
+ btnI34.Visible = isVisible;
+ btnI35.Visible = isVisible;
+ btnI36.Visible = isVisible;
+ btnI37.Visible = isVisible;
+ btnI38.Visible = isVisible;
+ btnI39.Visible = isVisible;
+ btnI40.Visible = isVisible;
+ btnI41.Visible = isVisible;
+ btnI42.Visible = isVisible;
+ btnI43.Visible = isVisible;
+ btnI44.Visible = isVisible;
+ btnI45.Visible = isVisible;
+ btnI46.Visible = isVisible;
+ btnI47.Visible = isVisible;
+ btnI48.Visible = isVisible;
+ btnI49.Visible = isVisible;
+ btnCrafting.Visible = isVisible;
+
+ lblAccessories.Visible = isVisible;
+ btnA1.Visible = isVisible;
+ btnA2.Visible = isVisible;
+ btnA3.Visible = isVisible;
+ btnA4.Visible = isVisible;
+ btnA5.Visible = isVisible;
+ btnA6.Visible = isVisible;
+ btnA7.Visible = isVisible;
+ btnA8.Visible = isVisible;
+ btnA9.Visible = isVisible;
+ btnA10.Visible = isVisible;
+ btnA11.Visible = isVisible;
+ btnA12.Visible = isVisible;
+ btnA13.Visible = isVisible;
+ btnA14.Visible = isVisible;
+
+ lblGear.Visible = isVisible;
+ btnG1.Visible = isVisible;
+ btnG2.Visible = isVisible;
+ btnG3.Visible = isVisible;
+ btnG4.Visible = isVisible;
+ btnG5.Visible = isVisible;
+ btnG6.Visible = isVisible;
+ btnG7.Visible = isVisible;
+
+ imgInfo.Visible = isVisible;
+ lblInfo.Visible = isVisible;
+
+ lblBlank6.Visible = isVisible;
+ }
+ }
+}
diff --git a/Mundus/Views/Windows/GameWindows/Medium/MediumPrinting.cs b/Mundus/Views/Windows/GameWindows/Medium/MediumPrinting.cs
new file mode 100644
index 0000000..6301ca0
--- /dev/null
+++ b/Mundus/Views/Windows/GameWindows/Medium/MediumPrinting.cs
@@ -0,0 +1,456 @@
+namespace Mundus.Views.Windows
+{
+ using Gtk;
+ using Mundus.Service;
+ using Mundus.Service.SuperLayers;
+ using Mundus.Service.Tiles.Items;
+ using Mundus.Service.Tiles.Mobs.Controllers;
+
+ public partial class MediumGameWindow
+ {
+ /// <summary>
+ /// Prints the screen that the player uses to interract with the game map
+ /// </summary>
+ public void PrintWorldScreen()
+ {
+ for (int layer = 0; layer < 3; layer++)
+ {
+ for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), btn = 1; row <= maxY; row++)
+ {
+ for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, btn++)
+ {
+ Image img = ImageController.GetScreenImage(row, col, layer);
+
+ if (img == null)
+ {
+ continue;
+ }
+
+ switch (btn)
+ {
+ case 1: btnP1.Image = img; break;
+ case 2: btnP2.Image = img; break;
+ case 3: btnP3.Image = img; break;
+ case 4: btnP4.Image = img; break;
+ case 5: btnP5.Image = img; break;
+ case 6: btnP6.Image = img; break;
+ case 7: btnP7.Image = img; break;
+ case 8: btnP8.Image = img; break;
+ case 9: btnP9.Image = img; break;
+ case 10: btnP10.Image = img; break;
+ case 11: btnP11.Image = img; break;
+ case 12: btnP12.Image = img; break;
+ case 13: btnP13.Image = img; break;
+ case 14: btnP14.Image = img; break;
+ case 15: btnP15.Image = img; break;
+ case 16: btnP16.Image = img; break;
+ case 17: btnP17.Image = img; break;
+ case 18: btnP18.Image = img; break;
+ case 19: btnP19.Image = img; break;
+ case 20: btnP20.Image = img; break;
+ case 21: btnP21.Image = img; break;
+ case 22: btnP22.Image = img; break;
+ case 23: btnP23.Image = img; break;
+ case 24: btnP24.Image = img; break;
+ case 25: btnP25.Image = img; break;
+ case 26: btnP26.Image = img; break;
+ case 27: btnP27.Image = img; break;
+ case 28: btnP28.Image = img; break;
+ case 29: btnP29.Image = img; break;
+ case 30: btnP30.Image = img; break;
+ case 31: btnP31.Image = img; break;
+ case 32: btnP32.Image = img; break;
+ case 33: btnP33.Image = img; break;
+ case 34: btnP34.Image = img; break;
+ case 35: btnP35.Image = img; break;
+ case 36: btnP36.Image = img; break;
+ case 37: btnP37.Image = img; break;
+ case 38: btnP38.Image = img; break;
+ case 39: btnP39.Image = img; break;
+ case 40: btnP40.Image = img; break;
+ case 41: btnP41.Image = img; break;
+ case 42: btnP42.Image = img; break;
+ case 43: btnP43.Image = img; break;
+ case 44: btnP44.Image = img; break;
+ case 45: btnP45.Image = img; break;
+ case 46: btnP46.Image = img; break;
+ case 47: btnP47.Image = img; break;
+ case 48: btnP48.Image = img; break;
+ case 49: btnP49.Image = img; break;
+ }
+ }
+ }
+ }
+ }
+
+ /// <summary>
+ /// Prints the energy, health and hot bars and log
+ /// </summary>
+ public void PrintMainMenu()
+ {
+ this.PrintEnergyBar();
+ this.PrintHealthBar();
+ this.PrintHotBar();
+ this.PrintLog();
+ }
+
+ /// <summary>
+ /// Prints the inventory (items, accessories and gear)
+ /// </summary>
+ public void PrintInventory()
+ {
+ this.PrintItemsInventory();
+ this.PrintAccessoriesInventory();
+ this.PrintGearInventory();
+ }
+
+ /// <summary>
+ /// Prints the information that is avalable for the given item
+ /// </summary>
+ public void PrintSelectedItemInfo(ItemTile itemTile)
+ {
+ if (itemTile != null)
+ {
+ imgInfo.SetFromStock(itemTile.stock_id, IconSize.Dnd);
+ lblInfo.Text = itemTile.ToString();
+ }
+ else
+ {
+ imgInfo.SetFromImage(null, null);
+ lblInfo.Text = null;
+ }
+ }
+
+ /// <summary>
+ /// Prints the map menu items (ground layer, structure layer, coordinates, current superlayer, there is hole on top of player)
+ /// </summary>
+ public void PrintMap()
+ {
+ this.PrintGroundLayerMap();
+
+ lblSuperLayer.Text = MobStatsController.GetPlayerSuperLayerName();
+ lblCoord1.Text = "X: " + MobStatsController.GetPlayerXCoord();
+ lblCoord2.Text = "Y: " + MobStatsController.GetPlayerYCoord();
+
+ this.PrintStructureLayerMap();
+
+ lblHoleOnTop.Text = MobStatsController.ExistsHoleOnTopOfPlayer() + string.Empty;
+ }
+
+ #region MainMenu
+
+ private void PrintEnergyBar()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ string iconName = MobStatsController.GetPlayerEnergyStock(i);
+
+ switch (i)
+ {
+ case 0: imgS1.SetFromStock(iconName, IconSize.Dnd); break;
+ case 1: imgS2.SetFromStock(iconName, IconSize.Dnd); break;
+ case 2: imgS3.SetFromStock(iconName, IconSize.Dnd); break;
+ case 3: imgS4.SetFromStock(iconName, IconSize.Dnd); break;
+ case 4: imgS5.SetFromStock(iconName, IconSize.Dnd); break;
+ case 5: imgS6.SetFromStock(iconName, IconSize.Dnd); break;
+ case 6: imgS7.SetFromStock(iconName, IconSize.Dnd); break;
+ }
+ }
+ }
+
+ private void PrintHealthBar()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ string iconName = MobStatsController.GetPlayerHearthStock(i);
+
+ switch (i)
+ {
+ case 0: imgS8.SetFromStock(iconName, IconSize.Dnd); break;
+ case 1: imgS9.SetFromStock(iconName, IconSize.Dnd); break;
+ case 2: imgS10.SetFromStock(iconName, IconSize.Dnd); break;
+ case 3: imgS11.SetFromStock(iconName, IconSize.Dnd); break;
+ case 4: imgS12.SetFromStock(iconName, IconSize.Dnd); break;
+ case 5: imgS13.SetFromStock(iconName, IconSize.Dnd); break;
+ case 6: imgS14.SetFromStock(iconName, IconSize.Dnd); break;
+ }
+ }
+ }
+
+ private void PrintHotBar()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ Image img = ImageController.GetPlayerHotbarImage(i);
+
+ switch (i)
+ {
+ case 0: btnH1.Image = img; break;
+ case 1: btnH2.Image = img; break;
+ case 2: btnH3.Image = img; break;
+ case 3: btnH4.Image = img; break;
+ case 4: btnH5.Image = img; break;
+ case 5: btnH6.Image = img; break;
+ case 6: btnH7.Image = img; break;
+ }
+ }
+ }
+
+ private void PrintLog()
+ {
+ for (int i = 0, msgIndex = GameEventLogController.GetCount() - 1; i < Size; msgIndex--, i++)
+ {
+ string msg = GameEventLogController.GetMessagage(msgIndex);
+
+ switch (i)
+ {
+ case 0: lblLog1.Text = msg; break;
+ case 1: lblLog2.Text = msg; break;
+ case 2: lblLog3.Text = msg; break;
+ case 3: lblLog4.Text = msg; break;
+ case 4: lblLog5.Text = msg; break;
+ case 5: lblLog6.Text = msg; break;
+ }
+ }
+ }
+
+ #endregion
+
+ #region Inventory
+
+ private void PrintItemsInventory() {
+ for (int row = 0; row < Size; row++) {
+ for (int col = 0; col < Size; col++) {
+ Image img = ImageController.GetPlayerInventoryItemImage((row * Size) + col);
+
+ switch ((row * Size) + col + 1) {
+ case 1: btnI1.Image = img; break;
+ case 2: btnI2.Image = img; break;
+ case 3: btnI3.Image = img; break;
+ case 4: btnI4.Image = img; break;
+ case 5: btnI5.Image = img; break;
+ case 6: btnI6.Image = img; break;
+ case 7: btnI7.Image = img; break;
+ case 8: btnI8.Image = img; break;
+ case 9: btnI9.Image = img; break;
+ case 10: btnI10.Image = img; break;
+ case 11: btnI11.Image = img; break;
+ case 12: btnI12.Image = img; break;
+ case 13: btnI13.Image = img; break;
+ case 14: btnI14.Image = img; break;
+ case 15: btnI15.Image = img; break;
+ case 16: btnI16.Image = img; break;
+ case 17: btnI17.Image = img; break;
+ case 18: btnI18.Image = img; break;
+ case 19: btnI19.Image = img; break;
+ case 20: btnI20.Image = img; break;
+ case 21: btnI21.Image = img; break;
+ case 22: btnI22.Image = img; break;
+ case 23: btnI23.Image = img; break;
+ case 24: btnI24.Image = img; break;
+ case 25: btnI25.Image = img; break;
+ case 26: btnI26.Image = img; break;
+ case 27: btnI27.Image = img; break;
+ case 28: btnI28.Image = img; break;
+ case 29: btnI29.Image = img; break;
+ case 30: btnI30.Image = img; break;
+ case 31: btnI31.Image = img; break;
+ case 32: btnI32.Image = img; break;
+ case 33: btnI33.Image = img; break;
+ case 34: btnI34.Image = img; break;
+ case 35: btnI35.Image = img; break;
+ case 36: btnI36.Image = img; break;
+ case 37: btnI37.Image = img; break;
+ case 38: btnI38.Image = img; break;
+ case 39: btnI39.Image = img; break;
+ case 40: btnI40.Image = img; break;
+ case 41: btnI41.Image = img; break;
+ case 42: btnI42.Image = img; break;
+ case 43: btnI43.Image = img; break;
+ case 44: btnI44.Image = img; break;
+ case 45: btnI45.Image = img; break;
+ case 46: btnI46.Image = img; break;
+ case 47: btnI47.Image = img; break;
+ case 48: btnI48.Image = img; break;
+ case 49: btnI49.Image = img; break;
+ }
+ }
+ }
+ }
+
+ private void PrintAccessoriesInventory() {
+ for (int row = 0; row < 2; row++) {
+ for (int col = 0; col < Size; col++) {
+ Image img = ImageController.GetPlayerAccessoryImage((row * Size) + col);
+
+ switch ((row * Size) + col + 1) {
+ case 1: btnA1.Image = img; break;
+ case 2: btnA2.Image = img; break;
+ case 3: btnA3.Image = img; break;
+ case 4: btnA4.Image = img; break;
+ case 5: btnA5.Image = img; break;
+ case 6: btnA6.Image = img; break;
+ case 7: btnA7.Image = img; break;
+ case 8: btnA8.Image = img; break;
+ case 9: btnA9.Image = img; break;
+ case 10: btnA10.Image = img; break;
+ case 11: btnA11.Image = img; break;
+ case 12: btnA12.Image = img; break;
+ case 13: btnA13.Image = img; break;
+ case 14: btnA14.Image = img; break;
+ }
+ }
+ }
+ }
+
+ private void PrintGearInventory() {
+ for (int i = 0; i < Size; i++) {
+ Image img = ImageController.GetPlayerGearImage(i);
+
+ switch (i + 1) {
+ case 1: btnG1.Image = img; break;
+ case 2: btnG2.Image = img; break;
+ case 3: btnG3.Image = img; break;
+ case 4: btnG4.Image = img; break;
+ case 5: btnG5.Image = img; break;
+ case 6: btnG6.Image = img; break;
+ case 7: btnG7.Image = img; break;
+ }
+ }
+ }
+
+ #endregion
+
+ #region Map
+
+ private void PrintGroundLayerMap()
+ {
+ for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++)
+ {
+ for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++)
+ {
+ string stockName = ImageController.GetPlayerGroundImage(row, col).Stock;
+
+ switch (img)
+ {
+ case 1: imgG1.SetFromStock(stockName, IconSize.Dnd); break;
+ case 2: imgG2.SetFromStock(stockName, IconSize.Dnd); break;
+ case 3: imgG3.SetFromStock(stockName, IconSize.Dnd); break;
+ case 4: imgG4.SetFromStock(stockName, IconSize.Dnd); break;
+ case 5: imgG5.SetFromStock(stockName, IconSize.Dnd); break;
+ case 6: imgG6.SetFromStock(stockName, IconSize.Dnd); break;
+ case 7: imgG7.SetFromStock(stockName, IconSize.Dnd); break;
+ case 8: imgG8.SetFromStock(stockName, IconSize.Dnd); break;
+ case 9: imgG9.SetFromStock(stockName, IconSize.Dnd); break;
+ case 10: imgG10.SetFromStock(stockName, IconSize.Dnd); break;
+ case 11: imgG11.SetFromStock(stockName, IconSize.Dnd); break;
+ case 12: imgG12.SetFromStock(stockName, IconSize.Dnd); break;
+ case 13: imgG13.SetFromStock(stockName, IconSize.Dnd); break;
+ case 14: imgG14.SetFromStock(stockName, IconSize.Dnd); break;
+ case 15: imgG15.SetFromStock(stockName, IconSize.Dnd); break;
+ case 16: imgG16.SetFromStock(stockName, IconSize.Dnd); break;
+ case 17: imgG17.SetFromStock(stockName, IconSize.Dnd); break;
+ case 18: imgG18.SetFromStock(stockName, IconSize.Dnd); break;
+ case 19: imgG19.SetFromStock(stockName, IconSize.Dnd); break;
+ case 20: imgG20.SetFromStock(stockName, IconSize.Dnd); break;
+ case 21: imgG21.SetFromStock(stockName, IconSize.Dnd); break;
+ case 22: imgG22.SetFromStock(stockName, IconSize.Dnd); break;
+ case 23: imgG23.SetFromStock(stockName, IconSize.Dnd); break;
+ case 24: imgG24.SetFromStock(stockName, IconSize.Dnd); break;
+ case 25: imgG25.SetFromStock(stockName, IconSize.Dnd); break;
+ case 26: imgG26.SetFromStock(stockName, IconSize.Dnd); break;
+ case 27: imgG27.SetFromStock(stockName, IconSize.Dnd); break;
+ case 28: imgG28.SetFromStock(stockName, IconSize.Dnd); break;
+ case 29: imgG29.SetFromStock(stockName, IconSize.Dnd); break;
+ case 30: imgG30.SetFromStock(stockName, IconSize.Dnd); break;
+ case 31: imgG31.SetFromStock(stockName, IconSize.Dnd); break;
+ case 32: imgG32.SetFromStock(stockName, IconSize.Dnd); break;
+ case 33: imgG33.SetFromStock(stockName, IconSize.Dnd); break;
+ case 34: imgG34.SetFromStock(stockName, IconSize.Dnd); break;
+ case 35: imgG35.SetFromStock(stockName, IconSize.Dnd); break;
+ case 36: imgG36.SetFromStock(stockName, IconSize.Dnd); break;
+ case 37: imgG37.SetFromStock(stockName, IconSize.Dnd); break;
+ case 38: imgG38.SetFromStock(stockName, IconSize.Dnd); break;
+ case 39: imgG39.SetFromStock(stockName, IconSize.Dnd); break;
+ case 40: imgG40.SetFromStock(stockName, IconSize.Dnd); break;
+ case 41: imgG41.SetFromStock(stockName, IconSize.Dnd); break;
+ case 42: imgG42.SetFromStock(stockName, IconSize.Dnd); break;
+ case 43: imgG43.SetFromStock(stockName, IconSize.Dnd); break;
+ case 44: imgG44.SetFromStock(stockName, IconSize.Dnd); break;
+ case 45: imgG45.SetFromStock(stockName, IconSize.Dnd); break;
+ case 46: imgG46.SetFromStock(stockName, IconSize.Dnd); break;
+ case 47: imgG47.SetFromStock(stockName, IconSize.Dnd); break;
+ case 48: imgG48.SetFromStock(stockName, IconSize.Dnd); break;
+ case 49: imgG49.SetFromStock(stockName, IconSize.Dnd); break;
+ }
+ }
+ }
+ }
+
+ private void PrintStructureLayerMap()
+ {
+ for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++)
+ {
+ for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++)
+ {
+ string stockName = ImageController.GetPlayerStructureImage(row, col).Stock;
+
+ switch (img)
+ {
+ case 1: imgI1.SetFromStock(stockName, IconSize.Dnd); break;
+ case 2: imgI2.SetFromStock(stockName, IconSize.Dnd); break;
+ case 3: imgI3.SetFromStock(stockName, IconSize.Dnd); break;
+ case 4: imgI4.SetFromStock(stockName, IconSize.Dnd); break;
+ case 5: imgI5.SetFromStock(stockName, IconSize.Dnd); break;
+ case 6: imgI6.SetFromStock(stockName, IconSize.Dnd); break;
+ case 7: imgI7.SetFromStock(stockName, IconSize.Dnd); break;
+ case 8: imgI8.SetFromStock(stockName, IconSize.Dnd); break;
+ case 9: imgI9.SetFromStock(stockName, IconSize.Dnd); break;
+ case 10: imgI10.SetFromStock(stockName, IconSize.Dnd); break;
+ case 11: imgI11.SetFromStock(stockName, IconSize.Dnd); break;
+ case 12: imgI12.SetFromStock(stockName, IconSize.Dnd); break;
+ case 13: imgI13.SetFromStock(stockName, IconSize.Dnd); break;
+ case 14: imgI14.SetFromStock(stockName, IconSize.Dnd); break;
+ case 15: imgI15.SetFromStock(stockName, IconSize.Dnd); break;
+ case 16: imgI16.SetFromStock(stockName, IconSize.Dnd); break;
+ case 17: imgI17.SetFromStock(stockName, IconSize.Dnd); break;
+ case 18: imgI18.SetFromStock(stockName, IconSize.Dnd); break;
+ case 19: imgI19.SetFromStock(stockName, IconSize.Dnd); break;
+ case 20: imgI20.SetFromStock(stockName, IconSize.Dnd); break;
+ case 21: imgI21.SetFromStock(stockName, IconSize.Dnd); break;
+ case 22: imgI22.SetFromStock(stockName, IconSize.Dnd); break;
+ case 23: imgI23.SetFromStock(stockName, IconSize.Dnd); break;
+ case 24: imgI24.SetFromStock(stockName, IconSize.Dnd); break;
+ case 25: imgI25.SetFromStock(stockName, IconSize.Dnd); break;
+ case 26: imgI26.SetFromStock(stockName, IconSize.Dnd); break;
+ case 27: imgI27.SetFromStock(stockName, IconSize.Dnd); break;
+ case 28: imgI28.SetFromStock(stockName, IconSize.Dnd); break;
+ case 29: imgI29.SetFromStock(stockName, IconSize.Dnd); break;
+ case 30: imgI30.SetFromStock(stockName, IconSize.Dnd); break;
+ case 31: imgI31.SetFromStock(stockName, IconSize.Dnd); break;
+ case 32: imgI32.SetFromStock(stockName, IconSize.Dnd); break;
+ case 33: imgI33.SetFromStock(stockName, IconSize.Dnd); break;
+ case 34: imgI34.SetFromStock(stockName, IconSize.Dnd); break;
+ case 35: imgI35.SetFromStock(stockName, IconSize.Dnd); break;
+ case 36: imgI36.SetFromStock(stockName, IconSize.Dnd); break;
+ case 37: imgI37.SetFromStock(stockName, IconSize.Dnd); break;
+ case 38: imgI38.SetFromStock(stockName, IconSize.Dnd); break;
+ case 39: imgI39.SetFromStock(stockName, IconSize.Dnd); break;
+ case 40: imgI40.SetFromStock(stockName, IconSize.Dnd); break;
+ case 41: imgI41.SetFromStock(stockName, IconSize.Dnd); break;
+ case 42: imgI42.SetFromStock(stockName, IconSize.Dnd); break;
+ case 43: imgI43.SetFromStock(stockName, IconSize.Dnd); break;
+ case 44: imgI44.SetFromStock(stockName, IconSize.Dnd); break;
+ case 45: imgI45.SetFromStock(stockName, IconSize.Dnd); break;
+ case 46: imgI46.SetFromStock(stockName, IconSize.Dnd); break;
+ case 47: imgI47.SetFromStock(stockName, IconSize.Dnd); break;
+ case 48: imgI48.SetFromStock(stockName, IconSize.Dnd); break;
+ case 49: imgI49.SetFromStock(stockName, IconSize.Dnd); break;
+ }
+ }
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/Mundus/Views/Windows/GameWindows/MediumGameWindow.cs b/Mundus/Views/Windows/GameWindows/MediumGameWindow.cs
deleted file mode 100644
index 12e8ac1..0000000
--- a/Mundus/Views/Windows/GameWindows/MediumGameWindow.cs
+++ /dev/null
@@ -1,1549 +0,0 @@
-using System;
-using Gtk;
-using Mundus.Service;
-using Mundus.Service.Tiles.Mobs.Controllers;
-using Mundus.Service.SuperLayers;
-using Mundus.Service.Tiles.Items;
-using Mundus.Service.Tiles.Mobs;
-
-namespace Mundus.Views.Windows {
- public partial class MediumGameWindow : Gtk.Window, IGameWindow {
- public int Size { get; private set; }
-
- public MediumGameWindow() : base( Gtk.WindowType.Toplevel ) {
- this.Build();
- }
-
- public void OnDeleteEvent(object o, DeleteEventArgs args) {
- //Open exit dialogue if you haven't saved in a while
- Application.Quit();
- }
-
- public void SetDefaults() {
- this.Size = 7;
- this.SetMapMenuVisibility(false);
- this.SetInvMenuVisibility(false);
- }
-
- private void SelectItem(string place, int index) {
- if (HasSelection()) {
- ResetSelection();
- SwitchItems.ReplaceItems(place, index);
- }
- else {
- selPlace = place;
- selIndex = index;
- SwitchItems.SetOrigin(place, index);
- }
-
- this.PrintMainMenu();
- this.PrintInventory();
- }
-
- private void React(int button) {
- int buttonYPos = (button - 1) / Size;
- int buttonXPos = (button - (buttonYPos * Size)) - 1;
-
- int mapXPos = Calculate.CalculateXFromButton(buttonXPos, Size);
- int mapYPos = Calculate.CalculateYFromButton(buttonYPos, Size);
-
- if (!HasSelection()) {
- MobMovement.MovePlayer(mapYPos, mapXPos, Size);
- MobMovement.MoveRandomlyAllMobs();
- }
- else {
- if (Inventory.GetPlayerItem(selPlace, selIndex) != null) {
- if (MobFighting.ExistsFightTargetForPlayer(mapYPos, mapXPos)) {
- MobFighting.PlayerTryFight(selPlace, selIndex, mapYPos, mapXPos);
- }
- else {
- MobTerraforming.PlayerTerraformAt(mapYPos, mapXPos, selPlace, selIndex);
- }
- }
- ResetSelection();
- }
-
- this.PrintScreen();
- this.PrintMainMenu();
-
- if (this.MapMenuIsVisible()) {
- this.PrintMap();
- }
- else if (this.InvMenuIsVisible()) {
- this.PrintInventory();
- }
- }
-
- private static string selPlace = null;
- private static int selIndex = -1;
- private static void ResetSelection() {
- selPlace = null;
- selIndex = -1;
- }
- private static bool HasSelection() {
- return selPlace != null;
- }
-
- private bool InvMenuIsVisible() {
- return btnI1.Visible;
- }
-
-
-
- private bool MapMenuIsVisible() {
- return imgG1.Visible;
- }
-
- //
- // PRINTING
- //
-
- public void PrintSelectedItemInfo(ItemTile itemTile) {
- if (itemTile != null) {
- imgInfo.SetFromStock(itemTile.stock_id, IconSize.Dnd);
- lblInfo.Text = itemTile.ToString();
- }
- else {
- imgInfo.SetFromImage(null, null);
- lblInfo.Text = null;
- }
- }
-
- public void PrintScreen() {
- for (int layer = 0; layer < 3; layer++) {
- for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), btn = 1; row <= maxY; row++) {
- for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, btn++) {
- Image img = ImageController.GetScreenImage(row, col, layer);
-
- if (img == null) continue;
-
- switch (btn) {
- case 1: btnP1.Image = img; break;
- case 2: btnP2.Image = img; break;
- case 3: btnP3.Image = img; break;
- case 4: btnP4.Image = img; break;
- case 5: btnP5.Image = img; break;
- case 6: btnP6.Image = img; break;
- case 7: btnP7.Image = img; break;
- case 8: btnP8.Image = img; break;
- case 9: btnP9.Image = img; break;
- case 10: btnP10.Image = img; break;
- case 11: btnP11.Image = img; break;
- case 12: btnP12.Image = img; break;
- case 13: btnP13.Image = img; break;
- case 14: btnP14.Image = img; break;
- case 15: btnP15.Image = img; break;
- case 16: btnP16.Image = img; break;
- case 17: btnP17.Image = img; break;
- case 18: btnP18.Image = img; break;
- case 19: btnP19.Image = img; break;
- case 20: btnP20.Image = img; break;
- case 21: btnP21.Image = img; break;
- case 22: btnP22.Image = img; break;
- case 23: btnP23.Image = img; break;
- case 24: btnP24.Image = img; break;
- case 25: btnP25.Image = img; break;
- case 26: btnP26.Image = img; break;
- case 27: btnP27.Image = img; break;
- case 28: btnP28.Image = img; break;
- case 29: btnP29.Image = img; break;
- case 30: btnP30.Image = img; break;
- case 31: btnP31.Image = img; break;
- case 32: btnP32.Image = img; break;
- case 33: btnP33.Image = img; break;
- case 34: btnP34.Image = img; break;
- case 35: btnP35.Image = img; break;
- case 36: btnP36.Image = img; break;
- case 37: btnP37.Image = img; break;
- case 38: btnP38.Image = img; break;
- case 39: btnP39.Image = img; break;
- case 40: btnP40.Image = img; break;
- case 41: btnP41.Image = img; break;
- case 42: btnP42.Image = img; break;
- case 43: btnP43.Image = img; break;
- case 44: btnP44.Image = img; break;
- case 45: btnP45.Image = img; break;
- case 46: btnP46.Image = img; break;
- case 47: btnP47.Image = img; break;
- case 48: btnP48.Image = img; break;
- case 49: btnP49.Image = img; break;
- }
- }
- }
- }
- }
-
- public void PrintMainMenu() {
- //Print energy
- for (int i = 0; i < Size; i++) {
- string iName = MobStatsController.GetPlayerEnergyStock(i);
-
- switch (i) {
- case 0: imgS1.SetFromStock(iName, IconSize.Dnd); break;
- case 1: imgS2.SetFromStock(iName, IconSize.Dnd); break;
- case 2: imgS3.SetFromStock(iName, IconSize.Dnd); break;
- case 3: imgS4.SetFromStock(iName, IconSize.Dnd); break;
- case 4: imgS5.SetFromStock(iName, IconSize.Dnd); break;
- case 5: imgS6.SetFromStock(iName, IconSize.Dnd); break;
- case 6: imgS7.SetFromStock(iName, IconSize.Dnd); break;
- }
- }
-
- //Print health
- for (int i = 0; i < Size; i++) {
- string iName = MobStatsController.GetPlayerHearthStock(i);
-
- switch (i) {
- case 0: imgS8.SetFromStock(iName, IconSize.Dnd); break;
- case 1: imgS9.SetFromStock(iName, IconSize.Dnd); break;
- case 2: imgS10.SetFromStock(iName, IconSize.Dnd); break;
- case 3: imgS11.SetFromStock(iName, IconSize.Dnd); break;
- case 4: imgS12.SetFromStock(iName, IconSize.Dnd); break;
- case 5: imgS13.SetFromStock(iName, IconSize.Dnd); break;
- case 6: imgS14.SetFromStock(iName, IconSize.Dnd); break;
- }
- }
-
- //Prints hotbar
- for (int i = 0; i < Size; i++) {
- Image img = ImageController.GetPlayerHotbarImage(i);
-
- switch (i) {
- case 0: btnH1.Image = img; break;
- case 1: btnH2.Image = img; break;
- case 2: btnH3.Image = img; break;
- case 3: btnH4.Image = img; break;
- case 4: btnH5.Image = img; break;
- case 5: btnH6.Image = img; break;
- case 6: btnH7.Image = img; break;
- }
- }
-
- //Prints log
- for (int i = 0, mIndex = GameEventLogController.GetCount() - 1; i < Size; mIndex--, i++) {
- string msg = GameEventLogController.GetMessagage(mIndex);
-
- switch (i) {
- case 0: lblLog1.Text = msg; break;
- case 1: lblLog2.Text = msg; break;
- case 2: lblLog3.Text = msg; break;
- case 3: lblLog4.Text = msg; break;
- case 4: lblLog5.Text = msg; break;
- case 5: lblLog6.Text = msg; break;
- }
- }
- }
-
- public void PrintMap() {
- //Prints the "Ground layer" in map menu
- for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++) {
- for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++) {
- string sName = ImageController.GetPlayerGroundImage(row, col).Stock;
-
- switch (img) {
- case 1: imgG1.SetFromStock(sName, IconSize.Dnd); break;
- case 2: imgG2.SetFromStock(sName, IconSize.Dnd); break;
- case 3: imgG3.SetFromStock(sName, IconSize.Dnd); break;
- case 4: imgG4.SetFromStock(sName, IconSize.Dnd); break;
- case 5: imgG5.SetFromStock(sName, IconSize.Dnd); break;
- case 6: imgG6.SetFromStock(sName, IconSize.Dnd); break;
- case 7: imgG7.SetFromStock(sName, IconSize.Dnd); break;
- case 8: imgG8.SetFromStock(sName, IconSize.Dnd); break;
- case 9: imgG9.SetFromStock(sName, IconSize.Dnd); break;
- case 10: imgG10.SetFromStock(sName, IconSize.Dnd); break;
- case 11: imgG11.SetFromStock(sName, IconSize.Dnd); break;
- case 12: imgG12.SetFromStock(sName, IconSize.Dnd); break;
- case 13: imgG13.SetFromStock(sName, IconSize.Dnd); break;
- case 14: imgG14.SetFromStock(sName, IconSize.Dnd); break;
- case 15: imgG15.SetFromStock(sName, IconSize.Dnd); break;
- case 16: imgG16.SetFromStock(sName, IconSize.Dnd); break;
- case 17: imgG17.SetFromStock(sName, IconSize.Dnd); break;
- case 18: imgG18.SetFromStock(sName, IconSize.Dnd); break;
- case 19: imgG19.SetFromStock(sName, IconSize.Dnd); break;
- case 20: imgG20.SetFromStock(sName, IconSize.Dnd); break;
- case 21: imgG21.SetFromStock(sName, IconSize.Dnd); break;
- case 22: imgG22.SetFromStock(sName, IconSize.Dnd); break;
- case 23: imgG23.SetFromStock(sName, IconSize.Dnd); break;
- case 24: imgG24.SetFromStock(sName, IconSize.Dnd); break;
- case 25: imgG25.SetFromStock(sName, IconSize.Dnd); break;
- case 26: imgG26.SetFromStock(sName, IconSize.Dnd); break;
- case 27: imgG27.SetFromStock(sName, IconSize.Dnd); break;
- case 28: imgG28.SetFromStock(sName, IconSize.Dnd); break;
- case 29: imgG29.SetFromStock(sName, IconSize.Dnd); break;
- case 30: imgG30.SetFromStock(sName, IconSize.Dnd); break;
- case 31: imgG31.SetFromStock(sName, IconSize.Dnd); break;
- case 32: imgG32.SetFromStock(sName, IconSize.Dnd); break;
- case 33: imgG33.SetFromStock(sName, IconSize.Dnd); break;
- case 34: imgG34.SetFromStock(sName, IconSize.Dnd); break;
- case 35: imgG35.SetFromStock(sName, IconSize.Dnd); break;
- case 36: imgG36.SetFromStock(sName, IconSize.Dnd); break;
- case 37: imgG37.SetFromStock(sName, IconSize.Dnd); break;
- case 38: imgG38.SetFromStock(sName, IconSize.Dnd); break;
- case 39: imgG39.SetFromStock(sName, IconSize.Dnd); break;
- case 40: imgG40.SetFromStock(sName, IconSize.Dnd); break;
- case 41: imgG41.SetFromStock(sName, IconSize.Dnd); break;
- case 42: imgG42.SetFromStock(sName, IconSize.Dnd); break;
- case 43: imgG43.SetFromStock(sName, IconSize.Dnd); break;
- case 44: imgG44.SetFromStock(sName, IconSize.Dnd); break;
- case 45: imgG45.SetFromStock(sName, IconSize.Dnd); break;
- case 46: imgG46.SetFromStock(sName, IconSize.Dnd); break;
- case 47: imgG47.SetFromStock(sName, IconSize.Dnd); break;
- case 48: imgG48.SetFromStock(sName, IconSize.Dnd); break;
- case 49: imgG49.SetFromStock(sName, IconSize.Dnd); break;
- }
- }
- }
-
- lblSuperLayer.Text = MobStatsController.GetPlayerSuperLayerName();
- lblCoord1.Text = "X: " + MobStatsController.GetPlayerXCoord();
- lblCoord2.Text = "Y: " + MobStatsController.GetPlayerYCoord();
-
- //Prints the "Item layer" in map menu
- for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++) {
- for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++) {
- string sName = ImageController.GetPlayerStructureImage(row, col).Stock;
-
- switch (img) {
- case 1: imgI1.SetFromStock(sName, IconSize.Dnd); break;
- case 2: imgI2.SetFromStock(sName, IconSize.Dnd); break;
- case 3: imgI3.SetFromStock(sName, IconSize.Dnd); break;
- case 4: imgI4.SetFromStock(sName, IconSize.Dnd); break;
- case 5: imgI5.SetFromStock(sName, IconSize.Dnd); break;
- case 6: imgI6.SetFromStock(sName, IconSize.Dnd); break;
- case 7: imgI7.SetFromStock(sName, IconSize.Dnd); break;
- case 8: imgI8.SetFromStock(sName, IconSize.Dnd); break;
- case 9: imgI9.SetFromStock(sName, IconSize.Dnd); break;
- case 10: imgI10.SetFromStock(sName, IconSize.Dnd); break;
- case 11: imgI11.SetFromStock(sName, IconSize.Dnd); break;
- case 12: imgI12.SetFromStock(sName, IconSize.Dnd); break;
- case 13: imgI13.SetFromStock(sName, IconSize.Dnd); break;
- case 14: imgI14.SetFromStock(sName, IconSize.Dnd); break;
- case 15: imgI15.SetFromStock(sName, IconSize.Dnd); break;
- case 16: imgI16.SetFromStock(sName, IconSize.Dnd); break;
- case 17: imgI17.SetFromStock(sName, IconSize.Dnd); break;
- case 18: imgI18.SetFromStock(sName, IconSize.Dnd); break;
- case 19: imgI19.SetFromStock(sName, IconSize.Dnd); break;
- case 20: imgI20.SetFromStock(sName, IconSize.Dnd); break;
- case 21: imgI21.SetFromStock(sName, IconSize.Dnd); break;
- case 22: imgI22.SetFromStock(sName, IconSize.Dnd); break;
- case 23: imgI23.SetFromStock(sName, IconSize.Dnd); break;
- case 24: imgI24.SetFromStock(sName, IconSize.Dnd); break;
- case 25: imgI25.SetFromStock(sName, IconSize.Dnd); break;
- case 26: imgI26.SetFromStock(sName, IconSize.Dnd); break;
- case 27: imgI27.SetFromStock(sName, IconSize.Dnd); break;
- case 28: imgI28.SetFromStock(sName, IconSize.Dnd); break;
- case 29: imgI29.SetFromStock(sName, IconSize.Dnd); break;
- case 30: imgI30.SetFromStock(sName, IconSize.Dnd); break;
- case 31: imgI31.SetFromStock(sName, IconSize.Dnd); break;
- case 32: imgI32.SetFromStock(sName, IconSize.Dnd); break;
- case 33: imgI33.SetFromStock(sName, IconSize.Dnd); break;
- case 34: imgI34.SetFromStock(sName, IconSize.Dnd); break;
- case 35: imgI35.SetFromStock(sName, IconSize.Dnd); break;
- case 36: imgI36.SetFromStock(sName, IconSize.Dnd); break;
- case 37: imgI37.SetFromStock(sName, IconSize.Dnd); break;
- case 38: imgI38.SetFromStock(sName, IconSize.Dnd); break;
- case 39: imgI39.SetFromStock(sName, IconSize.Dnd); break;
- case 40: imgI40.SetFromStock(sName, IconSize.Dnd); break;
- case 41: imgI41.SetFromStock(sName, IconSize.Dnd); break;
- case 42: imgI42.SetFromStock(sName, IconSize.Dnd); break;
- case 43: imgI43.SetFromStock(sName, IconSize.Dnd); break;
- case 44: imgI44.SetFromStock(sName, IconSize.Dnd); break;
- case 45: imgI45.SetFromStock(sName, IconSize.Dnd); break;
- case 46: imgI46.SetFromStock(sName, IconSize.Dnd); break;
- case 47: imgI47.SetFromStock(sName, IconSize.Dnd); break;
- case 48: imgI48.SetFromStock(sName, IconSize.Dnd); break;
- case 49: imgI49.SetFromStock(sName, IconSize.Dnd); break;
- }
- }
- }
-
- lblHoleOnTop.Text = MobStatsController.ExistsHoleOnTopOfPlayer() + "";
- }
-
- public void PrintInventory() {
- //Prints the actual inventory (items)
- for (int row = 0; row < Size; row++) {
- for (int col = 0; col < Size; col++) {
- Image img = ImageController.GetPlayerInventoryItemImage(row * Size + col);
-
- switch (row * Size + col + 1) {
- case 1: btnI1.Image = img; break;
- case 2: btnI2.Image = img; break;
- case 3: btnI3.Image = img; break;
- case 4: btnI4.Image = img; break;
- case 5: btnI5.Image = img; break;
- case 6: btnI6.Image = img; break;
- case 7: btnI7.Image = img; break;
- case 8: btnI8.Image = img; break;
- case 9: btnI9.Image = img; break;
- case 10: btnI10.Image = img; break;
- case 11: btnI11.Image = img; break;
- case 12: btnI12.Image = img; break;
- case 13: btnI13.Image = img; break;
- case 14: btnI14.Image = img; break;
- case 15: btnI15.Image = img; break;
- case 16: btnI16.Image = img; break;
- case 17: btnI17.Image = img; break;
- case 18: btnI18.Image = img; break;
- case 19: btnI19.Image = img; break;
- case 20: btnI20.Image = img; break;
- case 21: btnI21.Image = img; break;
- case 22: btnI22.Image = img; break;
- case 23: btnI23.Image = img; break;
- case 24: btnI24.Image = img; break;
- case 25: btnI25.Image = img; break;
- case 26: btnI26.Image = img; break;
- case 27: btnI27.Image = img; break;
- case 28: btnI28.Image = img; break;
- case 29: btnI29.Image = img; break;
- case 30: btnI30.Image = img; break;
- case 31: btnI31.Image = img; break;
- case 32: btnI32.Image = img; break;
- case 33: btnI33.Image = img; break;
- case 34: btnI34.Image = img; break;
- case 35: btnI35.Image = img; break;
- case 36: btnI36.Image = img; break;
- case 37: btnI37.Image = img; break;
- case 38: btnI38.Image = img; break;
- case 39: btnI39.Image = img; break;
- case 40: btnI40.Image = img; break;
- case 41: btnI41.Image = img; break;
- case 42: btnI42.Image = img; break;
- case 43: btnI43.Image = img; break;
- case 44: btnI44.Image = img; break;
- case 45: btnI45.Image = img; break;
- case 46: btnI46.Image = img; break;
- case 47: btnI47.Image = img; break;
- case 48: btnI48.Image = img; break;
- case 49: btnI49.Image = img; break;
- }
- }
- }
-
- //Prints accessories
- for (int row = 0; row < 2; row++) {
- for (int col = 0; col < Size; col++) {
- Image img = ImageController.GetPlayerAccessoryImage(row * Size + col);
-
- switch (row * Size + col + 1) {
- case 1: btnA1.Image = img; break;
- case 2: btnA2.Image = img; break;
- case 3: btnA3.Image = img; break;
- case 4: btnA4.Image = img; break;
- case 5: btnA5.Image = img; break;
- case 6: btnA6.Image = img; break;
- case 7: btnA7.Image = img; break;
- case 8: btnA8.Image = img; break;
- case 9: btnA9.Image = img; break;
- case 10: btnA10.Image = img; break;
- case 11: btnA11.Image = img; break;
- case 12: btnA12.Image = img; break;
- case 13: btnA13.Image = img; break;
- case 14: btnA14.Image = img; break;
- }
- }
- }
-
- //Prints gear
- for (int i = 0; i < Size; i++) {
- Image img = ImageController.GetPlayerGearImage(i);
-
- switch (i + 1) {
- case 1: btnG1.Image = img; break;
- case 2: btnG2.Image = img; break;
- case 3: btnG3.Image = img; break;
- case 4: btnG4.Image = img; break;
- case 5: btnG5.Image = img; break;
- case 6: btnG6.Image = img; break;
- case 7: btnG7.Image = img; break;
- }
- }
- }
-
- //
- // BUTTON CLICKED EVENTS
- //
-
- protected void OnBtnMapClicked(object sender, EventArgs e) {
- //Hide inv menu, if it is visible (so only one of the two is visible)
- if (this.InvMenuIsVisible()) this.OnBtnInvClicked(this, null);
-
- if (this.MapMenuIsVisible()) {
- this.SetMapMenuVisibility(false);
- }
- else {
- this.PrintMap();
- this.SetMapMenuVisibility(true);
- }
- }
-
- protected void OnBtnInvClicked(object sender, EventArgs e) {
- //Hide map menu, if it is visible (so only one of the two is visible)
- if (this.MapMenuIsVisible()) this.OnBtnMapClicked(this, null);
-
- if (btnI1.Visible) {
- this.SetInvMenuVisibility(false);
- }
- else {
- this.PrintInventory();
- this.SetInvMenuVisibility(true);
- }
- }
-
- protected void OnBtnPauseClicked(object sender, EventArgs e) {
- // Note: pause window blocks player input
- WindowController.ShowPauseWindow();
- }
-
- protected void OnBtnMusicClicked(object sender, EventArgs e) {
- WindowController.ShowMusicWindow();
- }
-
-
- protected void OnBtnCraftingClicked(object sender, EventArgs e) {
- WindowController.ShowCraftingWindow();
- }
-
- // Screen buttons
- protected void OnBtnP1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(1);
- }
- }
-
- protected void OnBtnP2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(2);
- }
- }
-
- protected void OnBtnP3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(3);
- }
- }
-
- protected void OnBtnP4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(4);
- }
- }
-
- protected void OnBtnP5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(5);
- }
- }
-
- protected void OnBtnP6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(6);
- }
- }
-
- protected void OnBtnP7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(7);
- }
- }
-
- protected void OnBtnP8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(8);
- }
- }
-
- protected void OnBtnP9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(9);
- }
- }
-
- protected void OnBtnP10Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(10);
- }
- }
-
- protected void OnBtnP11Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(11);
- }
- }
-
- protected void OnBtnP12Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(12);
- }
- }
-
- protected void OnBtnP13Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(13);
- }
- }
-
- protected void OnBtnP14Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(14);
- }
- }
-
- protected void OnBtnP15Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(15);
- }
- }
-
- protected void OnBtnP16Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(16);
- }
- }
-
- protected void OnBtnP17Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(17);
- }
- }
-
- protected void OnBtnP18Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(18);
- }
- }
-
- protected void OnBtnP19Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(19);
- }
- }
-
- protected void OnBtnP20Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(20);
- }
- }
-
- protected void OnBtnP21Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(21);
- }
- }
-
- protected void OnBtnP22Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(22);
- }
- }
-
- protected void OnBtnP23Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(23);
- }
- }
-
- protected void OnBtnP24Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(24);
- }
- }
-
- protected void OnBtnP25Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(25);
- }
- }
-
- protected void OnBtnP26Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(26);
- }
- }
-
- protected void OnBtnP27Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(27);
- }
- }
-
- protected void OnBtnP28Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(28);
- }
- }
-
- protected void OnBtnP29Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(29);
- }
- }
-
- protected void OnBtnP30Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(30);
- }
- }
-
- protected void OnBtnP31Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(31);
- }
- }
-
- protected void OnBtnP32Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(32);
- }
- }
-
- protected void OnBtnP33Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(33);
- }
- }
-
- protected void OnBtnP34Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(34);
- }
- }
-
- protected void OnBtnP35Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(35);
- }
- }
-
- protected void OnBtnP36Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(36);
- }
- }
-
- protected void OnBtnP37Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(37);
- }
- }
-
- protected void OnBtnP38Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(38);
- }
- }
-
- protected void OnBtnP39Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(39);
- }
- }
-
- protected void OnBtnP40Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(40);
- }
- }
-
- protected void OnBtnP41Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(41);
- }
- }
-
- protected void OnBtnP42Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(42);
- }
- }
-
- protected void OnBtnP43Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(43);
- }
- }
-
- protected void OnBtnP44Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(44);
- }
- }
-
- protected void OnBtnP45Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(45);
- }
- }
-
- protected void OnBtnP46Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(46);
- }
- }
-
- protected void OnBtnP47Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(47);
- }
- }
-
- protected void OnBtnP48Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(48);
- }
- }
-
- protected void OnBtnP49Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(49);
- }
- }
-
- // Hotbar buttons
- protected void OnBtnH1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 0);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 1);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 2);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 3);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 4);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 5);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnH7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 6);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnLogClicked(object sender, EventArgs e) {
- WindowController.ShowLogWindow();
- }
-
- // Inventory (items) buttons
- protected void OnBtnI1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 0);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 1);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 2);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 3);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 4);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 5);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 6);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 7);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 8);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI10Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 9);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI11Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 10);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI12Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 11);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI13Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 12);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI14Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 13);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI15Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 14);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI16Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 15);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI17Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 16);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI18Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 17);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI19Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 18);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI20Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 19);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI21Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 20);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI22Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 21);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI23Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 22);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI24Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 23);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI25Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 24);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI26Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 25);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI27Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 26);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI28Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 27);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI29Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 28);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI30Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 29);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI31Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 30);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI32Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 31);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI33Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 32);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI34Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 33);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI35Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 34);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI36Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 35);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI37Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 36);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI38Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 37);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI39Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 38);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI40Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 39);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI41Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 40);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI42Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 41);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI43Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 42);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI44Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 43);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI45Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 44);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI46Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 45);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI47Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 46);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI48Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 47);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnI49Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 48);
- this.PrintInventory();
- }
- }
-
- // Accessories buttons
- protected void OnBtnA1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 0);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 1);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 2);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 3);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 4);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 5);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 6);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 7);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 8);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA10Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 9);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA11Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 10);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA12Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 11);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA13Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 12);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnA14Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 13);
- this.PrintInventory();
- }
- }
-
- // Gear buttons
- protected void OnBtnG1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 0);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 1);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 2);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 3);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 4);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 5);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 6);
- this.PrintInventory();
- }
- }
-
- //
- // VISIBILITY
- //
-
- private void SetMapMenuVisibility(bool isVisible) {
- lblGroundLayer.Visible = isVisible;
- imgG1.Visible = isVisible;
- imgG2.Visible = isVisible;
- imgG3.Visible = isVisible;
- imgG4.Visible = isVisible;
- imgG5.Visible = isVisible;
- imgG6.Visible = isVisible;
- imgG7.Visible = isVisible;
- imgG8.Visible = isVisible;
- imgG9.Visible = isVisible;
- imgG10.Visible = isVisible;
- imgG11.Visible = isVisible;
- imgG12.Visible = isVisible;
- imgG13.Visible = isVisible;
- imgG14.Visible = isVisible;
- imgG15.Visible = isVisible;
- imgG16.Visible = isVisible;
- imgG17.Visible = isVisible;
- imgG18.Visible = isVisible;
- imgG19.Visible = isVisible;
- imgG20.Visible = isVisible;
- imgG21.Visible = isVisible;
- imgG22.Visible = isVisible;
- imgG23.Visible = isVisible;
- imgG24.Visible = isVisible;
- imgG25.Visible = isVisible;
- imgG26.Visible = isVisible;
- imgG27.Visible = isVisible;
- imgG28.Visible = isVisible;
- imgG29.Visible = isVisible;
- imgG30.Visible = isVisible;
- imgG31.Visible = isVisible;
- imgG32.Visible = isVisible;
- imgG33.Visible = isVisible;
- imgG34.Visible = isVisible;
- imgG35.Visible = isVisible;
- imgG36.Visible = isVisible;
- imgG37.Visible = isVisible;
- imgG38.Visible = isVisible;
- imgG39.Visible = isVisible;
- imgG40.Visible = isVisible;
- imgG41.Visible = isVisible;
- imgG42.Visible = isVisible;
- imgG43.Visible = isVisible;
- imgG44.Visible = isVisible;
- imgG45.Visible = isVisible;
- imgG46.Visible = isVisible;
- imgG47.Visible = isVisible;
- imgG48.Visible = isVisible;
- imgG49.Visible = isVisible;
-
- lblSuperLayer.Visible = isVisible;
- lblCoord1.Visible = isVisible;
- lblCoord2.Visible = isVisible;
-
- lblItemLayer.Visible = isVisible;
- imgI1.Visible = isVisible;
- imgI2.Visible = isVisible;
- imgI3.Visible = isVisible;
- imgI4.Visible = isVisible;
- imgI5.Visible = isVisible;
- imgI6.Visible = isVisible;
- imgI7.Visible = isVisible;
- imgI8.Visible = isVisible;
- imgI9.Visible = isVisible;
- imgI10.Visible = isVisible;
- imgI11.Visible = isVisible;
- imgI12.Visible = isVisible;
- imgI13.Visible = isVisible;
- imgI14.Visible = isVisible;
- imgI15.Visible = isVisible;
- imgI16.Visible = isVisible;
- imgI17.Visible = isVisible;
- imgI18.Visible = isVisible;
- imgI19.Visible = isVisible;
- imgI20.Visible = isVisible;
- imgI21.Visible = isVisible;
- imgI22.Visible = isVisible;
- imgI23.Visible = isVisible;
- imgI24.Visible = isVisible;
- imgI25.Visible = isVisible;
- imgI26.Visible = isVisible;
- imgI27.Visible = isVisible;
- imgI28.Visible = isVisible;
- imgI29.Visible = isVisible;
- imgI30.Visible = isVisible;
- imgI31.Visible = isVisible;
- imgI32.Visible = isVisible;
- imgI33.Visible = isVisible;
- imgI34.Visible = isVisible;
- imgI35.Visible = isVisible;
- imgI36.Visible = isVisible;
- imgI37.Visible = isVisible;
- imgI38.Visible = isVisible;
- imgI39.Visible = isVisible;
- imgI40.Visible = isVisible;
- imgI41.Visible = isVisible;
- imgI42.Visible = isVisible;
- imgI43.Visible = isVisible;
- imgI44.Visible = isVisible;
- imgI45.Visible = isVisible;
- imgI46.Visible = isVisible;
- imgI47.Visible = isVisible;
- imgI48.Visible = isVisible;
- imgI49.Visible = isVisible;
-
- lblHoleMsg.Visible = isVisible;
- lblHoleOnTop.Visible = isVisible;
-
- lblBlank6.Visible = isVisible;
- }
-
- private void SetInvMenuVisibility(bool isVisible) {
- btnI1.Visible = isVisible;
- btnI2.Visible = isVisible;
- btnI3.Visible = isVisible;
- btnI4.Visible = isVisible;
- btnI5.Visible = isVisible;
- btnI6.Visible = isVisible;
- btnI7.Visible = isVisible;
- btnI8.Visible = isVisible;
- btnI9.Visible = isVisible;
- btnI10.Visible = isVisible;
- btnI11.Visible = isVisible;
- btnI12.Visible = isVisible;
- btnI13.Visible = isVisible;
- btnI14.Visible = isVisible;
- btnI15.Visible = isVisible;
- btnI16.Visible = isVisible;
- btnI17.Visible = isVisible;
- btnI18.Visible = isVisible;
- btnI19.Visible = isVisible;
- btnI20.Visible = isVisible;
- btnI21.Visible = isVisible;
- btnI22.Visible = isVisible;
- btnI23.Visible = isVisible;
- btnI24.Visible = isVisible;
- btnI25.Visible = isVisible;
- btnI26.Visible = isVisible;
- btnI27.Visible = isVisible;
- btnI28.Visible = isVisible;
- btnI29.Visible = isVisible;
- btnI30.Visible = isVisible;
- btnI31.Visible = isVisible;
- btnI32.Visible = isVisible;
- btnI33.Visible = isVisible;
- btnI34.Visible = isVisible;
- btnI35.Visible = isVisible;
- btnI36.Visible = isVisible;
- btnI37.Visible = isVisible;
- btnI38.Visible = isVisible;
- btnI39.Visible = isVisible;
- btnI40.Visible = isVisible;
- btnI41.Visible = isVisible;
- btnI42.Visible = isVisible;
- btnI43.Visible = isVisible;
- btnI44.Visible = isVisible;
- btnI45.Visible = isVisible;
- btnI46.Visible = isVisible;
- btnI47.Visible = isVisible;
- btnI48.Visible = isVisible;
- btnI49.Visible = isVisible;
- btnCrafting.Visible = isVisible;
-
- lblAccessories.Visible = isVisible;
- btnA1.Visible = isVisible;
- btnA2.Visible = isVisible;
- btnA3.Visible = isVisible;
- btnA4.Visible = isVisible;
- btnA5.Visible = isVisible;
- btnA6.Visible = isVisible;
- btnA7.Visible = isVisible;
- btnA8.Visible = isVisible;
- btnA9.Visible = isVisible;
- btnA10.Visible = isVisible;
- btnA11.Visible = isVisible;
- btnA12.Visible = isVisible;
- btnA13.Visible = isVisible;
- btnA14.Visible = isVisible;
-
- lblGear.Visible = isVisible;
- btnG1.Visible = isVisible;
- btnG2.Visible = isVisible;
- btnG3.Visible = isVisible;
- btnG4.Visible = isVisible;
- btnG5.Visible = isVisible;
- btnG6.Visible = isVisible;
- btnG7.Visible = isVisible;
-
- imgInfo.Visible = isVisible;
- lblInfo.Visible = isVisible;
-
- lblBlank6.Visible = isVisible;
- }
- }
-}
diff --git a/Mundus/Views/Windows/GameWindows/Small/SmallButtonClickedEvents.cs b/Mundus/Views/Windows/GameWindows/Small/SmallButtonClickedEvents.cs
new file mode 100644
index 0000000..5c5daab
--- /dev/null
+++ b/Mundus/Views/Windows/GameWindows/Small/SmallButtonClickedEvents.cs
@@ -0,0 +1,701 @@
+namespace Mundus.Views.Windows
+{
+ using System;
+ using Mundus.Service;
+
+ public partial class SmallGameWindow : Gtk.Window
+ {
+ protected void OnBtnIG1Clicked(object sender, EventArgs e)
+ {
+ this.PrintMainMenu();
+ }
+
+ protected void OnBtnIG2Clicked(object sender, EventArgs e)
+ {
+ this.PrintMainMenu();
+ }
+
+ protected void OnBtnPauseClicked(object sender, EventArgs e)
+ {
+ // Note: pause window blocks player input
+ WindowController.ShowPauseWindow();
+ }
+
+ protected void OnBtnMusicClicked(object sender, EventArgs e)
+ {
+ WindowController.ShowMusicWindow();
+ }
+
+ protected void OnBtnCraftingClicked(object sender, EventArgs e)
+ {
+ WindowController.ShowCraftingWindow();
+ }
+
+ protected void OnBtnMapClicked(object sender, EventArgs e)
+ {
+ // Hide inv menu, if it is visible (so only one of the two is visible)
+ if (this.InvMenuIsVisible())
+ {
+ this.OnBtnInvClicked(this, null);
+ }
+
+ if (this.MapMenuIsVisible())
+ {
+ this.SetMapMenuVisibility(false);
+ }
+ else
+ {
+ this.PrintMap();
+ this.SetMapMenuVisibility(true);
+ }
+ }
+
+ protected void OnBtnInvClicked(object sender, EventArgs e)
+ {
+ // Hide map menu, if it is visible (so only one of the two is visible)
+ if (this.MapMenuIsVisible())
+ {
+ this.OnBtnMapClicked(this, null);
+ }
+
+ if (btnI1.Visible)
+ {
+ this.SetInvMenuVisibility(false);
+ }
+ else
+ {
+ this.PrintInventory();
+ this.SetInvMenuVisibility(true);
+ }
+ }
+
+ #region Screen buttons
+
+ protected void OnBtnP1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(1);
+ }
+ }
+
+ protected void OnBtnP2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(2);
+ }
+ }
+
+ protected void OnBtnP3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(3);
+ }
+ }
+
+ protected void OnBtnP4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(4);
+ }
+ }
+
+ protected void OnBtnP5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(5);
+ }
+ }
+
+ protected void OnBtnP6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(6);
+ }
+ }
+
+ protected void OnBtnP7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(7);
+ }
+ }
+
+ protected void OnBtnP8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(8);
+ }
+ }
+
+ protected void OnBtnP9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(9);
+ }
+ }
+
+ protected void OnBtnP10Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(10);
+ }
+ }
+
+ protected void OnBtnP11Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(11);
+ }
+ }
+
+ protected void OnBtnP12Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(12);
+ }
+ }
+
+ protected void OnBtnP13Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(13);
+ }
+ }
+
+ protected void OnBtnP14Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(14);
+ }
+ }
+
+ protected void OnBtnP15Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(15);
+ }
+ }
+
+ protected void OnBtnP16Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(16);
+ }
+ }
+
+ protected void OnBtnP17Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(17);
+ }
+ }
+
+ protected void OnBtnP18Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(18);
+ }
+ }
+
+ protected void OnBtnP19Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(19);
+ }
+ }
+
+ protected void OnBtnP20Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(20);
+ }
+ }
+
+ protected void OnBtnP21Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(21);
+ }
+ }
+
+ protected void OnBtnP22Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(22);
+ }
+ }
+
+ protected void OnBtnP23Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(23);
+ }
+ }
+
+ protected void OnBtnP24Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(24);
+ }
+ }
+
+ protected void OnBtnP25Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.React(25);
+ }
+ }
+
+ #endregion
+
+ #region Hotbar buttons
+
+ protected void OnBtnH1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 0);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 1);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 2);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 3);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnH5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("hotbar", 4);
+ this.PrintMainMenu();
+ }
+ }
+
+ protected void OnBtnLogClicked(object sender, EventArgs e)
+ {
+ WindowController.ShowLogWindow();
+ }
+
+ #endregion
+
+ #region Inventory (items) buttons
+
+ protected void OnBtnI1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 0);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 1);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 2);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 3);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 4);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 5);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 6);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 7);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 8);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI10Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 9);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI11Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 10);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI12Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 11);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI13Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 12);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI14Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 13);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI15Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 14);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI16Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 15);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI17Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 16);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI18Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 17);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI19Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 18);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI20Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 19);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI21Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 20);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI22Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 21);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI23Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 22);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI24Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 23);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnI25Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("items", 24);
+ this.PrintInventory();
+ }
+ }
+
+ #endregion
+
+ #region Accessories buttons
+
+ protected void OnBtnA1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 0);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 1);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 2);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 3);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 4);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA6Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 5);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA7Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 6);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA8Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 7);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA9Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 8);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnA10Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("accessories", 9);
+ this.PrintInventory();
+ }
+ }
+
+ #endregion
+
+ #region Gear buttons
+ protected void OnBtnG1Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 0);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG2Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 1);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG3Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 2);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG4Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 3);
+ this.PrintInventory();
+ }
+ }
+
+ protected void OnBtnG5Clicked(object sender, EventArgs e)
+ {
+ if (!WindowController.PauseWindowVisible)
+ {
+ this.SelectItem("gear", 4);
+ this.PrintInventory();
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/Mundus/Views/Windows/GameWindows/Small/SmallLogic.cs b/Mundus/Views/Windows/GameWindows/Small/SmallLogic.cs
new file mode 100644
index 0000000..42edde0
--- /dev/null
+++ b/Mundus/Views/Windows/GameWindows/Small/SmallLogic.cs
@@ -0,0 +1,274 @@
+namespace Mundus.Views.Windows
+{
+ using Gtk;
+ using Mundus.Service;
+ using Mundus.Service.Tiles.Items;
+ using Mundus.Service.Tiles.Mobs;
+ using Mundus.Service.Tiles.Mobs.Controllers;
+
+ public partial class SmallGameWindow : Gtk.Window, IGameWindow
+ {
+ /// <summary>
+ /// TODO: Make it an enum
+ /// Saves the place from which the player has selected an item
+ /// Must be either: "hotbar", "items", "accessories" or "gear"
+ /// </summary>
+ private string selPlace = null;
+
+ /// <summary>
+ /// Saves the index of the selected item
+ /// </summary>
+ private int selIndex = -1;
+
+ public SmallGameWindow() : base(Gtk.WindowType.Toplevel)
+ {
+ this.Build();
+ }
+
+ /// <summary>
+ /// Gets value for the height and width of the game screen, map screens and inventory screen
+ /// and the width of stats, hotbar, accessories, gear and items on the ground menus
+ /// </summary>
+ public int Size { get; private set; }
+
+ public void OnDeleteEvent(object o, Gtk.DeleteEventArgs args)
+ {
+ /*Open exit dialogue if you haven't saved in a while
+ * if () { //TODO: check if you have saved
+ TODO: pause game cycle
+
+ ResponseType rt = (ResponseType)DI.DExit.Run();
+ DI.DExit.Hide();
+
+ if(rt == ResponseType.Cancel || rt == ResponseType.DeleteEvent) {
+ //cancel the exit procedure and keep the window open
+ args.RetVal = true;
+ return;
+ }
+ else if (rt == ResponseType.Accept) {
+ //TODO: call code for saving the game
+ }
+ }*/
+
+ Application.Quit();
+ }
+
+ public void SetDefaults()
+ {
+ this.Size = 5;
+ this.SetMapMenuVisibility(false);
+ this.SetInvMenuVisibility(false);
+ }
+
+ private void SelectItem(string place, int index)
+ {
+ if (this.HasItemSelection())
+ {
+ this.ResetSelection();
+ SwitchItems.ReplaceItems(place, index);
+ }
+ else
+ {
+ this.selPlace = place;
+ this.selIndex = index;
+ SwitchItems.SetOrigin(place, index);
+ }
+
+ this.PrintMainMenu();
+ this.PrintInventory();
+ }
+
+ private void React(int button)
+ {
+ int buttonYPos = (button - 1) / this.Size;
+ int buttonXPos = (button - (buttonYPos * this.Size)) - 1;
+
+ int mapXPos = Calculate.CalculateXFromButton(buttonXPos, this.Size);
+ int mapYPos = Calculate.CalculateYFromButton(buttonYPos, this.Size);
+
+ if (!this.HasItemSelection())
+ {
+ MobMovement.MovePlayer(mapYPos, mapXPos, this.Size);
+ MobMovement.MoveRandomlyAllMobs();
+ }
+ else
+ {
+ if (Inventory.GetPlayerItem(this.selPlace, this.selIndex) != null)
+ {
+ if (MobFighting.ExistsFightTargetForPlayer(mapYPos, mapXPos))
+ {
+ MobFighting.PlayerTryFight(this.selPlace, this.selIndex, mapYPos, mapXPos);
+ }
+ else
+ {
+ MobTerraforming.PlayerTerraformAt(mapYPos, mapXPos, this.selPlace, this.selIndex);
+ }
+ }
+
+ this.ResetSelection();
+ }
+
+ this.PrintWorldScreen();
+ this.PrintMainMenu();
+
+ if (this.MapMenuIsVisible())
+ {
+ this.PrintMap();
+ }
+ else if (this.InvMenuIsVisible())
+ {
+ this.PrintInventory();
+ }
+ }
+
+ private void ResetSelection()
+ {
+ this.selPlace = null;
+ this.selIndex = -1;
+ }
+
+ private bool HasItemSelection()
+ {
+ return this.selPlace != null;
+ }
+
+ private bool MapMenuIsVisible()
+ {
+ return imgG1.Visible;
+ }
+
+ private bool InvMenuIsVisible()
+ {
+ return btnI1.Visible;
+ }
+
+ /// <summary>
+ /// The map menu is the left menu with the grond layer, structure layer, coordinates, superlayer and "ground above player" items
+ /// </summary>
+ private void SetMapMenuVisibility(bool isVisible)
+ {
+ lblGroundLayer.Visible = isVisible;
+ imgG1.Visible = isVisible;
+ imgG2.Visible = isVisible;
+ imgG3.Visible = isVisible;
+ imgG4.Visible = isVisible;
+ imgG5.Visible = isVisible;
+ imgG6.Visible = isVisible;
+ imgG7.Visible = isVisible;
+ imgG8.Visible = isVisible;
+ imgG9.Visible = isVisible;
+ imgG10.Visible = isVisible;
+ imgG11.Visible = isVisible;
+ imgG12.Visible = isVisible;
+ imgG13.Visible = isVisible;
+ imgG14.Visible = isVisible;
+ imgG15.Visible = isVisible;
+ imgG16.Visible = isVisible;
+ imgG17.Visible = isVisible;
+ imgG18.Visible = isVisible;
+ imgG19.Visible = isVisible;
+ imgG20.Visible = isVisible;
+ imgG21.Visible = isVisible;
+ imgG22.Visible = isVisible;
+ imgG23.Visible = isVisible;
+ imgG24.Visible = isVisible;
+ imgG25.Visible = isVisible;
+
+ lblSuperLayer.Visible = isVisible;
+ lblCoord1.Visible = isVisible;
+ lblCoord2.Visible = isVisible;
+
+ lblItemLayer.Visible = isVisible;
+ imgI1.Visible = isVisible;
+ imgI2.Visible = isVisible;
+ imgI3.Visible = isVisible;
+ imgI4.Visible = isVisible;
+ imgI5.Visible = isVisible;
+ imgI6.Visible = isVisible;
+ imgI7.Visible = isVisible;
+ imgI8.Visible = isVisible;
+ imgI9.Visible = isVisible;
+ imgI10.Visible = isVisible;
+ imgI11.Visible = isVisible;
+ imgI12.Visible = isVisible;
+ imgI13.Visible = isVisible;
+ imgI14.Visible = isVisible;
+ imgI15.Visible = isVisible;
+ imgI16.Visible = isVisible;
+ imgI17.Visible = isVisible;
+ imgI18.Visible = isVisible;
+ imgI19.Visible = isVisible;
+ imgI20.Visible = isVisible;
+ imgI21.Visible = isVisible;
+ imgI22.Visible = isVisible;
+ imgI23.Visible = isVisible;
+ imgI24.Visible = isVisible;
+ imgI25.Visible = isVisible;
+
+ lblHoleMsg.Visible = isVisible;
+ lblHoleOnTop.Visible = isVisible;
+
+ lblBlank5.Visible = isVisible;
+ }
+
+ /// <summary>
+ /// The inventory menu is the right menu with the items, accessories, gear incentories, item info and crafting button
+ /// </summary>
+ private void SetInvMenuVisibility(bool isVisible)
+ {
+ btnI1.Visible = isVisible;
+ btnI2.Visible = isVisible;
+ btnI3.Visible = isVisible;
+ btnI4.Visible = isVisible;
+ btnI5.Visible = isVisible;
+ btnI6.Visible = isVisible;
+ btnI7.Visible = isVisible;
+ btnI8.Visible = isVisible;
+ btnI9.Visible = isVisible;
+ btnI10.Visible = isVisible;
+ btnI11.Visible = isVisible;
+ btnI12.Visible = isVisible;
+ btnI13.Visible = isVisible;
+ btnI14.Visible = isVisible;
+ btnI15.Visible = isVisible;
+ btnI16.Visible = isVisible;
+ btnI17.Visible = isVisible;
+ btnI18.Visible = isVisible;
+ btnI19.Visible = isVisible;
+ btnI20.Visible = isVisible;
+ btnI21.Visible = isVisible;
+ btnI22.Visible = isVisible;
+ btnI23.Visible = isVisible;
+ btnI24.Visible = isVisible;
+ btnI25.Visible = isVisible;
+ btnCrafting.Visible = isVisible;
+
+ lblAccessories.Visible = isVisible;
+ btnA1.Visible = isVisible;
+ btnA2.Visible = isVisible;
+ btnA3.Visible = isVisible;
+ btnA4.Visible = isVisible;
+ btnA5.Visible = isVisible;
+ btnA6.Visible = isVisible;
+ btnA7.Visible = isVisible;
+ btnA8.Visible = isVisible;
+ btnA9.Visible = isVisible;
+ btnA10.Visible = isVisible;
+
+ lblGear.Visible = isVisible;
+ btnG1.Visible = isVisible;
+ btnG2.Visible = isVisible;
+ btnG3.Visible = isVisible;
+ btnG4.Visible = isVisible;
+ btnG5.Visible = isVisible;
+
+ btnIG1.Visible = isVisible;
+ btnIG2.Visible = isVisible;
+
+ imgInfo.Visible = isVisible;
+ lblInfo.Visible = isVisible;
+
+ lblBlank4.Visible = isVisible;
+ }
+ }
+}
diff --git a/Mundus/Views/Windows/GameWindows/Small/SmallPrinting.cs b/Mundus/Views/Windows/GameWindows/Small/SmallPrinting.cs
new file mode 100644
index 0000000..a076771
--- /dev/null
+++ b/Mundus/Views/Windows/GameWindows/Small/SmallPrinting.cs
@@ -0,0 +1,347 @@
+namespace Mundus.Views.Windows
+{
+ using Gtk;
+ using Mundus.Service;
+ using Mundus.Service.SuperLayers;
+ using Mundus.Service.Tiles.Items;
+ using Mundus.Service.Tiles.Mobs.Controllers;
+
+ public partial class SmallGameWindow
+ {
+ /// <summary>
+ /// Prints the screen that the player uses to interract with the game map
+ /// </summary>
+ public void PrintWorldScreen()
+ {
+ for (int layer = 0; layer < 3; layer++)
+ {
+ for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), btn = 1; row <= maxY; row++)
+ {
+ for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, btn++)
+ {
+ Image img = ImageController.GetScreenImage(row, col, layer);
+
+ if (img == null)
+ {
+ continue;
+ }
+
+ switch (btn)
+ {
+ case 1: btnP1.Image = img; break;
+ case 2: btnP2.Image = img; break;
+ case 3: btnP3.Image = img; break;
+ case 4: btnP4.Image = img; break;
+ case 5: btnP5.Image = img; break;
+ case 6: btnP6.Image = img; break;
+ case 7: btnP7.Image = img; break;
+ case 8: btnP8.Image = img; break;
+ case 9: btnP9.Image = img; break;
+ case 10: btnP10.Image = img; break;
+ case 11: btnP11.Image = img; break;
+ case 12: btnP12.Image = img; break;
+ case 13: btnP13.Image = img; break;
+ case 14: btnP14.Image = img; break;
+ case 15: btnP15.Image = img; break;
+ case 16: btnP16.Image = img; break;
+ case 17: btnP17.Image = img; break;
+ case 18: btnP18.Image = img; break;
+ case 19: btnP19.Image = img; break;
+ case 20: btnP20.Image = img; break;
+ case 21: btnP21.Image = img; break;
+ case 22: btnP22.Image = img; break;
+ case 23: btnP23.Image = img; break;
+ case 24: btnP24.Image = img; break;
+ case 25: btnP25.Image = img; break;
+ }
+ }
+ }
+ }
+ }
+
+ /// <summary>
+ /// Prints the energy, health and hot bars and log
+ /// </summary>
+ public void PrintMainMenu()
+ {
+ this.PrintEnergyBar();
+ this.PrintHealthBar();
+ this.PrintHotBar();
+ this.PrintLog();
+ }
+
+ /// <summary>
+ /// Prints the inventory (items, accessories and gear)
+ /// </summary>
+ public void PrintInventory()
+ {
+ this.PrintItemsInventory();
+ this.PrintAccessoriesInventory();
+ this.PrintGearInventory();
+ }
+
+ /// <summary>
+ /// Prints the information that is avalable for the given item
+ /// </summary>
+ public void PrintSelectedItemInfo(ItemTile itemTile)
+ {
+ if (itemTile != null)
+ {
+ imgInfo.SetFromStock(itemTile.stock_id, IconSize.Dnd);
+ lblInfo.Text = itemTile.ToString();
+ }
+ else
+ {
+ imgInfo.SetFromImage(null, null);
+ lblInfo.Text = null;
+ }
+ }
+
+ /// <summary>
+ /// Prints the map menu items (ground layer, structure layer, coordinates, current superlayer, there is hole on top of player)
+ /// </summary>
+ public void PrintMap()
+ {
+ this.PrintGroundLayerMap();
+
+ lblSuperLayer.Text = MobStatsController.GetPlayerSuperLayerName();
+ lblCoord1.Text = "X: " + MobStatsController.GetPlayerXCoord();
+ lblCoord2.Text = "Y: " + MobStatsController.GetPlayerYCoord();
+
+ this.PrintStructureLayerMap();
+
+ lblHoleOnTop.Text = MobStatsController.ExistsHoleOnTopOfPlayer() + string.Empty;
+ }
+
+ #region Main menu
+
+ private void PrintEnergyBar()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ string iconName = MobStatsController.GetPlayerEnergyStock(i);
+
+ switch (i)
+ {
+ case 0: imgS1.SetFromStock(iconName, IconSize.Dnd); break;
+ case 1: imgS2.SetFromStock(iconName, IconSize.Dnd); break;
+ case 2: imgS3.SetFromStock(iconName, IconSize.Dnd); break;
+ case 3: imgS4.SetFromStock(iconName, IconSize.Dnd); break;
+ case 4: imgS5.SetFromStock(iconName, IconSize.Dnd); break;
+ }
+ }
+ }
+
+ private void PrintHealthBar()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ string iconName = MobStatsController.GetPlayerHearthStock(i);
+
+ switch (i)
+ {
+ case 0: imgS6.SetFromStock(iconName, IconSize.Dnd); break;
+ case 1: imgS7.SetFromStock(iconName, IconSize.Dnd); break;
+ case 2: imgS8.SetFromStock(iconName, IconSize.Dnd); break;
+ case 3: imgS9.SetFromStock(iconName, IconSize.Dnd); break;
+ case 4: imgS10.SetFromStock(iconName, IconSize.Dnd); break;
+ }
+ }
+ }
+
+ private void PrintHotBar()
+ {
+ for (int i = 0; i < Size; i++)
+ {
+ Image img = ImageController.GetPlayerHotbarImage(i);
+
+ switch (i + 1)
+ {
+ case 1: btnH1.Image = img; break;
+ case 2: btnH2.Image = img; break;
+ case 3: btnH3.Image = img; break;
+ case 4: btnH4.Image = img; break;
+ case 5: btnH5.Image = img; break;
+ }
+ }
+ }
+
+ private void PrintLog()
+ {
+ for (int i = 0, msgIndex = GameEventLogController.GetCount() - 1; i < Size; msgIndex--, i++)
+ {
+ string msg = GameEventLogController.GetMessagage(msgIndex);
+
+ switch (i)
+ {
+ case 0: lblLog1.Text = msg; break;
+ case 1: lblLog2.Text = msg; break;
+ case 2: lblLog3.Text = msg; break;
+ case 3: lblLog4.Text = msg; break;
+ }
+ }
+ }
+
+ #endregion
+
+ #region Inventory
+
+ private void PrintItemsInventory() {
+ for (int row = 0; row < Size; row++) {
+ for (int col = 0; col < Size; col++) {
+ Image img = ImageController.GetPlayerInventoryItemImage((row * Size) + col);
+
+ switch ((row * Size) + col + 1) {
+ case 1: btnI1.Image = img; break;
+ case 2: btnI2.Image = img; break;
+ case 3: btnI3.Image = img; break;
+ case 4: btnI4.Image = img; break;
+ case 5: btnI5.Image = img; break;
+ case 6: btnI6.Image = img; break;
+ case 7: btnI7.Image = img; break;
+ case 8: btnI8.Image = img; break;
+ case 9: btnI9.Image = img; break;
+ case 10: btnI10.Image = img; break;
+ case 11: btnI11.Image = img; break;
+ case 12: btnI12.Image = img; break;
+ case 13: btnI13.Image = img; break;
+ case 14: btnI14.Image = img; break;
+ case 15: btnI15.Image = img; break;
+ case 16: btnI16.Image = img; break;
+ case 17: btnI17.Image = img; break;
+ case 18: btnI18.Image = img; break;
+ case 19: btnI19.Image = img; break;
+ case 20: btnI20.Image = img; break;
+ case 21: btnI21.Image = img; break;
+ case 22: btnI22.Image = img; break;
+ case 23: btnI23.Image = img; break;
+ case 24: btnI24.Image = img; break;
+ case 25: btnI25.Image = img; break;
+ }
+ }
+ }
+ }
+
+ private void PrintAccessoriesInventory() {
+ for (int row = 0; row < 2; row++) {
+ for (int col = 0; col < Size; col++) {
+ Image img = ImageController.GetPlayerAccessoryImage((row * Size) + col);
+
+ switch ((row * Size) + col + 1) {
+ case 1: btnA1.Image = img; break;
+ case 2: btnA2.Image = img; break;
+ case 3: btnA3.Image = img; break;
+ case 4: btnA4.Image = img; break;
+ case 5: btnA5.Image = img; break;
+ case 6: btnA6.Image = img; break;
+ case 7: btnA7.Image = img; break;
+ case 8: btnA8.Image = img; break;
+ case 9: btnA9.Image = img; break;
+ case 10: btnA10.Image = img; break;
+ }
+ }
+ }
+ }
+
+ private void PrintGearInventory() {
+ for (int i = 0; i < Size; i++) {
+ Image img = ImageController.GetPlayerGearImage(i);
+
+ switch (i + 1) {
+ case 1: btnG1.Image = img; break;
+ case 2: btnG2.Image = img; break;
+ case 3: btnG3.Image = img; break;
+ case 4: btnG4.Image = img; break;
+ case 5: btnG5.Image = img; break;
+ }
+ }
+ }
+
+ #endregion
+
+ #region Map
+
+ private void PrintGroundLayerMap()
+ {
+ for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++)
+ {
+ for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++)
+ {
+ string stockName = ImageController.GetPlayerGroundImage(row, col).Stock;
+
+ switch (img)
+ {
+ case 1: imgG1.SetFromStock(stockName, IconSize.Dnd); break;
+ case 2: imgG2.SetFromStock(stockName, IconSize.Dnd); break;
+ case 3: imgG3.SetFromStock(stockName, IconSize.Dnd); break;
+ case 4: imgG4.SetFromStock(stockName, IconSize.Dnd); break;
+ case 5: imgG5.SetFromStock(stockName, IconSize.Dnd); break;
+ case 6: imgG6.SetFromStock(stockName, IconSize.Dnd); break;
+ case 7: imgG7.SetFromStock(stockName, IconSize.Dnd); break;
+ case 8: imgG8.SetFromStock(stockName, IconSize.Dnd); break;
+ case 9: imgG9.SetFromStock(stockName, IconSize.Dnd); break;
+ case 10: imgG10.SetFromStock(stockName, IconSize.Dnd); break;
+ case 11: imgG11.SetFromStock(stockName, IconSize.Dnd); break;
+ case 12: imgG12.SetFromStock(stockName, IconSize.Dnd); break;
+ case 13: imgG13.SetFromStock(stockName, IconSize.Dnd); break;
+ case 14: imgG14.SetFromStock(stockName, IconSize.Dnd); break;
+ case 15: imgG15.SetFromStock(stockName, IconSize.Dnd); break;
+ case 16: imgG16.SetFromStock(stockName, IconSize.Dnd); break;
+ case 17: imgG17.SetFromStock(stockName, IconSize.Dnd); break;
+ case 18: imgG18.SetFromStock(stockName, IconSize.Dnd); break;
+ case 19: imgG19.SetFromStock(stockName, IconSize.Dnd); break;
+ case 20: imgG20.SetFromStock(stockName, IconSize.Dnd); break;
+ case 21: imgG21.SetFromStock(stockName, IconSize.Dnd); break;
+ case 22: imgG22.SetFromStock(stockName, IconSize.Dnd); break;
+ case 23: imgG23.SetFromStock(stockName, IconSize.Dnd); break;
+ case 24: imgG24.SetFromStock(stockName, IconSize.Dnd); break;
+ case 25: imgG25.SetFromStock(stockName, IconSize.Dnd); break;
+ }
+ }
+ }
+ }
+
+ private void PrintStructureLayerMap()
+ {
+ for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++)
+ {
+ for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++)
+ {
+ string stockName = ImageController.GetPlayerStructureImage(row, col).Stock;
+
+ switch (img)
+ {
+ case 1: imgI1.SetFromStock(stockName, IconSize.Dnd); break;
+ case 2: imgI2.SetFromStock(stockName, IconSize.Dnd); break;
+ case 3: imgI3.SetFromStock(stockName, IconSize.Dnd); break;
+ case 4: imgI4.SetFromStock(stockName, IconSize.Dnd); break;
+ case 5: imgI5.SetFromStock(stockName, IconSize.Dnd); break;
+ case 6: imgI6.SetFromStock(stockName, IconSize.Dnd); break;
+ case 7: imgI7.SetFromStock(stockName, IconSize.Dnd); break;
+ case 8: imgI8.SetFromStock(stockName, IconSize.Dnd); break;
+ case 9: imgI9.SetFromStock(stockName, IconSize.Dnd); break;
+ case 10: imgI10.SetFromStock(stockName, IconSize.Dnd); break;
+ case 11: imgI11.SetFromStock(stockName, IconSize.Dnd); break;
+ case 12: imgI12.SetFromStock(stockName, IconSize.Dnd); break;
+ case 13: imgI13.SetFromStock(stockName, IconSize.Dnd); break;
+ case 14: imgI14.SetFromStock(stockName, IconSize.Dnd); break;
+ case 15: imgI15.SetFromStock(stockName, IconSize.Dnd); break;
+ case 16: imgI16.SetFromStock(stockName, IconSize.Dnd); break;
+ case 17: imgI17.SetFromStock(stockName, IconSize.Dnd); break;
+ case 18: imgI18.SetFromStock(stockName, IconSize.Dnd); break;
+ case 19: imgI19.SetFromStock(stockName, IconSize.Dnd); break;
+ case 20: imgI20.SetFromStock(stockName, IconSize.Dnd); break;
+ case 21: imgI21.SetFromStock(stockName, IconSize.Dnd); break;
+ case 22: imgI22.SetFromStock(stockName, IconSize.Dnd); break;
+ case 23: imgI23.SetFromStock(stockName, IconSize.Dnd); break;
+ case 24: imgI24.SetFromStock(stockName, IconSize.Dnd); break;
+ case 25: imgI25.SetFromStock(stockName, IconSize.Dnd); break;
+ }
+ }
+ }
+ }
+
+ #endregion
+
+ }
+}
diff --git a/Mundus/Views/Windows/GameWindows/SmallGameWindow.cs b/Mundus/Views/Windows/GameWindows/SmallGameWindow.cs
deleted file mode 100644
index 730a7d8..0000000
--- a/Mundus/Views/Windows/GameWindows/SmallGameWindow.cs
+++ /dev/null
@@ -1,970 +0,0 @@
-using System;
-using Gtk;
-using Mundus.Service;
-using Mundus.Service.Tiles.Mobs.Controllers;
-using Mundus.Service.SuperLayers;
-using Mundus.Service.Tiles.Items;
-using Mundus.Service.Tiles.Mobs;
-
-namespace Mundus.Views.Windows {
- public partial class SmallGameWindow : Gtk.Window, IGameWindow {
- /*Value for the height and width of the game screen, map screens and inventory screen
- *and the width of stats, hotbar, accessories, gear & items on the ground menus*/
- public int Size { get; private set; }
-
- public SmallGameWindow() : base( Gtk.WindowType.Toplevel ) {
- this.Build();
- }
-
- public void OnDeleteEvent(object o, Gtk.DeleteEventArgs args) {
- //Open exit dialogue if you haven't saved in a while
- //if () { //TODO: check if you have saved
- // //TODO: pause game cycle
-
- // ResponseType rt = (ResponseType)DI.DExit.Run();
- // DI.DExit.Hide();
-
- // if(rt == ResponseType.Cancel || rt == ResponseType.DeleteEvent) {
- // //cancel the exit procedure and keep the window open
- // args.RetVal = true;
- // return;
- // }
- // else if (rt == ResponseType.Accept) {
- // //TODO: call code for saving the game
- // }
- //}
-
- Application.Quit();
- }
-
- public void SetDefaults() {
- this.Size = 5;
- this.SetMapMenuVisibility(false);
- this.SetInvMenuVisibility(false);
- }
-
- private void SelectItem(string place, int index) {
- if (HasSelection()) {
- ResetSelection();
- SwitchItems.ReplaceItems(place, index);
- }
- else {
- selPlace = place;
- selIndex = index;
- SwitchItems.SetOrigin(place, index);
- }
-
- this.PrintMainMenu();
- this.PrintInventory();
- }
-
- private void React(int button) {
- int buttonYPos = (button - 1) / Size;
- int buttonXPos = (button - (buttonYPos * Size)) - 1;
-
- int mapXPos = Calculate.CalculateXFromButton(buttonXPos, Size);
- int mapYPos = Calculate.CalculateYFromButton(buttonYPos, Size);
-
- if (!HasSelection()) {
- MobMovement.MovePlayer(mapYPos, mapXPos, Size);
- MobMovement.MoveRandomlyAllMobs();
- }
- else {
- if (Inventory.GetPlayerItem(selPlace, selIndex) != null) {
- if (MobFighting.ExistsFightTargetForPlayer(mapYPos, mapXPos)) {
- MobFighting.PlayerTryFight(selPlace, selIndex, mapYPos, mapXPos);
- }
- else {
- MobTerraforming.PlayerTerraformAt(mapYPos, mapXPos, selPlace, selIndex);
- }
- }
- ResetSelection();
- }
-
- this.PrintScreen();
- this.PrintMainMenu();
-
- if (this.MapMenuIsVisible()) {
- this.PrintMap();
- }
- else if (this.InvMenuIsVisible()) {
- this.PrintInventory();
- }
- }
-
- private static string selPlace = null;
- private static int selIndex = -1;
- private static void ResetSelection() {
- selPlace = null;
- selIndex = -1;
- }
- private static bool HasSelection() {
- return selPlace != null;
- }
-
- private bool MapMenuIsVisible() {
- return imgG1.Visible;
- }
-
-
- private bool InvMenuIsVisible() {
- return btnI1.Visible;
- }
-
- //
- // PRINTING
- //
-
- public void PrintSelectedItemInfo(ItemTile itemTile) {
- if (itemTile != null) {
- imgInfo.SetFromStock(itemTile.stock_id, IconSize.Dnd);
- lblInfo.Text = itemTile.ToString();
- }
- else {
- imgInfo.SetFromImage(null, null);
- lblInfo.Text = null;
- }
- }
-
- public void PrintScreen() {
- for (int layer = 0; layer < 3; layer++) {
- for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), btn = 1; row <= maxY; row++) {
- for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, btn++) {
- Image img = ImageController.GetScreenImage(row, col, layer);
-
- if (img == null) continue;
-
- switch (btn) {
- case 1: btnP1.Image = img; break;
- case 2: btnP2.Image = img; break;
- case 3: btnP3.Image = img; break;
- case 4: btnP4.Image = img; break;
- case 5: btnP5.Image = img; break;
- case 6: btnP6.Image = img; break;
- case 7: btnP7.Image = img; break;
- case 8: btnP8.Image = img; break;
- case 9: btnP9.Image = img; break;
- case 10: btnP10.Image = img; break;
- case 11: btnP11.Image = img; break;
- case 12: btnP12.Image = img; break;
- case 13: btnP13.Image = img; break;
- case 14: btnP14.Image = img; break;
- case 15: btnP15.Image = img; break;
- case 16: btnP16.Image = img; break;
- case 17: btnP17.Image = img; break;
- case 18: btnP18.Image = img; break;
- case 19: btnP19.Image = img; break;
- case 20: btnP20.Image = img; break;
- case 21: btnP21.Image = img; break;
- case 22: btnP22.Image = img; break;
- case 23: btnP23.Image = img; break;
- case 24: btnP24.Image = img; break;
- case 25: btnP25.Image = img; break;
- }
- }
- }
- }
- }
-
- /// <summary>
- /// Prints the lung capacity, health, hotbar items and event log
- /// </summary>
- public void PrintMainMenu() {
- //Print energy
- for (int i = 0; i < Size; i++) {
- string iName = MobStatsController.GetPlayerEnergyStock(i);
-
- switch (i) {
- case 0: imgS1.SetFromStock(iName, IconSize.Dnd); break;
- case 1: imgS2.SetFromStock(iName, IconSize.Dnd); break;
- case 2: imgS3.SetFromStock(iName, IconSize.Dnd); break;
- case 3: imgS4.SetFromStock(iName, IconSize.Dnd); break;
- case 4: imgS5.SetFromStock(iName, IconSize.Dnd); break;
- }
- }
-
- //Print health
- for (int i = 0; i < Size; i++) {
- string iName = MobStatsController.GetPlayerHearthStock(i);
-
- switch (i) {
- case 0: imgS6.SetFromStock(iName, IconSize.Dnd); break;
- case 1: imgS7.SetFromStock(iName, IconSize.Dnd); break;
- case 2: imgS8.SetFromStock(iName, IconSize.Dnd); break;
- case 3: imgS9.SetFromStock(iName, IconSize.Dnd); break;
- case 4: imgS10.SetFromStock(iName, IconSize.Dnd); break;
- }
- }
-
- //Prints hotbar
- for (int i = 0; i < Size; i++) {
- Image img = ImageController.GetPlayerHotbarImage(i);
-
- switch (i + 1) {
- case 1: btnH1.Image = img; break;
- case 2: btnH2.Image = img; break;
- case 3: btnH3.Image = img; break;
- case 4: btnH4.Image = img; break;
- case 5: btnH5.Image = img; break;
- }
- }
-
- //Prints log
- for (int i = 0, mIndex = GameEventLogController.GetCount() - 1; i < Size; mIndex--, i++) {
- string msg = GameEventLogController.GetMessagage(mIndex);
-
- switch(i) {
- case 0: lblLog1.Text = msg; break;
- case 1: lblLog2.Text = msg; break;
- case 2: lblLog3.Text = msg; break;
- case 3: lblLog4.Text = msg; break;
- }
- }
- }
-
- public void PrintMap() {
- //Prints the "Ground layer" in map menu
- for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++) {
- for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++) {
- string sName = ImageController.GetPlayerGroundImage(row, col).Stock;
-
- switch (img) {
- case 1: imgG1.SetFromStock(sName, IconSize.Dnd); break;
- case 2: imgG2.SetFromStock(sName, IconSize.Dnd); break;
- case 3: imgG3.SetFromStock(sName, IconSize.Dnd); break;
- case 4: imgG4.SetFromStock(sName, IconSize.Dnd); break;
- case 5: imgG5.SetFromStock(sName, IconSize.Dnd); break;
- case 6: imgG6.SetFromStock(sName, IconSize.Dnd); break;
- case 7: imgG7.SetFromStock(sName, IconSize.Dnd); break;
- case 8: imgG8.SetFromStock(sName, IconSize.Dnd); break;
- case 9: imgG9.SetFromStock(sName, IconSize.Dnd); break;
- case 10: imgG10.SetFromStock(sName, IconSize.Dnd); break;
- case 11: imgG11.SetFromStock(sName, IconSize.Dnd); break;
- case 12: imgG12.SetFromStock(sName, IconSize.Dnd); break;
- case 13: imgG13.SetFromStock(sName, IconSize.Dnd); break;
- case 14: imgG14.SetFromStock(sName, IconSize.Dnd); break;
- case 15: imgG15.SetFromStock(sName, IconSize.Dnd); break;
- case 16: imgG16.SetFromStock(sName, IconSize.Dnd); break;
- case 17: imgG17.SetFromStock(sName, IconSize.Dnd); break;
- case 18: imgG18.SetFromStock(sName, IconSize.Dnd); break;
- case 19: imgG19.SetFromStock(sName, IconSize.Dnd); break;
- case 20: imgG20.SetFromStock(sName, IconSize.Dnd); break;
- case 21: imgG21.SetFromStock(sName, IconSize.Dnd); break;
- case 22: imgG22.SetFromStock(sName, IconSize.Dnd); break;
- case 23: imgG23.SetFromStock(sName, IconSize.Dnd); break;
- case 24: imgG24.SetFromStock(sName, IconSize.Dnd); break;
- case 25: imgG25.SetFromStock(sName, IconSize.Dnd); break;
- }
- }
- }
-
- lblSuperLayer.Text = MobStatsController.GetPlayerSuperLayerName();
- lblCoord1.Text = "X: " + MobStatsController.GetPlayerXCoord();
- lblCoord2.Text = "Y: " + MobStatsController.GetPlayerYCoord();
-
- //Prints the "Item layer" in map menu
- for (int row = Calculate.CalculateStartY(Size), maxY = Calculate.CalculateMaxY(Size), img = 1; row <= maxY; row++) {
- for (int col = Calculate.CalculateStartX(Size), maxX = Calculate.CalculateMaxX(Size); col <= maxX; col++, img++) {
- string sName = ImageController.GetPlayerStructureImage(row, col).Stock;
-
- switch (img) {
- case 1: imgI1.SetFromStock(sName, IconSize.Dnd); break;
- case 2: imgI2.SetFromStock(sName, IconSize.Dnd); break;
- case 3: imgI3.SetFromStock(sName, IconSize.Dnd); break;
- case 4: imgI4.SetFromStock(sName, IconSize.Dnd); break;
- case 5: imgI5.SetFromStock(sName, IconSize.Dnd); break;
- case 6: imgI6.SetFromStock(sName, IconSize.Dnd); break;
- case 7: imgI7.SetFromStock(sName, IconSize.Dnd); break;
- case 8: imgI8.SetFromStock(sName, IconSize.Dnd); break;
- case 9: imgI9.SetFromStock(sName, IconSize.Dnd); break;
- case 10: imgI10.SetFromStock(sName, IconSize.Dnd); break;
- case 11: imgI11.SetFromStock(sName, IconSize.Dnd); break;
- case 12: imgI12.SetFromStock(sName, IconSize.Dnd); break;
- case 13: imgI13.SetFromStock(sName, IconSize.Dnd); break;
- case 14: imgI14.SetFromStock(sName, IconSize.Dnd); break;
- case 15: imgI15.SetFromStock(sName, IconSize.Dnd); break;
- case 16: imgI16.SetFromStock(sName, IconSize.Dnd); break;
- case 17: imgI17.SetFromStock(sName, IconSize.Dnd); break;
- case 18: imgI18.SetFromStock(sName, IconSize.Dnd); break;
- case 19: imgI19.SetFromStock(sName, IconSize.Dnd); break;
- case 20: imgI20.SetFromStock(sName, IconSize.Dnd); break;
- case 21: imgI21.SetFromStock(sName, IconSize.Dnd); break;
- case 22: imgI22.SetFromStock(sName, IconSize.Dnd); break;
- case 23: imgI23.SetFromStock(sName, IconSize.Dnd); break;
- case 24: imgI24.SetFromStock(sName, IconSize.Dnd); break;
- case 25: imgI25.SetFromStock(sName, IconSize.Dnd); break;
- }
- }
- }
-
- lblHoleOnTop.Text = MobStatsController.ExistsHoleOnTopOfPlayer() + "";
- }
-
- public void PrintInventory() {
- //Prints the actual inventory (items)
- for (int row = 0; row < Size; row++) {
- for (int col = 0; col < Size; col++) {
- Image img = ImageController.GetPlayerInventoryItemImage(row * Size + col);
-
- switch (row * Size + col + 1) {
- case 1: btnI1.Image = img; break;
- case 2: btnI2.Image = img; break;
- case 3: btnI3.Image = img; break;
- case 4: btnI4.Image = img; break;
- case 5: btnI5.Image = img; break;
- case 6: btnI6.Image = img; break;
- case 7: btnI7.Image = img; break;
- case 8: btnI8.Image = img; break;
- case 9: btnI9.Image = img; break;
- case 10: btnI10.Image = img; break;
- case 11: btnI11.Image = img; break;
- case 12: btnI12.Image = img; break;
- case 13: btnI13.Image = img; break;
- case 14: btnI14.Image = img; break;
- case 15: btnI15.Image = img; break;
- case 16: btnI16.Image = img; break;
- case 17: btnI17.Image = img; break;
- case 18: btnI18.Image = img; break;
- case 19: btnI19.Image = img; break;
- case 20: btnI20.Image = img; break;
- case 21: btnI21.Image = img; break;
- case 22: btnI22.Image = img; break;
- case 23: btnI23.Image = img; break;
- case 24: btnI24.Image = img; break;
- case 25: btnI25.Image = img; break;
- }
- }
- }
-
- //Prints accessories
- for (int row = 0; row < 2; row++) {
- for (int col = 0; col < Size; col++) {
- Image img = ImageController.GetPlayerAccessoryImage(row * Size + col);
-
- switch (row * Size + col + 1) {
- case 1: btnA1.Image = img; break;
- case 2: btnA2.Image = img; break;
- case 3: btnA3.Image = img; break;
- case 4: btnA4.Image = img; break;
- case 5: btnA5.Image = img; break;
- case 6: btnA6.Image = img; break;
- case 7: btnA7.Image = img; break;
- case 8: btnA8.Image = img; break;
- case 9: btnA9.Image = img; break;
- case 10: btnA10.Image = img; break;
- }
- }
- }
-
- //Prints gear
- for (int i = 0; i < Size; i++) {
- Image img = ImageController.GetPlayerGearImage(i);
-
- switch (i + 1) {
- case 1: btnG1.Image = img; break;
- case 2: btnG2.Image = img; break;
- case 3: btnG3.Image = img; break;
- case 4: btnG4.Image = img; break;
- case 5: btnG5.Image = img; break;
- }
- }
- }
-
- //
- // BUTTON CLICKED EVENTS
- //
-
- protected void OnBtnIG1Clicked(object sender, EventArgs e) {
- //Mundus.Data.Superlayers.Mobs.LMI.Player.Inventory.Hotbar[0] = LandPresets.Boulder();
-
- //Service.Crafting.CraftingController.FindAvalableItems();
- PrintMainMenu();
- }
-
- protected void OnBtnIG2Clicked(object sender, EventArgs e) {
- //Mundus.Data.Superlayers.Mobs.LMI.Player.Inventory.Hotbar[1] = new Service.Tiles.Items.Tool("blank_hand", Mundus.Data.Tiles.ToolTypes.Pickaxe, 1);
- //Mundus.Data.Superlayers.Mobs.LMI.Player.Inventory.Hotbar[0] = new Service.Tiles.Items.Tool("blank_hand", Mundus.Data.Tiles.ToolTypes.Axe, 1);
-
- //MobStatsController.HealPlayer(1);
- PrintMainMenu();
- }
-
- protected void OnBtnPauseClicked(object sender, EventArgs e) {
- // Note: pause window blocks player input
- WindowController.ShowPauseWindow();
- }
-
- protected void OnBtnMusicClicked(object sender, EventArgs e) {
- WindowController.ShowMusicWindow();
- }
-
-
- protected void OnBtnCraftingClicked(object sender, EventArgs e) {
- WindowController.ShowCraftingWindow();
- }
-
- protected void OnBtnMapClicked(object sender, EventArgs e) {
- //Hide inv menu, if it is visible (so only one of the two is visible)
- if (this.InvMenuIsVisible()) this.OnBtnInvClicked(this, null);
-
- if (this.MapMenuIsVisible()) {
- this.SetMapMenuVisibility(false);
- }
- else {
- this.PrintMap();
- this.SetMapMenuVisibility(true);
- }
- }
-
- protected void OnBtnInvClicked(object sender, EventArgs e) {
- //Hide map menu, if it is visible (so only one of the two is visible)
- if (this.MapMenuIsVisible()) this.OnBtnMapClicked(this, null);
-
- if (btnI1.Visible) {
- this.SetInvMenuVisibility(false);
- }
- else {
- this.PrintInventory();
- this.SetInvMenuVisibility(true);
- }
- }
-
- // Screen buttons
- protected void OnBtnP1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(1);
- }
- }
- protected void OnBtnP2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(2);
- }
- }
- protected void OnBtnP3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(3);
- }
- }
- protected void OnBtnP4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(4);
- }
- }
- protected void OnBtnP5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(5);
- }
- }
- protected void OnBtnP6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(6);
- }
- }
- protected void OnBtnP7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(7);
- }
- }
- protected void OnBtnP8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(8);
- }
- }
- protected void OnBtnP9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(9);
- }
- }
- protected void OnBtnP10Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(10);
- }
- }
- protected void OnBtnP11Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(11);
- }
- }
- protected void OnBtnP12Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(12);
- }
- }
- protected void OnBtnP13Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(13);
- }
- }
- protected void OnBtnP14Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(14);
- }
- }
- protected void OnBtnP15Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(15);
- }
- }
- protected void OnBtnP16Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(16);
- }
- }
- protected void OnBtnP17Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(17);
- }
- }
- protected void OnBtnP18Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(18);
- }
- }
- protected void OnBtnP19Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(19);
- }
- }
- protected void OnBtnP20Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(20);
- }
- }
- protected void OnBtnP21Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(21);
- }
- }
- protected void OnBtnP22Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(22);
- }
- }
- protected void OnBtnP23Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(23);
- }
- }
- protected void OnBtnP24Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(24);
- }
- }
- protected void OnBtnP25Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- React(25);
- }
- }
-
- //Hotbar buttons
- protected void OnBtnH1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 0);
- this.PrintMainMenu();
- }
- }
- protected void OnBtnH2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 1);
- this.PrintMainMenu();
- }
- }
- protected void OnBtnH3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 2);
- this.PrintMainMenu();
- }
- }
- protected void OnBtnH4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 3);
- this.PrintMainMenu();
- }
- }
- protected void OnBtnH5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("hotbar", 4);
- this.PrintMainMenu();
- }
- }
-
- protected void OnBtnLogClicked(object sender, EventArgs e) {
- WindowController.ShowLogWindow();
- }
-
- // Inventory (items) buttons
- protected void OnBtnI1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 0);
- this.PrintInventory();
- }
- }
- protected void OnBtnI2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 1);
- this.PrintInventory();
- }
- }
- protected void OnBtnI3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 2);
- this.PrintInventory();
- }
- }
- protected void OnBtnI4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 3);
- this.PrintInventory();
- }
- }
- protected void OnBtnI5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 4);
- this.PrintInventory();
- }
- }
- protected void OnBtnI6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 5);
- this.PrintInventory();
- }
- }
- protected void OnBtnI7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 6);
- this.PrintInventory();
- }
- }
- protected void OnBtnI8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 7);
- this.PrintInventory();
- }
- }
- protected void OnBtnI9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 8);
- this.PrintInventory();
- }
- }
- protected void OnBtnI10Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 9);
- this.PrintInventory();
- }
- }
- protected void OnBtnI11Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 10);
- this.PrintInventory();
- }
- }
- protected void OnBtnI12Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 11);
- this.PrintInventory();
- }
- }
- protected void OnBtnI13Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 12);
- this.PrintInventory();
- }
- }
- protected void OnBtnI14Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 13);
- this.PrintInventory();
- }
- }
- protected void OnBtnI15Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 14);
- this.PrintInventory();
- }
- }
- protected void OnBtnI16Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 15);
- this.PrintInventory();
- }
- }
- protected void OnBtnI17Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 16);
- this.PrintInventory();
- }
- }
- protected void OnBtnI18Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 17);
- this.PrintInventory();
- }
- }
- protected void OnBtnI19Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 18);
- this.PrintInventory();
- }
- }
- protected void OnBtnI20Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 19);
- this.PrintInventory();
- }
- }
- protected void OnBtnI21Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 20);
- this.PrintInventory();
- }
- }
- protected void OnBtnI22Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 21);
- this.PrintInventory();
- }
- }
- protected void OnBtnI23Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 22);
- this.PrintInventory();
- }
- }
- protected void OnBtnI24Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 23);
- this.PrintInventory();
- }
- }
- protected void OnBtnI25Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("items", 24);
- this.PrintInventory();
- }
- }
-
- // Accessories buttons
- protected void OnBtnA1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 0);
- this.PrintInventory();
- }
- }
- protected void OnBtnA2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 1);
- this.PrintInventory();
- }
- }
- protected void OnBtnA3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 2);
- this.PrintInventory();
- }
- }
- protected void OnBtnA4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 3);
- this.PrintInventory();
- }
- }
- protected void OnBtnA5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 4);
- this.PrintInventory();
- }
- }
- protected void OnBtnA6Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 5);
- this.PrintInventory();
- }
- }
- protected void OnBtnA7Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 6);
- this.PrintInventory();
- }
- }
- protected void OnBtnA8Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 7);
- this.PrintInventory();
- }
- }
- protected void OnBtnA9Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 8);
- this.PrintInventory();
- }
- }
- protected void OnBtnA10Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("accessories", 9);
- this.PrintInventory();
- }
- }
-
- // Gear buttons
- protected void OnBtnG1Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 0);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG2Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 1);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG3Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 2);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG4Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 3);
- this.PrintInventory();
- }
- }
-
- protected void OnBtnG5Clicked(object sender, EventArgs e) {
- if (!WindowController.PauseWindowVisible) {
- this.SelectItem("gear", 4);
- this.PrintInventory();
- }
- }
-
- //
- // VISIBILITY
- //
-
- private void SetMapMenuVisibility(bool isVisible) {
- lblGroundLayer.Visible = isVisible;
- imgG1.Visible = isVisible;
- imgG2.Visible = isVisible;
- imgG3.Visible = isVisible;
- imgG4.Visible = isVisible;
- imgG5.Visible = isVisible;
- imgG6.Visible = isVisible;
- imgG7.Visible = isVisible;
- imgG8.Visible = isVisible;
- imgG9.Visible = isVisible;
- imgG10.Visible = isVisible;
- imgG11.Visible = isVisible;
- imgG12.Visible = isVisible;
- imgG13.Visible = isVisible;
- imgG14.Visible = isVisible;
- imgG15.Visible = isVisible;
- imgG16.Visible = isVisible;
- imgG17.Visible = isVisible;
- imgG18.Visible = isVisible;
- imgG19.Visible = isVisible;
- imgG20.Visible = isVisible;
- imgG21.Visible = isVisible;
- imgG22.Visible = isVisible;
- imgG23.Visible = isVisible;
- imgG24.Visible = isVisible;
- imgG25.Visible = isVisible;
-
- lblSuperLayer.Visible = isVisible;
- lblCoord1.Visible = isVisible;
- lblCoord2.Visible = isVisible;
-
- lblItemLayer.Visible = isVisible;
- imgI1.Visible = isVisible;
- imgI2.Visible = isVisible;
- imgI3.Visible = isVisible;
- imgI4.Visible = isVisible;
- imgI5.Visible = isVisible;
- imgI6.Visible = isVisible;
- imgI7.Visible = isVisible;
- imgI8.Visible = isVisible;
- imgI9.Visible = isVisible;
- imgI10.Visible = isVisible;
- imgI11.Visible = isVisible;
- imgI12.Visible = isVisible;
- imgI13.Visible = isVisible;
- imgI14.Visible = isVisible;
- imgI15.Visible = isVisible;
- imgI16.Visible = isVisible;
- imgI17.Visible = isVisible;
- imgI18.Visible = isVisible;
- imgI19.Visible = isVisible;
- imgI20.Visible = isVisible;
- imgI21.Visible = isVisible;
- imgI22.Visible = isVisible;
- imgI23.Visible = isVisible;
- imgI24.Visible = isVisible;
- imgI25.Visible = isVisible;
-
- lblHoleMsg.Visible = isVisible;
- lblHoleOnTop.Visible = isVisible;
-
- lblBlank5.Visible = isVisible;
- }
-
- private void SetInvMenuVisibility(bool isVisible) {
- btnI1.Visible = isVisible;
- btnI2.Visible = isVisible;
- btnI3.Visible = isVisible;
- btnI4.Visible = isVisible;
- btnI5.Visible = isVisible;
- btnI6.Visible = isVisible;
- btnI7.Visible = isVisible;
- btnI8.Visible = isVisible;
- btnI9.Visible = isVisible;
- btnI10.Visible = isVisible;
- btnI11.Visible = isVisible;
- btnI12.Visible = isVisible;
- btnI13.Visible = isVisible;
- btnI14.Visible = isVisible;
- btnI15.Visible = isVisible;
- btnI16.Visible = isVisible;
- btnI17.Visible = isVisible;
- btnI18.Visible = isVisible;
- btnI19.Visible = isVisible;
- btnI20.Visible = isVisible;
- btnI21.Visible = isVisible;
- btnI22.Visible = isVisible;
- btnI23.Visible = isVisible;
- btnI24.Visible = isVisible;
- btnI25.Visible = isVisible;
- btnCrafting.Visible = isVisible;
-
- lblAccessories.Visible = isVisible;
- btnA1.Visible = isVisible;
- btnA2.Visible = isVisible;
- btnA3.Visible = isVisible;
- btnA4.Visible = isVisible;
- btnA5.Visible = isVisible;
- btnA6.Visible = isVisible;
- btnA7.Visible = isVisible;
- btnA8.Visible = isVisible;
- btnA9.Visible = isVisible;
- btnA10.Visible = isVisible;
-
- lblGear.Visible = isVisible;
- btnG1.Visible = isVisible;
- btnG2.Visible = isVisible;
- btnG3.Visible = isVisible;
- btnG4.Visible = isVisible;
- btnG5.Visible = isVisible;
-
- btnIG1.Visible = isVisible;
- btnIG2.Visible = isVisible;
-
- imgInfo.Visible = isVisible;
- lblInfo.Visible = isVisible;
-
- lblBlank4.Visible = isVisible;
- }
- }
-}
diff --git a/Mundus/gtk-gui/Mundus.Views.Windows.SmallGameWindow.cs b/Mundus/gtk-gui/Mundus.Views.Windows.SmallGameWindow.cs
index 5cb01f0..4a39ace 100644
--- a/Mundus/gtk-gui/Mundus.Views.Windows.SmallGameWindow.cs
+++ b/Mundus/gtk-gui/Mundus.Views.Windows.SmallGameWindow.cs
@@ -1158,16 +1158,15 @@ namespace Mundus.Views.Windows
this.btnIG1.CanFocus = true;
this.btnIG1.Name = "btnIG1";
this.btnIG1.UseUnderline = true;
- global::Gtk.Image w92 = new global::Gtk.Image();
- this.btnIG1.Image = w92;
+ this.btnIG1.Label = "TESTING";
this.tbUI.Add(this.btnIG1);
- global::Gtk.Table.TableChild w93 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnIG1]));
- w93.TopAttach = ((uint)(13));
- w93.BottomAttach = ((uint)(14));
- w93.LeftAttach = ((uint)(15));
- w93.RightAttach = ((uint)(16));
- w93.XOptions = ((global::Gtk.AttachOptions)(4));
- w93.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w92 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnIG1]));
+ w92.TopAttach = ((uint)(13));
+ w92.BottomAttach = ((uint)(14));
+ w92.LeftAttach = ((uint)(15));
+ w92.RightAttach = ((uint)(16));
+ w92.XOptions = ((global::Gtk.AttachOptions)(4));
+ w92.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnIG2 = new global::Gtk.Button();
this.btnIG2.WidthRequest = 50;
@@ -1175,16 +1174,15 @@ namespace Mundus.Views.Windows
this.btnIG2.CanFocus = true;
this.btnIG2.Name = "btnIG2";
this.btnIG2.UseUnderline = true;
- global::Gtk.Image w94 = new global::Gtk.Image();
- this.btnIG2.Image = w94;
+ this.btnIG2.Label = "TESTING";
this.tbUI.Add(this.btnIG2);
- global::Gtk.Table.TableChild w95 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnIG2]));
- w95.TopAttach = ((uint)(13));
- w95.BottomAttach = ((uint)(14));
- w95.LeftAttach = ((uint)(16));
- w95.RightAttach = ((uint)(17));
- w95.XOptions = ((global::Gtk.AttachOptions)(4));
- w95.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w93 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnIG2]));
+ w93.TopAttach = ((uint)(13));
+ w93.BottomAttach = ((uint)(14));
+ w93.LeftAttach = ((uint)(16));
+ w93.RightAttach = ((uint)(17));
+ w93.XOptions = ((global::Gtk.AttachOptions)(4));
+ w93.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnInv = new global::Gtk.Button();
this.btnInv.WidthRequest = 50;
@@ -1194,13 +1192,13 @@ namespace Mundus.Views.Windows
this.btnInv.UseUnderline = true;
this.btnInv.Label = "Inv";
this.tbUI.Add(this.btnInv);
- global::Gtk.Table.TableChild w96 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnInv]));
- w96.TopAttach = ((uint)(9));
- w96.BottomAttach = ((uint)(10));
- w96.LeftAttach = ((uint)(13));
- w96.RightAttach = ((uint)(14));
- w96.XOptions = ((global::Gtk.AttachOptions)(4));
- w96.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w94 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnInv]));
+ w94.TopAttach = ((uint)(9));
+ w94.BottomAttach = ((uint)(10));
+ w94.LeftAttach = ((uint)(13));
+ w94.RightAttach = ((uint)(14));
+ w94.XOptions = ((global::Gtk.AttachOptions)(4));
+ w94.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnLog = new global::Gtk.Button();
this.btnLog.WidthRequest = 250;
@@ -1211,13 +1209,13 @@ namespace Mundus.Views.Windows
this.btnLog.FocusOnClick = false;
this.btnLog.Label = "Event Log";
this.tbUI.Add(this.btnLog);
- global::Gtk.Table.TableChild w97 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnLog]));
- w97.TopAttach = ((uint)(11));
- w97.BottomAttach = ((uint)(12));
- w97.LeftAttach = ((uint)(8));
- w97.RightAttach = ((uint)(13));
- w97.XOptions = ((global::Gtk.AttachOptions)(0));
- w97.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w95 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnLog]));
+ w95.TopAttach = ((uint)(11));
+ w95.BottomAttach = ((uint)(12));
+ w95.LeftAttach = ((uint)(8));
+ w95.RightAttach = ((uint)(13));
+ w95.XOptions = ((global::Gtk.AttachOptions)(0));
+ w95.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnMap = new global::Gtk.Button();
this.btnMap.WidthRequest = 50;
@@ -1227,13 +1225,13 @@ namespace Mundus.Views.Windows
this.btnMap.UseUnderline = true;
this.btnMap.Label = "Map";
this.tbUI.Add(this.btnMap);
- global::Gtk.Table.TableChild w98 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnMap]));
- w98.TopAttach = ((uint)(9));
- w98.BottomAttach = ((uint)(10));
- w98.LeftAttach = ((uint)(7));
- w98.RightAttach = ((uint)(8));
- w98.XOptions = ((global::Gtk.AttachOptions)(4));
- w98.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w96 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnMap]));
+ w96.TopAttach = ((uint)(9));
+ w96.BottomAttach = ((uint)(10));
+ w96.LeftAttach = ((uint)(7));
+ w96.RightAttach = ((uint)(8));
+ w96.XOptions = ((global::Gtk.AttachOptions)(4));
+ w96.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnMusic = new global::Gtk.Button();
this.btnMusic.WidthRequest = 50;
@@ -1243,13 +1241,13 @@ namespace Mundus.Views.Windows
this.btnMusic.UseUnderline = true;
this.btnMusic.Label = "Music";
this.tbUI.Add(this.btnMusic);
- global::Gtk.Table.TableChild w99 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnMusic]));
- w99.TopAttach = ((uint)(11));
- w99.BottomAttach = ((uint)(12));
- w99.LeftAttach = ((uint)(7));
- w99.RightAttach = ((uint)(8));
- w99.XOptions = ((global::Gtk.AttachOptions)(4));
- w99.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w97 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnMusic]));
+ w97.TopAttach = ((uint)(11));
+ w97.BottomAttach = ((uint)(12));
+ w97.LeftAttach = ((uint)(7));
+ w97.RightAttach = ((uint)(8));
+ w97.XOptions = ((global::Gtk.AttachOptions)(4));
+ w97.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP1 = new global::Gtk.Button();
this.btnP1.WidthRequest = 50;
@@ -1258,16 +1256,16 @@ namespace Mundus.Views.Windows
this.btnP1.Name = "btnP1";
this.btnP1.UseUnderline = true;
this.btnP1.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w100 = new global::Gtk.Image();
- this.btnP1.Image = w100;
+ global::Gtk.Image w98 = new global::Gtk.Image();
+ this.btnP1.Image = w98;
this.tbUI.Add(this.btnP1);
- global::Gtk.Table.TableChild w101 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP1]));
- w101.TopAttach = ((uint)(1));
- w101.BottomAttach = ((uint)(2));
- w101.LeftAttach = ((uint)(8));
- w101.RightAttach = ((uint)(9));
- w101.XOptions = ((global::Gtk.AttachOptions)(4));
- w101.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w99 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP1]));
+ w99.TopAttach = ((uint)(1));
+ w99.BottomAttach = ((uint)(2));
+ w99.LeftAttach = ((uint)(8));
+ w99.RightAttach = ((uint)(9));
+ w99.XOptions = ((global::Gtk.AttachOptions)(4));
+ w99.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP10 = new global::Gtk.Button();
this.btnP10.WidthRequest = 50;
@@ -1276,16 +1274,16 @@ namespace Mundus.Views.Windows
this.btnP10.Name = "btnP10";
this.btnP10.UseUnderline = true;
this.btnP10.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w102 = new global::Gtk.Image();
- this.btnP10.Image = w102;
+ global::Gtk.Image w100 = new global::Gtk.Image();
+ this.btnP10.Image = w100;
this.tbUI.Add(this.btnP10);
- global::Gtk.Table.TableChild w103 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP10]));
- w103.TopAttach = ((uint)(2));
- w103.BottomAttach = ((uint)(3));
- w103.LeftAttach = ((uint)(12));
- w103.RightAttach = ((uint)(13));
- w103.XOptions = ((global::Gtk.AttachOptions)(4));
- w103.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w101 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP10]));
+ w101.TopAttach = ((uint)(2));
+ w101.BottomAttach = ((uint)(3));
+ w101.LeftAttach = ((uint)(12));
+ w101.RightAttach = ((uint)(13));
+ w101.XOptions = ((global::Gtk.AttachOptions)(4));
+ w101.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP11 = new global::Gtk.Button();
this.btnP11.WidthRequest = 50;
@@ -1294,16 +1292,16 @@ namespace Mundus.Views.Windows
this.btnP11.Name = "btnP11";
this.btnP11.UseUnderline = true;
this.btnP11.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w104 = new global::Gtk.Image();
- this.btnP11.Image = w104;
+ global::Gtk.Image w102 = new global::Gtk.Image();
+ this.btnP11.Image = w102;
this.tbUI.Add(this.btnP11);
- global::Gtk.Table.TableChild w105 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP11]));
- w105.TopAttach = ((uint)(3));
- w105.BottomAttach = ((uint)(4));
- w105.LeftAttach = ((uint)(8));
- w105.RightAttach = ((uint)(9));
- w105.XOptions = ((global::Gtk.AttachOptions)(4));
- w105.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w103 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP11]));
+ w103.TopAttach = ((uint)(3));
+ w103.BottomAttach = ((uint)(4));
+ w103.LeftAttach = ((uint)(8));
+ w103.RightAttach = ((uint)(9));
+ w103.XOptions = ((global::Gtk.AttachOptions)(4));
+ w103.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP12 = new global::Gtk.Button();
this.btnP12.WidthRequest = 50;
@@ -1312,16 +1310,16 @@ namespace Mundus.Views.Windows
this.btnP12.Name = "btnP12";
this.btnP12.UseUnderline = true;
this.btnP12.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w106 = new global::Gtk.Image();
- this.btnP12.Image = w106;
+ global::Gtk.Image w104 = new global::Gtk.Image();
+ this.btnP12.Image = w104;
this.tbUI.Add(this.btnP12);
- global::Gtk.Table.TableChild w107 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP12]));
- w107.TopAttach = ((uint)(3));
- w107.BottomAttach = ((uint)(4));
- w107.LeftAttach = ((uint)(9));
- w107.RightAttach = ((uint)(10));
- w107.XOptions = ((global::Gtk.AttachOptions)(4));
- w107.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w105 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP12]));
+ w105.TopAttach = ((uint)(3));
+ w105.BottomAttach = ((uint)(4));
+ w105.LeftAttach = ((uint)(9));
+ w105.RightAttach = ((uint)(10));
+ w105.XOptions = ((global::Gtk.AttachOptions)(4));
+ w105.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP13 = new global::Gtk.Button();
this.btnP13.WidthRequest = 50;
@@ -1330,16 +1328,16 @@ namespace Mundus.Views.Windows
this.btnP13.Name = "btnP13";
this.btnP13.UseUnderline = true;
this.btnP13.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w108 = new global::Gtk.Image();
- this.btnP13.Image = w108;
+ global::Gtk.Image w106 = new global::Gtk.Image();
+ this.btnP13.Image = w106;
this.tbUI.Add(this.btnP13);
- global::Gtk.Table.TableChild w109 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP13]));
- w109.TopAttach = ((uint)(3));
- w109.BottomAttach = ((uint)(4));
- w109.LeftAttach = ((uint)(10));
- w109.RightAttach = ((uint)(11));
- w109.XOptions = ((global::Gtk.AttachOptions)(4));
- w109.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w107 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP13]));
+ w107.TopAttach = ((uint)(3));
+ w107.BottomAttach = ((uint)(4));
+ w107.LeftAttach = ((uint)(10));
+ w107.RightAttach = ((uint)(11));
+ w107.XOptions = ((global::Gtk.AttachOptions)(4));
+ w107.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP14 = new global::Gtk.Button();
this.btnP14.WidthRequest = 50;
@@ -1348,16 +1346,16 @@ namespace Mundus.Views.Windows
this.btnP14.Name = "btnP14";
this.btnP14.UseUnderline = true;
this.btnP14.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w110 = new global::Gtk.Image();
- this.btnP14.Image = w110;
+ global::Gtk.Image w108 = new global::Gtk.Image();
+ this.btnP14.Image = w108;
this.tbUI.Add(this.btnP14);
- global::Gtk.Table.TableChild w111 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP14]));
- w111.TopAttach = ((uint)(3));
- w111.BottomAttach = ((uint)(4));
- w111.LeftAttach = ((uint)(11));
- w111.RightAttach = ((uint)(12));
- w111.XOptions = ((global::Gtk.AttachOptions)(4));
- w111.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w109 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP14]));
+ w109.TopAttach = ((uint)(3));
+ w109.BottomAttach = ((uint)(4));
+ w109.LeftAttach = ((uint)(11));
+ w109.RightAttach = ((uint)(12));
+ w109.XOptions = ((global::Gtk.AttachOptions)(4));
+ w109.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP15 = new global::Gtk.Button();
this.btnP15.WidthRequest = 50;
@@ -1366,16 +1364,16 @@ namespace Mundus.Views.Windows
this.btnP15.Name = "btnP15";
this.btnP15.UseUnderline = true;
this.btnP15.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w112 = new global::Gtk.Image();
- this.btnP15.Image = w112;
+ global::Gtk.Image w110 = new global::Gtk.Image();
+ this.btnP15.Image = w110;
this.tbUI.Add(this.btnP15);
- global::Gtk.Table.TableChild w113 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP15]));
- w113.TopAttach = ((uint)(3));
- w113.BottomAttach = ((uint)(4));
- w113.LeftAttach = ((uint)(12));
- w113.RightAttach = ((uint)(13));
- w113.XOptions = ((global::Gtk.AttachOptions)(4));
- w113.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w111 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP15]));
+ w111.TopAttach = ((uint)(3));
+ w111.BottomAttach = ((uint)(4));
+ w111.LeftAttach = ((uint)(12));
+ w111.RightAttach = ((uint)(13));
+ w111.XOptions = ((global::Gtk.AttachOptions)(4));
+ w111.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP16 = new global::Gtk.Button();
this.btnP16.WidthRequest = 50;
@@ -1384,16 +1382,16 @@ namespace Mundus.Views.Windows
this.btnP16.Name = "btnP16";
this.btnP16.UseUnderline = true;
this.btnP16.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w114 = new global::Gtk.Image();
- this.btnP16.Image = w114;
+ global::Gtk.Image w112 = new global::Gtk.Image();
+ this.btnP16.Image = w112;
this.tbUI.Add(this.btnP16);
- global::Gtk.Table.TableChild w115 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP16]));
- w115.TopAttach = ((uint)(4));
- w115.BottomAttach = ((uint)(5));
- w115.LeftAttach = ((uint)(8));
- w115.RightAttach = ((uint)(9));
- w115.XOptions = ((global::Gtk.AttachOptions)(4));
- w115.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w113 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP16]));
+ w113.TopAttach = ((uint)(4));
+ w113.BottomAttach = ((uint)(5));
+ w113.LeftAttach = ((uint)(8));
+ w113.RightAttach = ((uint)(9));
+ w113.XOptions = ((global::Gtk.AttachOptions)(4));
+ w113.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP17 = new global::Gtk.Button();
this.btnP17.WidthRequest = 50;
@@ -1402,16 +1400,16 @@ namespace Mundus.Views.Windows
this.btnP17.Name = "btnP17";
this.btnP17.UseUnderline = true;
this.btnP17.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w116 = new global::Gtk.Image();
- this.btnP17.Image = w116;
+ global::Gtk.Image w114 = new global::Gtk.Image();
+ this.btnP17.Image = w114;
this.tbUI.Add(this.btnP17);
- global::Gtk.Table.TableChild w117 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP17]));
- w117.TopAttach = ((uint)(4));
- w117.BottomAttach = ((uint)(5));
- w117.LeftAttach = ((uint)(9));
- w117.RightAttach = ((uint)(10));
- w117.XOptions = ((global::Gtk.AttachOptions)(4));
- w117.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w115 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP17]));
+ w115.TopAttach = ((uint)(4));
+ w115.BottomAttach = ((uint)(5));
+ w115.LeftAttach = ((uint)(9));
+ w115.RightAttach = ((uint)(10));
+ w115.XOptions = ((global::Gtk.AttachOptions)(4));
+ w115.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP18 = new global::Gtk.Button();
this.btnP18.WidthRequest = 50;
@@ -1420,16 +1418,16 @@ namespace Mundus.Views.Windows
this.btnP18.Name = "btnP18";
this.btnP18.UseUnderline = true;
this.btnP18.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w118 = new global::Gtk.Image();
- this.btnP18.Image = w118;
+ global::Gtk.Image w116 = new global::Gtk.Image();
+ this.btnP18.Image = w116;
this.tbUI.Add(this.btnP18);
- global::Gtk.Table.TableChild w119 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP18]));
- w119.TopAttach = ((uint)(4));
- w119.BottomAttach = ((uint)(5));
- w119.LeftAttach = ((uint)(10));
- w119.RightAttach = ((uint)(11));
- w119.XOptions = ((global::Gtk.AttachOptions)(4));
- w119.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w117 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP18]));
+ w117.TopAttach = ((uint)(4));
+ w117.BottomAttach = ((uint)(5));
+ w117.LeftAttach = ((uint)(10));
+ w117.RightAttach = ((uint)(11));
+ w117.XOptions = ((global::Gtk.AttachOptions)(4));
+ w117.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP19 = new global::Gtk.Button();
this.btnP19.WidthRequest = 50;
@@ -1438,16 +1436,16 @@ namespace Mundus.Views.Windows
this.btnP19.Name = "btnP19";
this.btnP19.UseUnderline = true;
this.btnP19.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w120 = new global::Gtk.Image();
- this.btnP19.Image = w120;
+ global::Gtk.Image w118 = new global::Gtk.Image();
+ this.btnP19.Image = w118;
this.tbUI.Add(this.btnP19);
- global::Gtk.Table.TableChild w121 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP19]));
- w121.TopAttach = ((uint)(4));
- w121.BottomAttach = ((uint)(5));
- w121.LeftAttach = ((uint)(11));
- w121.RightAttach = ((uint)(12));
- w121.XOptions = ((global::Gtk.AttachOptions)(4));
- w121.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w119 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP19]));
+ w119.TopAttach = ((uint)(4));
+ w119.BottomAttach = ((uint)(5));
+ w119.LeftAttach = ((uint)(11));
+ w119.RightAttach = ((uint)(12));
+ w119.XOptions = ((global::Gtk.AttachOptions)(4));
+ w119.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP2 = new global::Gtk.Button();
this.btnP2.WidthRequest = 50;
@@ -1456,16 +1454,16 @@ namespace Mundus.Views.Windows
this.btnP2.Name = "btnP2";
this.btnP2.UseUnderline = true;
this.btnP2.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w122 = new global::Gtk.Image();
- this.btnP2.Image = w122;
+ global::Gtk.Image w120 = new global::Gtk.Image();
+ this.btnP2.Image = w120;
this.tbUI.Add(this.btnP2);
- global::Gtk.Table.TableChild w123 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP2]));
- w123.TopAttach = ((uint)(1));
- w123.BottomAttach = ((uint)(2));
- w123.LeftAttach = ((uint)(9));
- w123.RightAttach = ((uint)(10));
- w123.XOptions = ((global::Gtk.AttachOptions)(4));
- w123.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w121 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP2]));
+ w121.TopAttach = ((uint)(1));
+ w121.BottomAttach = ((uint)(2));
+ w121.LeftAttach = ((uint)(9));
+ w121.RightAttach = ((uint)(10));
+ w121.XOptions = ((global::Gtk.AttachOptions)(4));
+ w121.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP20 = new global::Gtk.Button();
this.btnP20.WidthRequest = 50;
@@ -1474,16 +1472,16 @@ namespace Mundus.Views.Windows
this.btnP20.Name = "btnP20";
this.btnP20.UseUnderline = true;
this.btnP20.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w124 = new global::Gtk.Image();
- this.btnP20.Image = w124;
+ global::Gtk.Image w122 = new global::Gtk.Image();
+ this.btnP20.Image = w122;
this.tbUI.Add(this.btnP20);
- global::Gtk.Table.TableChild w125 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP20]));
- w125.TopAttach = ((uint)(4));
- w125.BottomAttach = ((uint)(5));
- w125.LeftAttach = ((uint)(12));
- w125.RightAttach = ((uint)(13));
- w125.XOptions = ((global::Gtk.AttachOptions)(4));
- w125.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w123 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP20]));
+ w123.TopAttach = ((uint)(4));
+ w123.BottomAttach = ((uint)(5));
+ w123.LeftAttach = ((uint)(12));
+ w123.RightAttach = ((uint)(13));
+ w123.XOptions = ((global::Gtk.AttachOptions)(4));
+ w123.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP21 = new global::Gtk.Button();
this.btnP21.WidthRequest = 50;
@@ -1492,16 +1490,16 @@ namespace Mundus.Views.Windows
this.btnP21.Name = "btnP21";
this.btnP21.UseUnderline = true;
this.btnP21.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w126 = new global::Gtk.Image();
- this.btnP21.Image = w126;
+ global::Gtk.Image w124 = new global::Gtk.Image();
+ this.btnP21.Image = w124;
this.tbUI.Add(this.btnP21);
- global::Gtk.Table.TableChild w127 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP21]));
- w127.TopAttach = ((uint)(5));
- w127.BottomAttach = ((uint)(6));
- w127.LeftAttach = ((uint)(8));
- w127.RightAttach = ((uint)(9));
- w127.XOptions = ((global::Gtk.AttachOptions)(4));
- w127.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w125 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP21]));
+ w125.TopAttach = ((uint)(5));
+ w125.BottomAttach = ((uint)(6));
+ w125.LeftAttach = ((uint)(8));
+ w125.RightAttach = ((uint)(9));
+ w125.XOptions = ((global::Gtk.AttachOptions)(4));
+ w125.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP22 = new global::Gtk.Button();
this.btnP22.WidthRequest = 50;
@@ -1510,16 +1508,16 @@ namespace Mundus.Views.Windows
this.btnP22.Name = "btnP22";
this.btnP22.UseUnderline = true;
this.btnP22.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w128 = new global::Gtk.Image();
- this.btnP22.Image = w128;
+ global::Gtk.Image w126 = new global::Gtk.Image();
+ this.btnP22.Image = w126;
this.tbUI.Add(this.btnP22);
- global::Gtk.Table.TableChild w129 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP22]));
- w129.TopAttach = ((uint)(5));
- w129.BottomAttach = ((uint)(6));
- w129.LeftAttach = ((uint)(9));
- w129.RightAttach = ((uint)(10));
- w129.XOptions = ((global::Gtk.AttachOptions)(4));
- w129.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w127 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP22]));
+ w127.TopAttach = ((uint)(5));
+ w127.BottomAttach = ((uint)(6));
+ w127.LeftAttach = ((uint)(9));
+ w127.RightAttach = ((uint)(10));
+ w127.XOptions = ((global::Gtk.AttachOptions)(4));
+ w127.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP23 = new global::Gtk.Button();
this.btnP23.WidthRequest = 50;
@@ -1528,16 +1526,16 @@ namespace Mundus.Views.Windows
this.btnP23.Name = "btnP23";
this.btnP23.UseUnderline = true;
this.btnP23.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w130 = new global::Gtk.Image();
- this.btnP23.Image = w130;
+ global::Gtk.Image w128 = new global::Gtk.Image();
+ this.btnP23.Image = w128;
this.tbUI.Add(this.btnP23);
- global::Gtk.Table.TableChild w131 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP23]));
- w131.TopAttach = ((uint)(5));
- w131.BottomAttach = ((uint)(6));
- w131.LeftAttach = ((uint)(10));
- w131.RightAttach = ((uint)(11));
- w131.XOptions = ((global::Gtk.AttachOptions)(4));
- w131.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w129 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP23]));
+ w129.TopAttach = ((uint)(5));
+ w129.BottomAttach = ((uint)(6));
+ w129.LeftAttach = ((uint)(10));
+ w129.RightAttach = ((uint)(11));
+ w129.XOptions = ((global::Gtk.AttachOptions)(4));
+ w129.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP24 = new global::Gtk.Button();
this.btnP24.WidthRequest = 50;
@@ -1546,16 +1544,16 @@ namespace Mundus.Views.Windows
this.btnP24.Name = "btnP24";
this.btnP24.UseUnderline = true;
this.btnP24.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w132 = new global::Gtk.Image();
- this.btnP24.Image = w132;
+ global::Gtk.Image w130 = new global::Gtk.Image();
+ this.btnP24.Image = w130;
this.tbUI.Add(this.btnP24);
- global::Gtk.Table.TableChild w133 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP24]));
- w133.TopAttach = ((uint)(5));
- w133.BottomAttach = ((uint)(6));
- w133.LeftAttach = ((uint)(11));
- w133.RightAttach = ((uint)(12));
- w133.XOptions = ((global::Gtk.AttachOptions)(4));
- w133.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w131 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP24]));
+ w131.TopAttach = ((uint)(5));
+ w131.BottomAttach = ((uint)(6));
+ w131.LeftAttach = ((uint)(11));
+ w131.RightAttach = ((uint)(12));
+ w131.XOptions = ((global::Gtk.AttachOptions)(4));
+ w131.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP25 = new global::Gtk.Button();
this.btnP25.WidthRequest = 50;
@@ -1564,16 +1562,16 @@ namespace Mundus.Views.Windows
this.btnP25.Name = "btnP25";
this.btnP25.UseUnderline = true;
this.btnP25.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w134 = new global::Gtk.Image();
- this.btnP25.Image = w134;
+ global::Gtk.Image w132 = new global::Gtk.Image();
+ this.btnP25.Image = w132;
this.tbUI.Add(this.btnP25);
- global::Gtk.Table.TableChild w135 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP25]));
- w135.TopAttach = ((uint)(5));
- w135.BottomAttach = ((uint)(6));
- w135.LeftAttach = ((uint)(12));
- w135.RightAttach = ((uint)(13));
- w135.XOptions = ((global::Gtk.AttachOptions)(4));
- w135.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w133 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP25]));
+ w133.TopAttach = ((uint)(5));
+ w133.BottomAttach = ((uint)(6));
+ w133.LeftAttach = ((uint)(12));
+ w133.RightAttach = ((uint)(13));
+ w133.XOptions = ((global::Gtk.AttachOptions)(4));
+ w133.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP3 = new global::Gtk.Button();
this.btnP3.WidthRequest = 50;
@@ -1582,16 +1580,16 @@ namespace Mundus.Views.Windows
this.btnP3.Name = "btnP3";
this.btnP3.UseUnderline = true;
this.btnP3.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w136 = new global::Gtk.Image();
- this.btnP3.Image = w136;
+ global::Gtk.Image w134 = new global::Gtk.Image();
+ this.btnP3.Image = w134;
this.tbUI.Add(this.btnP3);
- global::Gtk.Table.TableChild w137 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP3]));
- w137.TopAttach = ((uint)(1));
- w137.BottomAttach = ((uint)(2));
- w137.LeftAttach = ((uint)(10));
- w137.RightAttach = ((uint)(11));
- w137.XOptions = ((global::Gtk.AttachOptions)(4));
- w137.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w135 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP3]));
+ w135.TopAttach = ((uint)(1));
+ w135.BottomAttach = ((uint)(2));
+ w135.LeftAttach = ((uint)(10));
+ w135.RightAttach = ((uint)(11));
+ w135.XOptions = ((global::Gtk.AttachOptions)(4));
+ w135.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP4 = new global::Gtk.Button();
this.btnP4.WidthRequest = 50;
@@ -1600,16 +1598,16 @@ namespace Mundus.Views.Windows
this.btnP4.Name = "btnP4";
this.btnP4.UseUnderline = true;
this.btnP4.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w138 = new global::Gtk.Image();
- this.btnP4.Image = w138;
+ global::Gtk.Image w136 = new global::Gtk.Image();
+ this.btnP4.Image = w136;
this.tbUI.Add(this.btnP4);
- global::Gtk.Table.TableChild w139 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP4]));
- w139.TopAttach = ((uint)(1));
- w139.BottomAttach = ((uint)(2));
- w139.LeftAttach = ((uint)(11));
- w139.RightAttach = ((uint)(12));
- w139.XOptions = ((global::Gtk.AttachOptions)(4));
- w139.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w137 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP4]));
+ w137.TopAttach = ((uint)(1));
+ w137.BottomAttach = ((uint)(2));
+ w137.LeftAttach = ((uint)(11));
+ w137.RightAttach = ((uint)(12));
+ w137.XOptions = ((global::Gtk.AttachOptions)(4));
+ w137.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP5 = new global::Gtk.Button();
this.btnP5.WidthRequest = 50;
@@ -1618,16 +1616,16 @@ namespace Mundus.Views.Windows
this.btnP5.Name = "btnP5";
this.btnP5.UseUnderline = true;
this.btnP5.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w140 = new global::Gtk.Image();
- this.btnP5.Image = w140;
+ global::Gtk.Image w138 = new global::Gtk.Image();
+ this.btnP5.Image = w138;
this.tbUI.Add(this.btnP5);
- global::Gtk.Table.TableChild w141 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP5]));
- w141.TopAttach = ((uint)(1));
- w141.BottomAttach = ((uint)(2));
- w141.LeftAttach = ((uint)(12));
- w141.RightAttach = ((uint)(13));
- w141.XOptions = ((global::Gtk.AttachOptions)(4));
- w141.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w139 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP5]));
+ w139.TopAttach = ((uint)(1));
+ w139.BottomAttach = ((uint)(2));
+ w139.LeftAttach = ((uint)(12));
+ w139.RightAttach = ((uint)(13));
+ w139.XOptions = ((global::Gtk.AttachOptions)(4));
+ w139.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP6 = new global::Gtk.Button();
this.btnP6.WidthRequest = 50;
@@ -1636,16 +1634,16 @@ namespace Mundus.Views.Windows
this.btnP6.Name = "btnP6";
this.btnP6.UseUnderline = true;
this.btnP6.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w142 = new global::Gtk.Image();
- this.btnP6.Image = w142;
+ global::Gtk.Image w140 = new global::Gtk.Image();
+ this.btnP6.Image = w140;
this.tbUI.Add(this.btnP6);
- global::Gtk.Table.TableChild w143 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP6]));
- w143.TopAttach = ((uint)(2));
- w143.BottomAttach = ((uint)(3));
- w143.LeftAttach = ((uint)(8));
- w143.RightAttach = ((uint)(9));
- w143.XOptions = ((global::Gtk.AttachOptions)(4));
- w143.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w141 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP6]));
+ w141.TopAttach = ((uint)(2));
+ w141.BottomAttach = ((uint)(3));
+ w141.LeftAttach = ((uint)(8));
+ w141.RightAttach = ((uint)(9));
+ w141.XOptions = ((global::Gtk.AttachOptions)(4));
+ w141.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP7 = new global::Gtk.Button();
this.btnP7.WidthRequest = 50;
@@ -1654,16 +1652,16 @@ namespace Mundus.Views.Windows
this.btnP7.Name = "btnP7";
this.btnP7.UseUnderline = true;
this.btnP7.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w144 = new global::Gtk.Image();
- this.btnP7.Image = w144;
+ global::Gtk.Image w142 = new global::Gtk.Image();
+ this.btnP7.Image = w142;
this.tbUI.Add(this.btnP7);
- global::Gtk.Table.TableChild w145 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP7]));
- w145.TopAttach = ((uint)(2));
- w145.BottomAttach = ((uint)(3));
- w145.LeftAttach = ((uint)(9));
- w145.RightAttach = ((uint)(10));
- w145.XOptions = ((global::Gtk.AttachOptions)(4));
- w145.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w143 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP7]));
+ w143.TopAttach = ((uint)(2));
+ w143.BottomAttach = ((uint)(3));
+ w143.LeftAttach = ((uint)(9));
+ w143.RightAttach = ((uint)(10));
+ w143.XOptions = ((global::Gtk.AttachOptions)(4));
+ w143.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP8 = new global::Gtk.Button();
this.btnP8.WidthRequest = 50;
@@ -1672,16 +1670,16 @@ namespace Mundus.Views.Windows
this.btnP8.Name = "btnP8";
this.btnP8.UseUnderline = true;
this.btnP8.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w146 = new global::Gtk.Image();
- this.btnP8.Image = w146;
+ global::Gtk.Image w144 = new global::Gtk.Image();
+ this.btnP8.Image = w144;
this.tbUI.Add(this.btnP8);
- global::Gtk.Table.TableChild w147 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP8]));
- w147.TopAttach = ((uint)(2));
- w147.BottomAttach = ((uint)(3));
- w147.LeftAttach = ((uint)(10));
- w147.RightAttach = ((uint)(11));
- w147.XOptions = ((global::Gtk.AttachOptions)(4));
- w147.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w145 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP8]));
+ w145.TopAttach = ((uint)(2));
+ w145.BottomAttach = ((uint)(3));
+ w145.LeftAttach = ((uint)(10));
+ w145.RightAttach = ((uint)(11));
+ w145.XOptions = ((global::Gtk.AttachOptions)(4));
+ w145.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnP9 = new global::Gtk.Button();
this.btnP9.WidthRequest = 50;
@@ -1690,16 +1688,16 @@ namespace Mundus.Views.Windows
this.btnP9.Name = "btnP9";
this.btnP9.UseUnderline = true;
this.btnP9.Relief = ((global::Gtk.ReliefStyle)(2));
- global::Gtk.Image w148 = new global::Gtk.Image();
- this.btnP9.Image = w148;
+ global::Gtk.Image w146 = new global::Gtk.Image();
+ this.btnP9.Image = w146;
this.tbUI.Add(this.btnP9);
- global::Gtk.Table.TableChild w149 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP9]));
- w149.TopAttach = ((uint)(2));
- w149.BottomAttach = ((uint)(3));
- w149.LeftAttach = ((uint)(11));
- w149.RightAttach = ((uint)(12));
- w149.XOptions = ((global::Gtk.AttachOptions)(4));
- w149.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w147 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnP9]));
+ w147.TopAttach = ((uint)(2));
+ w147.BottomAttach = ((uint)(3));
+ w147.LeftAttach = ((uint)(11));
+ w147.RightAttach = ((uint)(12));
+ w147.XOptions = ((global::Gtk.AttachOptions)(4));
+ w147.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.btnPause = new global::Gtk.Button();
this.btnPause.WidthRequest = 50;
@@ -1709,768 +1707,768 @@ namespace Mundus.Views.Windows
this.btnPause.UseUnderline = true;
this.btnPause.Label = "Pause";
this.tbUI.Add(this.btnPause);
- global::Gtk.Table.TableChild w150 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnPause]));
- w150.TopAttach = ((uint)(11));
- w150.BottomAttach = ((uint)(12));
- w150.LeftAttach = ((uint)(13));
- w150.RightAttach = ((uint)(14));
- w150.XOptions = ((global::Gtk.AttachOptions)(4));
- w150.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w148 = ((global::Gtk.Table.TableChild)(this.tbUI[this.btnPause]));
+ w148.TopAttach = ((uint)(11));
+ w148.BottomAttach = ((uint)(12));
+ w148.LeftAttach = ((uint)(13));
+ w148.RightAttach = ((uint)(14));
+ w148.XOptions = ((global::Gtk.AttachOptions)(4));
+ w148.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG1 = new global::Gtk.Image();
this.imgG1.WidthRequest = 50;
this.imgG1.HeightRequest = 50;
this.imgG1.Name = "imgG1";
this.tbUI.Add(this.imgG1);
- global::Gtk.Table.TableChild w151 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG1]));
- w151.TopAttach = ((uint)(2));
- w151.BottomAttach = ((uint)(3));
- w151.LeftAttach = ((uint)(1));
- w151.RightAttach = ((uint)(2));
- w151.XOptions = ((global::Gtk.AttachOptions)(4));
- w151.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w149 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG1]));
+ w149.TopAttach = ((uint)(2));
+ w149.BottomAttach = ((uint)(3));
+ w149.LeftAttach = ((uint)(1));
+ w149.RightAttach = ((uint)(2));
+ w149.XOptions = ((global::Gtk.AttachOptions)(4));
+ w149.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG10 = new global::Gtk.Image();
this.imgG10.Name = "imgG10";
this.tbUI.Add(this.imgG10);
- global::Gtk.Table.TableChild w152 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG10]));
- w152.TopAttach = ((uint)(3));
- w152.BottomAttach = ((uint)(4));
- w152.LeftAttach = ((uint)(5));
- w152.RightAttach = ((uint)(6));
- w152.XOptions = ((global::Gtk.AttachOptions)(4));
- w152.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w150 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG10]));
+ w150.TopAttach = ((uint)(3));
+ w150.BottomAttach = ((uint)(4));
+ w150.LeftAttach = ((uint)(5));
+ w150.RightAttach = ((uint)(6));
+ w150.XOptions = ((global::Gtk.AttachOptions)(4));
+ w150.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG11 = new global::Gtk.Image();
this.imgG11.WidthRequest = 50;
this.imgG11.HeightRequest = 50;
this.imgG11.Name = "imgG11";
this.tbUI.Add(this.imgG11);
- global::Gtk.Table.TableChild w153 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG11]));
- w153.TopAttach = ((uint)(4));
- w153.BottomAttach = ((uint)(5));
- w153.LeftAttach = ((uint)(1));
- w153.RightAttach = ((uint)(2));
- w153.XOptions = ((global::Gtk.AttachOptions)(4));
- w153.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w151 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG11]));
+ w151.TopAttach = ((uint)(4));
+ w151.BottomAttach = ((uint)(5));
+ w151.LeftAttach = ((uint)(1));
+ w151.RightAttach = ((uint)(2));
+ w151.XOptions = ((global::Gtk.AttachOptions)(4));
+ w151.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG12 = new global::Gtk.Image();
this.imgG12.Name = "imgG12";
this.tbUI.Add(this.imgG12);
- global::Gtk.Table.TableChild w154 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG12]));
- w154.TopAttach = ((uint)(4));
- w154.BottomAttach = ((uint)(5));
- w154.LeftAttach = ((uint)(2));
- w154.RightAttach = ((uint)(3));
- w154.XOptions = ((global::Gtk.AttachOptions)(4));
- w154.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w152 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG12]));
+ w152.TopAttach = ((uint)(4));
+ w152.BottomAttach = ((uint)(5));
+ w152.LeftAttach = ((uint)(2));
+ w152.RightAttach = ((uint)(3));
+ w152.XOptions = ((global::Gtk.AttachOptions)(4));
+ w152.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG13 = new global::Gtk.Image();
this.imgG13.Name = "imgG13";
this.tbUI.Add(this.imgG13);
- global::Gtk.Table.TableChild w155 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG13]));
- w155.TopAttach = ((uint)(4));
- w155.BottomAttach = ((uint)(5));
- w155.LeftAttach = ((uint)(3));
- w155.RightAttach = ((uint)(4));
- w155.XOptions = ((global::Gtk.AttachOptions)(4));
- w155.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w153 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG13]));
+ w153.TopAttach = ((uint)(4));
+ w153.BottomAttach = ((uint)(5));
+ w153.LeftAttach = ((uint)(3));
+ w153.RightAttach = ((uint)(4));
+ w153.XOptions = ((global::Gtk.AttachOptions)(4));
+ w153.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG14 = new global::Gtk.Image();
this.imgG14.Name = "imgG14";
this.tbUI.Add(this.imgG14);
- global::Gtk.Table.TableChild w156 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG14]));
- w156.TopAttach = ((uint)(4));
- w156.BottomAttach = ((uint)(5));
- w156.LeftAttach = ((uint)(4));
- w156.RightAttach = ((uint)(5));
- w156.XOptions = ((global::Gtk.AttachOptions)(4));
- w156.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w154 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG14]));
+ w154.TopAttach = ((uint)(4));
+ w154.BottomAttach = ((uint)(5));
+ w154.LeftAttach = ((uint)(4));
+ w154.RightAttach = ((uint)(5));
+ w154.XOptions = ((global::Gtk.AttachOptions)(4));
+ w154.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG15 = new global::Gtk.Image();
this.imgG15.Name = "imgG15";
this.tbUI.Add(this.imgG15);
- global::Gtk.Table.TableChild w157 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG15]));
- w157.TopAttach = ((uint)(4));
- w157.BottomAttach = ((uint)(5));
- w157.LeftAttach = ((uint)(5));
- w157.RightAttach = ((uint)(6));
- w157.XOptions = ((global::Gtk.AttachOptions)(4));
- w157.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w155 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG15]));
+ w155.TopAttach = ((uint)(4));
+ w155.BottomAttach = ((uint)(5));
+ w155.LeftAttach = ((uint)(5));
+ w155.RightAttach = ((uint)(6));
+ w155.XOptions = ((global::Gtk.AttachOptions)(4));
+ w155.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG16 = new global::Gtk.Image();
this.imgG16.WidthRequest = 50;
this.imgG16.HeightRequest = 50;
this.imgG16.Name = "imgG16";
this.tbUI.Add(this.imgG16);
- global::Gtk.Table.TableChild w158 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG16]));
- w158.TopAttach = ((uint)(5));
- w158.BottomAttach = ((uint)(6));
- w158.LeftAttach = ((uint)(1));
- w158.RightAttach = ((uint)(2));
- w158.XOptions = ((global::Gtk.AttachOptions)(4));
- w158.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w156 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG16]));
+ w156.TopAttach = ((uint)(5));
+ w156.BottomAttach = ((uint)(6));
+ w156.LeftAttach = ((uint)(1));
+ w156.RightAttach = ((uint)(2));
+ w156.XOptions = ((global::Gtk.AttachOptions)(4));
+ w156.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG17 = new global::Gtk.Image();
this.imgG17.HeightRequest = 50;
this.imgG17.Name = "imgG17";
this.tbUI.Add(this.imgG17);
- global::Gtk.Table.TableChild w159 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG17]));
- w159.TopAttach = ((uint)(5));
- w159.BottomAttach = ((uint)(6));
- w159.LeftAttach = ((uint)(2));
- w159.RightAttach = ((uint)(3));
- w159.XOptions = ((global::Gtk.AttachOptions)(4));
- w159.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w157 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG17]));
+ w157.TopAttach = ((uint)(5));
+ w157.BottomAttach = ((uint)(6));
+ w157.LeftAttach = ((uint)(2));
+ w157.RightAttach = ((uint)(3));
+ w157.XOptions = ((global::Gtk.AttachOptions)(4));
+ w157.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG18 = new global::Gtk.Image();
this.imgG18.HeightRequest = 50;
this.imgG18.Name = "imgG18";
this.tbUI.Add(this.imgG18);
- global::Gtk.Table.TableChild w160 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG18]));
- w160.TopAttach = ((uint)(5));
- w160.BottomAttach = ((uint)(6));
- w160.LeftAttach = ((uint)(3));
- w160.RightAttach = ((uint)(4));
- w160.XOptions = ((global::Gtk.AttachOptions)(4));
- w160.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w158 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG18]));
+ w158.TopAttach = ((uint)(5));
+ w158.BottomAttach = ((uint)(6));
+ w158.LeftAttach = ((uint)(3));
+ w158.RightAttach = ((uint)(4));
+ w158.XOptions = ((global::Gtk.AttachOptions)(4));
+ w158.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG19 = new global::Gtk.Image();
this.imgG19.Name = "imgG19";
this.tbUI.Add(this.imgG19);
- global::Gtk.Table.TableChild w161 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG19]));
- w161.TopAttach = ((uint)(5));
- w161.BottomAttach = ((uint)(6));
- w161.LeftAttach = ((uint)(4));
- w161.RightAttach = ((uint)(5));
- w161.XOptions = ((global::Gtk.AttachOptions)(4));
- w161.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w159 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG19]));
+ w159.TopAttach = ((uint)(5));
+ w159.BottomAttach = ((uint)(6));
+ w159.LeftAttach = ((uint)(4));
+ w159.RightAttach = ((uint)(5));
+ w159.XOptions = ((global::Gtk.AttachOptions)(4));
+ w159.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG2 = new global::Gtk.Image();
this.imgG2.Name = "imgG2";
this.tbUI.Add(this.imgG2);
- global::Gtk.Table.TableChild w162 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG2]));
- w162.TopAttach = ((uint)(2));
- w162.BottomAttach = ((uint)(3));
- w162.LeftAttach = ((uint)(2));
- w162.RightAttach = ((uint)(3));
- w162.XOptions = ((global::Gtk.AttachOptions)(4));
- w162.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w160 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG2]));
+ w160.TopAttach = ((uint)(2));
+ w160.BottomAttach = ((uint)(3));
+ w160.LeftAttach = ((uint)(2));
+ w160.RightAttach = ((uint)(3));
+ w160.XOptions = ((global::Gtk.AttachOptions)(4));
+ w160.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG20 = new global::Gtk.Image();
this.imgG20.Name = "imgG20";
this.tbUI.Add(this.imgG20);
- global::Gtk.Table.TableChild w163 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG20]));
- w163.TopAttach = ((uint)(5));
- w163.BottomAttach = ((uint)(6));
- w163.LeftAttach = ((uint)(5));
- w163.RightAttach = ((uint)(6));
- w163.XOptions = ((global::Gtk.AttachOptions)(4));
- w163.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w161 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG20]));
+ w161.TopAttach = ((uint)(5));
+ w161.BottomAttach = ((uint)(6));
+ w161.LeftAttach = ((uint)(5));
+ w161.RightAttach = ((uint)(6));
+ w161.XOptions = ((global::Gtk.AttachOptions)(4));
+ w161.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG21 = new global::Gtk.Image();
this.imgG21.WidthRequest = 50;
this.imgG21.HeightRequest = 50;
this.imgG21.Name = "imgG21";
this.tbUI.Add(this.imgG21);
- global::Gtk.Table.TableChild w164 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG21]));
- w164.TopAttach = ((uint)(6));
- w164.BottomAttach = ((uint)(7));
- w164.LeftAttach = ((uint)(1));
- w164.RightAttach = ((uint)(2));
- w164.XOptions = ((global::Gtk.AttachOptions)(4));
- w164.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w162 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG21]));
+ w162.TopAttach = ((uint)(6));
+ w162.BottomAttach = ((uint)(7));
+ w162.LeftAttach = ((uint)(1));
+ w162.RightAttach = ((uint)(2));
+ w162.XOptions = ((global::Gtk.AttachOptions)(4));
+ w162.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG22 = new global::Gtk.Image();
this.imgG22.Name = "imgG22";
this.tbUI.Add(this.imgG22);
- global::Gtk.Table.TableChild w165 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG22]));
- w165.TopAttach = ((uint)(6));
- w165.BottomAttach = ((uint)(7));
- w165.LeftAttach = ((uint)(2));
- w165.RightAttach = ((uint)(3));
- w165.XOptions = ((global::Gtk.AttachOptions)(4));
- w165.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w163 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG22]));
+ w163.TopAttach = ((uint)(6));
+ w163.BottomAttach = ((uint)(7));
+ w163.LeftAttach = ((uint)(2));
+ w163.RightAttach = ((uint)(3));
+ w163.XOptions = ((global::Gtk.AttachOptions)(4));
+ w163.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG23 = new global::Gtk.Image();
this.imgG23.Name = "imgG23";
this.tbUI.Add(this.imgG23);
- global::Gtk.Table.TableChild w166 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG23]));
- w166.TopAttach = ((uint)(6));
- w166.BottomAttach = ((uint)(7));
- w166.LeftAttach = ((uint)(3));
- w166.RightAttach = ((uint)(4));
- w166.XOptions = ((global::Gtk.AttachOptions)(4));
- w166.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w164 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG23]));
+ w164.TopAttach = ((uint)(6));
+ w164.BottomAttach = ((uint)(7));
+ w164.LeftAttach = ((uint)(3));
+ w164.RightAttach = ((uint)(4));
+ w164.XOptions = ((global::Gtk.AttachOptions)(4));
+ w164.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG24 = new global::Gtk.Image();
this.imgG24.Name = "imgG24";
this.tbUI.Add(this.imgG24);
- global::Gtk.Table.TableChild w167 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG24]));
- w167.TopAttach = ((uint)(6));
- w167.BottomAttach = ((uint)(7));
- w167.LeftAttach = ((uint)(4));
- w167.RightAttach = ((uint)(5));
- w167.XOptions = ((global::Gtk.AttachOptions)(4));
- w167.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w165 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG24]));
+ w165.TopAttach = ((uint)(6));
+ w165.BottomAttach = ((uint)(7));
+ w165.LeftAttach = ((uint)(4));
+ w165.RightAttach = ((uint)(5));
+ w165.XOptions = ((global::Gtk.AttachOptions)(4));
+ w165.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG25 = new global::Gtk.Image();
this.imgG25.Name = "imgG25";
this.tbUI.Add(this.imgG25);
- global::Gtk.Table.TableChild w168 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG25]));
- w168.TopAttach = ((uint)(6));
- w168.BottomAttach = ((uint)(7));
- w168.LeftAttach = ((uint)(5));
- w168.RightAttach = ((uint)(6));
- w168.XOptions = ((global::Gtk.AttachOptions)(4));
- w168.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w166 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG25]));
+ w166.TopAttach = ((uint)(6));
+ w166.BottomAttach = ((uint)(7));
+ w166.LeftAttach = ((uint)(5));
+ w166.RightAttach = ((uint)(6));
+ w166.XOptions = ((global::Gtk.AttachOptions)(4));
+ w166.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG3 = new global::Gtk.Image();
this.imgG3.Name = "imgG3";
this.tbUI.Add(this.imgG3);
- global::Gtk.Table.TableChild w169 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG3]));
- w169.TopAttach = ((uint)(2));
- w169.BottomAttach = ((uint)(3));
- w169.LeftAttach = ((uint)(3));
- w169.RightAttach = ((uint)(4));
- w169.XOptions = ((global::Gtk.AttachOptions)(4));
- w169.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w167 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG3]));
+ w167.TopAttach = ((uint)(2));
+ w167.BottomAttach = ((uint)(3));
+ w167.LeftAttach = ((uint)(3));
+ w167.RightAttach = ((uint)(4));
+ w167.XOptions = ((global::Gtk.AttachOptions)(4));
+ w167.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG4 = new global::Gtk.Image();
this.imgG4.Name = "imgG4";
this.tbUI.Add(this.imgG4);
- global::Gtk.Table.TableChild w170 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG4]));
- w170.TopAttach = ((uint)(2));
- w170.BottomAttach = ((uint)(3));
- w170.LeftAttach = ((uint)(4));
- w170.RightAttach = ((uint)(5));
- w170.XOptions = ((global::Gtk.AttachOptions)(4));
- w170.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w168 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG4]));
+ w168.TopAttach = ((uint)(2));
+ w168.BottomAttach = ((uint)(3));
+ w168.LeftAttach = ((uint)(4));
+ w168.RightAttach = ((uint)(5));
+ w168.XOptions = ((global::Gtk.AttachOptions)(4));
+ w168.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG5 = new global::Gtk.Image();
this.imgG5.Name = "imgG5";
this.tbUI.Add(this.imgG5);
- global::Gtk.Table.TableChild w171 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG5]));
- w171.TopAttach = ((uint)(2));
- w171.BottomAttach = ((uint)(3));
- w171.LeftAttach = ((uint)(5));
- w171.RightAttach = ((uint)(6));
- w171.XOptions = ((global::Gtk.AttachOptions)(4));
- w171.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w169 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG5]));
+ w169.TopAttach = ((uint)(2));
+ w169.BottomAttach = ((uint)(3));
+ w169.LeftAttach = ((uint)(5));
+ w169.RightAttach = ((uint)(6));
+ w169.XOptions = ((global::Gtk.AttachOptions)(4));
+ w169.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG6 = new global::Gtk.Image();
this.imgG6.WidthRequest = 50;
this.imgG6.HeightRequest = 50;
this.imgG6.Name = "imgG6";
this.tbUI.Add(this.imgG6);
- global::Gtk.Table.TableChild w172 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG6]));
- w172.TopAttach = ((uint)(3));
- w172.BottomAttach = ((uint)(4));
- w172.LeftAttach = ((uint)(1));
- w172.RightAttach = ((uint)(2));
- w172.XOptions = ((global::Gtk.AttachOptions)(4));
- w172.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w170 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG6]));
+ w170.TopAttach = ((uint)(3));
+ w170.BottomAttach = ((uint)(4));
+ w170.LeftAttach = ((uint)(1));
+ w170.RightAttach = ((uint)(2));
+ w170.XOptions = ((global::Gtk.AttachOptions)(4));
+ w170.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG7 = new global::Gtk.Image();
this.imgG7.Name = "imgG7";
this.tbUI.Add(this.imgG7);
- global::Gtk.Table.TableChild w173 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG7]));
- w173.TopAttach = ((uint)(3));
- w173.BottomAttach = ((uint)(4));
- w173.LeftAttach = ((uint)(2));
- w173.RightAttach = ((uint)(3));
- w173.XOptions = ((global::Gtk.AttachOptions)(4));
- w173.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w171 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG7]));
+ w171.TopAttach = ((uint)(3));
+ w171.BottomAttach = ((uint)(4));
+ w171.LeftAttach = ((uint)(2));
+ w171.RightAttach = ((uint)(3));
+ w171.XOptions = ((global::Gtk.AttachOptions)(4));
+ w171.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG8 = new global::Gtk.Image();
this.imgG8.Name = "imgG8";
this.tbUI.Add(this.imgG8);
- global::Gtk.Table.TableChild w174 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG8]));
- w174.TopAttach = ((uint)(3));
- w174.BottomAttach = ((uint)(4));
- w174.LeftAttach = ((uint)(3));
- w174.RightAttach = ((uint)(4));
- w174.XOptions = ((global::Gtk.AttachOptions)(4));
- w174.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w172 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG8]));
+ w172.TopAttach = ((uint)(3));
+ w172.BottomAttach = ((uint)(4));
+ w172.LeftAttach = ((uint)(3));
+ w172.RightAttach = ((uint)(4));
+ w172.XOptions = ((global::Gtk.AttachOptions)(4));
+ w172.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgG9 = new global::Gtk.Image();
this.imgG9.Name = "imgG9";
this.tbUI.Add(this.imgG9);
- global::Gtk.Table.TableChild w175 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG9]));
- w175.TopAttach = ((uint)(3));
- w175.BottomAttach = ((uint)(4));
- w175.LeftAttach = ((uint)(4));
- w175.RightAttach = ((uint)(5));
- w175.XOptions = ((global::Gtk.AttachOptions)(4));
- w175.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w173 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgG9]));
+ w173.TopAttach = ((uint)(3));
+ w173.BottomAttach = ((uint)(4));
+ w173.LeftAttach = ((uint)(4));
+ w173.RightAttach = ((uint)(5));
+ w173.XOptions = ((global::Gtk.AttachOptions)(4));
+ w173.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI1 = new global::Gtk.Image();
this.imgI1.WidthRequest = 50;
this.imgI1.HeightRequest = 50;
this.imgI1.Name = "imgI1";
this.tbUI.Add(this.imgI1);
- global::Gtk.Table.TableChild w176 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI1]));
- w176.TopAttach = ((uint)(10));
- w176.BottomAttach = ((uint)(11));
- w176.LeftAttach = ((uint)(1));
- w176.RightAttach = ((uint)(2));
- w176.XOptions = ((global::Gtk.AttachOptions)(4));
- w176.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w174 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI1]));
+ w174.TopAttach = ((uint)(10));
+ w174.BottomAttach = ((uint)(11));
+ w174.LeftAttach = ((uint)(1));
+ w174.RightAttach = ((uint)(2));
+ w174.XOptions = ((global::Gtk.AttachOptions)(4));
+ w174.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI10 = new global::Gtk.Image();
this.imgI10.WidthRequest = 50;
this.imgI10.HeightRequest = 50;
this.imgI10.Name = "imgI10";
this.tbUI.Add(this.imgI10);
- global::Gtk.Table.TableChild w177 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI10]));
- w177.TopAttach = ((uint)(11));
- w177.BottomAttach = ((uint)(12));
- w177.LeftAttach = ((uint)(5));
- w177.RightAttach = ((uint)(6));
- w177.XOptions = ((global::Gtk.AttachOptions)(4));
- w177.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w175 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI10]));
+ w175.TopAttach = ((uint)(11));
+ w175.BottomAttach = ((uint)(12));
+ w175.LeftAttach = ((uint)(5));
+ w175.RightAttach = ((uint)(6));
+ w175.XOptions = ((global::Gtk.AttachOptions)(4));
+ w175.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI11 = new global::Gtk.Image();
this.imgI11.WidthRequest = 50;
this.imgI11.HeightRequest = 50;
this.imgI11.Name = "imgI11";
this.tbUI.Add(this.imgI11);
- global::Gtk.Table.TableChild w178 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI11]));
- w178.TopAttach = ((uint)(12));
- w178.BottomAttach = ((uint)(13));
- w178.LeftAttach = ((uint)(1));
- w178.RightAttach = ((uint)(2));
- w178.XOptions = ((global::Gtk.AttachOptions)(4));
- w178.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w176 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI11]));
+ w176.TopAttach = ((uint)(12));
+ w176.BottomAttach = ((uint)(13));
+ w176.LeftAttach = ((uint)(1));
+ w176.RightAttach = ((uint)(2));
+ w176.XOptions = ((global::Gtk.AttachOptions)(4));
+ w176.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI12 = new global::Gtk.Image();
this.imgI12.WidthRequest = 50;
this.imgI12.HeightRequest = 50;
this.imgI12.Name = "imgI12";
this.tbUI.Add(this.imgI12);
- global::Gtk.Table.TableChild w179 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI12]));
- w179.TopAttach = ((uint)(12));
- w179.BottomAttach = ((uint)(13));
- w179.LeftAttach = ((uint)(2));
- w179.RightAttach = ((uint)(3));
- w179.XOptions = ((global::Gtk.AttachOptions)(4));
- w179.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w177 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI12]));
+ w177.TopAttach = ((uint)(12));
+ w177.BottomAttach = ((uint)(13));
+ w177.LeftAttach = ((uint)(2));
+ w177.RightAttach = ((uint)(3));
+ w177.XOptions = ((global::Gtk.AttachOptions)(4));
+ w177.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI13 = new global::Gtk.Image();
this.imgI13.WidthRequest = 50;
this.imgI13.HeightRequest = 50;
this.imgI13.Name = "imgI13";
this.tbUI.Add(this.imgI13);
- global::Gtk.Table.TableChild w180 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI13]));
- w180.TopAttach = ((uint)(12));
- w180.BottomAttach = ((uint)(13));
- w180.LeftAttach = ((uint)(3));
- w180.RightAttach = ((uint)(4));
- w180.XOptions = ((global::Gtk.AttachOptions)(4));
- w180.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w178 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI13]));
+ w178.TopAttach = ((uint)(12));
+ w178.BottomAttach = ((uint)(13));
+ w178.LeftAttach = ((uint)(3));
+ w178.RightAttach = ((uint)(4));
+ w178.XOptions = ((global::Gtk.AttachOptions)(4));
+ w178.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI14 = new global::Gtk.Image();
this.imgI14.WidthRequest = 50;
this.imgI14.HeightRequest = 50;
this.imgI14.Name = "imgI14";
this.tbUI.Add(this.imgI14);
- global::Gtk.Table.TableChild w181 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI14]));
- w181.TopAttach = ((uint)(12));
- w181.BottomAttach = ((uint)(13));
- w181.LeftAttach = ((uint)(4));
- w181.RightAttach = ((uint)(5));
- w181.XOptions = ((global::Gtk.AttachOptions)(4));
- w181.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w179 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI14]));
+ w179.TopAttach = ((uint)(12));
+ w179.BottomAttach = ((uint)(13));
+ w179.LeftAttach = ((uint)(4));
+ w179.RightAttach = ((uint)(5));
+ w179.XOptions = ((global::Gtk.AttachOptions)(4));
+ w179.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI15 = new global::Gtk.Image();
this.imgI15.WidthRequest = 50;
this.imgI15.HeightRequest = 50;
this.imgI15.Name = "imgI15";
this.tbUI.Add(this.imgI15);
- global::Gtk.Table.TableChild w182 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI15]));
- w182.TopAttach = ((uint)(12));
- w182.BottomAttach = ((uint)(13));
- w182.LeftAttach = ((uint)(5));
- w182.RightAttach = ((uint)(6));
- w182.XOptions = ((global::Gtk.AttachOptions)(4));
- w182.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w180 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI15]));
+ w180.TopAttach = ((uint)(12));
+ w180.BottomAttach = ((uint)(13));
+ w180.LeftAttach = ((uint)(5));
+ w180.RightAttach = ((uint)(6));
+ w180.XOptions = ((global::Gtk.AttachOptions)(4));
+ w180.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI16 = new global::Gtk.Image();
this.imgI16.WidthRequest = 50;
this.imgI16.HeightRequest = 50;
this.imgI16.Name = "imgI16";
this.tbUI.Add(this.imgI16);
- global::Gtk.Table.TableChild w183 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI16]));
- w183.TopAttach = ((uint)(13));
- w183.BottomAttach = ((uint)(14));
- w183.LeftAttach = ((uint)(1));
- w183.RightAttach = ((uint)(2));
- w183.XOptions = ((global::Gtk.AttachOptions)(4));
- w183.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w181 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI16]));
+ w181.TopAttach = ((uint)(13));
+ w181.BottomAttach = ((uint)(14));
+ w181.LeftAttach = ((uint)(1));
+ w181.RightAttach = ((uint)(2));
+ w181.XOptions = ((global::Gtk.AttachOptions)(4));
+ w181.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI17 = new global::Gtk.Image();
this.imgI17.WidthRequest = 50;
this.imgI17.HeightRequest = 50;
this.imgI17.Name = "imgI17";
this.tbUI.Add(this.imgI17);
- global::Gtk.Table.TableChild w184 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI17]));
- w184.TopAttach = ((uint)(13));
- w184.BottomAttach = ((uint)(14));
- w184.LeftAttach = ((uint)(2));
- w184.RightAttach = ((uint)(3));
- w184.XOptions = ((global::Gtk.AttachOptions)(4));
- w184.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w182 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI17]));
+ w182.TopAttach = ((uint)(13));
+ w182.BottomAttach = ((uint)(14));
+ w182.LeftAttach = ((uint)(2));
+ w182.RightAttach = ((uint)(3));
+ w182.XOptions = ((global::Gtk.AttachOptions)(4));
+ w182.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI18 = new global::Gtk.Image();
this.imgI18.WidthRequest = 50;
this.imgI18.HeightRequest = 50;
this.imgI18.Name = "imgI18";
this.tbUI.Add(this.imgI18);
- global::Gtk.Table.TableChild w185 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI18]));
- w185.TopAttach = ((uint)(13));
- w185.BottomAttach = ((uint)(14));
- w185.LeftAttach = ((uint)(3));
- w185.RightAttach = ((uint)(4));
- w185.XOptions = ((global::Gtk.AttachOptions)(4));
- w185.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w183 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI18]));
+ w183.TopAttach = ((uint)(13));
+ w183.BottomAttach = ((uint)(14));
+ w183.LeftAttach = ((uint)(3));
+ w183.RightAttach = ((uint)(4));
+ w183.XOptions = ((global::Gtk.AttachOptions)(4));
+ w183.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI19 = new global::Gtk.Image();
this.imgI19.WidthRequest = 50;
this.imgI19.HeightRequest = 50;
this.imgI19.Name = "imgI19";
this.tbUI.Add(this.imgI19);
- global::Gtk.Table.TableChild w186 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI19]));
- w186.TopAttach = ((uint)(13));
- w186.BottomAttach = ((uint)(14));
- w186.LeftAttach = ((uint)(4));
- w186.RightAttach = ((uint)(5));
- w186.XOptions = ((global::Gtk.AttachOptions)(4));
- w186.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w184 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI19]));
+ w184.TopAttach = ((uint)(13));
+ w184.BottomAttach = ((uint)(14));
+ w184.LeftAttach = ((uint)(4));
+ w184.RightAttach = ((uint)(5));
+ w184.XOptions = ((global::Gtk.AttachOptions)(4));
+ w184.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI2 = new global::Gtk.Image();
this.imgI2.WidthRequest = 50;
this.imgI2.HeightRequest = 50;
this.imgI2.Name = "imgI2";
this.tbUI.Add(this.imgI2);
- global::Gtk.Table.TableChild w187 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI2]));
- w187.TopAttach = ((uint)(10));
- w187.BottomAttach = ((uint)(11));
- w187.LeftAttach = ((uint)(2));
- w187.RightAttach = ((uint)(3));
- w187.XOptions = ((global::Gtk.AttachOptions)(4));
- w187.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w185 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI2]));
+ w185.TopAttach = ((uint)(10));
+ w185.BottomAttach = ((uint)(11));
+ w185.LeftAttach = ((uint)(2));
+ w185.RightAttach = ((uint)(3));
+ w185.XOptions = ((global::Gtk.AttachOptions)(4));
+ w185.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI20 = new global::Gtk.Image();
this.imgI20.WidthRequest = 50;
this.imgI20.HeightRequest = 50;
this.imgI20.Name = "imgI20";
this.tbUI.Add(this.imgI20);
- global::Gtk.Table.TableChild w188 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI20]));
- w188.TopAttach = ((uint)(13));
- w188.BottomAttach = ((uint)(14));
- w188.LeftAttach = ((uint)(5));
- w188.RightAttach = ((uint)(6));
- w188.XOptions = ((global::Gtk.AttachOptions)(4));
- w188.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w186 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI20]));
+ w186.TopAttach = ((uint)(13));
+ w186.BottomAttach = ((uint)(14));
+ w186.LeftAttach = ((uint)(5));
+ w186.RightAttach = ((uint)(6));
+ w186.XOptions = ((global::Gtk.AttachOptions)(4));
+ w186.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI21 = new global::Gtk.Image();
this.imgI21.WidthRequest = 50;
this.imgI21.HeightRequest = 50;
this.imgI21.Name = "imgI21";
this.tbUI.Add(this.imgI21);
- global::Gtk.Table.TableChild w189 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI21]));
- w189.TopAttach = ((uint)(14));
- w189.BottomAttach = ((uint)(15));
- w189.LeftAttach = ((uint)(1));
- w189.RightAttach = ((uint)(2));
- w189.XOptions = ((global::Gtk.AttachOptions)(4));
- w189.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w187 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI21]));
+ w187.TopAttach = ((uint)(14));
+ w187.BottomAttach = ((uint)(15));
+ w187.LeftAttach = ((uint)(1));
+ w187.RightAttach = ((uint)(2));
+ w187.XOptions = ((global::Gtk.AttachOptions)(4));
+ w187.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI22 = new global::Gtk.Image();
this.imgI22.WidthRequest = 50;
this.imgI22.HeightRequest = 50;
this.imgI22.Name = "imgI22";
this.tbUI.Add(this.imgI22);
- global::Gtk.Table.TableChild w190 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI22]));
- w190.TopAttach = ((uint)(14));
- w190.BottomAttach = ((uint)(15));
- w190.LeftAttach = ((uint)(2));
- w190.RightAttach = ((uint)(3));
- w190.XOptions = ((global::Gtk.AttachOptions)(4));
- w190.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w188 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI22]));
+ w188.TopAttach = ((uint)(14));
+ w188.BottomAttach = ((uint)(15));
+ w188.LeftAttach = ((uint)(2));
+ w188.RightAttach = ((uint)(3));
+ w188.XOptions = ((global::Gtk.AttachOptions)(4));
+ w188.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI23 = new global::Gtk.Image();
this.imgI23.WidthRequest = 50;
this.imgI23.HeightRequest = 50;
this.imgI23.Name = "imgI23";
this.tbUI.Add(this.imgI23);
- global::Gtk.Table.TableChild w191 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI23]));
- w191.TopAttach = ((uint)(14));
- w191.BottomAttach = ((uint)(15));
- w191.LeftAttach = ((uint)(3));
- w191.RightAttach = ((uint)(4));
- w191.XOptions = ((global::Gtk.AttachOptions)(4));
- w191.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w189 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI23]));
+ w189.TopAttach = ((uint)(14));
+ w189.BottomAttach = ((uint)(15));
+ w189.LeftAttach = ((uint)(3));
+ w189.RightAttach = ((uint)(4));
+ w189.XOptions = ((global::Gtk.AttachOptions)(4));
+ w189.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI24 = new global::Gtk.Image();
this.imgI24.WidthRequest = 50;
this.imgI24.HeightRequest = 50;
this.imgI24.Name = "imgI24";
this.tbUI.Add(this.imgI24);
- global::Gtk.Table.TableChild w192 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI24]));
- w192.TopAttach = ((uint)(14));
- w192.BottomAttach = ((uint)(15));
- w192.LeftAttach = ((uint)(4));
- w192.RightAttach = ((uint)(5));
- w192.XOptions = ((global::Gtk.AttachOptions)(4));
- w192.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w190 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI24]));
+ w190.TopAttach = ((uint)(14));
+ w190.BottomAttach = ((uint)(15));
+ w190.LeftAttach = ((uint)(4));
+ w190.RightAttach = ((uint)(5));
+ w190.XOptions = ((global::Gtk.AttachOptions)(4));
+ w190.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI25 = new global::Gtk.Image();
this.imgI25.WidthRequest = 50;
this.imgI25.HeightRequest = 50;
this.imgI25.Name = "imgI25";
this.tbUI.Add(this.imgI25);
- global::Gtk.Table.TableChild w193 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI25]));
- w193.TopAttach = ((uint)(14));
- w193.BottomAttach = ((uint)(15));
- w193.LeftAttach = ((uint)(5));
- w193.RightAttach = ((uint)(6));
- w193.XOptions = ((global::Gtk.AttachOptions)(4));
- w193.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w191 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI25]));
+ w191.TopAttach = ((uint)(14));
+ w191.BottomAttach = ((uint)(15));
+ w191.LeftAttach = ((uint)(5));
+ w191.RightAttach = ((uint)(6));
+ w191.XOptions = ((global::Gtk.AttachOptions)(4));
+ w191.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI3 = new global::Gtk.Image();
this.imgI3.WidthRequest = 50;
this.imgI3.HeightRequest = 50;
this.imgI3.Name = "imgI3";
this.tbUI.Add(this.imgI3);
- global::Gtk.Table.TableChild w194 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI3]));
- w194.TopAttach = ((uint)(10));
- w194.BottomAttach = ((uint)(11));
- w194.LeftAttach = ((uint)(3));
- w194.RightAttach = ((uint)(4));
- w194.XOptions = ((global::Gtk.AttachOptions)(4));
- w194.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w192 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI3]));
+ w192.TopAttach = ((uint)(10));
+ w192.BottomAttach = ((uint)(11));
+ w192.LeftAttach = ((uint)(3));
+ w192.RightAttach = ((uint)(4));
+ w192.XOptions = ((global::Gtk.AttachOptions)(4));
+ w192.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI4 = new global::Gtk.Image();
this.imgI4.WidthRequest = 50;
this.imgI4.HeightRequest = 50;
this.imgI4.Name = "imgI4";
this.tbUI.Add(this.imgI4);
- global::Gtk.Table.TableChild w195 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI4]));
- w195.TopAttach = ((uint)(10));
- w195.BottomAttach = ((uint)(11));
- w195.LeftAttach = ((uint)(4));
- w195.RightAttach = ((uint)(5));
- w195.XOptions = ((global::Gtk.AttachOptions)(4));
- w195.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w193 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI4]));
+ w193.TopAttach = ((uint)(10));
+ w193.BottomAttach = ((uint)(11));
+ w193.LeftAttach = ((uint)(4));
+ w193.RightAttach = ((uint)(5));
+ w193.XOptions = ((global::Gtk.AttachOptions)(4));
+ w193.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI5 = new global::Gtk.Image();
this.imgI5.WidthRequest = 50;
this.imgI5.HeightRequest = 50;
this.imgI5.Name = "imgI5";
this.tbUI.Add(this.imgI5);
- global::Gtk.Table.TableChild w196 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI5]));
- w196.TopAttach = ((uint)(10));
- w196.BottomAttach = ((uint)(11));
- w196.LeftAttach = ((uint)(5));
- w196.RightAttach = ((uint)(6));
- w196.XOptions = ((global::Gtk.AttachOptions)(4));
- w196.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w194 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI5]));
+ w194.TopAttach = ((uint)(10));
+ w194.BottomAttach = ((uint)(11));
+ w194.LeftAttach = ((uint)(5));
+ w194.RightAttach = ((uint)(6));
+ w194.XOptions = ((global::Gtk.AttachOptions)(4));
+ w194.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI6 = new global::Gtk.Image();
this.imgI6.WidthRequest = 50;
this.imgI6.HeightRequest = 50;
this.imgI6.Name = "imgI6";
this.tbUI.Add(this.imgI6);
- global::Gtk.Table.TableChild w197 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI6]));
- w197.TopAttach = ((uint)(11));
- w197.BottomAttach = ((uint)(12));
- w197.LeftAttach = ((uint)(1));
- w197.RightAttach = ((uint)(2));
- w197.XOptions = ((global::Gtk.AttachOptions)(4));
- w197.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w195 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI6]));
+ w195.TopAttach = ((uint)(11));
+ w195.BottomAttach = ((uint)(12));
+ w195.LeftAttach = ((uint)(1));
+ w195.RightAttach = ((uint)(2));
+ w195.XOptions = ((global::Gtk.AttachOptions)(4));
+ w195.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI7 = new global::Gtk.Image();
this.imgI7.WidthRequest = 50;
this.imgI7.HeightRequest = 50;
this.imgI7.Name = "imgI7";
this.tbUI.Add(this.imgI7);
- global::Gtk.Table.TableChild w198 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI7]));
- w198.TopAttach = ((uint)(11));
- w198.BottomAttach = ((uint)(12));
- w198.LeftAttach = ((uint)(2));
- w198.RightAttach = ((uint)(3));
- w198.XOptions = ((global::Gtk.AttachOptions)(4));
- w198.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w196 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI7]));
+ w196.TopAttach = ((uint)(11));
+ w196.BottomAttach = ((uint)(12));
+ w196.LeftAttach = ((uint)(2));
+ w196.RightAttach = ((uint)(3));
+ w196.XOptions = ((global::Gtk.AttachOptions)(4));
+ w196.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI8 = new global::Gtk.Image();
this.imgI8.WidthRequest = 50;
this.imgI8.HeightRequest = 50;
this.imgI8.Name = "imgI8";
this.tbUI.Add(this.imgI8);
- global::Gtk.Table.TableChild w199 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI8]));
- w199.TopAttach = ((uint)(11));
- w199.BottomAttach = ((uint)(12));
- w199.LeftAttach = ((uint)(3));
- w199.RightAttach = ((uint)(4));
- w199.XOptions = ((global::Gtk.AttachOptions)(4));
- w199.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w197 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI8]));
+ w197.TopAttach = ((uint)(11));
+ w197.BottomAttach = ((uint)(12));
+ w197.LeftAttach = ((uint)(3));
+ w197.RightAttach = ((uint)(4));
+ w197.XOptions = ((global::Gtk.AttachOptions)(4));
+ w197.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgI9 = new global::Gtk.Image();
this.imgI9.WidthRequest = 50;
this.imgI9.HeightRequest = 50;
this.imgI9.Name = "imgI9";
this.tbUI.Add(this.imgI9);
- global::Gtk.Table.TableChild w200 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI9]));
- w200.TopAttach = ((uint)(11));
- w200.BottomAttach = ((uint)(12));
- w200.LeftAttach = ((uint)(4));
- w200.RightAttach = ((uint)(5));
- w200.XOptions = ((global::Gtk.AttachOptions)(4));
- w200.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w198 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgI9]));
+ w198.TopAttach = ((uint)(11));
+ w198.BottomAttach = ((uint)(12));
+ w198.LeftAttach = ((uint)(4));
+ w198.RightAttach = ((uint)(5));
+ w198.XOptions = ((global::Gtk.AttachOptions)(4));
+ w198.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgInfo = new global::Gtk.Image();
this.imgInfo.WidthRequest = 50;
this.imgInfo.HeightRequest = 50;
this.imgInfo.Name = "imgInfo";
this.tbUI.Add(this.imgInfo);
- global::Gtk.Table.TableChild w201 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgInfo]));
- w201.TopAttach = ((uint)(14));
- w201.BottomAttach = ((uint)(15));
- w201.LeftAttach = ((uint)(17));
- w201.RightAttach = ((uint)(18));
- w201.XOptions = ((global::Gtk.AttachOptions)(4));
- w201.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w199 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgInfo]));
+ w199.TopAttach = ((uint)(14));
+ w199.BottomAttach = ((uint)(15));
+ w199.LeftAttach = ((uint)(17));
+ w199.RightAttach = ((uint)(18));
+ w199.XOptions = ((global::Gtk.AttachOptions)(4));
+ w199.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS1 = new global::Gtk.Image();
this.imgS1.WidthRequest = 50;
this.imgS1.HeightRequest = 50;
this.imgS1.Name = "imgS1";
this.tbUI.Add(this.imgS1);
- global::Gtk.Table.TableChild w202 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS1]));
- w202.TopAttach = ((uint)(7));
- w202.BottomAttach = ((uint)(8));
- w202.LeftAttach = ((uint)(8));
- w202.RightAttach = ((uint)(9));
- w202.XOptions = ((global::Gtk.AttachOptions)(4));
- w202.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w200 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS1]));
+ w200.TopAttach = ((uint)(7));
+ w200.BottomAttach = ((uint)(8));
+ w200.LeftAttach = ((uint)(8));
+ w200.RightAttach = ((uint)(9));
+ w200.XOptions = ((global::Gtk.AttachOptions)(4));
+ w200.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS10 = new global::Gtk.Image();
this.imgS10.WidthRequest = 50;
this.imgS10.HeightRequest = 50;
this.imgS10.Name = "imgS10";
this.tbUI.Add(this.imgS10);
- global::Gtk.Table.TableChild w203 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS10]));
- w203.TopAttach = ((uint)(8));
- w203.BottomAttach = ((uint)(9));
- w203.LeftAttach = ((uint)(12));
- w203.RightAttach = ((uint)(13));
- w203.XOptions = ((global::Gtk.AttachOptions)(4));
- w203.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w201 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS10]));
+ w201.TopAttach = ((uint)(8));
+ w201.BottomAttach = ((uint)(9));
+ w201.LeftAttach = ((uint)(12));
+ w201.RightAttach = ((uint)(13));
+ w201.XOptions = ((global::Gtk.AttachOptions)(4));
+ w201.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS2 = new global::Gtk.Image();
this.imgS2.WidthRequest = 50;
this.imgS2.HeightRequest = 50;
this.imgS2.Name = "imgS2";
this.tbUI.Add(this.imgS2);
- global::Gtk.Table.TableChild w204 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS2]));
- w204.TopAttach = ((uint)(7));
- w204.BottomAttach = ((uint)(8));
- w204.LeftAttach = ((uint)(9));
- w204.RightAttach = ((uint)(10));
- w204.XOptions = ((global::Gtk.AttachOptions)(4));
- w204.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w202 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS2]));
+ w202.TopAttach = ((uint)(7));
+ w202.BottomAttach = ((uint)(8));
+ w202.LeftAttach = ((uint)(9));
+ w202.RightAttach = ((uint)(10));
+ w202.XOptions = ((global::Gtk.AttachOptions)(4));
+ w202.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS3 = new global::Gtk.Image();
this.imgS3.WidthRequest = 50;
this.imgS3.HeightRequest = 50;
this.imgS3.Name = "imgS3";
this.tbUI.Add(this.imgS3);
- global::Gtk.Table.TableChild w205 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS3]));
- w205.TopAttach = ((uint)(7));
- w205.BottomAttach = ((uint)(8));
- w205.LeftAttach = ((uint)(10));
- w205.RightAttach = ((uint)(11));
- w205.XOptions = ((global::Gtk.AttachOptions)(4));
- w205.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w203 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS3]));
+ w203.TopAttach = ((uint)(7));
+ w203.BottomAttach = ((uint)(8));
+ w203.LeftAttach = ((uint)(10));
+ w203.RightAttach = ((uint)(11));
+ w203.XOptions = ((global::Gtk.AttachOptions)(4));
+ w203.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS4 = new global::Gtk.Image();
this.imgS4.WidthRequest = 50;
this.imgS4.HeightRequest = 50;
this.imgS4.Name = "imgS4";
this.tbUI.Add(this.imgS4);
- global::Gtk.Table.TableChild w206 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS4]));
- w206.TopAttach = ((uint)(7));
- w206.BottomAttach = ((uint)(8));
- w206.LeftAttach = ((uint)(11));
- w206.RightAttach = ((uint)(12));
- w206.XOptions = ((global::Gtk.AttachOptions)(4));
- w206.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w204 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS4]));
+ w204.TopAttach = ((uint)(7));
+ w204.BottomAttach = ((uint)(8));
+ w204.LeftAttach = ((uint)(11));
+ w204.RightAttach = ((uint)(12));
+ w204.XOptions = ((global::Gtk.AttachOptions)(4));
+ w204.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS5 = new global::Gtk.Image();
this.imgS5.WidthRequest = 50;
this.imgS5.HeightRequest = 50;
this.imgS5.Name = "imgS5";
this.tbUI.Add(this.imgS5);
- global::Gtk.Table.TableChild w207 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS5]));
- w207.TopAttach = ((uint)(7));
- w207.BottomAttach = ((uint)(8));
- w207.LeftAttach = ((uint)(12));
- w207.RightAttach = ((uint)(13));
- w207.XOptions = ((global::Gtk.AttachOptions)(4));
- w207.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w205 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS5]));
+ w205.TopAttach = ((uint)(7));
+ w205.BottomAttach = ((uint)(8));
+ w205.LeftAttach = ((uint)(12));
+ w205.RightAttach = ((uint)(13));
+ w205.XOptions = ((global::Gtk.AttachOptions)(4));
+ w205.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS6 = new global::Gtk.Image();
this.imgS6.WidthRequest = 50;
this.imgS6.HeightRequest = 50;
this.imgS6.Name = "imgS6";
this.tbUI.Add(this.imgS6);
- global::Gtk.Table.TableChild w208 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS6]));
- w208.TopAttach = ((uint)(8));
- w208.BottomAttach = ((uint)(9));
- w208.LeftAttach = ((uint)(8));
- w208.RightAttach = ((uint)(9));
- w208.XOptions = ((global::Gtk.AttachOptions)(4));
- w208.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w206 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS6]));
+ w206.TopAttach = ((uint)(8));
+ w206.BottomAttach = ((uint)(9));
+ w206.LeftAttach = ((uint)(8));
+ w206.RightAttach = ((uint)(9));
+ w206.XOptions = ((global::Gtk.AttachOptions)(4));
+ w206.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS7 = new global::Gtk.Image();
this.imgS7.WidthRequest = 50;
this.imgS7.HeightRequest = 50;
this.imgS7.Name = "imgS7";
this.tbUI.Add(this.imgS7);
- global::Gtk.Table.TableChild w209 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS7]));
- w209.TopAttach = ((uint)(8));
- w209.BottomAttach = ((uint)(9));
- w209.LeftAttach = ((uint)(9));
- w209.RightAttach = ((uint)(10));
- w209.XOptions = ((global::Gtk.AttachOptions)(4));
- w209.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w207 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS7]));
+ w207.TopAttach = ((uint)(8));
+ w207.BottomAttach = ((uint)(9));
+ w207.LeftAttach = ((uint)(9));
+ w207.RightAttach = ((uint)(10));
+ w207.XOptions = ((global::Gtk.AttachOptions)(4));
+ w207.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS8 = new global::Gtk.Image();
this.imgS8.WidthRequest = 50;
this.imgS8.HeightRequest = 50;
this.imgS8.Name = "imgS8";
this.tbUI.Add(this.imgS8);
- global::Gtk.Table.TableChild w210 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS8]));
- w210.TopAttach = ((uint)(8));
- w210.BottomAttach = ((uint)(9));
- w210.LeftAttach = ((uint)(10));
- w210.RightAttach = ((uint)(11));
- w210.XOptions = ((global::Gtk.AttachOptions)(4));
- w210.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w208 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS8]));
+ w208.TopAttach = ((uint)(8));
+ w208.BottomAttach = ((uint)(9));
+ w208.LeftAttach = ((uint)(10));
+ w208.RightAttach = ((uint)(11));
+ w208.XOptions = ((global::Gtk.AttachOptions)(4));
+ w208.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.imgS9 = new global::Gtk.Image();
this.imgS9.WidthRequest = 50;
this.imgS9.HeightRequest = 50;
this.imgS9.Name = "imgS9";
this.tbUI.Add(this.imgS9);
- global::Gtk.Table.TableChild w211 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS9]));
- w211.TopAttach = ((uint)(8));
- w211.BottomAttach = ((uint)(9));
- w211.LeftAttach = ((uint)(11));
- w211.RightAttach = ((uint)(12));
- w211.XOptions = ((global::Gtk.AttachOptions)(4));
- w211.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w209 = ((global::Gtk.Table.TableChild)(this.tbUI[this.imgS9]));
+ w209.TopAttach = ((uint)(8));
+ w209.BottomAttach = ((uint)(9));
+ w209.LeftAttach = ((uint)(11));
+ w209.RightAttach = ((uint)(12));
+ w209.XOptions = ((global::Gtk.AttachOptions)(4));
+ w209.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblAccessories = new global::Gtk.Label();
this.lblAccessories.HeightRequest = 50;
@@ -2478,100 +2476,100 @@ namespace Mundus.Views.Windows
this.lblAccessories.LabelProp = "Accessories";
this.lblAccessories.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblAccessories);
- global::Gtk.Table.TableChild w212 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblAccessories]));
- w212.TopAttach = ((uint)(8));
- w212.BottomAttach = ((uint)(9));
- w212.LeftAttach = ((uint)(15));
- w212.RightAttach = ((uint)(20));
- w212.XOptions = ((global::Gtk.AttachOptions)(4));
- w212.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w210 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblAccessories]));
+ w210.TopAttach = ((uint)(8));
+ w210.BottomAttach = ((uint)(9));
+ w210.LeftAttach = ((uint)(15));
+ w210.RightAttach = ((uint)(20));
+ w210.XOptions = ((global::Gtk.AttachOptions)(4));
+ w210.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblBlank1 = new global::Gtk.Label();
this.lblBlank1.WidthRequest = 10;
this.lblBlank1.HeightRequest = 50;
this.lblBlank1.Name = "lblBlank1";
this.tbUI.Add(this.lblBlank1);
- global::Gtk.Table.TableChild w213 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank1]));
- w213.TopAttach = ((uint)(3));
- w213.BottomAttach = ((uint)(4));
- w213.LeftAttach = ((uint)(6));
- w213.RightAttach = ((uint)(7));
- w213.XOptions = ((global::Gtk.AttachOptions)(4));
- w213.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w211 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank1]));
+ w211.TopAttach = ((uint)(3));
+ w211.BottomAttach = ((uint)(4));
+ w211.LeftAttach = ((uint)(6));
+ w211.RightAttach = ((uint)(7));
+ w211.XOptions = ((global::Gtk.AttachOptions)(4));
+ w211.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblBlank2 = new global::Gtk.Label();
this.lblBlank2.WidthRequest = 50;
this.lblBlank2.HeightRequest = 50;
this.lblBlank2.Name = "lblBlank2";
this.tbUI.Add(this.lblBlank2);
- global::Gtk.Table.TableChild w214 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank2]));
- w214.TopAttach = ((uint)(6));
- w214.BottomAttach = ((uint)(7));
- w214.LeftAttach = ((uint)(10));
- w214.RightAttach = ((uint)(11));
- w214.XOptions = ((global::Gtk.AttachOptions)(4));
- w214.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w212 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank2]));
+ w212.TopAttach = ((uint)(6));
+ w212.BottomAttach = ((uint)(7));
+ w212.LeftAttach = ((uint)(10));
+ w212.RightAttach = ((uint)(11));
+ w212.XOptions = ((global::Gtk.AttachOptions)(4));
+ w212.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblBlank3 = new global::Gtk.Label();
this.lblBlank3.WidthRequest = 10;
this.lblBlank3.HeightRequest = 50;
this.lblBlank3.Name = "lblBlank3";
this.tbUI.Add(this.lblBlank3);
- global::Gtk.Table.TableChild w215 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank3]));
- w215.TopAttach = ((uint)(3));
- w215.BottomAttach = ((uint)(4));
- w215.LeftAttach = ((uint)(14));
- w215.RightAttach = ((uint)(15));
- w215.XOptions = ((global::Gtk.AttachOptions)(4));
- w215.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w213 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank3]));
+ w213.TopAttach = ((uint)(3));
+ w213.BottomAttach = ((uint)(4));
+ w213.LeftAttach = ((uint)(14));
+ w213.RightAttach = ((uint)(15));
+ w213.XOptions = ((global::Gtk.AttachOptions)(4));
+ w213.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblBlank4 = new global::Gtk.Label();
this.lblBlank4.WidthRequest = 10;
this.lblBlank4.HeightRequest = 50;
this.lblBlank4.Name = "lblBlank4";
this.tbUI.Add(this.lblBlank4);
- global::Gtk.Table.TableChild w216 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank4]));
- w216.TopAttach = ((uint)(3));
- w216.BottomAttach = ((uint)(4));
- w216.LeftAttach = ((uint)(20));
- w216.RightAttach = ((uint)(21));
- w216.XOptions = ((global::Gtk.AttachOptions)(4));
- w216.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w214 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank4]));
+ w214.TopAttach = ((uint)(3));
+ w214.BottomAttach = ((uint)(4));
+ w214.LeftAttach = ((uint)(20));
+ w214.RightAttach = ((uint)(21));
+ w214.XOptions = ((global::Gtk.AttachOptions)(4));
+ w214.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblBlank5 = new global::Gtk.Label();
this.lblBlank5.WidthRequest = 10;
this.lblBlank5.HeightRequest = 50;
this.lblBlank5.Name = "lblBlank5";
this.tbUI.Add(this.lblBlank5);
- global::Gtk.Table.TableChild w217 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank5]));
- w217.TopAttach = ((uint)(3));
- w217.BottomAttach = ((uint)(4));
- w217.XOptions = ((global::Gtk.AttachOptions)(4));
- w217.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w215 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank5]));
+ w215.TopAttach = ((uint)(3));
+ w215.BottomAttach = ((uint)(4));
+ w215.XOptions = ((global::Gtk.AttachOptions)(4));
+ w215.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblBlank8 = new global::Gtk.Label();
this.lblBlank8.WidthRequest = 50;
this.lblBlank8.HeightRequest = 10;
this.lblBlank8.Name = "lblBlank8";
this.tbUI.Add(this.lblBlank8);
- global::Gtk.Table.TableChild w218 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank8]));
- w218.TopAttach = ((uint)(16));
- w218.BottomAttach = ((uint)(17));
- w218.LeftAttach = ((uint)(10));
- w218.RightAttach = ((uint)(11));
- w218.XOptions = ((global::Gtk.AttachOptions)(4));
- w218.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w216 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank8]));
+ w216.TopAttach = ((uint)(16));
+ w216.BottomAttach = ((uint)(17));
+ w216.LeftAttach = ((uint)(10));
+ w216.RightAttach = ((uint)(11));
+ w216.XOptions = ((global::Gtk.AttachOptions)(4));
+ w216.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblBlank9 = new global::Gtk.Label();
this.lblBlank9.WidthRequest = 50;
this.lblBlank9.HeightRequest = 10;
this.lblBlank9.Name = "lblBlank9";
this.tbUI.Add(this.lblBlank9);
- global::Gtk.Table.TableChild w219 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank9]));
- w219.LeftAttach = ((uint)(10));
- w219.RightAttach = ((uint)(11));
- w219.XOptions = ((global::Gtk.AttachOptions)(4));
- w219.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w217 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblBlank9]));
+ w217.LeftAttach = ((uint)(10));
+ w217.RightAttach = ((uint)(11));
+ w217.XOptions = ((global::Gtk.AttachOptions)(4));
+ w217.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblCoord1 = new global::Gtk.Label();
this.lblCoord1.WidthRequest = 50;
@@ -2579,13 +2577,13 @@ namespace Mundus.Views.Windows
this.lblCoord1.Name = "lblCoord1";
this.lblCoord1.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblCoord1);
- global::Gtk.Table.TableChild w220 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblCoord1]));
- w220.TopAttach = ((uint)(7));
- w220.BottomAttach = ((uint)(8));
- w220.LeftAttach = ((uint)(4));
- w220.RightAttach = ((uint)(5));
- w220.XOptions = ((global::Gtk.AttachOptions)(4));
- w220.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w218 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblCoord1]));
+ w218.TopAttach = ((uint)(7));
+ w218.BottomAttach = ((uint)(8));
+ w218.LeftAttach = ((uint)(4));
+ w218.RightAttach = ((uint)(5));
+ w218.XOptions = ((global::Gtk.AttachOptions)(4));
+ w218.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblCoord2 = new global::Gtk.Label();
this.lblCoord2.WidthRequest = 50;
@@ -2593,13 +2591,13 @@ namespace Mundus.Views.Windows
this.lblCoord2.Name = "lblCoord2";
this.lblCoord2.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblCoord2);
- global::Gtk.Table.TableChild w221 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblCoord2]));
- w221.TopAttach = ((uint)(7));
- w221.BottomAttach = ((uint)(8));
- w221.LeftAttach = ((uint)(5));
- w221.RightAttach = ((uint)(6));
- w221.XOptions = ((global::Gtk.AttachOptions)(4));
- w221.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w219 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblCoord2]));
+ w219.TopAttach = ((uint)(7));
+ w219.BottomAttach = ((uint)(8));
+ w219.LeftAttach = ((uint)(5));
+ w219.RightAttach = ((uint)(6));
+ w219.XOptions = ((global::Gtk.AttachOptions)(4));
+ w219.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblEventLog = new global::Gtk.Label();
this.lblEventLog.WidthRequest = 50;
@@ -2607,13 +2605,13 @@ namespace Mundus.Views.Windows
this.lblEventLog.Name = "lblEventLog";
this.lblEventLog.LabelProp = "Event Log";
this.tbUI.Add(this.lblEventLog);
- global::Gtk.Table.TableChild w222 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblEventLog]));
- w222.TopAttach = ((uint)(11));
- w222.BottomAttach = ((uint)(12));
- w222.LeftAttach = ((uint)(8));
- w222.RightAttach = ((uint)(13));
- w222.XOptions = ((global::Gtk.AttachOptions)(4));
- w222.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w220 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblEventLog]));
+ w220.TopAttach = ((uint)(11));
+ w220.BottomAttach = ((uint)(12));
+ w220.LeftAttach = ((uint)(8));
+ w220.RightAttach = ((uint)(13));
+ w220.XOptions = ((global::Gtk.AttachOptions)(4));
+ w220.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblGear = new global::Gtk.Label();
this.lblGear.HeightRequest = 50;
@@ -2621,25 +2619,25 @@ namespace Mundus.Views.Windows
this.lblGear.LabelProp = "Gear";
this.lblGear.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblGear);
- global::Gtk.Table.TableChild w223 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblGear]));
- w223.TopAttach = ((uint)(11));
- w223.BottomAttach = ((uint)(12));
- w223.LeftAttach = ((uint)(15));
- w223.RightAttach = ((uint)(20));
- w223.XOptions = ((global::Gtk.AttachOptions)(4));
- w223.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w221 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblGear]));
+ w221.TopAttach = ((uint)(11));
+ w221.BottomAttach = ((uint)(12));
+ w221.LeftAttach = ((uint)(15));
+ w221.RightAttach = ((uint)(20));
+ w221.XOptions = ((global::Gtk.AttachOptions)(4));
+ w221.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblGroundLayer = new global::Gtk.Label();
this.lblGroundLayer.Name = "lblGroundLayer";
this.lblGroundLayer.LabelProp = "Ground Layer";
this.tbUI.Add(this.lblGroundLayer);
- global::Gtk.Table.TableChild w224 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblGroundLayer]));
- w224.TopAttach = ((uint)(1));
- w224.BottomAttach = ((uint)(2));
- w224.LeftAttach = ((uint)(1));
- w224.RightAttach = ((uint)(6));
- w224.XOptions = ((global::Gtk.AttachOptions)(4));
- w224.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w222 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblGroundLayer]));
+ w222.TopAttach = ((uint)(1));
+ w222.BottomAttach = ((uint)(2));
+ w222.LeftAttach = ((uint)(1));
+ w222.RightAttach = ((uint)(6));
+ w222.XOptions = ((global::Gtk.AttachOptions)(4));
+ w222.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblHoleMsg = new global::Gtk.Label();
this.lblHoleMsg.WidthRequest = 200;
@@ -2648,13 +2646,13 @@ namespace Mundus.Views.Windows
this.lblHoleMsg.LabelProp = "There is a hole above player:";
this.lblHoleMsg.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblHoleMsg);
- global::Gtk.Table.TableChild w225 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblHoleMsg]));
- w225.TopAttach = ((uint)(15));
- w225.BottomAttach = ((uint)(16));
- w225.LeftAttach = ((uint)(1));
- w225.RightAttach = ((uint)(5));
- w225.XOptions = ((global::Gtk.AttachOptions)(4));
- w225.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w223 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblHoleMsg]));
+ w223.TopAttach = ((uint)(15));
+ w223.BottomAttach = ((uint)(16));
+ w223.LeftAttach = ((uint)(1));
+ w223.RightAttach = ((uint)(5));
+ w223.XOptions = ((global::Gtk.AttachOptions)(4));
+ w223.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblHoleOnTop = new global::Gtk.Label();
this.lblHoleOnTop.WidthRequest = 50;
@@ -2662,13 +2660,13 @@ namespace Mundus.Views.Windows
this.lblHoleOnTop.Name = "lblHoleOnTop";
this.lblHoleOnTop.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblHoleOnTop);
- global::Gtk.Table.TableChild w226 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblHoleOnTop]));
- w226.TopAttach = ((uint)(15));
- w226.BottomAttach = ((uint)(16));
- w226.LeftAttach = ((uint)(5));
- w226.RightAttach = ((uint)(6));
- w226.XOptions = ((global::Gtk.AttachOptions)(4));
- w226.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w224 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblHoleOnTop]));
+ w224.TopAttach = ((uint)(15));
+ w224.BottomAttach = ((uint)(16));
+ w224.LeftAttach = ((uint)(5));
+ w224.RightAttach = ((uint)(6));
+ w224.XOptions = ((global::Gtk.AttachOptions)(4));
+ w224.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblHotbar = new global::Gtk.Label();
this.lblHotbar.WidthRequest = 50;
@@ -2676,13 +2674,13 @@ namespace Mundus.Views.Windows
this.lblHotbar.Name = "lblHotbar";
this.lblHotbar.LabelProp = "Hotbar";
this.tbUI.Add(this.lblHotbar);
- global::Gtk.Table.TableChild w227 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblHotbar]));
- w227.TopAttach = ((uint)(9));
- w227.BottomAttach = ((uint)(10));
- w227.LeftAttach = ((uint)(8));
- w227.RightAttach = ((uint)(13));
- w227.XOptions = ((global::Gtk.AttachOptions)(4));
- w227.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w225 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblHotbar]));
+ w225.TopAttach = ((uint)(9));
+ w225.BottomAttach = ((uint)(10));
+ w225.LeftAttach = ((uint)(8));
+ w225.RightAttach = ((uint)(13));
+ w225.XOptions = ((global::Gtk.AttachOptions)(4));
+ w225.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblInfo = new global::Gtk.Label();
this.lblInfo.WidthRequest = 250;
@@ -2691,25 +2689,25 @@ namespace Mundus.Views.Windows
this.lblInfo.Wrap = true;
this.lblInfo.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblInfo);
- global::Gtk.Table.TableChild w228 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblInfo]));
- w228.TopAttach = ((uint)(15));
- w228.BottomAttach = ((uint)(16));
- w228.LeftAttach = ((uint)(15));
- w228.RightAttach = ((uint)(20));
- w228.XOptions = ((global::Gtk.AttachOptions)(4));
- w228.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w226 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblInfo]));
+ w226.TopAttach = ((uint)(15));
+ w226.BottomAttach = ((uint)(16));
+ w226.LeftAttach = ((uint)(15));
+ w226.RightAttach = ((uint)(20));
+ w226.XOptions = ((global::Gtk.AttachOptions)(4));
+ w226.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblItemLayer = new global::Gtk.Label();
this.lblItemLayer.Name = "lblItemLayer";
this.lblItemLayer.LabelProp = "Structure Layer";
this.tbUI.Add(this.lblItemLayer);
- global::Gtk.Table.TableChild w229 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblItemLayer]));
- w229.TopAttach = ((uint)(9));
- w229.BottomAttach = ((uint)(10));
- w229.LeftAttach = ((uint)(1));
- w229.RightAttach = ((uint)(6));
- w229.XOptions = ((global::Gtk.AttachOptions)(4));
- w229.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w227 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblItemLayer]));
+ w227.TopAttach = ((uint)(9));
+ w227.BottomAttach = ((uint)(10));
+ w227.LeftAttach = ((uint)(1));
+ w227.RightAttach = ((uint)(6));
+ w227.XOptions = ((global::Gtk.AttachOptions)(4));
+ w227.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblLog1 = new global::Gtk.Label();
this.lblLog1.WidthRequest = 250;
@@ -2718,13 +2716,13 @@ namespace Mundus.Views.Windows
this.lblLog1.LabelProp = "ERROR";
this.lblLog1.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblLog1);
- global::Gtk.Table.TableChild w230 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblLog1]));
- w230.TopAttach = ((uint)(12));
- w230.BottomAttach = ((uint)(13));
- w230.LeftAttach = ((uint)(8));
- w230.RightAttach = ((uint)(13));
- w230.XOptions = ((global::Gtk.AttachOptions)(4));
- w230.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w228 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblLog1]));
+ w228.TopAttach = ((uint)(12));
+ w228.BottomAttach = ((uint)(13));
+ w228.LeftAttach = ((uint)(8));
+ w228.RightAttach = ((uint)(13));
+ w228.XOptions = ((global::Gtk.AttachOptions)(4));
+ w228.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblLog2 = new global::Gtk.Label();
this.lblLog2.WidthRequest = 250;
@@ -2733,13 +2731,13 @@ namespace Mundus.Views.Windows
this.lblLog2.LabelProp = "ERROR";
this.lblLog2.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblLog2);
- global::Gtk.Table.TableChild w231 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblLog2]));
- w231.TopAttach = ((uint)(13));
- w231.BottomAttach = ((uint)(14));
- w231.LeftAttach = ((uint)(8));
- w231.RightAttach = ((uint)(13));
- w231.XOptions = ((global::Gtk.AttachOptions)(4));
- w231.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w229 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblLog2]));
+ w229.TopAttach = ((uint)(13));
+ w229.BottomAttach = ((uint)(14));
+ w229.LeftAttach = ((uint)(8));
+ w229.RightAttach = ((uint)(13));
+ w229.XOptions = ((global::Gtk.AttachOptions)(4));
+ w229.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblLog3 = new global::Gtk.Label();
this.lblLog3.WidthRequest = 250;
@@ -2748,13 +2746,13 @@ namespace Mundus.Views.Windows
this.lblLog3.LabelProp = "ERROR";
this.lblLog3.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblLog3);
- global::Gtk.Table.TableChild w232 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblLog3]));
- w232.TopAttach = ((uint)(14));
- w232.BottomAttach = ((uint)(15));
- w232.LeftAttach = ((uint)(8));
- w232.RightAttach = ((uint)(13));
- w232.XOptions = ((global::Gtk.AttachOptions)(4));
- w232.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w230 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblLog3]));
+ w230.TopAttach = ((uint)(14));
+ w230.BottomAttach = ((uint)(15));
+ w230.LeftAttach = ((uint)(8));
+ w230.RightAttach = ((uint)(13));
+ w230.XOptions = ((global::Gtk.AttachOptions)(4));
+ w230.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblLog4 = new global::Gtk.Label();
this.lblLog4.WidthRequest = 250;
@@ -2763,13 +2761,13 @@ namespace Mundus.Views.Windows
this.lblLog4.LabelProp = "ERROR";
this.lblLog4.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblLog4);
- global::Gtk.Table.TableChild w233 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblLog4]));
- w233.TopAttach = ((uint)(15));
- w233.BottomAttach = ((uint)(16));
- w233.LeftAttach = ((uint)(8));
- w233.RightAttach = ((uint)(13));
- w233.XOptions = ((global::Gtk.AttachOptions)(4));
- w233.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w231 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblLog4]));
+ w231.TopAttach = ((uint)(15));
+ w231.BottomAttach = ((uint)(16));
+ w231.LeftAttach = ((uint)(8));
+ w231.RightAttach = ((uint)(13));
+ w231.XOptions = ((global::Gtk.AttachOptions)(4));
+ w231.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child tbUI.Gtk.Table+TableChild
this.lblSuperLayer = new global::Gtk.Label();
this.lblSuperLayer.WidthRequest = 100;
@@ -2777,13 +2775,13 @@ namespace Mundus.Views.Windows
this.lblSuperLayer.Name = "lblSuperLayer";
this.lblSuperLayer.Justify = ((global::Gtk.Justification)(2));
this.tbUI.Add(this.lblSuperLayer);
- global::Gtk.Table.TableChild w234 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblSuperLayer]));
- w234.TopAttach = ((uint)(7));
- w234.BottomAttach = ((uint)(8));
- w234.LeftAttach = ((uint)(1));
- w234.RightAttach = ((uint)(3));
- w234.XOptions = ((global::Gtk.AttachOptions)(4));
- w234.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w232 = ((global::Gtk.Table.TableChild)(this.tbUI[this.lblSuperLayer]));
+ w232.TopAttach = ((uint)(7));
+ w232.BottomAttach = ((uint)(8));
+ w232.LeftAttach = ((uint)(1));
+ w232.RightAttach = ((uint)(3));
+ w232.XOptions = ((global::Gtk.AttachOptions)(4));
+ w232.YOptions = ((global::Gtk.AttachOptions)(4));
this.Add(this.tbUI);
if ((this.Child != null))
{
diff --git a/Mundus/packages.config b/Mundus/packages.config
index cc8415d..4363ff3 100644
--- a/Mundus/packages.config
+++ b/Mundus/packages.config
@@ -1,43 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="BouncyCastle" version="1.8.3.1" targetFramework="net47" />
- <package id="Google.Protobuf" version="3.6.1" targetFramework="net47" />
+ <package id="BouncyCastle" version="1.8.6.1" targetFramework="net47" />
+ <package id="Google.Protobuf" version="3.11.4" targetFramework="net47" />
<package id="K4os.Compression.LZ4" version="1.1.11" targetFramework="net47" />
<package id="K4os.Compression.LZ4.Streams" version="1.1.11" targetFramework="net47" />
<package id="K4os.Hash.xxHash" version="1.0.6" targetFramework="net47" />
- <package id="Microsoft.Bcl.AsyncInterfaces" version="1.1.0" targetFramework="net47" />
+ <package id="Microsoft.Bcl.AsyncInterfaces" version="1.1.1" targetFramework="net47" />
<package id="Microsoft.Bcl.HashCode" version="1.1.0" targetFramework="net47" />
- <package id="Microsoft.Data.SqlClient" version="1.0.19269.1" targetFramework="net47" />
- <package id="Microsoft.Data.SqlClient.SNI" version="1.0.19235.1" targetFramework="net47" />
- <package id="Microsoft.EntityFrameworkCore" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.EntityFrameworkCore.Abstractions" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.EntityFrameworkCore.Analyzers" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.EntityFrameworkCore.Relational" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.EntityFrameworkCore.SqlServer" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.Caching.Abstractions" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.Caching.Memory" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.Configuration" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.Configuration.Abstractions" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.Configuration.Binder" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.DependencyInjection" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.Logging" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.Logging.Abstractions" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.Options" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Extensions.Primitives" version="3.1.3" targetFramework="net47" />
- <package id="Microsoft.Identity.Client" version="3.0.8" targetFramework="net47" />
+ <package id="Microsoft.Data.SqlClient" version="1.1.2" targetFramework="net47" />
+ <package id="Microsoft.Data.SqlClient.SNI" version="1.1.1" targetFramework="net47" />
+ <package id="Microsoft.EntityFrameworkCore" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.EntityFrameworkCore.Abstractions" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.EntityFrameworkCore.Analyzers" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.EntityFrameworkCore.Relational" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.EntityFrameworkCore.SqlServer" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.Caching.Abstractions" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.Caching.Memory" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.Configuration" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.Configuration.Abstractions" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.Configuration.Binder" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.DependencyInjection" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.Logging" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.Logging.Abstractions" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.Options" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Extensions.Primitives" version="3.1.4" targetFramework="net47" />
+ <package id="Microsoft.Identity.Client" version="4.13.0" targetFramework="net47" />
+ <package id="Microsoft.IdentityModel.JsonWebTokens" version="6.5.1" targetFramework="net47" />
+ <package id="Microsoft.IdentityModel.Logging" version="6.5.1" targetFramework="net47" />
+ <package id="Microsoft.IdentityModel.Protocols" version="6.5.1" targetFramework="net47" />
+ <package id="Microsoft.IdentityModel.Protocols.OpenIdConnect" version="6.5.1" targetFramework="net47" />
+ <package id="Microsoft.IdentityModel.Tokens" version="6.5.1" targetFramework="net47" />
<package id="MySql.Data" version="8.0.20" targetFramework="net47" />
<package id="MySql.Data.EntityFrameworkCore" version="8.0.20" targetFramework="net47" />
+ <package id="Newtonsoft.Json" version="12.0.3" targetFramework="net47" />
<package id="SSH.NET" version="2016.1.0" targetFramework="net47" />
<package id="StyleCop.Analyzers" version="1.1.118" targetFramework="net47" developmentDependency="true" />
- <package id="System.Buffers" version="4.5.0" targetFramework="net47" />
- <package id="System.Collections.Immutable" version="1.7.0" targetFramework="net47" />
+ <package id="System.Buffers" version="4.5.1" targetFramework="net47" />
+ <package id="System.Collections.Immutable" version="1.7.1" targetFramework="net47" />
<package id="System.ComponentModel.Annotations" version="4.7.0" targetFramework="net47" />
<package id="System.Data.Common" version="4.3.0" targetFramework="net47" />
<package id="System.Data.SqlClient" version="4.8.1" targetFramework="net47" />
- <package id="System.Diagnostics.DiagnosticSource" version="4.7.0" targetFramework="net47" />
- <package id="System.Memory" version="4.5.3" targetFramework="net47" />
- <package id="System.Numerics.Vectors" version="4.4.0" targetFramework="net47" />
+ <package id="System.Diagnostics.DiagnosticSource" version="4.7.1" targetFramework="net47" />
+ <package id="System.IdentityModel.Tokens.Jwt" version="6.5.1" targetFramework="net47" />
+ <package id="System.Memory" version="4.5.4" targetFramework="net47" />
+ <package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net47" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.7.1" targetFramework="net47" />
- <package id="System.Threading.Tasks.Extensions" version="4.5.2" targetFramework="net47" />
+ <package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net47" />
</packages> \ No newline at end of file