aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* added ScreenSing modulewhiteshark02009-05-221-0/+105
| | | | | | | | | added call of party modes OnSing 2 new lua functions: ScreenSing.GetScores() ScreenSing.Finish git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1756 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix crash in last revision when an error is raised during plugin_initwhiteshark02009-05-171-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1750 b956fd51-792f-4845-bead-9b4dfca2ff2c
* better error reporting during plugin loadwhiteshark02009-05-171-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1749 b956fd51-792f-4845-bead-9b4dfca2ff2c
* new party round ranking systemwhiteshark02009-05-161-9/+43
| | | | | | | | if 3 teams play winner(s) gets 3 points, those who placed second gets 1 point. (third 0 points ;) Usdx.Party.SetWinner renamed to Usdx.Party.SetRoundRanking UParty and ULuaParty adapted to new system git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1740 b956fd51-792f-4845-bead-9b4dfca2ff2c
* resolve some warningswhiteshark02009-05-162-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1735 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some minor fixes in lua party functionswhiteshark02009-05-161-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1734 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some crash preventionwhiteshark02009-05-161-7/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1733 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add Lua_GetOwner to ULuaUtils (function returns plugin by lua state)whiteshark02009-05-164-54/+121
| | | | | | | use new function in ULuaParty and ULuaUsdx new lua function: Usdx.ShutMeDown to give plugins the ability to unload git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1732 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed bug in UHookableEvent that caused a crash when owning plugin of last ↵whiteshark02009-05-161-3/+6
| | | | | | hook is unloaded git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1730 b956fd51-792f-4845-bead-9b4dfca2ff2c
* svn properties changedwhiteshark02009-05-135-10/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1723 b956fd51-792f-4845-bead-9b4dfca2ff2c
* automaticaly remove hooks from unloaded pluginswhiteshark02009-05-041-1/+23
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1712 b956fd51-792f-4845-bead-9b4dfca2ff2c
* prevent functions from plugins w/ unopened lua state from being calledwhiteshark02009-05-041-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1711 b956fd51-792f-4845-bead-9b4dfca2ff2c
* old lua test stuff by hawkear removed or commentedwhiteshark02009-05-045-72/+237
| | | | | | | | | | | | | new function: Party.SetWinner sets winner of current round new unit ULuaUtils w/ some functions that are or may become useful moved Lua_ClearStack and Lua_ToBinInt to ULuaUtils added first hooks (have a look at hooks.txt in game/plugins until documentation is finished) lua module for TextGl written and finished lua testfile (game/scripts/main.lua) ported to new interface, see game/plugins/LuaTest.usdx git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1709 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Display.AbortScreenChange added (used in ScreenSing and ScreenPartyOptions)whiteshark02009-05-022-9/+8
| | | | | | | some minor fixes in UParty, ULuaParty and ULuaUsdx adapting of UScreenPartyNewRound, UScreenPartyPlayer and UScreenPartyOption nearly finished git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1705 b956fd51-792f-4845-bead-9b4dfca2ff2c
* first attempt to implement the lua wrapper for party gamewhiteshark02009-04-271-0/+368
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1702 b956fd51-792f-4845-bead-9b4dfca2ff2c
* lua gl lib functions by hawkear copied to interface partwhiteshark02009-04-201-45/+88
| | | | | | => gl can be loaded by plugins with require git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1690 b956fd51-792f-4845-bead-9b4dfca2ff2c
* hookable event nearly finished(unhook function missing)whiteshark02009-04-203-37/+121
| | | | | | | plugin Id now written to the lua states registry Usdx.Version added, Usdx.Hook added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1689 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed lua module loadingwhiteshark02009-04-193-30/+125
| | | | | | Usdx table will be created and has one function (Time()) for now git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1687 b956fd51-792f-4845-bead-9b4dfca2ff2c
* lua plugin interface implementedwhiteshark02009-04-172-0/+1131
| | | | | | | 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
* lua stuff moved to experimental foldertobigun2009-03-214-0/+1763
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1642 b956fd51-792f-4845-bead-9b4dfca2ff2c