2
|
1 |
#include <arrayheader.rh>
|
|
2 |
#include <enumsheader.rh>
|
|
3 |
#include <basicheader.rh>
|
|
4 |
|
|
5 |
RESOURCE ARRAY_TYPES_DEFAULTS r_test_array_map_into_property
|
|
6 |
{
|
|
7 |
ints = { EFlagThird, EFlagFirst, EFlagSecond };
|
|
8 |
}
|
|
9 |
RESOURCE PALETTE r_test_array_map_into_property_2
|
|
10 |
{
|
|
11 |
palette_colors = r_test_array_map_into_property_palette_colors;
|
|
12 |
palette_names = r_test_array_map_into_property_palette_names;
|
|
13 |
}
|
|
14 |
RESOURCE ARRAY r_test_array_map_into_property_palette_colors
|
|
15 |
{
|
|
16 |
items = { r_test_array_map_into_property_items, r_test_array_map_into_property_items_2, r_test_array_map_into_property_items_3 };
|
|
17 |
}
|
|
18 |
RESOURCE RGB r_test_array_map_into_property_items
|
|
19 |
{
|
|
20 |
r = 255;
|
|
21 |
}
|
|
22 |
RESOURCE RGB r_test_array_map_into_property_items_2
|
|
23 |
{
|
|
24 |
r = 255;
|
|
25 |
g = 255;
|
|
26 |
b = 255;
|
|
27 |
}
|
|
28 |
RESOURCE RGB r_test_array_map_into_property_items_3
|
|
29 |
{
|
|
30 |
r = 255;
|
|
31 |
g = 255;
|
|
32 |
b = 128;
|
|
33 |
}
|
|
34 |
RESOURCE ARRAY r_test_array_map_into_property_palette_names
|
|
35 |
{
|
|
36 |
items = { r_test_array_map_into_property_items_4, r_test_array_map_into_property_items_5, r_test_array_map_into_property_items_6 };
|
|
37 |
}
|
|
38 |
RESOURCE LBUF r_test_array_map_into_property_items_4
|
|
39 |
{
|
|
40 |
txt = "red";
|
|
41 |
}
|
|
42 |
RESOURCE LBUF r_test_array_map_into_property_items_5
|
|
43 |
{
|
|
44 |
txt = "white";
|
|
45 |
}
|
|
46 |
RESOURCE LBUF r_test_array_map_into_property_items_6
|
|
47 |
{
|
|
48 |
txt = "orange";
|
|
49 |
}
|