forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.art.xml
529 lines (486 loc) · 17.4 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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
<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'/>
<bitfield 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 name='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' since='v0.34.01'/>
<int32_t name='site_id' ref-target='world_site' since='v0.34.01'/>
</struct-type>
<struct-type type-name='poetic_form' instance-vector='$global.world.poetic_forms.all' key-field='id'>
<int32_t name='id'/>
<compound name='name' type-name='language_name'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector pointer-type='poetic_form_sub1'/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector pointer-type='poetic_form_sub2'/>
</struct-type>
<struct-type type-name='poetic_form_sub1'>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</struct-type>
<struct-type type-name='poetic_form_sub2'>
<int32_t/>
<int32_t/>
<int32_t/>
</struct-type>
<struct-type type-name='musical_form' instance-vector='$global.world.musical_forms.all' key-field='id'>
<int32_t name='id'/>
<compound name='name' type-name='language_name'/>
<int32_t/>
<int32_t/>
<stl-vector pointer-type='musical_form_sub1'/>
<stl-vector pointer-type='musical_form_instruments'/>
<stl-vector pointer-type='musical_form_sub3'/>
<stl-vector pointer-type='musical_form_sub4'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</struct-type>
<struct-type type-name='musical_form_sub1'>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector pointer-type='musical_form_sub3'/>
<int32_t/>
<int32_t/>
</struct-type>
<struct-type type-name='musical_form_instruments'>
<int32_t name='instrument_subtype' ref-target='itemdef_instrumentst'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</struct-type>
<struct-type type-name='musical_form_sub3'>
<int32_t/>
<int32_t/>
<stl-vector pointer-type='musical_form_sub5'/>
<int32_t/>
</struct-type>
<struct-type type-name='musical_form_sub4'>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</struct-type>
<struct-type type-name='musical_form_sub5'>
<int32_t/>
<int32_t/>
</struct-type>
<struct-type type-name='dance_form' instance-vector='$global.world.dance_forms.all' key-field='id'>
<int32_t name='id'/>
<compound name='name' type-name='language_name'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector pointer-type='dance_form_sub1'/>
<stl-vector pointer-type='dance_form_sub2'/>
</struct-type>
<struct-type type-name='dance_form_sub1'>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<int32_t/>
</struct-type>
<struct-type type-name='dance_form_sub2'>
<stl-string/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<int32_t/>
</struct-type>
<struct-type type-name='scale' instance-vector='$global.world.scales.all' key-field='id'>
<int32_t name='id'/>
<int32_t name='flags'/>
<int32_t/>
<static-array type-name='int32_t' count='25'/>
<int32_t/>
<stl-vector pointer-type='scale_sub1'/>
<stl-vector pointer-type='scale_sub2'/>
<compound name='unk1'>
<int32_t/>
<static-array type-name='stl-string' count='25'/>
<static-array type-name='stl-string' count='25'/>
<static-array type-name='int32_t' count='25'/>
<int32_t/>
</compound>
</struct-type>
<struct-type type-name='scale_sub1'>
<stl-string/>
<static-array type-name='int32_t' count='5'/>
<int32_t/>
<int32_t/>
</struct-type>
<struct-type type-name='scale_sub2'>
<int32_t/>
<stl-string/>
<static-array type-name='int32_t' count='7'/>
<int32_t/>
<int32_t/>
<int32_t/>
</struct-type>
<struct-type type-name='rhythm' instance-vector='$global.world.rhythms.all' key-field='id'>
<int32_t name='id'/>
<stl-vector pointer-type='rhythm_sub1'/>
<stl-vector pointer-type='rhythm_sub2'/>
<int32_t/>
</struct-type>
<struct-type type-name='rhythm_sub1'>
<stl-string/>
<stl-vector>
<pointer>
<pointer type-name='int32_t' is-array='true'/>
<int32_t name='length'/>
</pointer>
</stl-vector>
<pointer type-name='stl-string'/>
<pointer type-name='stl-string'/>
<int32_t/>
</struct-type>
<struct-type type-name='rhythm_sub2'>
<stl-string/>
<stl-vector type-name='int32_t'/>
<stl-vector type-name='int32_t'/>
<int32_t/>
</struct-type>
<enum-type type-name='occupation_type' base-type='int32_t'>
<enum-item name='TAVERN_KEEPER'/>
<enum-item name='PERFORMER'/>
<enum-item name='SCHOLAR'/>
<enum-item name='MERCENARY'/>
<enum-item name='MONSTER_SLAYER'/>
<enum-item name='SCRIBE'/>
<enum-item name='MESSENGER'/>
</enum-type>
<struct-type type-name='occupation' instance-vector='$global.world.occupations.all' key-field='id'>
<int32_t name='id'/>
<enum name='type' base-type='int32_t' type-name='occupation_type'/>
<int32_t name='histfig_id' ref-target='historical_figure'/>
<int32_t name='unit_id' ref-target='unit'/>
<int32_t name='location_id' ref-target='abstract_building' aux-value='$$.site_id'/>
<int32_t name='site_id' ref-target='world_site'/>
<int32_t name='group_id' ref-target='historical_entity'/>
<stl-vector pointer-type='occupation_sub1'/>
<int32_t/>
<pointer/>
<pointer/>
</struct-type>
<struct-type type-name='occupation_sub1'>
<int32_t/>
<int32_t/>
<int16_t/>
<int16_t/>
<int16_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->