forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdf.art.xml
214 lines (193 loc) · 8.65 KB
/
df.art.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<data-definition>
<enum-type type-name='art_image_element_type'>
<enum-item name="CREATURE"/>
<enum-item name="PLANT"/>
<enum-item name="TREE"/>
<enum-item name="SHAPE"/>
<enum-item name="ITEM"/>
</enum-type>
<class-type type-name='art_image_element' original-name='art_image_elementst'>
<int32_t name='count'/>
<virtual-methods>
<vmethod name='write_file'> <pointer name='file' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer name='file' type-name='file_compressorst'/>
<int32_t name='loadversion'/>
</vmethod>
<vmethod ret-type='art_image_element_type' name='getType'/>
<vmethod name='setID'> <int32_t name='ID' comment='race, item type, plant ID, or shape ID'/> </vmethod>
<vmethod is-destructor='true'/>
<vmethod name='clone'>
<ret-type><pointer type-name='art_image_element'/></ret-type>
</vmethod>
<vmethod name='getSymbol'>
<pointer type-name='int8_t' name='sym'/>
<pointer type-name='int32_t'/>
</vmethod>
<vmethod name='getName1'>
<pointer type-name='stl-string' name='name'/>
<bool name='useThe'/>
<bool name='useName'/>
</vmethod>
<vmethod name='getName2'> seems to return like getName1 but with useName true
<pointer type-name='stl-string' name='name'/>
<pointer/>
</vmethod>
<vmethod/>
<vmethod name='getColorAndShape'>
<pointer name='colors'><stl-vector type-name='int16_t'/></pointer>
<pointer name='shapes'><stl-vector type-name='int16_t'/></pointer>
</vmethod>
</virtual-methods>
</class-type>
<class-type type-name='art_image_element_creaturest' inherits-from='art_image_element'>
<int32_t name='race' ref-target='creature_raw'/>
<int16_t name='caste'/>
<int32_t name='histfig' ref-target='historical_figure'/>
</class-type>
<class-type type-name='art_image_element_plantst' inherits-from='art_image_element'>
<int32_t name='plant_id' ref-target='plant_raw'/>
</class-type>
<class-type type-name='art_image_element_treest' inherits-from='art_image_element'>
<int32_t name='plant_id' ref-target='plant_raw'/>
</class-type>
<class-type type-name='art_image_element_shapest' inherits-from='art_image_element'>
<int32_t name='shape_id' ref-target='descriptor_shape'/>
<int16_t/>
</class-type>
<class-type type-name='art_image_element_itemst' inherits-from='art_image_element'>
<enum base-type='int16_t' name='item_type' type-name='item_type'/>
<int16_t name='item_subtype' refers-to='(item-subtype-target $$._parent.item_type $)'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int16_t name='mat_index'/>
<compound name='flags' type-name='item_flags'/>
<int32_t name='item_id' ref-target='item'/>
</class-type>
<enum-type type-name='art_image_property_type'>
<enum-item name="transitive_verb"/>
<enum-item name="intransitive_verb"/>
</enum-type>
<class-type type-name='art_image_property' original-name='art_image_propertyst'>
<df-flagarray name='flags'/>
<virtual-methods>
<vmethod name='write_file'> <pointer name='file' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer name='file' type-name='file_compressorst'/>
<int32_t name='loadversion'/>
</vmethod>
<vmethod ret-type='art_image_property_type' name='getType'/>
<vmethod is-destructor='true'/>
<vmethod name='clone'>
<ret-type><pointer type-name='art_image_element'/></ret-type>
</vmethod>
<vmethod name='getName'>
<pointer type-name='stl-string'/>
<pointer/>
<pointer/>
</vmethod>
</virtual-methods>
</class-type>
<enum-type type-name='art_image_property_verb' base-type='int16_t'>
<enum-item name='Withering'/>
<enum-item name='SurroundedBy'/>
<enum-item name='Massacring'/>
<enum-item name='Fighting'/>
<enum-item name='Laboring'/>
<enum-item name='Greeting'/>
<enum-item name='Refusing'/>
<enum-item name='Speaking'/>
<enum-item name='Embracing'/>
<enum-item name='StrikingDown'/>
<enum-item name='MenacingPose'/>
<enum-item name='Traveling'/>
<enum-item name='Raising'/>
<enum-item name='Hiding'/>
<enum-item name='LookingConfused'/>
<enum-item name='LookingTerrified'/>
<enum-item name='Devouring'/>
<enum-item name='Admiring'/>
<enum-item name='Burning'/>
<enum-item name='Weeping'/>
<enum-item name='LookingDejected'/>
<enum-item name='Cringing'/>
<enum-item name='Screaming'/>
<enum-item name='SubmissiveGesture'/>
<enum-item name='FetalPosition'/>
<enum-item name='SmearedIntoSpiral'/>
<enum-item name='Falling'/>
<enum-item name='Dead'/>
<enum-item name='Laughing'/>
<enum-item name='LookingOffended'/>
<enum-item name='BeingShot'/>
<enum-item name='PlaintiveGesture'/>
<enum-item name='Melting'/>
<enum-item name='Shooting'/>
<enum-item name='Torturing'/>
<enum-item name='CommittingDepravedAct'/>
<enum-item name='Praying'/>
<enum-item name='Contemplating'/>
<enum-item name='Cooking'/>
<enum-item name='Engraving'/>
<enum-item name='Prostrating'/>
<enum-item name='Suffering'/>
<enum-item name='BeingImpaled'/>
<enum-item name='BeingContorted'/>
<enum-item name='BeingFlayed'/>
<enum-item name='HangingFrom'/>
<enum-item name='BeingMutilated'/>
<enum-item name='TriumphantPose'/>
</enum-type>
<class-type type-name='art_image_property_transitive_verbst' inherits-from='art_image_property'>
<int32_t name='subject'/>
<int32_t name='object'/>
<enum base-type='int16_t' name="verb" type-name='art_image_property_verb'/>
</class-type>
<class-type type-name='art_image_property_intransitive_verbst' inherits-from='art_image_property'>
<int32_t comment='subject'/>
<enum base-type='int16_t' name="verb" type-name='art_image_property_verb'/>
</class-type>
<enum-type type-name='art_facet_type'>
<enum-item name="OWN_RACE"/>
<enum-item name="FANCIFUL"/>
<enum-item name="GOOD"/>
<enum-item name="EVIL"/>
</enum-type>
<struct-type type-name='art_image'>
<code-helper name='find-instance'>$(find-instance $art_image_chunk $$).images[$]</code-helper>
<code-helper name='describe'>(describe-obj $.name)</code-helper>
<stl-vector name='elements' pointer-type='art_image_element'/>
<stl-vector name='properties' pointer-type='art_image_property'/>
<int32_t name='event' ref-target='history_event'/>
<compound name='name' type-name='language_name'/>
<enum base-type='int32_t' name='spec_ref_type' type-name='specific_ref_type'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
<enum base-type='int16_t' name='quality' type-name='item_quality'/>
<int32_t name='artist' ref-target='historical_figure'/>
<int32_t name='site' ref-target='world_site'/>
<pointer type-name='general_ref'/>
<int32_t name='year'/>
<int32_t/>
<int32_t name='id' ref-target='art_image_chunk'/>
<int16_t name='subid' ref-target='art_image' aux-value='$$.id'/>
</struct-type>
<struct-type type-name='art_image_chunk'
instance-vector='$global.world.art_image_chunks' key-field='id'>
<int32_t name='id' comment='art_image_*.dat'/>
<static-array name='images' count='500'>
<pointer type-name='art_image'/>
</static-array>
</struct-type>
<struct-type type-name='art_image_ref'>
<int32_t name='id' ref-target='art_image_chunk'/>
<int16_t name='subid' ref-target='art_image' aux-value='$$.id'/>
<int32_t name='civ_id' ref-target='historical_entity' comment='v0.34.01'/>
<int32_t name='site_id' ref-target='world_site' comment='v0.34.01'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->