-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenums.lua
More file actions
155 lines (155 loc) · 3.76 KB
/
enums.lua
File metadata and controls
155 lines (155 loc) · 3.76 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
return {
--window options
Width = 320,
Height = 240,
WindowFlags = {
fullscreen = false,
fullscreentype = "desktop",
vsync = 1,
msaa = 0,
stencil = true,
depth = 0,
resizable = true,
borderless = false,
centered = true,
display = 1,
minwidth = 320,
minheight = 240
},
BackgroundSize = 28,
--fade types
FadeNone = nil,
FadeOut = 0,
FadeIn = 1,
--screens
Menu = 0,
Generate = 1,
Plugins = 2,
Options = 3,
LastScreen = 4, --count of how many "real" screens there are
--text entry screens
TextOutput = 4,
TextMinStream = 5,
TextMaxStream = 6,
TextClips = 7,
TextWidth = 8,
TextHeight = 9,
TextPluginTest = 10,
TextTransitions = 11,
TextFPS = 12,
--hidden screens
Transitions = 13,
TotalScreens = 13, --count of all screens in total
ScreenNames = {
[0] = "main menu",
"generate",
"plugins",
"options",
"text entry - output",
"text entry - minimum stream duration",
"text entry - maximum stream duration",
"text entry - clip count",
"text entry - width",
"text entry - height",
"text entry - plugin test",
"text entry - transitions",
"text entry - fps",
"transitions"
},
--prompt states
PromptOpen = 0,
PromptStay = 1,
PromptClose = 2,
BasePrompt = {
Title = "",
Line1 = "",
Line2 = "",
Line3 = "",
Line4 = "",
Line5 = "",
Choice1 = "",
Choice2 = "",
Callback1 = function() end,
Callback2 = function() end,
State = 0,
Y = -240
},
--boot types
BootNormal = 0,
BootNoAudio = 1,
BootNone = 2,
--background types
BackgroundNormal = 0,
BackgroundStatic = 1,
BackgroundNone = 2,
BackgroundBlack = 3,
--fade toggles
FadeWhite = 1, --used to be 0
FadeBlack = 0, --used to be 1
FadeNone = 2,
--options, not yet implemented
OptionsNames = {
Scaling = "window scale",
BootType = "boot type",
BackgroundType = "background type",
LastScreen = "back screen",
ActiveScreen = "startup screen",
NextScreen = "next screen",
FadeType = "fade type",
Volume = "volume",
InstantPrompts = "instant prompts"
},
OptionsEnums = {
BootType = {
[0] = "fade w/sfx",
"fade silently",
"none",
"out of bounds"
},
BackgroundType = {
[0] = "scrolling",
"static",
"no tiles",
"none",
"out of bounds"
},
LastScreen = {
[0] = "main menu",
"generate",
"plugins",
"options",
"out of bounds"
},
ActiveScreen = {
[0] = "main menu",
"generate",
"plugins",
"options",
"out of bounds"
},
NextScreen = {
[0] = "main menu",
"generate",
"plugins",
"options",
"out of bounds"
},
FadeType = {
[0] = "white flash",
"black flash",
"instant",
"out of bounds"
},
InstantPrompts = {
[true] = "on",
[false] = "off",
[0] = "out of bounds",
[1] = "out of bounds"
}
},
BoolString = {
[true] = "true",
[false] = "false",
[0] = "false"
}
}