From 309f9fe361af7b0a508770951af7c548dfca78ad Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Sat, 25 Jun 2016 21:22:46 -0400 Subject: Added online Hacker Battles with matchmaking system It's untested, but in theory it'll all work perfectly. --- source/WindowsFormsApplication1/Engine/Lua_Interp.cs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source/WindowsFormsApplication1/Engine/Lua_Interp.cs') 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(() => - { - return new SpeechListener(); - }); - mod.speechrec_on_recognize = new Action((obj, func) => - { - obj.OnRecognize += (object s, EventArgs a) => - { - mod($"{func}('{s.ToString()}')"); - }; - obj.Engine.RecognizeAsync(); - }); mod.get_desktop_session = new Func
(() => { return API.CurrentSession; -- cgit v1.2.3