diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-04-27 16:50:49 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-04-27 16:50:49 +0000 |
commit | d2c6680bc0c2354b6c972402951b6118bf6843af (patch) | |
tree | eaebc6af487c3de344ab8af4a0ea8ddf0237b055 /Lua/src/base/UMain.pas | |
parent | bb273547540d3ee260456ad01b298bacac00f2ea (diff) | |
download | usdx-d2c6680bc0c2354b6c972402951b6118bf6843af.tar.gz usdx-d2c6680bc0c2354b6c972402951b6118bf6843af.tar.xz usdx-d2c6680bc0c2354b6c972402951b6118bf6843af.zip |
first attempt to implement the lua wrapper for party game
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1702 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Lua/src/base/UMain.pas | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lua/src/base/UMain.pas b/Lua/src/base/UMain.pas index 1bd96d41..57ad01a1 100644 --- a/Lua/src/base/UMain.pas +++ b/Lua/src/base/UMain.pas @@ -189,6 +189,7 @@ uses ULuaLog, ULuaTexture, ULuaTextGL, + ULuaParty, UThemes; @@ -419,10 +420,13 @@ begin chr(0)) ); } + Party := TPartyGame.Create; + LuaCore := TLuaCore.Create; LuaCore.RegisterModule('Log', ULuaLog_Lib_f); LuaCore.RegisterModule('Gl', ULuaGl_Lib_f); + LuaCore.RegisterModule('Party', ULuaParty_Lib_f); LuaCore.BrowseDir(PluginPath); LuaCore.DumpPlugins; |