mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
end of internet ending complete
This commit is contained in:
parent
1b0053509b
commit
5c72e89e52
9 changed files with 712 additions and 661 deletions
|
@ -27,6 +27,10 @@ public AchievementBox(int type)
|
||||||
BackgroundImage = Properties.Resources.EndingPiracy;
|
BackgroundImage = Properties.Resources.EndingPiracy;
|
||||||
stayOnScreen = true;
|
stayOnScreen = true;
|
||||||
break;
|
break;
|
||||||
|
case 1:
|
||||||
|
BackgroundImage = Properties.Resources.EndingDestruction;
|
||||||
|
stayOnScreen = true;
|
||||||
|
break;
|
||||||
case 20:
|
case 20:
|
||||||
BackgroundImage = Properties.Resources.AchievementMines;
|
BackgroundImage = Properties.Resources.AchievementMines;
|
||||||
button1.Hide();
|
button1.Hide();
|
||||||
|
@ -55,7 +59,8 @@ private void button1_Click(object sender, EventArgs e)
|
||||||
Program.title.Show();
|
Program.title.Show();
|
||||||
SaveSystem.CurrentSave = null;
|
SaveSystem.CurrentSave = null;
|
||||||
SaveSystem.currentTheme = null;
|
SaveSystem.currentTheme = null;
|
||||||
foreach (Form f in Application.OpenForms) if (!(f is TitleScreen) && !(f is AchievementBox)) f.Close();
|
Application.OpenForms.Cast<Form>().Where(x => !(x is TitleScreen | x is AchievementBox)).ToList().ForEach(x => x.Close());
|
||||||
|
//foreach (Form f in Application.OpenForms) if (!(f is TitleScreen) && !(f is AchievementBox)) f.Close();
|
||||||
this.Close();
|
this.Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,12 +25,12 @@ private void AchievementScreen_Load(object sender, EventArgs e)
|
||||||
if (achieved[0] == 1)
|
if (achieved[0] == 1)
|
||||||
{
|
{
|
||||||
listView1.Items[0].ImageIndex = 0;
|
listView1.Items[0].ImageIndex = 0;
|
||||||
listView1.Items[0].Name = "Piracy Ending";
|
listView1.Items[0].Text = "Piracy Ending";
|
||||||
}
|
}
|
||||||
if (achieved[1] == 1)
|
if (achieved[1] == 1)
|
||||||
{
|
{
|
||||||
listView1.Items[1].ImageIndex = 0;
|
listView1.Items[1].ImageIndex = 0;
|
||||||
listView1.Items[1].Name = "Destruction Ending";
|
listView1.Items[1].Text = "Destruction Ending";
|
||||||
}
|
}
|
||||||
if (achieved[20] == 1) listView2.Items[0].ImageIndex = 0;
|
if (achieved[20] == 1) listView2.Items[0].ImageIndex = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -684,6 +684,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Icon128x.ico" />
|
<Content Include="Icon128x.ico" />
|
||||||
<Content Include="Resources\12padams_EULA.txt" />
|
<Content Include="Resources\12padams_EULA.txt" />
|
||||||
|
<None Include="Resources\WinClassic\WinXPClose.png" />
|
||||||
<None Include="Resources\WinClassic\WinXPIE6Icon.png" />
|
<None Include="Resources\WinClassic\WinXPIE6Icon.png" />
|
||||||
<None Include="Resources\WinClassic\WinXPError.png" />
|
<None Include="Resources\WinClassic\WinXPError.png" />
|
||||||
<None Include="Resources\WinClassic\WinXPPrintersSmall.png" />
|
<None Include="Resources\WinClassic\WinXPPrintersSmall.png" />
|
||||||
|
|
|
@ -99,8 +99,24 @@ public static async void VirusDestruction(WinClassicIE6Bad ie)
|
||||||
await Task.Delay(1000); ie.backToolStripMenuItem.Image = null; ie.backToolStripMenuItem.BackColor = Color.Red; ie.toolStripMenuItem2.Visible = false; ie.panel1.BackColor = Color.Black;
|
await Task.Delay(1000); ie.backToolStripMenuItem.Image = null; ie.backToolStripMenuItem.BackColor = Color.Red; ie.toolStripMenuItem2.Visible = false; ie.panel1.BackColor = Color.Black;
|
||||||
await Task.Delay(1000); ie.backToolStripMenuItem.Visible = false; ie.panel1.Hide(); ie.label1.BackColor = Color.Black;
|
await Task.Delay(1000); ie.backToolStripMenuItem.Visible = false; ie.panel1.Hide(); ie.label1.BackColor = Color.Black;
|
||||||
await Task.Delay(1000); ie.label1.BackColor = Color.White;
|
await Task.Delay(1000); ie.label1.BackColor = Color.White;
|
||||||
await Task.Delay(1000); ie.Hide();
|
await Task.Delay(1000); ie.ParentForm.Hide();
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.desktopicons.BackgroundImage = Properties.Resources.WinXPError; TitleScreen.frmBadXP.desktopicons.BackgroundImageTiled = true; TitleScreen.frmBadXP.BackgroundImage = null;
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.Show();
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.Black; TitleScreen.frmBadXP.taskbartime.BackColor = Color.Red;
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.White; TitleScreen.frmBadXP.taskbartime.Text = "infected";
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.Black; TitleScreen.frmBadXP.desktopicons.Hide();
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.White; TitleScreen.frmBadXP.BackColor = Color.Black;
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.Black; TitleScreen.frmBadXP.startbutton.Image = Properties.Resources.WinXPClose;
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.White; TitleScreen.frmBadXP.startbutton.Image = null;
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.Black; TitleScreen.frmBadXP.startbutton.BackColor = Color.White;
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.White; TitleScreen.frmBadXP.startbutton.BackColor = Color.Black; TitleScreen.frmBadXP.taskbar.BackgroundImage = Properties.Resources.WinXPClose;
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.Black; TitleScreen.frmBadXP.taskbar.BackgroundImage = null; TitleScreen.frmBadXP.taskbar.BackColor = Color.White; TitleScreen.frmBadXP.startbutton.Hide(); TitleScreen.frmBadXP.clockPanel.BackgroundImage = Properties.Resources.WinXPClose;
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.White; TitleScreen.frmBadXP.taskbar.BackColor = Color.Black; TitleScreen.frmBadXP.clockPanel.BackgroundImage = null; TitleScreen.frmBadXP.clockPanel.BackColor = Color.White;
|
||||||
|
await Task.Delay(1000); TitleScreen.frmBadXP.classicLabel2.ForeColor = Color.Black; TitleScreen.frmBadXP.clockPanel.BackColor = Color.Black; TitleScreen.frmBadXP.clockPanel.Hide();
|
||||||
Stop = true;
|
Stop = true;
|
||||||
|
await Task.Delay(10000);
|
||||||
|
SaveSystem.SaveAchievement(1);
|
||||||
|
new AchievementBox(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async void LabelMaker()
|
public static async void LabelMaker()
|
||||||
|
|
19
Histacom2/OS/WinXPBad/WinXPBad.Designer.cs
generated
19
Histacom2/OS/WinXPBad/WinXPBad.Designer.cs
generated
|
@ -38,6 +38,7 @@ private void InitializeComponent()
|
||||||
this.clockPanel = new System.Windows.Forms.Panel();
|
this.clockPanel = new System.Windows.Forms.Panel();
|
||||||
this.taskbartime = new Histacom2.Engine.UI.ClassicLabel();
|
this.taskbartime = new Histacom2.Engine.UI.ClassicLabel();
|
||||||
this.taskbarItems = new System.Windows.Forms.Panel();
|
this.taskbarItems = new System.Windows.Forms.Panel();
|
||||||
|
this.classicLabel2 = new Histacom2.Engine.UI.ClassicLabel();
|
||||||
this.startbutton = new System.Windows.Forms.PictureBox();
|
this.startbutton = new System.Windows.Forms.PictureBox();
|
||||||
this.startmenu = new System.Windows.Forms.Panel();
|
this.startmenu = new System.Windows.Forms.Panel();
|
||||||
this.pictureBox14 = new System.Windows.Forms.PictureBox();
|
this.pictureBox14 = new System.Windows.Forms.PictureBox();
|
||||||
|
@ -87,6 +88,7 @@ private void InitializeComponent()
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.taskbar.SuspendLayout();
|
this.taskbar.SuspendLayout();
|
||||||
this.clockPanel.SuspendLayout();
|
this.clockPanel.SuspendLayout();
|
||||||
|
this.taskbarItems.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.startbutton)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.startbutton)).BeginInit();
|
||||||
this.startmenu.SuspendLayout();
|
this.startmenu.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).BeginInit();
|
||||||
|
@ -168,12 +170,25 @@ private void InitializeComponent()
|
||||||
// taskbarItems
|
// taskbarItems
|
||||||
//
|
//
|
||||||
this.taskbarItems.BackColor = System.Drawing.Color.Transparent;
|
this.taskbarItems.BackColor = System.Drawing.Color.Transparent;
|
||||||
|
this.taskbarItems.Controls.Add(this.classicLabel2);
|
||||||
this.taskbarItems.Cursor = System.Windows.Forms.Cursors.Default;
|
this.taskbarItems.Cursor = System.Windows.Forms.Cursors.Default;
|
||||||
this.taskbarItems.Location = new System.Drawing.Point(105, 4);
|
this.taskbarItems.Location = new System.Drawing.Point(105, 4);
|
||||||
this.taskbarItems.Name = "taskbarItems";
|
this.taskbarItems.Name = "taskbarItems";
|
||||||
this.taskbarItems.Size = new System.Drawing.Size(3606, 22);
|
this.taskbarItems.Size = new System.Drawing.Size(3606, 22);
|
||||||
this.taskbarItems.TabIndex = 5;
|
this.taskbarItems.TabIndex = 5;
|
||||||
//
|
//
|
||||||
|
// classicLabel2
|
||||||
|
//
|
||||||
|
this.classicLabel2.DropShadow = false;
|
||||||
|
this.classicLabel2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.classicLabel2.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.classicLabel2.Location = new System.Drawing.Point(0, 5);
|
||||||
|
this.classicLabel2.Name = "classicLabel2";
|
||||||
|
this.classicLabel2.Size = new System.Drawing.Size(315, 14);
|
||||||
|
this.classicLabel2.TabIndex = 6;
|
||||||
|
this.classicLabel2.Text = "Welcome to a world without computers!!!";
|
||||||
|
this.classicLabel2.Visible = false;
|
||||||
|
//
|
||||||
// startbutton
|
// startbutton
|
||||||
//
|
//
|
||||||
this.startbutton.Image = global::Histacom2.Properties.Resources.WinXPTaskbarStart;
|
this.startbutton.Image = global::Histacom2.Properties.Resources.WinXPTaskbarStart;
|
||||||
|
@ -742,6 +757,7 @@ private void InitializeComponent()
|
||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.taskbar.ResumeLayout(false);
|
this.taskbar.ResumeLayout(false);
|
||||||
this.clockPanel.ResumeLayout(false);
|
this.clockPanel.ResumeLayout(false);
|
||||||
|
this.taskbarItems.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.startbutton)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.startbutton)).EndInit();
|
||||||
this.startmenu.ResumeLayout(false);
|
this.startmenu.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).EndInit();
|
||||||
|
@ -777,7 +793,6 @@ private void InitializeComponent()
|
||||||
internal System.Windows.Forms.PictureBox startbutton;
|
internal System.Windows.Forms.PictureBox startbutton;
|
||||||
internal Histacom2.Engine.UI.ClassicLabel taskbartime;
|
internal Histacom2.Engine.UI.ClassicLabel taskbartime;
|
||||||
internal System.Windows.Forms.Panel startmenu;
|
internal System.Windows.Forms.Panel startmenu;
|
||||||
private System.Windows.Forms.Panel clockPanel;
|
|
||||||
private System.Windows.Forms.Timer clockTimer;
|
private System.Windows.Forms.Timer clockTimer;
|
||||||
private System.Windows.Forms.ImageList desktopImages;
|
private System.Windows.Forms.ImageList desktopImages;
|
||||||
internal System.Windows.Forms.ListView desktopicons;
|
internal System.Windows.Forms.ListView desktopicons;
|
||||||
|
@ -824,5 +839,7 @@ private void InitializeComponent()
|
||||||
private Engine.UI.ClassicStartMenuItem classicStartMenuItem12;
|
private Engine.UI.ClassicStartMenuItem classicStartMenuItem12;
|
||||||
private Engine.UI.ClassicStartMenuItem classicStartMenuItem13;
|
private Engine.UI.ClassicStartMenuItem classicStartMenuItem13;
|
||||||
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3;
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3;
|
||||||
|
public Engine.UI.ClassicLabel classicLabel2;
|
||||||
|
public System.Windows.Forms.Panel clockPanel;
|
||||||
}
|
}
|
||||||
}
|
}
|
File diff suppressed because it is too large
Load diff
|
@ -2098,6 +2098,9 @@
|
||||||
<data name="sliveroldlace" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="sliveroldlace" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\WinClassic\sliveroldlace.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\WinClassic\sliveroldlace.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="WinXPClose" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\WinClassic\WinXPClose.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="WinXPError" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="WinXPError" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\WinClassic\WinXPError.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\WinClassic\WinXPError.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
10
Histacom2/Properties/Resources1.Designer.cs
generated
10
Histacom2/Properties/Resources1.Designer.cs
generated
|
@ -2173,6 +2173,16 @@ public static byte[] windows_command_prompt {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
public static System.Drawing.Bitmap WinXPClose {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("WinXPClose", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
BIN
Histacom2/Resources/WinClassic/WinXPClose.png
Normal file
BIN
Histacom2/Resources/WinClassic/WinXPClose.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 968 B |
Loading…
Reference in a new issue