diff options
| author | william341 <[email protected]> | 2016-07-23 13:33:28 -0700 |
|---|---|---|
| committer | william341 <[email protected]> | 2016-07-23 13:33:28 -0700 |
| commit | bfe5bb2b107aabdb5b071a06ad430b20403e986f (patch) | |
| tree | ce2f27c5cac160c19b954a72847b1ec62c55c061 /source/WindowsFormsApplication1 | |
| parent | dec9a4413664a362efd2e81452bf19ce37b87931 (diff) | |
| download | shiftos-c--bfe5bb2b107aabdb5b071a06ad430b20403e986f.tar.gz shiftos-c--bfe5bb2b107aabdb5b071a06ad430b20403e986f.tar.bz2 shiftos-c--bfe5bb2b107aabdb5b071a06ad430b20403e986f.zip | |
Terminal tweaks and no more beeping
Diffstat (limited to 'source/WindowsFormsApplication1')
| -rw-r--r-- | source/WindowsFormsApplication1/Apps/Terminal.cs | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/source/WindowsFormsApplication1/Apps/Terminal.cs b/source/WindowsFormsApplication1/Apps/Terminal.cs index 356e3de..60fa066 100644 --- a/source/WindowsFormsApplication1/Apps/Terminal.cs +++ b/source/WindowsFormsApplication1/Apps/Terminal.cs @@ -116,6 +116,12 @@ namespace ShiftOS tmrshutdown.Tick += new EventHandler(tmrshutdown_Tick); if (Hacking == false) { + WriteLine("ShiftOS v" + ProductVersion + ""); + WriteLine("Copyright 2014-2016 ShiftOS Developers."); + WriteLine("Type 'credits' in terminal to show credits."); + WriteLine(" "); + WriteLine("SHIFTOS IS IN EARLY ALPHA."); + WriteLine("THIS SOFTWARE DOES NOT PROVIDE A WARRANTY OF ANY KIND."); WriteLine(prefix); } txtterm.Select(txtterm.TextLength, 0); @@ -1282,7 +1288,7 @@ Password: z7fjsd3"); /// <param name="time">Time to sleep.</param> private void BeepSleep(int time) { - API.PlaySound(Properties.Resources.writesound); + //API.PlaySound(Properties.Resources.writesound); Thread.Sleep(time); } @@ -2730,54 +2736,54 @@ HIJACKER is a utility that allows you to hijack any system and install ShiftOS o 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(); |
