diff --git a/Histacom2.Engine/Histacom2.Engine.csproj b/Histacom2.Engine/Histacom2.Engine.csproj index 6abc85d..6f852ed 100644 --- a/Histacom2.Engine/Histacom2.Engine.csproj +++ b/Histacom2.Engine/Histacom2.Engine.csproj @@ -20,7 +20,7 @@ DEBUG;TRACE prompt 4 - x86 + AnyCPU pdbonly diff --git a/Histacom2.Engine/Paintbrush.cs b/Histacom2.Engine/Paintbrush.cs index cab493a..923d836 100644 --- a/Histacom2.Engine/Paintbrush.cs +++ b/Histacom2.Engine/Paintbrush.cs @@ -46,6 +46,11 @@ public static void ExtendedToolStripSeparator_Paint(object sender, PaintEventArg e.Graphics.DrawLine(new Pen(foreColor), 4, height / 2, width - 4, height / 2); } + /// + /// Get a color lighter than the input color. + /// + /// The color to lighten. + /// public static Color GetLightFromColor(Color basecolor) { if (basecolor == Color.Silver) return Color.White; diff --git a/Histacom2.Engine/Resources/WinXP/Window/WinXP_TopBar.png b/Histacom2.Engine/Resources/WinXP/Window/WinXP_TopBar.png index b251673..4ed8242 100644 Binary files a/Histacom2.Engine/Resources/WinXP/Window/WinXP_TopBar.png and b/Histacom2.Engine/Resources/WinXP/Window/WinXP_TopBar.png differ diff --git a/Histacom2.Engine/UI/ClassicButton.cs b/Histacom2.Engine/UI/ClassicButton.cs index 4ccdbe6..683b71b 100644 --- a/Histacom2.Engine/UI/ClassicButton.cs +++ b/Histacom2.Engine/UI/ClassicButton.cs @@ -94,7 +94,7 @@ public void NotifyDefault(bool value) public void PerformClick() { - this.OnClick(new EventArgs()); + OnClick(EventArgs.Empty); } } } diff --git a/Histacom2.Engine/WindowManager.cs b/Histacom2.Engine/WindowManager.cs index 6dacee4..4829154 100644 --- a/Histacom2.Engine/WindowManager.cs +++ b/Histacom2.Engine/WindowManager.cs @@ -112,7 +112,7 @@ public WinXP InitXP(UserControl content, string title, Image icon, bool MaxButto { app.programIcon.Hide(); app.programIcon.Image = Properties.Resources.nullIcon; - app.programname.Location = new Point(6, 6); + app.programname.Location = new Point(3, 6); } else app.programIcon.Image = icon; diff --git a/Histacom2/OS/WinXPBad/Story/Hack4.cs b/Histacom2/OS/WinXPBad/Story/Hack4.cs index bf6e6c9..70b80aa 100644 --- a/Histacom2/OS/WinXPBad/Story/Hack4.cs +++ b/Histacom2/OS/WinXPBad/Story/Hack4.cs @@ -22,7 +22,25 @@ public static async void StartObjective() await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 Connected."); await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 set hostname to 'TheHiddenHacker'."); await Task.Delay(2500); Console.WriteLine("TheHiddenHacker> STOP!"); - await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> DON'T OPEN INTERNET EXPLORER!"); + await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> DON'T OPEN INTERNET EXPLORER!"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> the whole web is infected with a virus"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> and if you open internet explorer, your pc will get infected!"); + await Task.Delay(2500); Console.WriteLine("TheHiddenHacker> trust me"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> now i have a lot of things to tell you, so pay attention"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> the world is in chaos, and it all started back in 1999, right when you left"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> as you know, 12padams told me to let him know when you got to 2000"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> and he believed that you would get there without any problems"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> but, as you saw, you ended up travelling to 2002 instead of 2000"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> 2000 came and went, and when you never showed up"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> 12padams refused to believe that his program failed"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> and so he thought that you did make it to 2000 and i was hiding you"); + await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> and he lost complete trust in me"); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> later, in march 2001, 12padams made viruses to try to infect my pc"); + await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> not only because he lost trust in me, but i also had the latest version of the time distorter"); + await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> thankfully, i avoided those early viruses"); + await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> but then, he released something dastardly"); + await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> a virus that infected every single website, and people who visited infected websites got their computers infected and rendered unusable"); + await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> now, its 2002. every website is infected, and 12padams has disappeared..."); } } }