diff options
| author | MichaelTheShifter <[email protected]> | 2016-06-25 21:22:46 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-06-25 21:22:46 -0400 |
| commit | 309f9fe361af7b0a508770951af7c548dfca78ad (patch) | |
| tree | e4303c0d47e0daff6d61a6f934b1aa957e67f93d /source/WindowsFormsApplication1/Engine | |
| parent | 84f689b91a73e512b035df40bbcf556b008a3b81 (diff) | |
| download | shiftos-c--309f9fe361af7b0a508770951af7c548dfca78ad.tar.gz shiftos-c--309f9fe361af7b0a508770951af7c548dfca78ad.tar.bz2 shiftos-c--309f9fe361af7b0a508770951af7c548dfca78ad.zip | |
Added online Hacker Battles with matchmaking system
It's untested, but in theory it'll all work perfectly.
Diffstat (limited to 'source/WindowsFormsApplication1/Engine')
| -rw-r--r-- | source/WindowsFormsApplication1/Engine/Lua_Interp.cs | 12 | ||||
| -rw-r--r-- | source/WindowsFormsApplication1/Engine/SaveSystem.cs | 1 |
2 files changed, 1 insertions, 12 deletions
diff --git a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs index ab87fa7..c4a9162 100644 --- a/source/WindowsFormsApplication1/Engine/Lua_Interp.cs +++ b/source/WindowsFormsApplication1/Engine/Lua_Interp.cs @@ -249,18 +249,6 @@ namespace ShiftOS return new Color(); } }); - mod.speechrec_create = new Func<SpeechListener>(() => - { - return new SpeechListener(); - }); - mod.speechrec_on_recognize = new Action<SpeechListener, string>((obj, func) => - { - obj.OnRecognize += (object s, EventArgs a) => - { - mod($"{func}('{s.ToString()}')"); - }; - obj.Engine.RecognizeAsync(); - }); mod.get_desktop_session = new Func<Form>(() => { return API.CurrentSession; diff --git a/source/WindowsFormsApplication1/Engine/SaveSystem.cs b/source/WindowsFormsApplication1/Engine/SaveSystem.cs index aab5ab2..9381d9b 100644 --- a/source/WindowsFormsApplication1/Engine/SaveSystem.cs +++ b/source/WindowsFormsApplication1/Engine/SaveSystem.cs @@ -34,6 +34,7 @@ namespace SaveSystem public int PriceDivider = 1; public string CloudID = ""; public List<string> CompletedNets = new List<string>(); + public ShiftOS.Online.Hacking.Network MyOnlineNetwork = new ShiftOS.Online.Hacking.Network(); } public class PrivateBitnoteAddress |
