aboutsummaryrefslogtreecommitdiff
path: root/Mundus/Views/Windows/SmallGameWindow.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Mundus/Views/Windows/SmallGameWindow.cs')
-rw-r--r--Mundus/Views/Windows/SmallGameWindow.cs18
1 files changed, 15 insertions, 3 deletions
diff --git a/Mundus/Views/Windows/SmallGameWindow.cs b/Mundus/Views/Windows/SmallGameWindow.cs
index 2a551cf..d57ea30 100644
--- a/Mundus/Views/Windows/SmallGameWindow.cs
+++ b/Mundus/Views/Windows/SmallGameWindow.cs
@@ -199,7 +199,17 @@ namespace Mundus.Views.Windows {
}
}
- //Print log
+ //Prints log
+ for (int i = 0, mIndex = LogController.GetCount() - 1; i < Size; mIndex--, i++) {
+ string msg = LogController.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() {
@@ -568,6 +578,10 @@ namespace Mundus.Views.Windows {
}
}
+ protected void OnBtnLogClicked(object sender, EventArgs e) {
+ WindowController.ShowLogWindow();
+ }
+
// Inventory (items) buttons
protected void OnBtnI1Clicked(object sender, EventArgs e) {
if (!WindowController.PauseWindowVisible) {
@@ -942,7 +956,5 @@ namespace Mundus.Views.Windows {
lblBlank4.Visible = isVisible;
}
-
-
}
}