From 50971ea04e7ad7a7ae9dcbbe911b7b8bcf5dd7d3 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 4 Feb 2017 13:21:38 -0500 Subject: Implement maximizing and minimizing Fixes #24 and makes panel buttons useful. --- ShiftOS.WinForms/Applications/Terminal.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ShiftOS.WinForms/Applications/Terminal.cs') diff --git a/ShiftOS.WinForms/Applications/Terminal.cs b/ShiftOS.WinForms/Applications/Terminal.cs index 7b55ec2..54a89d7 100644 --- a/ShiftOS.WinForms/Applications/Terminal.cs +++ b/ShiftOS.WinForms/Applications/Terminal.cs @@ -134,10 +134,13 @@ namespace ShiftOS.WinForms.Applications TerminalBackend.PrefixEnabled = true; TerminalBackend.InStory = false; Console.Write($"{SaveSystem.CurrentSave.Username}@{SaveSystem.CurrentSave.SystemName}:~$ "); - if (SaveSystem.CurrentSave.StoryPosition == 6) + if (Shiftorium.UpgradeInstalled("wm_free_placement")) { - Infobox.Show("Welcome to ShiftOS.", "Welcome to the ShiftOS multi-user domain. Your goal is to upgrade your system as much as possible, and gain as much wealth as possible. The first step is to get a feel for the environment. Go forth and explore, young Shifter."); - SaveSystem.CurrentSave.StoryPosition++; + this.ParentForm.Width = 640; + this.ParentForm.Height = 480; + this.ParentForm.Left = (Screen.PrimaryScreen.Bounds.Width - 640) / 2; + this.ParentForm.Top = (Screen.PrimaryScreen.Bounds.Height - 480) / 2; + } })); } -- cgit v1.2.3