end of internet ending complete

This commit is contained in:
lempamo 2017-10-29 13:25:07 -04:00
parent 1b0053509b
commit 5c72e89e52
9 changed files with 712 additions and 661 deletions

View file

@ -27,6 +27,10 @@ public AchievementBox(int type)
BackgroundImage = Properties.Resources.EndingPiracy;
stayOnScreen = true;
break;
case 1:
BackgroundImage = Properties.Resources.EndingDestruction;
stayOnScreen = true;
break;
case 20:
BackgroundImage = Properties.Resources.AchievementMines;
button1.Hide();
@ -55,7 +59,8 @@ private void button1_Click(object sender, EventArgs e)
Program.title.Show();
SaveSystem.CurrentSave = 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();
}
}

View file

@ -25,12 +25,12 @@ private void AchievementScreen_Load(object sender, EventArgs e)
if (achieved[0] == 1)
{
listView1.Items[0].ImageIndex = 0;
listView1.Items[0].Name = "Piracy Ending";
listView1.Items[0].Text = "Piracy Ending";
}
if (achieved[1] == 1)
{
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;
}

View file

@ -684,6 +684,7 @@
<ItemGroup>
<Content Include="Icon128x.ico" />
<Content Include="Resources\12padams_EULA.txt" />
<None Include="Resources\WinClassic\WinXPClose.png" />
<None Include="Resources\WinClassic\WinXPIE6Icon.png" />
<None Include="Resources\WinClassic\WinXPError.png" />
<None Include="Resources\WinClassic\WinXPPrintersSmall.png" />

View file

@ -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.Visible = false; ie.panel1.Hide(); ie.label1.BackColor = Color.Black;
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;
await Task.Delay(10000);
SaveSystem.SaveAchievement(1);
new AchievementBox(1);
}
public static async void LabelMaker()

View file

@ -38,6 +38,7 @@ private void InitializeComponent()
this.clockPanel = new System.Windows.Forms.Panel();
this.taskbartime = new Histacom2.Engine.UI.ClassicLabel();
this.taskbarItems = new System.Windows.Forms.Panel();
this.classicLabel2 = new Histacom2.Engine.UI.ClassicLabel();
this.startbutton = new System.Windows.Forms.PictureBox();
this.startmenu = new System.Windows.Forms.Panel();
this.pictureBox14 = new System.Windows.Forms.PictureBox();
@ -87,6 +88,7 @@ private void InitializeComponent()
this.panel1.SuspendLayout();
this.taskbar.SuspendLayout();
this.clockPanel.SuspendLayout();
this.taskbarItems.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.startbutton)).BeginInit();
this.startmenu.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).BeginInit();
@ -168,12 +170,25 @@ private void InitializeComponent()
// taskbarItems
//
this.taskbarItems.BackColor = System.Drawing.Color.Transparent;
this.taskbarItems.Controls.Add(this.classicLabel2);
this.taskbarItems.Cursor = System.Windows.Forms.Cursors.Default;
this.taskbarItems.Location = new System.Drawing.Point(105, 4);
this.taskbarItems.Name = "taskbarItems";
this.taskbarItems.Size = new System.Drawing.Size(3606, 22);
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
//
this.startbutton.Image = global::Histacom2.Properties.Resources.WinXPTaskbarStart;
@ -742,6 +757,7 @@ private void InitializeComponent()
this.panel1.ResumeLayout(false);
this.taskbar.ResumeLayout(false);
this.clockPanel.ResumeLayout(false);
this.taskbarItems.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.startbutton)).EndInit();
this.startmenu.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox14)).EndInit();
@ -777,7 +793,6 @@ private void InitializeComponent()
internal System.Windows.Forms.PictureBox startbutton;
internal Histacom2.Engine.UI.ClassicLabel taskbartime;
internal System.Windows.Forms.Panel startmenu;
private System.Windows.Forms.Panel clockPanel;
private System.Windows.Forms.Timer clockTimer;
private System.Windows.Forms.ImageList desktopImages;
internal System.Windows.Forms.ListView desktopicons;
@ -824,5 +839,7 @@ private void InitializeComponent()
private Engine.UI.ClassicStartMenuItem classicStartMenuItem12;
private Engine.UI.ClassicStartMenuItem classicStartMenuItem13;
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

View file

@ -2098,6 +2098,9 @@
<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>
</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">
<value>..\Resources\WinClassic\WinXPError.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>

View file

@ -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>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B