aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-28 00:30:06 -0400
committerlempamo <[email protected]>2017-08-28 00:30:06 -0400
commit7e54d42ed67bf8417a4a479dedce65217adc8309 (patch)
tree481bfaec0a5217205751c02c3f9c1fc8870a01ab
parentd2006a3cf629c0ac4ec020778604ae490b4981ec (diff)
downloadhistacom2-7e54d42ed67bf8417a4a479dedce65217adc8309.tar.gz
histacom2-7e54d42ed67bf8417a4a479dedce65217adc8309.tar.bz2
histacom2-7e54d42ed67bf8417a4a479dedce65217adc8309.zip
made 95 windows close when travelling to 1999
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs1
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs6
-rw-r--r--Histacom2/TitleScreen.cs1
3 files changed, 5 insertions, 3 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
index 76b9baf..b72c576 100644
--- a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
@@ -275,6 +275,7 @@ namespace Histacom2.OS.Win95.Win95Apps.Story
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;
diff --git a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
index 07f9e57..d7a10a8 100644
--- a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
@@ -53,6 +53,8 @@ namespace Histacom2.OS.Win95.Win95Apps
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 @@ namespace Histacom2.OS.Win95.Win95Apps
Properties.Resources.TimeDistorter1,
Properties.Resources.WinClassicGTN,
Properties.Resources.WinClassicFTP,
- Properties.Resources.WinClassicRtfFile});
+ Properties.Resources.WinClassicRtfFile}); //20
program.BringToFront();
@@ -992,7 +994,7 @@ namespace Histacom2.OS.Win95.Win95Apps
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
{
diff --git a/Histacom2/TitleScreen.cs b/Histacom2/TitleScreen.cs
index 1cefa9c..851bd19 100644
--- a/Histacom2/TitleScreen.cs
+++ b/Histacom2/TitleScreen.cs
@@ -55,7 +55,6 @@ namespace Histacom2
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
{