forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdf.burrow.xml
64 lines (56 loc) · 2.27 KB
/
df.burrow.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
59
60
61
62
63
64
<data-definition>
<bitfield-type type-name='burrow_flag' base-type='uint32_t'> bay12: BURROW_FLAG_*
<flag-bit name='limit_workshops'/>
<flag-bit name='suspended'/>
</bitfield-type>
<struct-type type-name='burrow' original-name='burrowst' key-field='id' instance-vector='$global.plotinfo.burrows.list'>
<int32_t name='id'/>
<stl-string name='name'/>
<code-helper name='describe'>
(describe-obj $.name)
</code-helper>
<uint8_t name='tile' init-value='43'/>
<int16_t name='fg_color' init-value='11'/>
<int16_t name='bg_color' init-value='3'/>
<stl-vector name='block_x' type-name='int32_t'/>
<stl-vector name='block_y' type-name='int32_t'/>
<stl-vector name='block_z' type-name='int32_t'/>
<stl-vector name='units' type-name='int32_t' ref-target='unit'/>
<bitfield name='flags' base-type='uint32_t' type-name='burrow_flag'/>
<int32_t name='solid_texpos'/>
<int32_t name='blended_texpos'/>
<int32_t name='symbol_index'/>
<uint8_t name='texture_r'/>
<uint8_t name='texture_g'/>
<uint8_t name='texture_b'/>
<uint8_t name='texture_br'/>
<uint8_t name='texture_bg'/>
<uint8_t name='texture_bb'/>
</struct-type>
<struct-type type-name='burrow_infost'>
<stl-vector name='list' pointer-type='burrow'/>
<int32_t name='next_id'/>
<int32_t name='sel_index' refers-to='$$._parent.list[$]'/>
<int32_t name='sel_id' ref-target='burrow'/>
<bool name='in_confirm_delete'/>
<bool name='in_add_units_mode'/>
<stl-vector name='list_units' pointer-type='unit'/>
<stl-bit-vector name='sel_units' index-refers-to='$$._parent.list_units[$]'/>
<int32_t name='unit_cursor_pos'/>
<bool name='in_define_mode'/>
<bool name='brush_erasing'/>
<compound name='rect_start' type-name='coord'/>
<int16_t name='brush_mode'/>
<bool name='in_edit_name_mode'/>
<int16_t name='sym_selector'/>
<uint8_t name='sym_tile'/>
<int16_t name='sym_fg_color'/>
<int16_t name='sym_bg_color'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->