super lua update

This commit is contained in:
AJ Kelly
2011-08-20 20:17:00 -05:00
parent 0d483d1781
commit 5cdcba047d
8 changed files with 40 additions and 65 deletions
+19 -2
View File
@@ -197,6 +197,24 @@ function Actor:bezier(...)
self:tween(a[2], "TweenMode_Bezier", b)
end
-- formerly in 02 HelpDisplay.lua, although nothing uses it:
function HelpDisplay:setfromsongorcourse()
local Artists = {}
local AltArtists = {}
local Song = GAMESTATE:GetCurrentSong()
local Trail = GAMESTATE:GetCurrentTrail( GAMESTATE:GetMasterPlayerNumber() )
if Song then
table.insert( Artists, Song:GetDisplayArtist() )
table.insert( AltArtists, Song:GetTranslitArtist() )
elseif Trail then
Artists, AltArtists = Trail:GetArtists()
end
self:settips( Artists, AltArtists )
end
-- (c) 2006 Glenn Maynard
-- All rights reserved.
--
@@ -218,5 +236,4 @@ end
-- OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
-- OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-- PERFORMANCE OF THIS SOFTWARE.
-- PERFORMANCE OF THIS SOFTWARE.