aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-09remove old screen sing modiwhiteshark05-11/+11
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2006 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-09implements Usdx.Unhookwhiteshark01-10/+103
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2005 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-08-30fixed missing brackedwhiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1935 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-08-293 new lua functionwhiteshark01-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
2009-08-22usdx module prefix (Usdx.) is now case insensitive (in require statement)whiteshark01-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
2009-07-18remove Mac OS X leftover. Obsolete through use of fink.k-m_schindler3-53/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1850 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-07-144 new lua interface function for module ScreenSingwhiteshark03-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
2009-05-24set ranking automaticaly by scores when plugin doesn't call SetRankingwhiteshark01-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
2009-05-23implemented NotesVisible settingwhiteshark01-177/+180
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1774 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-23fixed ClearSettingswhiteshark02-7/+2
rewind last commit git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1773 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-23clear settings when leaving sing screenwhiteshark01-0/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1772 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-23clear settings on createwhiteshark01-0/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1771 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-23default values for new settingswhiteshark01-0/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1770 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-23new ULuaUtils procedure: lua_PushBinIntwhiteshark03-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
2009-05-22change folder separator to \ for windows and config-win.incwhiteshark01-10/+10
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1768 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-22some cosmetics to trigger buildbot. no code changek-m_schindler1-14/+14
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1759 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-22added ScreenSing modulewhiteshark04-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
2009-05-17fix crash in last revision when an error is raised during plugin_initwhiteshark01-1/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1750 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-17better error reporting during plugin loadwhiteshark01-0/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1749 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-17added TPartyGame.RoundPlayedwhiteshark03-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
2009-05-16finished adaption of PartyNewRound Screenwhiteshark01-21/+18
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1745 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-16fix in TPartyGame.GetWinnerStringwhiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1744 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-16adapted ScreenPartyScorewhiteshark02-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
2009-05-16some changes to SetRanking to ensure that ranking for every team in the ↵whiteshark01-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
2009-05-16new party round ranking systemwhiteshark02-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
2009-05-16Set correct player count in UPartywhiteshark02-4/+9
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1738 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-16fixed winner string in party new round screenwhiteshark01-2/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1737 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-16some fixes in party managerwhiteshark01-0/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1736 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-16resolve some warningswhiteshark02-3/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1735 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-16some minor fixes in lua party functionswhiteshark01-0/+6
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1734 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-16some crash preventionwhiteshark01-7/+7
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1733 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-16add Lua_GetOwner to ULuaUtils (function returns plugin by lua state)whiteshark04-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
2009-05-16fixed benchmark stuffwhiteshark01-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
2009-05-16fixed bug in UHookableEvent that caused a crash when owning plugin of last ↵whiteshark01-3/+6
hook is unloaded git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1730 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-13svn properties changedwhiteshark05-10/+10
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1723 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-04automaticaly remove hooks from unloaded pluginswhiteshark01-1/+23
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1712 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-04prevent functions from plugins w/ unopened lua state from being calledwhiteshark01-1/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1711 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-04added calls for party modes functions to ScreenSingwhiteshark02-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
2009-05-04old lua test stuff by hawkear removed or commentedwhiteshark09-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
2009-05-02accidently added opening curly brace removedwhiteshark01-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1706 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-02Display.AbortScreenChange added (used in ScreenSing and ScreenPartyOptions)whiteshark011-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
2009-04-27first attempt to implement the lua wrapper for party gamewhiteshark04-26/+379
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1702 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-04-25some cosmeticswhiteshark01-6/+21
some minor changes git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1698 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-04-25added Display.FadeTowhiteshark02-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
2009-04-20lua gl lib functions by hawkear copied to interface partwhiteshark02-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
2009-04-20hookable event nearly finished(unhook function missing)whiteshark04-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
2009-04-19fixed lua module loadingwhiteshark05-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
2009-04-17lua plugin interface implementedwhiteshark04-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
2009-03-21lua stuff moved to experimental foldertobigun227-0/+125557
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1642 b956fd51-792f-4845-bead-9b4dfca2ff2c