forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.legends.xml
113 lines (94 loc) · 3.72 KB
/
df.legends.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
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
<data-definition>
<struct-type type-name='invasion_info'
instance-vector='$global.ui.invasions.list' key-field='id'>
<int32_t name='id'/>
<int32_t name='civ_id' ref-target='historical_entity'/>
<int32_t name='active_size1' comment='0 unless active'/>
<int32_t name='active_size2'/>
<int32_t name='size'/>
<int32_t name='duration_counter'/>
<bitfield base-type='uint16_t' name='flags'>
<flag-bit name='active'/>
<flag-bit name='siege'/>
</bitfield>
<int16_t name='unk4b'/>
</struct-type>
<struct-type type-name='entity_population_unk4'>
<stl-vector>
<pointer>
<int32_t name='idx'/>
<int32_t name='unk1'/>
<int32_t name='unk2'/>
</pointer>
</stl-vector>
<stl-vector/>
<stl-vector>
<pointer>
<int32_t name='idx'/>
<int32_t name='unk1'/>
</pointer>
</stl-vector>
</struct-type>
<struct-type type-name='entity_population' key-field='id' instance-vector='$global.world.entity_populations'>
<compound name='name' type-name='language_name'/>
<code-helper name='describe'>
(describe-obj $.name)
</code-helper>
<stl-vector name='races'>
<int16_t ref-target='creature_raw'/>
</stl-vector>
<stl-vector name='counts' type-name='int32_t'/>
<stl-vector name='unk3' type-name='int32_t'/>
<stl-vector name='unk4'>
<pointer type-name='entity_population_unk4'/>
</stl-vector>
<int32_t name='unk5'/>
<int32_t name='unk6'/>
<int32_t name='id'/>
<int32_t name='flags' comment='?; unk6 == -1'/>
<int32_t name='civ_id' ref-target='historical_entity'/>
</struct-type>
<enum-type type-name='nemesis_flags'>
<enum-item name='ACTIVE_ADVENTURER' comment='used when loading save'/>
<enum-item name='RETIRED_ADVENTURER' comment='allows resuming play'/>
<enum-item name='ADVENTURER' comment='blue color in legends'/>
</enum-type>
<struct-type type-name='nemesis_record' key-field='id' instance-vector='$global.world.nemesis.all'>
<int32_t name='id' comment='sequential index in the array'/>
<int32_t name='unit_id' ref-target='unit'/>
<int32_t name='save_file_id' ref-target='unit_chunk' comment='unit-*.dat'/>
<int16_t name='member_idx' comment='index in the file'/>
<pointer name='figure' type-name='historical_figure'/>
<pointer name='unit' type-name='unit'/>
<code-helper name='describe'>
(describe-obj $.figure)
</code-helper>
<int32_t name='group_leader_id' ref-target='nemesis_record'/>
<stl-vector name='companions'>
<int32_t ref-target='nemesis_record'/>
</stl-vector>
<int16_t name='unk10' init-value='-1'/>
<int32_t name='unk11' init-value='-1'/>
<int32_t name='unk12' init-value='-1'/>
<df-flagarray name='flags' index-enum='nemesis_flags'/>
</struct-type>
<struct-type type-name='artifact_record' key-field='id'
instance-vector='$global.world.artifacts.all'>
<int32_t name='id'/>
<code-helper name='describe'>
(describe-obj $.name)
</code-helper>
<compound name='name' type-name='language_name'/>
<df-flagarray name='flags'/>
<pointer name='item' type-name='item'/>
<int32_t comment='v0.34.01'/>
<int32_t comment='v0.34.01'/>
<int32_t comment='v0.34.01'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->