-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathanimate.lfm
431 lines (431 loc) · 12.8 KB
/
animate.lfm
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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
object AnimationForm: TAnimationForm
Left = 279
Height = 747
Top = 223
Width = 1152
Caption = 'Sprite Animation'
ClientHeight = 747
ClientWidth = 1152
Menu = MainMenu1
OnActivate = FormActivate
OnCreate = FormCreate
LCLVersion = '3.4.0.0'
object Panel1: TPanel
Left = 32
Height = 209
Top = 8
Width = 208
ClientHeight = 209
ClientWidth = 208
TabOrder = 6
object FPSTrackBar: TTrackBar
Left = 168
Height = 128
Top = 8
Width = 25
Max = 60
Min = 1
OnChange = FPSTrackBarChange
Orientation = trVertical
Position = 1
TickMarks = tmTopLeft
TabOrder = 0
end
object Image2: TImage
Left = 88
Height = 32
Top = 168
Width = 32
OnClick = StopButtonClick
Picture.Data = {
07544269746D617076020000424D760200000000000076000000280000002000
0000200000000100040000000000000200000000000000000000000000000000
000000000000AA00000000AA0000AAAA00000000AA00AA00AA000055AA00AAAA
AA0055555500FA55550055FA5500FAFA55005555FA00FA55FA0055FAFA00FAFA
FA00000000000000000000000000000000000FF0000000000000000000000000
00000FF000000000000000000000000000000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777700000000000000000777700000FF7777000000000000000007777
00000FF777700000000000000000777700000FF7777000000000000000007777
00000FF777700000000000000000777700000FF7777000000000000000007777
00000FF777700000000000000000777700000FF7777000000000000000007777
00000FF777700000000000000000777700000FF7777000000000000000007777
00000FF777700000000000000000777700000FF7777000000000000000007777
00000FF777700000000000000000777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FFFFFFFFFFFFFFFFFFFFFFFFFFF
FF000FFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000
0000
}
end
object Image1: TImage
Left = 48
Height = 32
Top = 168
Width = 32
OnClick = PlayButtonClick
Picture.Data = {
07544269746D617076020000424D760200000000000076000000280000002000
0000200000000100040000000000000200000000000000000000000000000000
000000000000AA00000000AA0000AAAA00000000AA00AA00AA000055AA00AAAA
AA0055555500FA55550055FA5500FAFA55005555FA00FA55FA0055FAFA00FAFA
FA00000000000000000000000000000000000FF0000000000000000000000000
00000FF000000000000000000000000000000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777777777707777777777777700000FF7777777777007777777777777
00000FF777777777700077777777777700000FF7777777777000077777777777
00000FF777777777700000777777777700000FF7777777777000000777777777
00000FF777777777700000007777777700000FF7777777777000000777777777
00000FF777777777700000777777777700000FF7777777777000077777777777
00000FF777777777700077777777777700000FF7777777777007777777777777
00000FF777777777707777777777777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FF7777777777777777777777777
00000FF777777777777777777777777700000FFFFFFFFFFFFFFFFFFFFFFFFFFF
FF000FFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000
0000
}
end
end
object TopSplitter: TSplitter
AnchorSideLeft.Control = Owner
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Cursor = crVSplit
Left = 0
Height = 9
Top = 245
Width = 1152
Align = alNone
Anchors = [akLeft, akRight]
Color = 11625216
ParentColor = False
ResizeAnchor = akTop
end
object LeftSplitter: TSplitter
AnchorSideTop.Control = TopSplitter
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 175
Height = 493
Top = 254
Width = 9
Align = alNone
Anchors = [akTop, akLeft, akBottom]
Color = 11625216
ParentColor = False
end
object RightSplitter: TSplitter
AnchorSideTop.Control = TopSplitter
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 952
Height = 493
Top = 254
Width = 9
Align = alNone
Anchors = [akTop, akLeft, akBottom]
Color = 11625216
ParentColor = False
end
object LeftPanel: TPanel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = TopSplitter
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = LeftSplitter
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 0
Height = 493
Top = 254
Width = 175
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'LeftPanel'
ClientHeight = 493
ClientWidth = 175
Color = 15790320
ParentBackground = False
ParentColor = False
TabOrder = 0
object SpriteListView: TListView
AnchorSideLeft.Control = LeftPanel
AnchorSideTop.Control = LeftPanel
AnchorSideRight.Control = LeftPanel
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = LeftPanel
AnchorSideBottom.Side = asrBottom
Left = 1
Height = 491
Top = 1
Width = 173
Anchors = [akTop, akLeft, akRight, akBottom]
Color = 15790320
Columns = <>
DragMode = dmAutomatic
IconOptions.AutoArrange = True
LargeImages = RMMainForm.ImageList1
LargeImagesWidth = 128
PopupMenu = PopupMenu2
ReadOnly = True
TabOrder = 0
ViewStyle = vsIcon
OnDblClick = SpriteListViewDblClick
OnDragDrop = SpriteListViewDragDrop
OnDragOver = SpriteListViewDragOver
end
end
object MiddlePanel: TPanel
AnchorSideLeft.Control = LeftSplitter
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TopSplitter
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = RightSplitter
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 184
Height = 493
Top = 254
Width = 768
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'MiddlePanel'
ClientHeight = 493
ClientWidth = 768
TabOrder = 1
object CurrentAnimListView: TListView
AnchorSideLeft.Control = MiddlePanel
AnchorSideTop.Control = MiddlePanel
AnchorSideRight.Control = MiddlePanel
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = MiddlePanel
AnchorSideBottom.Side = asrBottom
Left = 1
Height = 491
Top = 1
Width = 766
Anchors = [akTop, akLeft, akRight, akBottom]
Color = 15790320
Columns = <>
ColumnClick = False
DragMode = dmAutomatic
IconOptions.AutoArrange = True
LargeImages = CurrentAnimationImageList
LargeImagesWidth = 128
ParentShowHint = False
PopupMenu = PopupMenu1
ReadOnly = True
ShowColumnHeaders = False
TabOrder = 0
ViewStyle = vsIcon
OnDragDrop = CurrentAnimListViewDragDrop
OnDragOver = CurrentAnimListViewDragOver
end
end
object RightPanel: TPanel
AnchorSideLeft.Control = RightSplitter
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TopSplitter
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 961
Height = 493
Top = 254
Width = 191
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'RightPanel'
ClientHeight = 493
ClientWidth = 191
TabOrder = 2
object AllAnimListView: TListView
AnchorSideLeft.Control = RightPanel
AnchorSideTop.Control = RightPanel
AnchorSideRight.Control = RightPanel
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = RightPanel
AnchorSideBottom.Side = asrBottom
Left = 1
Height = 491
Top = 1
Width = 189
Anchors = [akTop, akLeft, akRight, akBottom]
Color = 15790320
Columns = <>
IconOptions.AutoArrange = True
LargeImages = AnimThumbImageList
ParentShowHint = False
PopupMenu = PopupMenu3
ReadOnly = True
ShowHint = True
TabOrder = 0
ViewStyle = vsIcon
OnClick = AllAnimListViewClick
end
end
object CurrentAnimationImageList: TImageList
Left = 808
Top = 592
end
object AnimThumbImageList: TImageList
Left = 792
Top = 520
end
object PopupMenu1: TPopupMenu
Left = 424
Top = 664
object CopyMenu: TMenuItem
Caption = 'Copy'
OnClick = CopyMenuClick
end
object PasteMenu: TMenuItem
Caption = 'Paste'
OnClick = PasteMenuClick
end
object AddFrameMenu: TMenuItem
Caption = 'Add Frame'
OnClick = AddFrameMenuClick
end
object DeleteMenu: TMenuItem
Caption = 'Delete Frame'
OnClick = DeleteMenuClick
end
end
object PopupMenu2: TPopupMenu
Left = 224
Top = 664
object CopyFromThumbView: TMenuItem
Caption = 'Copy'
OnClick = CopyFromThumbViewClick
end
end
object PopupMenu3: TPopupMenu
Left = 816
Top = 664
object NewAnimationMenu: TMenuItem
Caption = 'New Animation'
OnClick = NewAnimationMenuClick
end
object AnimDeleteMenu: TMenuItem
Caption = 'Delete'
OnClick = AnimDeleteMenuClick
end
object AnimProperties: TMenuItem
Caption = 'Properties'
OnClick = AnimPropertiesClick
end
end
object Timer1: TTimer
OnTimer = Timer1Timer
OnStartTimer = Timer1StartTimer
Left = 224
Top = 312
end
object MainMenu1: TMainMenu
Left = 312
Top = 312
object MenuItem1: TMenuItem
Caption = 'File'
object MenuItem8: TMenuItem
Caption = 'New'
object MenuItem9: TMenuItem
Caption = 'Animation'
OnClick = MenuItem9Click
end
object MenuItem10: TMenuItem
Caption = 'Frame'
OnClick = MenuItem10Click
end
end
object MenuItem2: TMenuItem
Caption = 'Open'
OnClick = MenuItem2Click
end
object MenuItem3: TMenuItem
Caption = 'Save'
OnClick = MenuItem3Click
end
object MenuItem11: TMenuItem
Caption = 'Delete'
OnClick = MenuItem11Click
end
object MenuDeleteAll: TMenuItem
Caption = 'Delete All'
OnClick = MenuDeleteAllClick
end
object MenuItem12: TMenuItem
Caption = 'Export'
object FileExportBasicData: TMenuItem
Caption = 'Basic'
object ExportBasicAnimData: TMenuItem
Caption = 'Animation Data Statements'
OnClick = ExportBasicAnimDataClick
end
end
object MenuItem13: TMenuItem
Caption = 'C'
object ExportCAnimArray: TMenuItem
Caption = 'Animation Array'
OnClick = ExportEmscriptenAnimArrayClick
end
end
object MenuItem15: TMenuItem
Caption = 'Emscripten'
object ExportEmscriptenAnimArray: TMenuItem
Caption = 'Animation Array'
OnClick = ExportEmscriptenAnimArrayClick
end
end
object MenuItem17: TMenuItem
Caption = 'gcc'
object ExportgccAnimArray: TMenuItem
Caption = 'Animation Array'
OnClick = ExportEmscriptenAnimArrayClick
end
end
object pascal: TMenuItem
Caption = 'pascal'
object ExportPascalAnimArray: TMenuItem
Caption = 'Animation Array'
OnClick = FileExportPascalArrayClick
end
end
end
object MenuItem7: TMenuItem
Caption = 'Export Anim As PNG''s'
OnClick = AnimExportMenuClick
end
end
object MenuItem4: TMenuItem
Caption = 'Edit'
object MenuItem5: TMenuItem
Caption = 'Copy'
OnClick = AnimCopyMenuClick
end
object MenuItem6: TMenuItem
Caption = 'Paste'
OnClick = AnimPasteMenuClick
end
end
end
object SelectDirectoryDialog1: TSelectDirectoryDialog
Left = 384
Top = 328
end
object SaveDialog1: TSaveDialog
Options = [ofOverwritePrompt, ofEnableSizing, ofViewDetail]
Left = 624
Top = 424
end
object OpenDialog1: TOpenDialog
Left = 616
Top = 344
end
end