-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsprites.lua
229 lines (228 loc) · 8.06 KB
/
sprites.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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
local font_data = {
minfilter = "linear",
magfilter = "linear",
is_premult = true,
{
filename = "brushes/arrow.png",
x1 = 0, y1 = 0, x2 = 64, y2 = 64,
s1 = 0.88232421875, t1 = 0.9365234375, s2 = 0.91357421875, t2 = 0.9990234375,
width = 64, height = 64,
},
{
filename = "brushes/blend_add.png",
x1 = 0, y1 = 0, x2 = 32, y2 = 32,
s1 = 0.88232421875, t1 = 0.9033203125, s2 = 0.89794921875, t2 = 0.9345703125,
width = 32, height = 32,
},
{
filename = "brushes/blend_alpha.png",
x1 = 0, y1 = 0, x2 = 32, y2 = 32,
s1 = 0.89892578125, t1 = 0.9013671875, s2 = 0.91455078125, t2 = 0.9326171875,
width = 32, height = 32,
},
{
filename = "brushes/blend_eq.png",
x1 = 0, y1 = 0, x2 = 32, y2 = 32,
s1 = 0.91552734375, t1 = 0.9013671875, s2 = 0.93115234375, t2 = 0.9326171875,
width = 32, height = 32,
},
{
filename = "brushes/blend_mul.png",
x1 = 0, y1 = 0, x2 = 32, y2 = 32,
s1 = 0.93212890625, t1 = 0.9013671875, s2 = 0.94775390625, t2 = 0.9326171875,
width = 32, height = 32,
},
{
filename = "brushes/blend_sub.png",
x1 = 0, y1 = 0, x2 = 32, y2 = 32,
s1 = 0.94873046875, t1 = 0.9013671875, s2 = 0.96435546875, t2 = 0.9326171875,
width = 32, height = 32,
},
{
filename = "brushes/blue_slider.png",
x1 = 0, y1 = 0, x2 = 227, y2 = 8,
s1 = 0.88232421875, t1 = 0.8134765625, s2 = 0.9931640625, t2 = 0.8212890625,
width = 227, height = 8,
},
{
filename = "brushes/brush1.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.00048828125, t1 = 0.4970703125, s2 = 0.12548828125, t2 = 0.7470703125,
width = 256, height = 256,
},
{
filename = "brushes/brush10.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.12646484375, t1 = 0.4970703125, s2 = 0.25146484375, t2 = 0.7470703125,
width = 256, height = 256,
},
{
filename = "brushes/brush2.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.25244140625, t1 = 0.4970703125, s2 = 0.37744140625, t2 = 0.7470703125,
width = 256, height = 256,
},
{
filename = "brushes/brush3.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.50439453125, t1 = 0.7490234375, s2 = 0.62939453125, t2 = 0.9990234375,
width = 256, height = 256,
},
{
filename = "brushes/brush4.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.63037109375, t1 = 0.7490234375, s2 = 0.75537109375, t2 = 0.9990234375,
width = 256, height = 256,
},
{
filename = "brushes/brush5.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.75634765625, t1 = 0.7490234375, s2 = 0.88134765625, t2 = 0.9990234375,
width = 256, height = 256,
},
{
filename = "brushes/brush6.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.00048828125, t1 = 0.7490234375, s2 = 0.12548828125, t2 = 0.9990234375,
width = 256, height = 256,
},
{
filename = "brushes/brush7.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.12646484375, t1 = 0.7490234375, s2 = 0.25146484375, t2 = 0.9990234375,
width = 256, height = 256,
},
{
filename = "brushes/brush8.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.25244140625, t1 = 0.7490234375, s2 = 0.37744140625, t2 = 0.9990234375,
width = 256, height = 256,
},
{
filename = "brushes/brush9.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 256,
s1 = 0.37841796875, t1 = 0.7490234375, s2 = 0.50341796875, t2 = 0.9990234375,
width = 256, height = 256,
},
{
filename = "brushes/checkbox_off.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.88232421875, t1 = 0.8720703125, s2 = 0.89697265625, t2 = 0.9013671875,
width = 30, height = 30,
},
{
filename = "brushes/checkbox_on.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.88232421875, t1 = 0.8408203125, s2 = 0.89697265625, t2 = 0.8701171875,
width = 30, height = 30,
},
{
filename = "brushes/detail_color.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.96533203125, t1 = 0.9033203125, s2 = 0.97998046875, t2 = 0.9326171875,
width = 30, height = 30,
},
{
filename = "brushes/detail_height.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.98095703125, t1 = 0.9033203125, s2 = 0.99560546875, t2 = 0.9326171875,
width = 30, height = 30,
},
{
filename = "brushes/exp_slider.png",
x1 = 0, y1 = 0, x2 = 128, y2 = 16,
s1 = 0.91357421875, t1 = 0.8232421875, s2 = 0.97607421875, t2 = 0.8388671875,
width = 128, height = 16,
},
{
filename = "brushes/filter_linear.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.92919921875, t1 = 0.8701171875, s2 = 0.94384765625, t2 = 0.8994140625,
width = 30, height = 30,
},
{
filename = "brushes/filter_nearest.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.94482421875, t1 = 0.8701171875, s2 = 0.95947265625, t2 = 0.8994140625,
width = 30, height = 30,
},
{
filename = "brushes/flow_slider.png",
x1 = 0, y1 = 0, x2 = 128, y2 = 32,
s1 = 0.91455078125, t1 = 0.9345703125, s2 = 0.97705078125, t2 = 0.9658203125,
width = 128, height = 32,
},
{
filename = "brushes/green_slider.png",
x1 = 0, y1 = 0, x2 = 227, y2 = 8,
s1 = 0.88232421875, t1 = 0.7939453125, s2 = 0.9931640625, t2 = 0.8017578125,
width = 227, height = 8,
},
{
filename = "brushes/hands.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.96044921875, t1 = 0.8408203125, s2 = 0.97509765625, t2 = 0.8701171875,
width = 30, height = 30,
},
{
filename = "brushes/height_slider.png",
x1 = 0, y1 = 0, x2 = 256, y2 = 8,
s1 = 0.37841796875, t1 = 0.7392578125, s2 = 0.50341796875, t2 = 0.7470703125,
width = 256, height = 8,
},
{
filename = "brushes/macro_color.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.97607421875, t1 = 0.8408203125, s2 = 0.99072265625, t2 = 0.8701171875,
width = 30, height = 30,
},
{
filename = "brushes/macro_height.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.89794921875, t1 = 0.8388671875, s2 = 0.91259765625, t2 = 0.8681640625,
width = 30, height = 30,
},
{
filename = "brushes/med_slider.png",
x1 = 0, y1 = 0, x2 = 160, y2 = 32,
s1 = 0.91455078125, t1 = 0.9677734375, s2 = 0.99267578125, t2 = 0.9990234375,
width = 160, height = 32,
},
{
filename = "brushes/mesh_high.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.96533203125, t1 = 0.8720703125, s2 = 0.97998046875, t2 = 0.9013671875,
width = 30, height = 30,
},
{
filename = "brushes/mesh_low.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.98095703125, t1 = 0.8720703125, s2 = 0.99560546875, t2 = 0.9013671875,
width = 30, height = 30,
},
{
filename = "brushes/mesh_med.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.89794921875, t1 = 0.8701171875, s2 = 0.91259765625, t2 = 0.8994140625,
width = 30, height = 30,
},
{
filename = "brushes/red_slider.png",
x1 = 0, y1 = 0, x2 = 227, y2 = 8,
s1 = 0.88232421875, t1 = 0.8037109375, s2 = 0.9931640625, t2 = 0.8115234375,
width = 227, height = 8,
},
{
filename = "brushes/select.png",
x1 = 0, y1 = 0, x2 = 30, y2 = 30,
s1 = 0.91357421875, t1 = 0.8701171875, s2 = 0.92822265625, t2 = 0.8994140625,
width = 30, height = 30,
},
{
filename = "brushes/slider.png",
x1 = 0, y1 = 0, x2 = 32, y2 = 32,
s1 = 0.97802734375, t1 = 0.9345703125, s2 = 0.99365234375, t2 = 0.9658203125,
width = 32, height = 32,
},
}
return am._init_fonts(font_data, "sprites.png")