aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorwilliam341 <[email protected]>2016-07-23 13:33:28 -0700
committerwilliam341 <[email protected]>2016-07-23 13:33:28 -0700
commitbfe5bb2b107aabdb5b071a06ad430b20403e986f (patch)
treece2f27c5cac160c19b954a72847b1ec62c55c061 /source
parentdec9a4413664a362efd2e81452bf19ce37b87931 (diff)
downloadshiftos-c--bfe5bb2b107aabdb5b071a06ad430b20403e986f.tar.gz
shiftos-c--bfe5bb2b107aabdb5b071a06ad430b20403e986f.tar.bz2
shiftos-c--bfe5bb2b107aabdb5b071a06ad430b20403e986f.zip
Terminal tweaks and no more beeping
Diffstat (limited to 'source')
-rw-r--r--source/ShiftUI Designer/ShiftUI Designer.csproj2
-rw-r--r--source/WindowsFormsApplication1/Apps/Terminal.cs34
2 files changed, 21 insertions, 15 deletions
diff --git a/source/ShiftUI Designer/ShiftUI Designer.csproj b/source/ShiftUI Designer/ShiftUI Designer.csproj
index 9a748d7..e2f01ac 100644
--- a/source/ShiftUI Designer/ShiftUI Designer.csproj
+++ b/source/ShiftUI Designer/ShiftUI Designer.csproj
@@ -51,7 +51,7 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\..\ShiftOS-C-\source\WindowsFormsApplication1\ShiftOS.csproj">
+ <ProjectReference Include="..\WindowsFormsApplication1\ShiftOS.csproj">
<Project>{00be72d0-b744-48ba-9c60-bc429757fc32}</Project>
<Name>ShiftOS</Name>
</ProjectReference>
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();