2022-05-30 07:33:56 +00:00
|
|
|
local ll = {}
|
|
|
|
|
|
|
|
ll.cfg = {
|
|
|
|
root = 'games/',
|
|
|
|
}
|
|
|
|
|
2022-07-07 16:37:27 +00:00
|
|
|
require 'lib.fs' (ll)
|
2022-05-30 07:33:56 +00:00
|
|
|
require 'lib.game' (ll)
|
|
|
|
require 'lib.chroot' (ll)
|
|
|
|
require 'lib.load' (ll)
|
2022-07-07 16:37:27 +00:00
|
|
|
require 'lib.keyb' (ll)
|
2022-05-30 07:33:56 +00:00
|
|
|
|
|
|
|
function ll.home()
|
|
|
|
ll.umount()
|
2022-07-07 16:37:27 +00:00
|
|
|
love.event.push('quit', 'restart')
|
2022-05-30 07:33:56 +00:00
|
|
|
end
|
|
|
|
|
2022-07-07 16:37:27 +00:00
|
|
|
ll.dt = false
|
|
|
|
function ll.devtools()
|
|
|
|
if not ll.dt then
|
|
|
|
ll.dt = true
|
|
|
|
__LL = ll
|
|
|
|
pcall(function() require 'dev.tools' end)
|
2022-05-30 07:33:56 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
return ll
|