blob: b4ed0b362b2dd97aaa4f6e80045ffcc9ea441e0d (
plain)
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
|
externals {
external: "elm";
}
collections {
#define ADD_CUBE(_group, _file) \
images { \
image: #_file##".png" COMP; \
} \
group { \
name: #_group; \
parts { \
part { \
name: "cube"; \
type: IMAGE; \
mouse_events: 1; \
repeat_events: 0; \
description { \
state: "default" 0.0; \
image.normal: #_file##".png"; \
} \
} \
} \
}
ADD_CUBE(blue-cube, cube-blue);
ADD_CUBE(purple-cube, cube-purple);
#undef ADD_CUBE
}
|