diff options
| author | Gabriel Enrico Augusto Rocha <Gabriel Enrico Augusto Rocha> | 2016-07-19 22:53:39 -0400 |
|---|---|---|
| committer | Gabriel Enrico Augusto Rocha <Gabriel Enrico Augusto Rocha> | 2016-07-19 22:53:39 -0400 |
| commit | 8e40410b8066a5c0ce58b4a9956a7a0c7f7e1493 (patch) | |
| tree | 76b34d07af60160d37bc68976774b05490b1e20a /source/WindowsFormsApplication1/Apps/Terminal.cs | |
| parent | 75516ee42dfb89cbe60cb3d1f0121381bc39317f (diff) | |
| download | shiftos-c--8e40410b8066a5c0ce58b4a9956a7a0c7f7e1493.tar.gz shiftos-c--8e40410b8066a5c0ce58b4a9956a7a0c7f7e1493.tar.bz2 shiftos-c--8e40410b8066a5c0ce58b4a9956a7a0c7f7e1493.zip | |
Added cheat Command
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/Terminal.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Apps/Terminal.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/WindowsFormsApplication1/Apps/Terminal.cs b/source/WindowsFormsApplication1/Apps/Terminal.cs index 944b333..8293283 100644 --- a/source/WindowsFormsApplication1/Apps/Terminal.cs +++ b/source/WindowsFormsApplication1/Apps/Terminal.cs @@ -1,4 +1,5 @@ using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.ComponentModel; @@ -1632,6 +1633,20 @@ Password: z7fjsd3"); wrongcommand(); } break; + case "cheat": + if (API.DeveloperMode) + { + WriteLine("Opening..."); + + //Apps.Cheats chts = new Apps.Cheats(); + //chts.Show(); + API.CreateForm(new Apps.Cheats(), "Cheats", API.GetIcon("Terminal")); + } + else + { + wrongcommand(); + } + break; case "netgen": WriteLine("Starting netgen..."); API.CreateForm(new NetGen(), "Network Generator", API.GetIcon("Terminal")); |
