made 95 windows close when travelling to 1999

This commit is contained in:
lempamo 2017-08-28 00:30:06 -04:00
parent d2006a3cf6
commit 7e54d42ed6
3 changed files with 5 additions and 3 deletions

View file

@ -275,6 +275,7 @@ public static async void StartObjective()
SaveSystem.currentTheme = new Default98Theme();
SaveSystem.CurrentSave.ThemeName = "default98";
TitleScreen.frm95.distort.ParentForm.Close();
foreach (Form frm in Application.OpenForms) if (frm is WinClassic) frm.Close();
Program.title.StartGame();
TitleScreen.frm95.Close();
return;

View file

@ -53,6 +53,8 @@ void WinClassicWindowsExplorer_Load(object sender, EventArgs e)
mainView.LargeImageList = new ImageList();
mainView.LargeImageList.ImageSize = new Size(32, 32);
// Icons 17, 18, 19 reserved for exclusive apps
mainView.LargeImageList.Images.AddRange(new Bitmap[] { Properties.Resources.Win95Computer, // 0
Properties.Resources.WinClassicFolder,
Properties.Resources.WinClassicIE4,
@ -73,7 +75,7 @@ void WinClassicWindowsExplorer_Load(object sender, EventArgs e)
Properties.Resources.TimeDistorter1,
Properties.Resources.WinClassicGTN,
Properties.Resources.WinClassicFTP,
Properties.Resources.WinClassicRtfFile});
Properties.Resources.WinClassicRtfFile}); //20
program.BringToFront();
@ -992,7 +994,7 @@ private void TextDocumentToolStripMenuItem_Click(object sender, EventArgs e)
if (File.Exists(CurrentDirectory + "\\New Text Document.txt"))
{
//wm.StartInfobox95("Windows Explorer", "This directory already exists", Properties.Resources.Win95Info);
//TODO: add making "New Folder (2)"
//TODO: add making "New Text Document (2)"
}
else
{

View file

@ -55,7 +55,6 @@ public TitleScreen()
public void StartGame()
{
//TODO: You may want to handle story stuff to decide what OS to boot here.
if (Convert.ToInt32(VM_Width.Text) == 1337 && Convert.ToInt32(VM_Height.Text) == 1337) leet();
else
{