aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Engine
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-06-25 21:22:46 -0400
committerMichaelTheShifter <[email protected]>2016-06-25 21:22:46 -0400
commit309f9fe361af7b0a508770951af7c548dfca78ad (patch)
treee4303c0d47e0daff6d61a6f934b1aa957e67f93d /source/WindowsFormsApplication1/Engine
parent84f689b91a73e512b035df40bbcf556b008a3b81 (diff)
downloadshiftos-c-_theultimatehacker-309f9fe361af7b0a508770951af7c548dfca78ad.tar.gz
shiftos-c-_theultimatehacker-309f9fe361af7b0a508770951af7c548dfca78ad.tar.bz2
shiftos-c-_theultimatehacker-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.cs12
-rw-r--r--source/WindowsFormsApplication1/Engine/SaveSystem.cs1
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