-
Notifications
You must be signed in to change notification settings - Fork 2
/
conf.lua
34 lines (32 loc) · 820 Bytes
/
conf.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
love.conf = function(t)
t.modules.event = true
t.modules.image = true
t.modules.audio = false
t.modules.data = false
t.modules.font = false
t.modules.graphics = false
t.modules.joystick = false
t.modules.keyboard = false
t.modules.math = false
t.modules.mouse = false
t.modules.physics = false
t.modules.sound = false
t.modules.system = false
t.modules.thread = false
t.modules.timer = false
t.modules.touch = false
t.modules.video = false
t.modules.window = false
end
love.run = function()
return function()
if love.event then
love.event.pump()
for name, a,b,c,d,e,f in love.event.poll() do
if name == "quit" then
return a or 0
end
end
end
end
end