Added looping in love.audio (though needs implementation in love.sound).

This commit is contained in:
rude
2009-08-01 22:11:48 +02:00
parent c1ed4372d9
commit 524ef5e118
14 changed files with 87 additions and 20 deletions
+5 -4
View File
@@ -96,15 +96,16 @@ function love.boot()
require("love.filesystem")
-- Prints the arguments passes to the app.
if love.__args then
for i,v in pairs(love.__args) do
if love._args then
for i,v in pairs(love._args) do
print(i,v)
end
end
-- Sets the source for the game.
if love.__args[1] and love.__args[1] ~= "" then
love.filesystem.setSource(love.path.getfull(love.__args[1]))
if love._args[1] and love._args[1] ~= "" then
love.filesystem.init(love._args[0])
love.filesystem.setSource(love.path.getfull(love._args[1]))
else
-- Do not set a source, load the default game.
love.defaultscreen()