aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-10-26 00:03:57 -0400
committerlempamo <[email protected]>2017-10-26 00:03:57 -0400
commite99433e1932c780c6b369ed656c26a11da41fe73 (patch)
tree3ffb2350e1c0cd66ec88bc7ba5fa657a9ae84a60
parent3f1435fb70ce39e087a7c0aaf73a90fcafb78637 (diff)
downloadhistacom2-e99433e1932c780c6b369ed656c26a11da41fe73.tar.gz
histacom2-e99433e1932c780c6b369ed656c26a11da41fe73.tar.bz2
histacom2-e99433e1932c780c6b369ed656c26a11da41fe73.zip
more hack4 stuff
-rw-r--r--Histacom2.Engine/Histacom2.Engine.csproj2
-rw-r--r--Histacom2.Engine/Paintbrush.cs5
-rw-r--r--Histacom2.Engine/Resources/WinXP/Window/WinXP_TopBar.pngbin241 -> 1452 bytes
-rw-r--r--Histacom2.Engine/UI/ClassicButton.cs2
-rw-r--r--Histacom2.Engine/WindowManager.cs2
-rw-r--r--Histacom2/OS/WinXPBad/Story/Hack4.cs20
6 files changed, 27 insertions, 4 deletions
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 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <PlatformTarget>x86</PlatformTarget>
+ <PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
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 @@ namespace Histacom2.Engine
e.Graphics.DrawLine(new Pen(foreColor), 4, height / 2, width - 4, height / 2);
}
+ /// <summary>
+ /// Get a color lighter than the input color.
+ /// </summary>
+ /// <param name="basecolor">The color to lighten.</param>
+ /// <returns></returns>
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
--- a/Histacom2.Engine/Resources/WinXP/Window/WinXP_TopBar.png
+++ b/Histacom2.Engine/Resources/WinXP/Window/WinXP_TopBar.png
Binary files 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 @@ namespace Histacom2.Engine.UI
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 @@ namespace Histacom2.Engine
{
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 @@ namespace Histacom2.OS.WinXPBad.Story
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...");
}
}
}