diff options
| author | lempamo <[email protected]> | 2017-08-08 15:42:50 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-08-08 15:42:50 -0400 |
| commit | 1d56f20e085a041c007fb7ac1fd64c7b8aabfa0f (patch) | |
| tree | 40562ddc80dda0c2372c97d6a0a7622c90e19654 /TimeHACK.Main | |
| parent | ebe1b011db93d47b7a29b8b4d1e371b1a97bffce (diff) | |
| download | histacom2-1d56f20e085a041c007fb7ac1fd64c7b8aabfa0f.tar.gz histacom2-1d56f20e085a041c007fb7ac1fd64c7b8aabfa0f.tar.bz2 histacom2-1d56f20e085a041c007fb7ac1fd64c7b8aabfa0f.zip | |
time distorter transition part 1
Diffstat (limited to 'TimeHACK.Main')
5 files changed, 70 insertions, 5 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs index 7d05dba..4e5511a 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs @@ -76,6 +76,7 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story await Task.Delay(2500); Console.WriteLine("Command> Show Start Button"); TitleScreen.frm95.startbutton.Show(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; await Task.Delay(2900); Console.WriteLine("12padams> OKAY, NOW YOU'VE DONE IT!"); await Task.Delay(2500); @@ -92,18 +93,64 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story await Task.Delay(3000); Console.WriteLine("The Hidden Hacker> Oh, is it? Well, watch this!"); await Task.Delay(2500); + TitleScreen.frm95.distort.Counter = 14; 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); + await Task.Delay(2000); Console.WriteLine("Command> Disconnect 12padams"); await Task.Delay(2000); 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); + await Task.Delay(4000); + + while (TitleScreen.frm95.distort.Counter != 0) { } + TitleScreen.frm95.distort.lblCountDown.Text = "Initiating Time Travel Sequence..."; + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); + await Task.Delay(100); + Program.Invert(Console.cmdPrompt); app.Close(); + await Task.Delay(1000); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + Program.Invert(TitleScreen.frm95.taskbar, false); + await Task.Delay(100); + TitleScreen.frm95.taskbar.Hide(); } } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.Designer.cs index 184b7f5..5f6c2d3 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.Designer.cs @@ -195,8 +195,6 @@ } #endregion - - private System.Windows.Forms.RichTextBox cmdPrompt; private System.Windows.Forms.Panel actionPanel; private System.Windows.Forms.Button btnFont; private System.Windows.Forms.Button btnCopy; @@ -206,5 +204,6 @@ private System.Windows.Forms.Button btnPaste; private System.Windows.Forms.Button btnMark; private System.Windows.Forms.ComboBox sizeSel; + internal System.Windows.Forms.RichTextBox cmdPrompt; } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx index 9dc3679..1af7de1 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> - <root> <!-- Microsoft ResX Schema diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs index e2c8d64..f7776b1 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs @@ -22,6 +22,12 @@ namespace TimeHACK.OS.Win95 _counter = counter; } + public int Counter + { + get { return _counter; } + set { _counter = value; } + } + private void btnGo_Click(object sender, EventArgs e) { lblCountDown.Visible = true; diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs index cba20d6..258d6c4 100644 --- a/TimeHACK.Main/Program.cs +++ b/TimeHACK.Main/Program.cs @@ -104,5 +104,19 @@ namespace TimeHACK { Program.nonimportantapps.Remove((WinClassic)sender); } + + public static void Invert(Control c, bool forecolor = true, bool backcolor = true) + { + if (backcolor) + { + if (c.BackColor == Color.Black) c.BackColor = Color.White; + else c.BackColor = Color.Black; + } + if (forecolor) + { + if (c.ForeColor == Color.White || c.ForeColor == Color.Silver) c.ForeColor = Color.Black; + else c.ForeColor = Color.White; + } + } } } |
