mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
made 95 windows close when travelling to 1999
This commit is contained in:
parent
d2006a3cf6
commit
7e54d42ed6
3 changed files with 5 additions and 3 deletions
|
@ -275,6 +275,7 @@ public static async void StartObjective()
|
||||||
SaveSystem.currentTheme = new Default98Theme();
|
SaveSystem.currentTheme = new Default98Theme();
|
||||||
SaveSystem.CurrentSave.ThemeName = "default98";
|
SaveSystem.CurrentSave.ThemeName = "default98";
|
||||||
TitleScreen.frm95.distort.ParentForm.Close();
|
TitleScreen.frm95.distort.ParentForm.Close();
|
||||||
|
foreach (Form frm in Application.OpenForms) if (frm is WinClassic) frm.Close();
|
||||||
Program.title.StartGame();
|
Program.title.StartGame();
|
||||||
TitleScreen.frm95.Close();
|
TitleScreen.frm95.Close();
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -53,6 +53,8 @@ void WinClassicWindowsExplorer_Load(object sender, EventArgs e)
|
||||||
mainView.LargeImageList = new ImageList();
|
mainView.LargeImageList = new ImageList();
|
||||||
mainView.LargeImageList.ImageSize = new Size(32, 32);
|
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
|
mainView.LargeImageList.Images.AddRange(new Bitmap[] { Properties.Resources.Win95Computer, // 0
|
||||||
Properties.Resources.WinClassicFolder,
|
Properties.Resources.WinClassicFolder,
|
||||||
Properties.Resources.WinClassicIE4,
|
Properties.Resources.WinClassicIE4,
|
||||||
|
@ -73,7 +75,7 @@ void WinClassicWindowsExplorer_Load(object sender, EventArgs e)
|
||||||
Properties.Resources.TimeDistorter1,
|
Properties.Resources.TimeDistorter1,
|
||||||
Properties.Resources.WinClassicGTN,
|
Properties.Resources.WinClassicGTN,
|
||||||
Properties.Resources.WinClassicFTP,
|
Properties.Resources.WinClassicFTP,
|
||||||
Properties.Resources.WinClassicRtfFile});
|
Properties.Resources.WinClassicRtfFile}); //20
|
||||||
|
|
||||||
program.BringToFront();
|
program.BringToFront();
|
||||||
|
|
||||||
|
@ -992,7 +994,7 @@ private void TextDocumentToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
if (File.Exists(CurrentDirectory + "\\New Text Document.txt"))
|
if (File.Exists(CurrentDirectory + "\\New Text Document.txt"))
|
||||||
{
|
{
|
||||||
//wm.StartInfobox95("Windows Explorer", "This directory already exists", Properties.Resources.Win95Info);
|
//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
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -55,7 +55,6 @@ public TitleScreen()
|
||||||
|
|
||||||
public void StartGame()
|
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();
|
if (Convert.ToInt32(VM_Width.Text) == 1337 && Convert.ToInt32(VM_Height.Text) == 1337) leet();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue