diff --git a/DepthsBelow/DepthsBelow/App.config b/DepthsBelow/DepthsBelow/App.config
new file mode 100755
index 0000000..2ae22ed
--- /dev/null
+++ b/DepthsBelow/DepthsBelow/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DepthsBelow/DepthsBelow/Core.cs b/DepthsBelow/DepthsBelow/Core.cs
index 72f58cf..a9ad307 100755
--- a/DepthsBelow/DepthsBelow/Core.cs
+++ b/DepthsBelow/DepthsBelow/Core.cs
@@ -57,6 +57,9 @@ namespace DepthsBelow
///
protected override void Initialize()
{
+ // TEST LUA
+ new Lua();
+
// TODO: Add your initialization logic here
Camera = new Camera(this);
Squad = new List();
diff --git a/DepthsBelow/DepthsBelow/DepthsBelow.csproj b/DepthsBelow/DepthsBelow/DepthsBelow.csproj
index f85399d..8de7c25 100644
--- a/DepthsBelow/DepthsBelow/DepthsBelow.csproj
+++ b/DepthsBelow/DepthsBelow/DepthsBelow.csproj
@@ -73,6 +73,13 @@
true
+
+ ..\..\LuaInterface\lua51.dll
+
+
+ ..\..\LuaInterface\LuaInterface.dll
+ False
+
False
@@ -123,6 +130,7 @@
+
@@ -191,6 +199,7 @@
+
diff --git a/DepthsBelow/DepthsBelow/Lua.cs b/DepthsBelow/DepthsBelow/Lua.cs
new file mode 100755
index 0000000..46c45ef
--- /dev/null
+++ b/DepthsBelow/DepthsBelow/Lua.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Microsoft.Xna.Framework.Input;
+
+namespace DepthsBelow
+{
+ class Lua
+ {
+ public Lua()
+ {
+ LuaInterface.Lua lua = new LuaInterface.Lua();
+
+ lua.RegisterFunction("GetKeyboardState", null, typeof(DepthsBelow.Lua).GetMethod("GetKeyboardState"));
+ object[] ret = lua.DoString("return GetKeyboardState()");
+ Console.WriteLine(((KeyboardState)ret[0]).ToString());
+ }
+
+ public KeyboardState GetKeyboardState()
+ {
+ return Keyboard.GetState();
+ }
+
+
+ }
+}
diff --git a/LuaInterface/LuaInterface.dll b/LuaInterface/LuaInterface.dll
new file mode 100755
index 0000000..f0bc7c8
Binary files /dev/null and b/LuaInterface/LuaInterface.dll differ
diff --git a/LuaInterface/lua51.dll b/LuaInterface/lua51.dll
new file mode 100755
index 0000000..5752908
Binary files /dev/null and b/LuaInterface/lua51.dll differ