aboutsummaryrefslogtreecommitdiffstats
path: root/Lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* adds working teamduel lua pluginwhiteshark02009-12-092-2/+234
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2010 b956fd51-792f-4845-bead-9b4dfca2ff2c
* complemented temporary hook descriptionwhiteshark02009-12-091-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2009 b956fd51-792f-4845-bead-9b4dfca2ff2c
* adds event ScreenSing.SongLoadedwhiteshark02009-12-091-1/+7
| | | | | | event is triggered after a new song is loaded git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2008 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed lua function ScreenSing.GetLineswhiteshark02009-12-091-1/+1
| | | | | | it may return an old song now, when it is called from at uncommon parts of code. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2007 b956fd51-792f-4845-bead-9b4dfca2ff2c
* remove old screen sing modiwhiteshark02009-12-095-11/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2006 b956fd51-792f-4845-bead-9b4dfca2ff2c
* implements Usdx.Unhookwhiteshark02009-12-091-10/+103
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2005 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed missing brackedwhiteshark02009-08-301-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1935 b956fd51-792f-4845-bead-9b4dfca2ff2c
* 3 new lua functionwhiteshark02009-08-291-14/+191
| | | | | | | | ScreenSing.BeatsToSeconds ScreenSing.SecondsToBeat (both based on cur. song bpm) ScreenSing.GetSongLines returns a table containing the songs line information git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1934 b956fd51-792f-4845-bead-9b4dfca2ff2c
* usdx module prefix (Usdx.) is now case insensitive (in require statement)whiteshark02009-08-221-2/+46
| | | | | | | | | replaced luas require function with a custom one to allow more compact require statement. the custom function does not return loaded modules, but is able to load more than one module at once, e.g.: require('math', 'Usdx.Log') luas standard require function is in _require and can still be used. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1933 b956fd51-792f-4845-bead-9b4dfca2ff2c
* remove Mac OS X leftover. Obsolete through use of fink.k-m_schindler2009-07-183-53/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1850 b956fd51-792f-4845-bead-9b4dfca2ff2c
* 4 new lua interface function for module ScreenSingwhiteshark02009-07-143-31/+200
| | | | | | new procedure in ULuaUtils lua_PushRect git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1846 b956fd51-792f-4845-bead-9b4dfca2ff2c
* set ranking automaticaly by scores when plugin doesn't call SetRankingwhiteshark02009-05-241-5/+75
| | | | | | minor fix in GetTeamRanking git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1781 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix an error message when singscreen is left in party mode before a frame ↵whiteshark02009-05-231-0/+1
| | | | | | was drawn git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1776 b956fd51-792f-4845-bead-9b4dfca2ff2c
* reimplemented party mode blindwhiteshark02009-05-231-0/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1775 b956fd51-792f-4845-bead-9b4dfca2ff2c
* implemented NotesVisible settingwhiteshark02009-05-231-177/+180
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1774 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed ClearSettingswhiteshark02009-05-232-7/+2
| | | | | | rewind last commit git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1773 b956fd51-792f-4845-bead-9b4dfca2ff2c
* clear settings when leaving sing screenwhiteshark02009-05-231-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1772 b956fd51-792f-4845-bead-9b4dfca2ff2c
* clear settings on createwhiteshark02009-05-231-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1771 b956fd51-792f-4845-bead-9b4dfca2ff2c
* default values for new settingswhiteshark02009-05-231-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1770 b956fd51-792f-4845-bead-9b4dfca2ff2c
* new ULuaUtils procedure: lua_PushBinIntwhiteshark02009-05-233-3/+116
| | | | | | | | | | | new functions in ScreenSing lua module ScreenSing.GetSettings ScreenSing.SetSettings 3 new settings in UScreenSing that needs to be implemented LyrcsVisible, NotesVisible and PlayerEnabled git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1769 b956fd51-792f-4845-bead-9b4dfca2ff2c
* change folder separator to \ for windows and config-win.incwhiteshark02009-05-221-10/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1768 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some cosmetics to trigger buildbot. no code changek-m_schindler2009-05-221-14/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1759 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added missing local declarationwhiteshark02009-05-221-3/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1758 b956fd51-792f-4845-bead-9b4dfca2ff2c
* new game mode: 5000pointswhiteshark02009-05-221-0/+47
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1757 b956fd51-792f-4845-bead-9b4dfca2ff2c
* 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
* delete old script fileswhiteshark02009-05-162-84/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1739 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
* some cosmeticswhiteshark02009-05-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1721 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-0411-85/+357
| | | | | | | | | | | | | 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
* duel party mode plugin addedwhiteshark02009-05-021-0/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1707 b956fd51-792f-4845-bead-9b4dfca2ff2c