This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
conf.lua
75 lines (66 loc) · 1.73 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
73
74
75
local PROJECT_TITLE = "LoGiVi";
local PROJECT_VERSION = require( 'version' );
local PROJECT_IDENTITY = "rmcode_LoGiVi";
local LOVE_VERSION = "0.10.1";
---
-- Initialise LÖVE's config file.
-- @param t (table) The table containing LÖVE's default values.
--
function love.conf( t )
t.identity = PROJECT_IDENTITY;
t.version = LOVE_VERSION;
t.console = true;
t.accelerometerjoystick = true;
t.externalstorage = false;
t.gammacorrect = false;
t.window.title = PROJECT_TITLE;
t.window.icon = 'res/img/icon/1024px.png';
t.window.width = 800;
t.window.height = 600;
t.window.borderless = false;
t.window.resizable = true;
t.window.minwidth = 800;
t.window.minheight = 600;
t.window.fullscreen = false;
t.window.fullscreentype = "exclusive";
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.
-- @return (string) The project's version.
--
function getVersion()
if PROJECT_VERSION then
return PROJECT_VERSION;
end
end
---
-- Returns the project's title.
-- @return (string) The project's title.
--
function getTitle()
if PROJECT_TITLE then
return PROJECT_TITLE;
end
end