This repository was archived by the owner on Feb 28, 2023. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconf.lua
More file actions
Latest commit
75 lines (66 loc) · 1.73 KB
/
Copy pathconf.lua
File metadata and controls
75 lines (66 loc) · 1.73 KB
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
localPROJECT_TITLE="LoGiVi";
localPROJECT_VERSION=require( 'version' );
localPROJECT_IDENTITY="rmcode_LoGiVi";
localLOVE_VERSION="0.10.1";
---
-- Initialise LÖVE's config file.
-- @param t (table) The table containing LÖVE's default values.
--
functionlove.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.
--
functiongetVersion()
ifPROJECT_VERSIONthen
returnPROJECT_VERSION;
end
end
---
-- Returns the project's title.
-- @return (string) The project's title.
--
functiongetTitle()
ifPROJECT_TITLEthen
returnPROJECT_TITLE;
end
end