Download
cyberslak
/lightsout
/LightsOut.r
(View History)
cyberslak Allow selecting and removing entities | Latest amendment: 16 on 2025-03-11 |
1 | // Generated by GenerateR |
2 | #include "Types.r" |
3 | #include "SysTypes.r" |
4 | |
5 | resource 'ALRT' (128) { |
6 | {122, 102, 222, 402}, |
7 | 128, |
8 | { /* array: 4 elements */ |
9 | /* [1] */ |
10 | OK, visible, silent, |
11 | /* [2] */ |
12 | OK, visible, silent, |
13 | /* [3] */ |
14 | OK, visible, silent, |
15 | /* [4] */ |
16 | OK, visible, silent |
17 | } |
18 | /****** Extra bytes follow... ******/ |
19 | /* $"300A" /* 0. */ |
20 | }; |
21 | |
22 | resource 'DITL' (128) { |
23 | { /* array DITLarray: 2 elements */ |
24 | /* [1] */ |
25 | {67, 211, 87, 287}, |
26 | Button { |
27 | enabled, |
28 | "OK" |
29 | }, |
30 | /* [2] */ |
31 | {13, 78, 54, 287}, |
32 | StaticText { |
33 | disabled, |
34 | "^0" |
35 | } |
36 | } |
37 | }; |
38 | |
39 | resource 'DITL' (129) { |
40 | { /* array DITLarray: 2 elements */ |
41 | /* [1] */ |
42 | {170, 132, 190, 190}, |
43 | Button { |
44 | enabled, |
45 | "OK" |
46 | }, |
47 | /* [2] */ |
48 | {10, 10, 160, 190}, |
49 | UserItem { |
50 | enabled |
51 | } |
52 | } |
53 | }; |
54 | |
55 | resource 'DITL' (130) { |
56 | { /* array DITLarray: 9 elements */ |
57 | /* [1] */ |
58 | {105, 295, 125, 350}, |
59 | Button { |
60 | enabled, |
61 | "Save" |
62 | }, |
63 | /* [2] */ |
64 | {105, 228, 125, 285}, |
65 | Button { |
66 | enabled, |
67 | "Cancel" |
68 | }, |
69 | /* [3] */ |
70 | {8, 134, 24, 226}, |
71 | StaticText { |
72 | disabled, |
73 | "Configuration" |
74 | }, |
75 | /* [4] */ |
76 | {40, 10, 56, 112}, |
77 | StaticText { |
78 | disabled, |
79 | "Server address" |
80 | }, |
81 | /* [5] */ |
82 | {40, 122, 56, 250}, |
83 | EditText { |
84 | disabled, |
85 | "" |
86 | }, |
87 | /* [6] */ |
88 | {40, 261, 56, 293}, |
89 | StaticText { |
90 | disabled, |
91 | "Port" |
92 | }, |
93 | /* [7] */ |
94 | {40, 303, 56, 347}, |
95 | EditText { |
96 | disabled, |
97 | "" |
98 | }, |
99 | /* [8] */ |
100 | {70, 10, 86, 108}, |
101 | StaticText { |
102 | disabled, |
103 | "Access token" |
104 | }, |
105 | /* [9] */ |
106 | {70, 122, 86, 347}, |
107 | EditText { |
108 | disabled, |
109 | "" |
110 | } |
111 | } |
112 | }; |
113 | |
114 | resource 'WIND' (128) { |
115 | {80, 150, 230, 450}, |
116 | 1985, |
117 | invisible, |
118 | noGoAway, |
119 | 0x0, |
120 | "New Window" |
121 | /****** Extra bytes follow... ******/ |
122 | /* $"9228 0A" /* í(. */ |
123 | }; |
124 | |
125 | resource 'MENU' (128) { |
126 | 128, |
127 | textMenuProc, |
128 | 0x7FFFFFFD, |
129 | enabled, |
130 | apple, |
131 | { /* array: 2 elements */ |
132 | /* [1] */ |
133 | "About LightsOut...", noIcon, noKey, noMark, plain, |
134 | /* [2] */ |
135 | "-", noIcon, noKey, noMark, plain |
136 | } |
137 | }; |
138 | |
139 | resource 'MENU' (129) { |
140 | 129, |
141 | textMenuProc, |
142 | 0x7FFFFFFD, |
143 | enabled, |
144 | "File", |
145 | { /* array: 3 elements */ |
146 | /* [1] */ |
147 | "Add Entity...", noIcon, "A", noMark, plain, |
148 | /* [2] */ |
149 | "-", noIcon, noKey, noMark, plain, |
150 | /* [3] */ |
151 | "Quit", noIcon, "Q", noMark, plain |
152 | } |
153 | }; |
154 | |
155 | resource 'MENU' (130) { |
156 | 130, |
157 | textMenuProc, |
158 | allEnabled, |
159 | enabled, |
160 | "Edit", |
161 | { /* array: 4 elements */ |
162 | /* [1] */ |
163 | "Cut", noIcon, "X", noMark, plain, |
164 | /* [2] */ |
165 | "Copy", noIcon, "C", noMark, plain, |
166 | /* [3] */ |
167 | "Paste", noIcon, "V", noMark, plain, |
168 | /* [4] */ |
169 | "Clear", noIcon, noKey, noMark, plain |
170 | } |
171 | }; |
172 | |
173 | resource 'MBAR' (128) { |
174 | { /* array MenuArray: 3 elements */ |
175 | /* [1] */ |
176 | 128, |
177 | /* [2] */ |
178 | 129, |
179 | /* [3] */ |
180 | 130 |
181 | } |
182 | }; |
183 | |
184 | resource 'BNDL' (128) { |
185 | 'LitO', |
186 | 0, |
187 | { /* array TypeArray: 2 elements */ |
188 | /* [1] */ |
189 | 'FREF', |
190 | { /* array IDArray: 1 elements */ |
191 | /* [1] */ |
192 | 0, 128 |
193 | }, |
194 | /* [2] */ |
195 | 'ICN#', |
196 | { /* array IDArray: 1 elements */ |
197 | /* [1] */ |
198 | 0, 128 |
199 | } |
200 | } |
201 | }; |
202 | |
203 | data 'LitO' (0, "Owner resource") { |
204 | $"15A9 2032 3032 3520 5361 6D20 7661 6E20" /* .© 2025 Sam van */ |
205 | $"4B61 6D70 656E" /* Kampen */ |
206 | }; |
207 | |
208 | resource 'FREF' (128) { |
209 | 'APPL', |
210 | 0, |
211 | "" |
212 | }; |
213 | |
214 | resource 'ICN#' (128) { |
215 | { /* array: 2 elements */ |
216 | /* [1] */ |
217 | $"3FFF FFFC 6002 4006 CFFE 7FF3 9FDE 7BF9" |
218 | $"BF8E 71FD BFC7 E3FD BFEC 37FD BFF8 1FFD" |
219 | $"BFF0 0FFD BFE0 07FD BFE0 07FD BFE0 07FD" |
220 | $"BFE5 47FD BFE2 A7FD BFE4 27FD BFF4 2FFD" |
221 | $"BFFC 3FFD BFFE 7FFD BFFD 3FFD BFFC BFFD" |
222 | $"BFFD 3FFD BFFC BFFD BFFD 3FFD BFFC BFFD" |
223 | $"BFFE 7FFD BFFF FFFD BFFF FFFD BFFF FFFD" |
224 | $"9FFF FFF9 CFFF FFF3 6000 0006 3FFF FFFC", |
225 | /* [2] */ |
226 | $"3FFF FFFC 7FFF FFFE FFFF FFFF FFFF FFFF" |
227 | $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" |
228 | $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" |
229 | $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" |
230 | $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" |
231 | $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" |
232 | $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" |
233 | $"FFFF FFFF FFFF FFFF 7FFF FFFE 3FFF FFFC" |
234 | } |
235 | }; |
236 | |
237 | resource 'icl8' (128) { |
238 | $"0000 2A2A 2A2A 2A2A 2A2A 2A2A 2A2A 2A2A" |
239 | $"2A2A 2A2A 2A2A 2A2A 2A2A 2A2A 2A2A 0000" |
240 | $"002A 2A54 5454 5454 5454 5454 5454 2A01" |
241 | $"012A 5454 5454 5454 5454 5454 542A 2A00" |
242 | $"2A2A 5454 7F7F 7F7F 7F7F 7F7F 7F7F 7F01" |
243 | $"017F 7F7F 7F7F 7F7F 7F7F 7F7F 5454 2A2A" |
244 | $"2A54 547F 7FAB ABAB ABAB 01AB ABAB AB01" |
245 | $"01AB ABAB AB01 ABAB ABAB AB7F 7F54 542A" |
246 | $"2A54 7F7F ABAB ABAB AB01 0101 ABAB AB01" |
247 | $"01AB ABAB 0101 01AB ABAB ABAB 7F7F 542A" |
248 | $"2A54 7FAB ABAB ABAB ABAB 0101 01AB ABAB" |
249 | $"ABAB AB01 0101 ABAB ABAB ABAB AB7F 542A" |
250 | $"2A54 7FAB ABAB ABAB ABAB AB01 ABAB F5F5" |
251 | $"F5F5 ABAB 01AB ABAB ABAB ABAB AB7F 542A" |
252 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABF5 0101" |
253 | $"0101 F5AB ABAB ABAB ABAB ABAB AB7F 542A" |
254 | $"2A54 7FAB ABAB ABAB ABAB ABAB F501 0101" |
255 | $"0101 01F5 ABAB ABAB ABAB ABAB AB7F 542A" |
256 | $"2A54 7FAB ABAB ABAB ABAB ABF5 0101 0101" |
257 | $"0101 0101 F5AB ABAB ABAB ABAB AB7F 542A" |
258 | $"2A54 7FAB ABAB ABAB ABAB ABF5 0101 0101" |
259 | $"0101 0101 F5AB ABAB ABAB ABAB AB7F 542A" |
260 | $"2A54 7FAB ABAB ABAB ABAB ABF5 0101 0101" |
261 | $"0101 0101 F5AB ABAB ABAB ABAB AB7F 542A" |
262 | $"2A54 7FAB ABAB ABAB ABAB ABF5 0116 0516" |
263 | $"0516 0501 F5AB ABAB ABAB ABAB AB7F 542A" |
264 | $"2A54 7FAB ABAB ABAB ABAB ABF5 0105 1605" |
265 | $"1605 1601 F5AB ABAB ABAB ABAB AB7F 542A" |
266 | $"2A54 7FAB ABAB ABAB ABAB ABF5 0116 0101" |
267 | $"0101 1601 F5AB ABAB ABAB ABAB AB7F 542A" |
268 | $"2A54 7FAB ABAB ABAB ABAB ABAB F516 0101" |
269 | $"0101 16F5 ABAB ABAB ABAB ABAB AB7F 542A" |
270 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB F5F5" |
271 | $"F5F5 ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
272 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB ABF5" |
273 | $"F5AB ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
274 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB F5F9" |
275 | $"F5F5 ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
276 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB F5F5" |
277 | $"F9F5 ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
278 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB F5F9" |
279 | $"F5F5 ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
280 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB F5F5" |
281 | $"F9F5 ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
282 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB F5F9" |
283 | $"F5F5 ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
284 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB F5F5" |
285 | $"F9F5 ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
286 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB ABF5" |
287 | $"F5AB ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
288 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB ABAB" |
289 | $"ABAB ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
290 | $"2A54 7FAB ABAB ABAB ABAB ABAB ABAB ABAB" |
291 | $"ABAB ABAB ABAB ABAB ABAB ABAB AB7F 542A" |
292 | $"2A54 7F7F ABAB ABAB ABAB ABAB ABAB ABAB" |
293 | $"ABAB ABAB ABAB ABAB ABAB ABAB 7F7F 542A" |
294 | $"2A54 547F 7FAB ABAB ABAB ABAB ABAB ABAB" |
295 | $"ABAB ABAB ABAB ABAB ABAB AB7F 7F54 542A" |
296 | $"2A2A 5454 7F7F 7F7F 7F7F 7F7F 7F7F 7F7F" |
297 | $"7F7F 7F7F 7F7F 7F7F 7F7F 7F7F 5454 2A2A" |
298 | $"002A 2A54 5454 5454 5454 5454 5454 5454" |
299 | $"5454 5454 5454 5454 5454 5454 542A 2A00" |
300 | $"0000 2A2A 2A2A 2A2A 2A2A 2A2A 2A2A 2A2A" |
301 | $"2A2A 2A2A 2A2A 2A2A 2A2A 2A2A 2A2A" |
302 | }; |
303 | |
304 | resource 'icl4' (128) { |
305 | $"0077 7777 7777 7777 7777 7777 7777 7700" |
306 | $"0777 7777 7777 7771 1777 7777 7777 7770" |
307 | $"7777 6666 6666 6661 1666 6666 6666 7777" |
308 | $"7776 6555 5515 5551 1555 5155 5556 6777" |
309 | $"7766 5555 5111 5551 1555 1115 5555 6677" |
310 | $"7765 5555 5511 1555 5551 1155 5555 5677" |
311 | $"7765 5555 5551 5511 1155 1555 5555 5677" |
312 | $"7765 5555 5555 5111 1115 5555 5555 5677" |
313 | $"7765 5555 5555 1111 1111 5555 5555 5677" |
314 | $"7765 5555 5551 1111 1111 1555 5555 5677" |
315 | $"7765 5555 5551 1111 1111 1555 5555 5677" |
316 | $"7765 5555 5551 1111 1111 1555 5555 5677" |
317 | $"7765 5555 5551 1212 1211 1555 5555 5677" |
318 | $"7765 5555 5551 1121 2121 1555 5555 5677" |
319 | $"7765 5555 5551 1200 0021 1555 5555 5677" |
320 | $"7765 5555 5555 1200 0021 5555 5555 5677" |
321 | $"7765 5555 5555 5500 0055 5555 5555 5677" |
322 | $"7765 5555 5555 5550 0555 5555 5555 5677" |
323 | $"7765 5555 5555 550D 0055 5555 5555 5677" |
324 | $"7765 5555 5555 5500 D055 5555 5555 5677" |
325 | $"7765 5555 5555 550D 0055 5555 5555 5677" |
326 | $"7765 5555 5555 5500 D055 5555 5555 5677" |
327 | $"7765 5555 5555 550D 0055 5555 5555 5677" |
328 | $"7765 5555 5555 5500 D055 5555 5555 5677" |
329 | $"7765 5555 5555 5550 0555 5555 5555 5677" |
330 | $"7765 5555 5555 5555 5555 5555 5555 5677" |
331 | $"7765 5555 5555 5555 5555 5555 5555 5677" |
332 | $"7766 5555 5555 5555 5555 5555 5555 6677" |
333 | $"7776 6555 5555 5555 5555 5555 5556 6777" |
334 | $"7777 6666 6666 6666 6666 6666 6666 7777" |
335 | $"0777 7777 7777 7777 7777 7777 7777 7770" |
336 | $"0077 7777 7777 7777 7777 7777 7777 77" |
337 | }; |
338 | |
339 | resource 'ics8' (128) { |
340 | $"5454 5454 5454 2A01 012A 5454 5454 5454" |
341 | $"7F7F 7F7F 7F7F 7F01 017F 7F7F 7F7F 7F7F" |
342 | $"ABAB 01AB ABAB AB01 01AB ABAB AB01 ABAB" |
343 | $"AB01 0101 ABAB AB01 01AB ABAB 0101 01AB" |
344 | $"ABAB 0101 01AB ABAB ABAB AB01 0101 ABAB" |
345 | $"ABAB AB01 ABAB F5F5 F5F5 ABAB 01AB ABAB" |
346 | $"ABAB ABAB ABF5 0101 0101 F5AB ABAB ABAB" |
347 | $"ABAB ABAB F501 0101 0101 01F5 ABAB ABAB" |
348 | $"ABAB ABF5 0101 0101 0101 0101 F5AB ABAB" |
349 | $"ABAB ABF5 0101 0101 0101 0101 F5AB ABAB" |
350 | $"ABAB ABF5 0101 0101 0101 0101 F5AB ABAB" |
351 | $"ABAB ABF5 0116 0516 0516 0501 F5AB ABAB" |
352 | $"ABAB ABF5 0105 1605 1605 1601 F5AB ABAB" |
353 | $"ABAB ABF5 0116 0101 0101 1601 F5AB ABAB" |
354 | $"ABAB ABAB F516 0101 0101 16F5 ABAB ABAB" |
355 | $"ABAB ABAB ABAB F5F5 F5F5 ABAB ABAB ABAB" |
356 | }; |
357 | |
358 | resource 'ics#' (128) { |
359 | { /* array: 2 elements */ |
360 | /* [1] */ |
361 | $"0000 FE7F DE7B 8E71 C7E3 EC37 F81F F00F" |
362 | $"E007 E007 E007 E547 E2A7 E427 F42F FC3F", |
363 | /* [2] */ |
364 | $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" |
365 | $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" |
366 | } |
367 | }; |
368 | |
369 | resource 'ics4' (128) { |
370 | $"7777 7771 1777 7777 6666 6661 1666 6666" |
371 | $"5515 5551 1555 5155 5111 5551 1555 1115" |
372 | $"5511 1555 5551 1155 5551 5511 1155 1555" |
373 | $"5555 5111 1115 5555 5555 1111 1111 5555" |
374 | $"5551 1111 1111 1555 5551 1111 1111 1555" |
375 | $"5551 1111 1111 1555 5551 1212 1211 1555" |
376 | $"5551 1121 2121 1555 5551 1211 1121 1555" |
377 | $"5555 1211 1121 5555 5555 5511 1155 5555" |
378 | }; |
379 | |
380 | resource 'CNTL' (128, "Click Me!") { |
381 | {20, 20, 40, 100}, |
382 | 0, |
383 | visible, |
384 | 1, |
385 | 0, |
386 | pushButProc, |
387 | 0, |
388 | "Click Me!" |
389 | }; |
390 | |
391 | data 'CDEF' (128, "Slider CDEF hook") { |
392 | $"2F3A 0004 4E75 0000 0000" /* /:..Nu.... */ |
393 | }; |
394 | |
395 | resource 'DLOG' (128) { |
396 | {86, 153, 286, 353}, |
397 | noGrowDocProc, |
398 | invisible, |
399 | noGoAway, |
400 | 0x0, |
401 | 129, |
402 | "Entities" |
403 | /****** Extra bytes follow... ******/ |
404 | /* $"7428 0A" /* t(. */ |
405 | }; |
406 | |
407 | resource 'DLOG' (129) { |
408 | {71, 63, 206, 423}, |
409 | altDBoxProc, |
410 | visible, |
411 | goAway, |
412 | 0x0, |
413 | 130, |
414 | "" |
415 | /****** Extra bytes follow... ******/ |
416 | /* $"0028 0A" /* .(. */ |
417 | }; |
418 | |
419 | data 'LDEF' (128, "Entity LDEF hook") { |
420 | $"2F3A 0004 4E75 0000 0000" /* /:..Nu.... */ |
421 | }; |