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
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
|
# ***** BEGIN GPL LICENSE BLOCK *****
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public LicenseS
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Contributor(s): Jacques Beaurain.
#
# ***** END GPL LICENSE BLOCK *****
set(INC
)
set(INC_SYS
)
# blender and player
set(SRC
)
# Order matches "UI_icons.h", final name will be formatted: "icons{size}_{name}.dat"
set(ICON_NAMES
question
error
cancel
tria_right
tria_down
tria_left
tria_up
arrow_leftright
plus
disclosure_tri_down
disclosure_tri_right
radiobut_off
radiobut_on
menu_panel
blender
grip
dot
collapsemenu
x
go_left
plug
ui
node
node_sel
fullscreen
splitscreen
rightarrow_thin
bordermove
viewzoom
zoomin
zoomout
panel_close
copy_id
eyedropper
link_area
auto
checkbox_dehlt
checkbox_hlt
unlocked
locked
unpinned
pinned
screen_back
rightarrow
downarrow_hlt
dotsup
dotsdown
link
inlink
plugin
help
ghost_enabled
color
linked
unlinked
hand
zoom_all
zoom_selected
zoom_previous
zoom_in
zoom_out
render_region
border_rect
border_lasso
freeze
stylus_pressure
ghost_disabled
new
file_tick
quit
url
recover_last
fullscreen_enter
fullscreen_exit
lamp
material
texture
anim
world
scene
edit
game
radio
script
particles
physics
speaker
texture_shaded
view3d
ipo
oops
buts
filesel
image_col
info
sequence
text
imasel
sound
action
nla
scriptwin
time
nodetree
logic
console
preferences
clip
asset_manager
object_datamode
editmode_hlt
facesel_hlt
vpaint_hlt
tpaint_hlt
wpaint_hlt
sculptmode_hlt
pose_hlt
particlemode
lightpaint
greasepencil_stroke_paint
scene_data
renderlayers
world_data
object_data
mesh_data
curve_data
meta_data
lattice_data
lamp_data
material_data
texture_data
anim_data
camera_data
particle_data
library_data_direct
group
armature_data
pose_data
bone_data
constraint
shapekey_data
constraint_bone
camera_stereo
package
uglypackage
brush_data
image_data
file
fcurve
font_data
render_result
surface_data
empty_data
settings
render_animation
render_still
library_data_broken
boids
strands
library_data_indirect
greasepencil
line_data
library_data_override
group_bone
group_vertex
group_vcol
group_uvs
rna
rna_add
outliner_ob_empty
outliner_ob_mesh
outliner_ob_curve
outliner_ob_lattice
outliner_ob_meta
outliner_ob_lamp
outliner_ob_camera
outliner_ob_armature
outliner_ob_font
outliner_ob_surface
outliner_ob_speaker
outliner_ob_force_field
outliner_ob_group_instance
outliner_ob_greasepencil
restrict_color_off
restrict_color_on
restrict_view_off
restrict_view_on
restrict_select_off
restrict_select_on
restrict_render_off
restrict_render_on
outliner_data_empty
outliner_data_mesh
outliner_data_curve
outliner_data_lattice
outliner_data_meta
outliner_data_lamp
outliner_data_camera
outliner_data_armature
outliner_data_font
outliner_data_surface
outliner_data_speaker
outliner_data_pose
outliner_data_greasepencil
mesh_plane
mesh_cube
mesh_circle
mesh_uvsphere
mesh_icosphere
mesh_grid
mesh_monkey
mesh_cylinder
mesh_torus
mesh_cone
mesh_capsule
lamp_point
lamp_sun
lamp_spot
lamp_hemi
lamp_area
meta_empty
meta_plane
meta_cube
meta_ball
meta_ellipsoid
meta_capsule
surface_ncurve
surface_ncircle
surface_nsurface
surface_ncylinder
surface_nsphere
surface_ntorus
curve_bezcurve
curve_bezcircle
curve_ncurve
curve_ncircle
curve_path
color_red
color_green
color_blue
tria_right_bar
tria_down_bar
tria_left_bar
tria_up_bar
force_force
force_wind
force_vortex
force_magnetic
force_harmonic
force_charge
force_lennardjones
force_texture
force_curve
force_boid
force_turbulence
force_drag
force_smokeflow
node_insert_on
node_insert_off
modifier
mod_wave
mod_build
mod_decim
mod_mirror
mod_soft
mod_subsurf
hook
mod_physics
mod_particles
mod_boolean
mod_edgesplit
mod_array
mod_uvproject
mod_displace
mod_curve
mod_lattice
constraint_data
mod_armature
mod_shrinkwrap
mod_cast
mod_meshdeform
mod_bevel
mod_smooth
mod_simpledeform
mod_mask
mod_cloth
mod_explode
mod_fluidsim
mod_multires
mod_smoke
mod_solidify
mod_screw
mod_vertex_weight
mod_dynamicpaint
mod_remesh
mod_ocean
mod_warp
mod_skin
mod_triangulate
mod_wireframe
mod_data_transfer
mod_normaledit
rec
play
ff
rew
pause
prev_keyframe
next_keyframe
play_audio
play_reverse
preview_range
action_tweak
pmarker_act
pmarker_sel
pmarker
marker_hlt
marker
space2
space3
keyingset
key_dehlt
key_hlt
mute_ipo_off
mute_ipo_on
visible_ipo_off
visible_ipo_on
driver
solo_off
solo_on
frame_prev
frame_next
nla_pushdown
ipo_constant
ipo_linear
ipo_bezier
ipo_sine
ipo_quad
ipo_cubic
ipo_quart
ipo_quint
ipo_expo
ipo_circ
ipo_bounce
ipo_elastic
ipo_back
ipo_ease_in
ipo_ease_out
ipo_ease_in_out
normalize_fcurves
vertexsel
edgesel
facesel
loopsel
rotate
cursor
rotatecollection
rotatecenter
rotactive
align
smoothcurve
spherecurve
rootcurve
sharpcurve
lincurve
nocurve
rndcurve
prop_off
prop_on
prop_con
particle_point
particle_tip
particle_path
man_trans
man_rot
man_scale
manipul
snap_off
snap_on
snap_normal
snap_grid
snap_vertex
snap_edge
snap_face
snap_volume
snap_increment
sticky_uvs_loc
sticky_uvs_disable
sticky_uvs_vert
clipuv_dehlt
clipuv_hlt
snap_peel_object
grid
object_origin
pastedown
copydown
pasteflipup
pasteflipdown
snap_surface
automerge_on
automerge_off
retopo
uv_vertexsel
uv_edgesel
uv_facesel
uv_islandsel
uv_sync_select
bbox
wire
solid
smooth
potato
ortho
lockview_off
lockview_on
axis_side
axis_front
axis_top
ndof_dom
ndof_turn
ndof_fly
ndof_trans
layer_used
layer_active
sortalpha
sortbyext
sorttime
sortsize
longdisplay
shortdisplay
ghost
imgdisplay
save_as
save_copy
bookmarks
fontpreview
filter
newfolder
open_recent
file_parent
file_refresh
file_folder
file_blend
file_image
file_movie
file_script
file_sound
file_font
file_text
recover_auto
save_prefs
link_blend
append_blend
import
export
external_data
load_factory
loop_back
loop_forwards
back
forward
file_hidden
file_backup
disk_drive
matplane
matsphere
matcube
monkey
hair
aliased
antialiased
mat_sphere_sky
wordwrap_off
wordwrap_on
syntax_off
syntax_on
linenumbers_off
linenumbers_on
scriptplugins
seq_sequencer
seq_preview
seq_luma_waveform
seq_chroma_scope
seq_histogram
seq_splitview
image_rgb
image_rgb_alpha
image_alpha
image_zdepth
imagefile
)
# This section is maintained by the updating script, keep BEGIN/END comments.
set_property(GLOBAL PROPERTY ICON_GEOM_NAMES
# BEGIN ICON_GEOM_NAMES
ops.armature.extrude.cursor
ops.armature.extrude
ops.generic.cursor
ops.generic.select_border
ops.generic.select_circle
ops.generic.select_lasso
ops.gpencil.draw
ops.gpencil.draw.eraser
ops.gpencil.draw.line
ops.gpencil.draw.poly
ops.mesh.bisect
ops.mesh.inset
ops.mesh.knife_tool
ops.mesh.loopcut_slide
ops.mesh.offset_edge_loops_slide
ops.mesh.polybuild_hover
ops.mesh.rip
ops.mesh.rip_edge
ops.mesh.spin
ops.mesh.spin.duplicate
ops.mesh.vertices_smooth
ops.particle.brush_edit.add
ops.particle.brush_edit.comb
ops.particle.brush_edit.comb.weight
ops.particle.brush_edit.cut
ops.particle.brush_edit.length
ops.particle.brush_edit.puff
ops.particle.brush_edit.smooth
ops.transform.edge_slide
ops.transform.push_pull
ops.transform.resize.cage
ops.transform.resize
ops.transform.rotate
ops.transform.shrink_fatten
ops.transform.translate
ops.transform.vert_slide
ops.transform.vertex_random
ops.view3d.edit_mesh_extrude
ops.view3d.edit_mesh_extrude_individual
ops.view3d.ruler
# END ICON_GEOM_NAMES
)
data_to_c_simple(../../../../release/datafiles/bfont.pfb SRC)
data_to_c_simple(../../../../release/datafiles/bfont.ttf SRC)
data_to_c_simple(../../../../release/datafiles/bmonofont.ttf SRC)
if(WITH_BLENDER)
# blender only (not player)
if(NOT WITH_HEADLESS)
# blender UI only
# blends
data_to_c_simple(../../../../release/datafiles/preview.blend SRC)
data_to_c_simple(../../../../release/datafiles/preview_cycles.blend SRC)
# images
data_to_c_simple(../../../../release/datafiles/splash.png SRC)
data_to_c_simple(../../../../release/datafiles/splash_2x.png SRC)
# XXX These are handy, but give nasty "false changes" in svn :/
#svg_to_png(../../../../release/datafiles/blender_icons.svg
#../../../../release/datafiles/blender_icons16.png
#90 SRC)
data_to_c_simple_icons(../../../../release/datafiles/blender_icons16 "icon16_" "${ICON_NAMES}" SRC)
#data_to_c_simple(../../../../release/datafiles/blender_icons16.png SRC)
#svg_to_png(../../../../release/datafiles/blender_icons.svg
#../../../../release/datafiles/blender_icons32.png
#180 SRC)
data_to_c_simple_icons(../../../../release/datafiles/blender_icons32 "icon32_" "${ICON_NAMES}" SRC)
#data_to_c_simple(../../../../release/datafiles/blender_icons32.png SRC)
#svg_to_png(../../../../release/datafiles/prvicons.svg
#../../../../release/datafiles/prvicons.png
#90 SRC)
data_to_c_simple(../../../../release/datafiles/prvicons.png SRC)
# brushes
data_to_c_simple(../../../../release/datafiles/brushicons/add.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/blob.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/blur.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/clay.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/claystrips.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/clone.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/crease.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/darken.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/draw.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/fill.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/flatten.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/grab.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/inflate.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/layer.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/lighten.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/mask.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/mix.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/multiply.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/nudge.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/pinch.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/scrape.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/smear.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/smooth.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/snake_hook.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/soften.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/subtract.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/texdraw.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/texfill.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/texmask.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/thumb.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/twist.png SRC)
data_to_c_simple(../../../../release/datafiles/brushicons/vertexdraw.png SRC)
# matcap
data_to_c_simple(../../../../release/datafiles/matcaps/mc01.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc02.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc03.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc04.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc05.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc06.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc07.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc08.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc09.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc10.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc11.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc12.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc13.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc14.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc15.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc16.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc17.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc18.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc19.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc20.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc21.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc22.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc23.jpg SRC)
data_to_c_simple(../../../../release/datafiles/matcaps/mc24.jpg SRC)
endif()
data_to_c_simple(../../../../release/datafiles/startup.blend SRC)
endif()
unset(ICON_NAMES)
blender_add_lib(bf_editor_datafiles "${SRC}" "${INC}" "${INC_SYS}")
|