-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf.lua
72 lines (63 loc) · 1.5 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
local PROJECT_TITLE = "On The Roadside"
local PROJECT_IDENTITY = "rmcode_otr"
local PROJECT_VERSION = require( 'version' )
local LOVE_VERSION = "11.2"
---
-- Initialise löve's config file.
-- @param t
--
function love.conf(t)
t.identity = PROJECT_IDENTITY
t.version = LOVE_VERSION
t.console = true
t.accelerometerjoystick = true
t.gammacorrect = false
t.window.title = PROJECT_TITLE
t.window.icon = nil
t.window.width = 0
t.window.height = 0
t.window.borderless = false
t.window.resizable = true
t.window.minwidth = 1024
t.window.minheight = 768
t.window.fullscreen = false
t.window.fullscreentype = "desktop"
t.window.vsync = true
t.window.msaa = 0
t.window.display = 1
t.window.highdpi = false
t.window.x = nil
t.window.y = nil
t.modules.audio = true
t.modules.event = true
t.modules.graphics = true
t.modules.image = true
t.modules.joystick = true
t.modules.keyboard = true
t.modules.math = true
t.modules.mouse = true
t.modules.physics = true
t.modules.sound = true
t.modules.system = true
t.modules.timer = true
t.modules.touch = true
t.modules.video = true
t.modules.window = true
t.modules.thread = true
end
---
-- Returns the project's version.
--
function getVersion()
if PROJECT_VERSION then
return PROJECT_VERSION
end
end
---
-- Returns the project's title.
--
function getTitle()
if PROJECT_TITLE then
return PROJECT_TITLE
end
end