diff options
| author | Michael VanOverbeek <[email protected]> | 2016-07-23 04:04:59 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-07-23 04:04:59 -0700 |
| commit | c2acf569185ddd628b591e1b149da74dd301e93d (patch) | |
| tree | 877609d943482fe750ceb47aab9fc682d793b8de /source/WindowsFormsApplication1/Apps/Terminal.cs | |
| parent | 03926af3d13399347ddb06e7c52e79e4195fff22 (diff) | |
| parent | 2104517219cd3913bfad316d81f5f72272fe2b2f (diff) | |
| download | shiftos-c--c2acf569185ddd628b591e1b149da74dd301e93d.tar.gz shiftos-c--c2acf569185ddd628b591e1b149da74dd301e93d.tar.bz2 shiftos-c--c2acf569185ddd628b591e1b149da74dd301e93d.zip | |
Merge pull request #14 from ComputeLinux/master
Miscellaneous improvements
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/Terminal.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Apps/Terminal.cs | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/source/WindowsFormsApplication1/Apps/Terminal.cs b/source/WindowsFormsApplication1/Apps/Terminal.cs index 4fb6899..3d0e2b8 100644 --- a/source/WindowsFormsApplication1/Apps/Terminal.cs +++ b/source/WindowsFormsApplication1/Apps/Terminal.cs @@ -58,6 +58,7 @@ namespace ShiftOS tmrshutdown.Tick += new EventHandler(tmrshutdown_Tick); if (Hacking == false) { + WriteLine("ShiftOS Alpha. (C) ShiftOS Contributors."); WriteLine(prefix); } txtterm.Select(txtterm.TextLength, 0); @@ -97,7 +98,6 @@ namespace ShiftOS StartLogCheck(); tmrsetfont.Start(); - } @@ -151,13 +151,13 @@ namespace ShiftOS WriteLine("User <65.48.121.24> connecting as 'Dana'"); API.PlaySound(Properties.Resources.dial_up_modem_02); WriteLine("Dana: Hey! That was quite the battle, huh?"); - BeepSleep(1000); + //BeepSleep(1000); WriteLine("Dana: Well - since you beat me, let me let you in on a little secret."); - BeepSleep(3000); + //BeepSleep(3000); WriteLine("Dana: ShiftOS's desktop may seem pretty complicated and customizable for you right now, but trust me. It gets better."); - BeepSleep(2500); + //BeepSleep(2500); WriteLine("Dana: I'm gonna patch your Shiftorium so you can get some neat upgrades!"); - BeepSleep(3000); + //BeepSleep(3000); WriteLine("Dana: Also, if you feel like doing more hacker battles, why not check out Tier 2 in the Network Browser?"); BeepSleep(2750); WriteLine("Dana: I've also added my network modules to your network - you'll just have to wait for them to regenerate."); @@ -513,7 +513,7 @@ namespace ShiftOS private void BeepSleep(int time) { API.PlaySound(Properties.Resources.writesound); - Thread.Sleep(time); + //Thread.Sleep(time); } private LuaInterpreter Interpreter = null; @@ -2016,58 +2016,58 @@ HIJACKER is a utility that allows you to hijack any system and install ShiftOS o break; case 2: txtterm.Text = txtterm.Text + "IP 199.108.232.1 Connecting..." + Environment.NewLine + "User@" + SaveSystem.Utilities.LoadedSave.osname + " $> "; - API.PlaySound(Properties.Resources.dial_up_modem_02); + //API.PlaySound(Properties.Resources.dial_up_modem_02); break; case 12: txtterm.Text = txtterm.Text + "IP 199.108.232.1 Connected!" + Environment.NewLine + "User@" + SaveSystem.Utilities.LoadedSave.osname + " $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 15: txtterm.Text = txtterm.Text + "DevX: Hi, my name is DevX and you are now using an early version of my operating system \"ShiftOS\"." + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 22: txtterm.Text = txtterm.Text + "DevX: Currently the terminal is open and I am using it to communicate with you remotely." + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 28: txtterm.Text = txtterm.Text + "DevX: ShiftOS is going to be the most revolutionary operating system in the world that will run on every electronic device you can think of." + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 36: txtterm.Text = txtterm.Text + "DevX: I can't tell you much about my future plans right now but if you can help me then I may tell you more in future" + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 44: txtterm.Text = txtterm.Text + "DevX: ShiftOS is barely usable in it's current state so I need you to help me evolve it using codepoints" + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 50: txtterm.Text = txtterm.Text + "DevX: Once you acquire codepoints you can use them to upgrade certain components of ShiftOS or add new software" + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 59: txtterm.Text = txtterm.Text + "DevX: I'll close the terminal now and send you to the blank ShiftOS desktop" + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + ///API.PlaySound(Properties.Resources.writesound); break; case 65: txtterm.Text = txtterm.Text + "DevX: You can open and close the terminal at any time by pressing CTRL + T" + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 70: txtterm.Text = txtterm.Text + "DevX: Once you are on the desktop open the terminal, type \"help\" and then press enter for a guide on using ShiftOS" + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 80: txtterm.Text = txtterm.Text + "DevX: Gotta run now but I'll contact you soon to see how you are going with evolving ShiftOS for me while I... Work on something else" + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 89: txtterm.Text = txtterm.Text + "DevX: Remember to always click the black desktop first and then press press CTRL + T to open the terminal otherwise the terminal won't open!" + Environment.NewLine + "User@ShiftOS $> "; - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); break; case 94: - API.PlaySound(Properties.Resources.typesound); + //API.PlaySound(Properties.Resources.typesound); txtterm.Text = "User@" + SaveSystem.Utilities.LoadedSave.osname + " $> "; tmrfirstrun.Stop(); this.Close(); @@ -2956,5 +2956,10 @@ Password: z7fjsd3"); }; t.Start(); } + + private void txtterm_TextChanged(object sender, EventArgs e) + { + + } } } |
