aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/base
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-04-17 16:45:41 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-04-17 16:45:41 +0000
commita7d1d94cbae98f8cd804f453d24bd8036e314518 (patch)
tree0f59b9ac6d4bd4dff2c9469b21370bcd5d606efd /Lua/src/base
parent44d215e69d768b32c26f62b711baaf41b36fe1ea (diff)
downloadusdx-a7d1d94cbae98f8cd804f453d24bd8036e314518.tar.gz
usdx-a7d1d94cbae98f8cd804f453d24bd8036e314518.tar.xz
usdx-a7d1d94cbae98f8cd804f453d24bd8036e314518.zip
lua plugin interface implemented
it offers some basic environment to the loaded plugins see ./game/plugins/PluginDescription.odt for further explantation. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1674 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Lua/src/base')
-rw-r--r--Lua/src/base/UMain.pas11
1 files changed, 9 insertions, 2 deletions
diff --git a/Lua/src/base/UMain.pas b/Lua/src/base/UMain.pas
index 2da1ca39..d0a9afee 100644
--- a/Lua/src/base/UMain.pas
+++ b/Lua/src/base/UMain.pas
@@ -183,6 +183,8 @@ uses
UGraphicClasses,
UPluginDefs,
UPlatform,
+ ULuaCore,
+ UHookableEvent,
ULuaGl,
ULuaLog,
ULuaTexture,
@@ -417,8 +419,13 @@ begin
chr(0))
); }
- Log.LogStatus('Running Core', 'Initialization');
- //Core.Run;
+ LuaCore := TLuaCore.Create;
+
+
+ LuaCore.BrowseDir(PluginPath);
+ LuaCore.DumpPlugins;
+
+
//------------------------------
//Start- Mainloop