Add Lua standard library and supporting C#/yaml

This commit is contained in:
ScottNZ
2013-11-29 23:48:44 +13:00
parent 6a14434cff
commit e4d477b0e0
19 changed files with 787 additions and 5 deletions

20
mods/ra/lua/media.lua Normal file
View File

@@ -0,0 +1,20 @@
Media = { }
Media.PlaySpeechNotification = function(notification, player)
Internal.PlaySpeechNotification(player, notification)
end
Media.PlaySoundNotification = function(notification, player)
Internal.PlaySoundNotification(player, notification)
end
Media.PlayRandomMusic = function()
Internal.PlayRandomMusic()
end
Media.PlayMovieFullscreen = function(movie, onComplete)
if onComplete == nil then
onComplete = function() end
end
Internal.PlayMovieFullscreen(movie, onComplete)
end