forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.descriptors.xml
58 lines (52 loc) · 2.27 KB
/
df.descriptors.xml
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
<data-definition>
<enum-type type-name='pattern_type' base-type='int16_t'>
<enum-item name='MONOTONE'/>
<enum-item name='STRIPES'/>
<enum-item name='IRIS_EYE'/>
<enum-item name='SPOTS'/>
<enum-item name='PUPIL_EYE'/>
<enum-item name='MOTTLED'/>
</enum-type>
<struct-type type-name='descriptor_color' instance-vector='$global.world.raws.descriptors.colors'>
<stl-string name="id"/>
<code-helper name='describe'>$.id</code-helper>
<stl-vector name="word_unk" pointer-type='stl-string'/>
<stl-vector name="words" type-name='int32_t' ref-target='language_word'/>
<stl-string name="name"/>
<enum name='color' type-name='curses_color' base-type='int8_t'/>
<int8_t name='bold'/>
<s-float name="red"/>
<s-float name="green"/>
<s-float name="blue"/>
</struct-type>
<struct-type type-name='descriptor_shape' instance-vector='$global.world.raws.descriptors.shapes'>
<stl-string name="id"/>
<code-helper name='describe'>$.id</code-helper>
<stl-vector name="words_str" pointer-type='stl-string' comment='temporary storage before resolving to language_word' />
<stl-vector name="words" type-name='int32_t' ref-target='language_word'/>
<stl-string name="name"/>
<stl-string name="name_plural"/>
<stl-vector name="adj" pointer-type='stl-string'/>
<bitfield name='gems_use'>
<flag-bit name='noun'/>
<flag-bit name='adj'/>
<flag-bit name='adj_noun'/>
</bitfield>
<stl-vector name="category" pointer-type='stl-string' since='v0.47.01'/>
<int32_t name='faces' since='v0.47.01'/>
<uint8_t name="tile"/>
</struct-type>
<struct-type type-name='descriptor_pattern' instance-vector='$global.world.raws.descriptors.patterns'>
<stl-string name='id'/>
<code-helper name='describe'>$.id</code-helper>
<stl-vector name="colors" type-name='int16_t' ref-target='descriptor_color'/>
<enum base-type='int16_t' type-name='pattern_type' name='pattern'/>
<stl-vector name='cp_color' pointer-type='stl-string'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->