aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* added ScreenSing modulewhiteshark02009-05-224-3/+120
| | | | | | | | | 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
* added TPartyGame.RoundPlayedwhiteshark02009-05-173-49/+65
| | | | | | | | some changes to GetWinnerString, it can now be used for the game winner, too. adapted UScreenPartyScore uses TPartyGame.RoundPlayed in UScreenPartyScore git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1748 b956fd51-792f-4845-bead-9b4dfca2ff2c
* finished adaption of PartyNewRound Screenwhiteshark02009-05-161-21/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1745 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix in TPartyGame.GetWinnerStringwhiteshark02009-05-161-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1744 b956fd51-792f-4845-bead-9b4dfca2ff2c
* adapted ScreenPartyScorewhiteshark02009-05-162-60/+50
| | | | | | a fix in TPartyGame.GenScores git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1743 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some changes to SetRanking to ensure that ranking for every team in the ↵whiteshark02009-05-161-0/+39
| | | | | | correct range is available git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1742 b956fd51-792f-4845-bead-9b4dfca2ff2c
* new party round ranking systemwhiteshark02009-05-162-149/+90
| | | | | | | | 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
* Set correct player count in UPartywhiteshark02009-05-162-4/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1738 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed winner string in party new round screenwhiteshark02009-05-161-2/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1737 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some fixes in party managerwhiteshark02009-05-161-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1736 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 benchmark stuffwhiteshark02009-05-161-14/+18
| | | | | | deleted some old commented lines git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1731 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
* added calls for party modes functions to ScreenSingwhiteshark02009-05-042-4/+16
| | | | | | clear party settings in UScreenMain, this is some workaround, because this is the only screen that is surely visited after party game git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1710 b956fd51-792f-4845-bead-9b4dfca2ff2c
* old lua test stuff by hawkear removed or commentedwhiteshark02009-05-049-85/+290
| | | | | | | | | | | | | 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
* accidently added opening curly brace removedwhiteshark02009-05-021-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1706 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Display.AbortScreenChange added (used in ScreenSing and ScreenPartyOptions)whiteshark02009-05-0211-290/+294
| | | | | | | 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-274-26/+379
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1702 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some cosmeticswhiteshark02009-04-251-6/+21
| | | | | | some minor changes git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1698 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added Display.FadeTowhiteshark02009-04-252-382/+546
| | | | | | | | | | | reimplementation of TPartyGame in UParty nearly finished to-do next: changes on party screens changes on TScreenSing.OnShow -> split code to more specialized functions port first party mode git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1697 b956fd51-792f-4845-bead-9b4dfca2ff2c
* lua gl lib functions by hawkear copied to interface partwhiteshark02009-04-202-45/+89
| | | | | | => 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-204-40/+122
| | | | | | | 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-195-30/+128
| | | | | | 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-174-2/+1142
| | | | | | | 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-21227-0/+125557
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1642 b956fd51-792f-4845-bead-9b4dfca2ff2c