aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main
diff options
context:
space:
mode:
authorJayXKanz666 <[email protected]>2017-07-13 02:22:31 +0200
committerJayXKanz666 <[email protected]>2017-07-13 02:22:31 +0200
commitb4730c9eff5a05ae0e8b2f122b7b0929e66e0640 (patch)
tree6378992ecc461577dc2694c6429cb872517f3f39 /TimeHACK.Main
parent09ce8069a909b465f2c8c9da02df0658ffe88dc5 (diff)
parent884a0a8c076804dee3fe4b0d9ff8c7690ec7a7c6 (diff)
downloadhistacom2-b4730c9eff5a05ae0e8b2f122b7b0929e66e0640.tar.gz
histacom2-b4730c9eff5a05ae0e8b2f122b7b0929e66e0640.tar.bz2
histacom2-b4730c9eff5a05ae0e8b2f122b7b0929e66e0640.zip
Merge remote-tracking branch 'refs/remotes/TimeHACKDevs/master'
Diffstat (limited to 'TimeHACK.Main')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs4
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs17
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs2
-rw-r--r--TimeHACK.Main/SaveDialogs/NewGameDialog.Designer.cs2
4 files changed, 19 insertions, 6 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index 6cae472..442091e 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -20,6 +20,7 @@ namespace TimeHACK.OS.Win95
public List<WinClassic> nonimportantapps = new List<WinClassic>();
public WinClassic webchat;
public WinClassic ie;
+ public WinClassicTimeDistorter distort;
public TaskBarController tb = new TaskBarController();
public int currentappcount = 0;
@@ -429,7 +430,8 @@ namespace TimeHACK.OS.Win95
private void TimeDistorterToolStripMenuItem_Click(object sender, EventArgs e)
{
- WinClassic app = wm.StartWin95(new WinClassicTimeDistorter("1998", "1999", 160, Hack2.StartObjective), "Time Distorter", null, false, true);
+ distort = new WinClassicTimeDistorter("1998", "1999", 160, Hack2.StartObjective);
+ WinClassic app = wm.StartWin95(distort, "Time Distorter", null, false, true);
AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null);
app.BringToFront();
startmenu.Hide();
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs
index 470a240..c4492b2 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs
@@ -5,7 +5,7 @@ using TimeHACK.Engine.Template;
namespace TimeHACK.OS.Win95.Win95Apps.Story
{
- public class Hack2 : Object
+ public class Hack2 : object
{
static WindowManager wm = new WindowManager();
@@ -26,7 +26,9 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story
await Task.Delay(4500);
Console.WriteLine("12padams> And use it to hack my website..");
await Task.Delay(3500);
- Console.WriteLine("12padams> Oh, and I know you pressed it.");
+ Console.WriteLine("12padams> Then you download my secret Time Distorter program?");
+ await Task.Delay(4000);
+ Console.WriteLine("12padams> Oh, and I know you activated it.");
await Task.Delay(4000);
Console.WriteLine("12padams> I can see your screen right now..");
await Task.Delay(3500);
@@ -41,11 +43,15 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story
Console.WriteLine("12padams> Okay, let me show you how easy this is.");
await Task.Delay(1500);
Console.WriteLine("Command> Hide Start Button");
+ TitleScreen.frm95.startbutton.Hide();
await Task.Delay(3500);
Console.WriteLine("12padams> See how easy that was?");
await Task.Delay(3700);
Console.WriteLine("12padams> Now watch this..");
- await Task.Delay(3500);
+ await Task.Delay(3000);
+ TitleScreen.frm95.desktopicons.BackgroundImage = Properties.Resources.Win95Error;
+ TitleScreen.frm95.BackgroundImage = null;
+ await Task.Delay(3000);
Console.WriteLine("12padams> Hahaha, having a few errors are we?");
await Task.Delay(2500);
Console.WriteLine("telnet> 104.27.135.159 Connecting...");
@@ -73,10 +79,12 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story
Console.WriteLine("The Hidden Hacker> Let me fix this..");
await Task.Delay(2500);
Console.WriteLine("Command> Show Start Button");
+ TitleScreen.frm95.startbutton.Show();
await Task.Delay(2900);
Console.WriteLine("12padams> OKAY, NOW YOU'VE DONE IT!");
await Task.Delay(2500);
Console.WriteLine("Command> Stop Timer");
+ TitleScreen.frm95.distort.lblCountDown.Hide();
await Task.Delay(3000);
Console.WriteLine("12padams> I bet you didn't see that one coming..");
await Task.Delay(3700);
@@ -89,6 +97,7 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story
Console.WriteLine("The Hidden Hacker> Oh, is it? Well, watch this!");
await Task.Delay(2500);
Console.WriteLine("Command> Show Timer");
+ TitleScreen.frm95.distort.lblCountDown.Show();
await Task.Delay(3000);
Console.WriteLine("The Hidden Hacker> And here's one more command for you to learn.");
await Task.Delay(1700);
@@ -97,6 +106,8 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story
Console.WriteLine("telnet> 12padams Disconnected.");
await Task.Delay(3000);
Console.WriteLine($"The Hidden Hacker> Good luck {SaveSystem.ProfileName}! I'll see you in the future!");
+ await Task.Delay(3500);
+ app.Close();
}
}
}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs
index e8397b6..8ea1805 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs
@@ -153,7 +153,7 @@
private System.Windows.Forms.Label lblYear;
private System.Windows.Forms.Label lblTo;
private System.Windows.Forms.Button btnGo;
- private System.Windows.Forms.Label lblCountDown;
+ internal System.Windows.Forms.Label lblCountDown;
private System.Windows.Forms.Timer countDownTimer;
}
}
diff --git a/TimeHACK.Main/SaveDialogs/NewGameDialog.Designer.cs b/TimeHACK.Main/SaveDialogs/NewGameDialog.Designer.cs
index e58e0a7..e8163af 100644
--- a/TimeHACK.Main/SaveDialogs/NewGameDialog.Designer.cs
+++ b/TimeHACK.Main/SaveDialogs/NewGameDialog.Designer.cs
@@ -51,7 +51,7 @@
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(70, 13);
this.label1.TabIndex = 1;
- this.label1.Text = "Profile Name:";
+ this.label1.Text = "Profile Name (username):";
//
// btnOk
//