-
Notifications
You must be signed in to change notification settings - Fork 81
/
df.raws.xml
321 lines (271 loc) · 15.2 KB
/
df.raws.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
<data-definition>
<class-type type-name='creature_handler' original-name='creature_handlerst' custom-methods='true'>
<stl-vector name='alphabetic' pointer-type='creature_raw'/>
<stl-vector name='all' pointer-type='creature_raw'/>
<int32_t name='num_caste' comment='seems equal to length of vectors below'/>
<stl-vector name='list_creature' type-name='int32_t'
comment='Together with list_caste, a list of all caste indexes in order.'/>
<stl-vector name='list_caste' type-name='int32_t'/>
<stl-vector name='action_strings' pointer-type='stl-string' since='v0.40.01'/>
<stl-unordered-map name='hist_fig_to_creature_map' type-name='int32_t' comment='unordered_map<int32_t,int32_t>'/>
<virtual-methods>
<vmethod name='getTile' ret-type='uint8_t'>
<int16_t name='creature_index' ref-target='creature_raw'/>
<int16_t name='caste_index' ref-target='caste_raw'/>
<bool name='alt'/>
<bool name='soldier'/>
</vmethod>
<vmethod name='getGlowTile' ret-type='uint8_t'>
<int16_t name='creature_index' ref-target='creature_raw'/>
<int16_t name='caste_index' ref-target='caste_raw'/>
</vmethod>
</virtual-methods>
</class-type>
<struct-type type-name='soundst'>
<stl-string name='token'/>
<int32_t name='index'/>
<stl-vector name='current_definition' pointer-type='stl-string'/>
<df-flagarray name='flag'/>
<int32_t name='source_hfid'/>
<int32_t name='source_enid'/>
<int32_t name='sound' comment='index of sound to be played'/>
<stl-vector name='announcement' comment='sound can be selected for these announcement types'>
<enum type-name='announcement_type'/>
</stl-vector>
</struct-type>
<struct-type type-name='world_raws'>
!! in bay12 each of these is its own compound and some of them are classes with their own methods !!
-- Materials
bay12: material_template_handlerst
<stl-vector name='material_templates' pointer-type='material_template' comment='bay12: material_template_handlerst material_template'/>
-- Inorganic
<!-- <compound> --> bay12: inorganic_material_definition_handlerst
<stl-vector name='inorganics' pointer-type='inorganic_raw'/>
<stl-vector name='inorganics_subset' pointer-type='inorganic_raw' comment='all inorganics with value less than 4'/>
<!-- </compound> -->
-- Plants
<compound name='plants'> bay12: plant_material_definition_handlerst
<stl-vector name='all' pointer-type='plant_raw'/>
<stl-vector name='bushes' pointer-type='plant_raw'/>
<stl-vector name='bushes_idx' index-refers-to='$$._parent.bushes[$]'>
<int32_t ref-target='plant_raw'/>
</stl-vector>
<stl-vector name='trees' pointer-type='plant_raw'/>
<stl-vector name='trees_idx' index-refers-to='$$._parent.trees[$]'>
<int32_t ref-target='plant_raw'/>
</stl-vector>
<stl-vector name='grasses' pointer-type='plant_raw'/>
<stl-vector name='grasses_idx' index-refers-to='$$._parent.grasses[$]'>
<int32_t ref-target='plant_raw'/>
</stl-vector>
<stl-vector name='tree_leaf_graphics_info'/> 0.50.01 - int32 id + int32 texpos
<stl-vector name='tree_wood_graphics_info'/> 0.50.01 - int32 id + int32 texpos
</compound>
-- Creature RAWs
bay12: tissue_template_handlerst
<stl-vector name='tissue_templates' pointer-type='tissue_template'/>
bay12: body_detail_plan_handlerst
<stl-vector name='body_detail_plans' pointer-type='body_detail_plan'/>
<!-- <compound name='creaturebody'> --> bay12: creaturebody_handlerst
<stl-vector name='body_templates' pointer-type='body_template' comment='bay12: creaturebody'/>
<stl-vector name='bodyglosses' comment='bay12: creaturebodygloss'>
<pointer> bay12: creaturebody_glossst
<stl-string name='id'/>
<stl-string name='old_singular'/>
<stl-string name='new_singular'/>
<stl-string name='old_plural'/>
<stl-string name='new_plural'/>
</pointer>
</stl-vector>
<!-- </compound> -->
bay12: creature_variation_handlerst
<stl-vector name='creature_variations' pointer-type='creature_variation'/>
-- Creatures
<compound name='creatures' type-name='creature_handler'/>
-- Item RAWs
<compound name='itemdefs'> bay12: itemdef_handlerst
<stl-vector name='all' pointer-type='itemdef'/>
<stl-vector name='weapons' pointer-type='itemdef_weaponst'/>
<stl-vector name='trapcomps' pointer-type='itemdef_trapcompst'/>
<stl-vector name='toys' pointer-type='itemdef_toyst'/>
<stl-vector name='tools' pointer-type='itemdef_toolst'/>
<static-array name='tools_by_type' count='26' index-enum='tool_uses'>
<stl-vector pointer-type='itemdef_toolst'/>
</static-array>
<stl-vector name='instruments' pointer-type='itemdef_instrumentst'/>
<stl-vector name='armor' pointer-type='itemdef_armorst'/>
<stl-vector name='ammo' pointer-type='itemdef_ammost'/>
<stl-vector name='siege_ammo' pointer-type='itemdef_siegeammost'/>
<stl-vector name='gloves' pointer-type='itemdef_glovesst'/>
<stl-vector name='shoes' pointer-type='itemdef_shoesst'/>
<stl-vector name='shields' pointer-type='itemdef_shieldst'/>
<stl-vector name='helms' pointer-type='itemdef_helmst'/>
<stl-vector name='pants' pointer-type='itemdef_pantsst'/>
<stl-vector name='food' pointer-type='itemdef_foodst'/>
<stl-vector name='coin_graphics_info'/> 0.50.01
<stl-vector name='figurine_graphics_info'/> 0.50.01
<stl-vector name='amulet_graphics_info'/> 0.50.01
<stl-vector name='scepter_graphics_info'/> 0.50.01
<stl-vector name='crown_graphics_info'/> 0.50.01
<stl-vector name='ring_graphics_info'/> 0.50.01
<stl-vector name='bracelet_graphics_info'/> 0.50.01
<stl-vector name='earring_graphics_info'/> 0.50.01
<stl-vector name='bld_chain_graphics_info'/> 0.50.01
<stl-vector name='table_graphics_info'/> 0.50.01
<stl-vector name='window_graphics_info'/> 0.50.01
<stl-vector name='chair_graphics_info'/> 0.50.01
<stl-vector name='cabinet_graphics_info'/> 0.50.01
<stl-vector name='bed_graphics_info'/> 0.50.01
<stl-vector name='statue_graphics_info'/> 0.50.01
<stl-vector name='box_graphics_info'/> 0.50.01
<stl-vector name='door_graphics_info'/> 0.50.01
<stl-vector name='grate_graphics_info'/> 0.50.01
<stl-vector name='hatch_cover_graphics_info'/> 0.50.01
<stl-vector name='floodgate_graphics_info'/> 0.50.01
<stl-vector name='traction_bench_graphics_info'/> 0.50.01
<stl-vector name='coffin_graphics_info'/> 0.50.01
<stl-vector name='cloth_graphics_info'/> 0.50.01
<stl-vector name='splint_graphics_info'/> 0.50.01
<stl-vector name='crutch_graphics_info'/> 0.50.01
<stl-vector name='slab_graphics_info'/> 0.50.01
<stl-vector name='cage_graphics_info'/> 0.50.01
<stl-vector name='bucket_graphics_info'/> 0.50.01
<stl-vector name='animal_trap_graphics_info'/> 0.50.01
<stl-vector name='bin_graphics_info'/> 0.50.01
<stl-vector name='bag_graphics_info'/> 0.50.01
<stl-vector name='anvil_graphics_info'/> 0.50.01
<stl-vector name='thread_graphics_info'/> 0.50.01
<stl-vector name='backpack_graphics_info'/> 0.50.01
<stl-vector name='quiver_graphics_info'/> 0.50.01
<stl-vector name='catapult_parts_graphics_info'/> 0.50.01
<stl-vector name='ballista_parts_graphics_info'/> 0.50.01
<stl-vector name='mechanisms_graphics_info'/> 0.50.01
<stl-vector name='egg_graphics_info'/> 0.50.01
<stl-vector name='book_graphics_info'/> 0.50.01
<stl-vector name='wood_barrel_graphics_info'/> 0.50.01
<stl-vector name='metal_barrel_graphics_info'/> 0.50.01
<stl-vector name='chain_graphics_info'/> 0.50.01
<stl-vector name='flask_graphics_info'/> 0.50.01
<stl-vector name='goblet_graphics_info'/> 0.50.01
<stl-vector name='bar_graphics_info'/> 0.50.01
<stl-vector name='block_graphics_info'/> 0.50.01
<stl-vector name='wood_graphics_info'/> 0.50.01
<stl-vector name='gem_graphics_info'/> 0.50.01
<stl-vector name='sheet_graphics_info'/> 0.50.01
<stl-vector name='instrument_graphics_info'/> 0.50.01
<stl-vector name='liquid_graphics_info'/> 0.50.01
<stl-vector name='powder_graphics_info'/> 0.50.01
<stl-vector name='pipe_section_graphics_info'/> 0.50.01
<static-array name='statue_texpos_top' count='92' type-name='int32_t' /> 0.50.01
<static-array name='statue_texpos_bottom' count='92' type-name='int32_t' /> 0.50.01
</compound>
-- Entity RAWs
bay12: entity_def_handlerst
<stl-vector name='entities' pointer-type='entity_raw'/>
-- Language RAWs
<compound name='language'> bay12: language_handlerst
<stl-vector name='words' pointer-type='language_word'/>
<stl-vector name='symbols' pointer-type='language_symbol'/>
<stl-vector name='translations' pointer-type='language_translation'/>
<static-array name='word_table' count='2'> default_major_selector + default_minor_selector
<static-array type-name='language_word_table' index-enum='language_name_category' count='68'/>
</static-array>
</compound>
-- Descriptors
<compound name='descriptors'> bay12: descriptor_handlerst
<stl-vector name='colors' pointer-type='descriptor_color'/>
<stl-vector name='shapes' pointer-type='descriptor_shape'/>
<stl-vector name='patterns' pointer-type='descriptor_pattern'/>
<stl-vector name='simple_shape_index' type-name='int32_t' since='v0.47.01'/>
<stl-vector name='simple_shape_adj_index' type-name='int32_t' since='v0.47.01'/>
<stl-vector name='simple_shape_scramble_ind' type-name='int32_t' since='v0.47.01'/>
<stl-vector name='boulder_floor_graphics_info'/> 0.50.01
<stl-vector name='engraved_floor_graphics_info'/> 0.50.01
<stl-vector name='wood_floor_graphics_info'/> 0.50.01
<stl-vector name='metal_floor_graphics_info'/> 0.50.01
<stl-vector name='stone_block_floor_graphics_info'/> 0.50.01
<stl-vector name='wall_graphics_info'/> 0.50.01
<stl-vector name='ramp_graphics_info'/> 0.50.01
<stl-vector name='stair_graphics_info'/> 0.50.01
<stl-vector name='fortification_graphics_info'/> 0.50.01
<stl-vector name='track_graphics_info'/> 0.50.01
<stl-vector name='spatter_graphics_info'/> 0.50.08-beta
</compound>
-- Reaction RAWs
<compound name='reactions'> bay12: reaction_handlerst
<stl-vector name='reactions' pointer-type='reaction'/>
<stl-vector name='reaction_categories' pointer-type='reaction_category'/>
</compound>
-- Workshops
<compound name='buildings'> bay12: building_def_handlerst
<stl-vector name='all' pointer-type='building_def'/>
<stl-vector name='workshops' pointer-type='building_def_workshopst'/>
<stl-vector name='furnaces' pointer-type='building_def_furnacest'/>
<int32_t name='next_id'/>
<stl-vector name='axle_horizontal_ns_graphics_info'/> 0.50.01
<stl-vector name='axle_horizontal_we_graphics_info'/> 0.50.01
<stl-vector name='axle_vertical_graphics_info'/> 0.50.01
<stl-vector name='trap_graphics_info'/> 0.50.01
<stl-vector name='wagon_graphics_info'/> 0.50.01
<stl-vector name='gear_assembly_graphics_info'/> 0.50.01
<stl-vector name='bridge_graphics_info'/> 0.50.01
<stl-vector name='windmill_graphics_info'/> 0.50.01
<stl-vector name='water_wheel_graphics_info'/> 0.50.01
<stl-vector name='rollers_graphics_info'/> 0.50.01
<stl-vector name='track_stop_graphics_info'/> 0.50.01
<stl-vector name='workshop_graphics_info'/> 0.50.01
<stl-vector name='ballista_graphics_info'/> 0.50.01
<stl-vector name='catapult_graphics_info'/> 0.50.01
<stl-vector name='support_graphics_info'/> 0.50.01
<stl-vector name='bars_vertical_graphics_info'/> 0.50.01
<stl-vector name='screwpump_graphics_info'/> 0.50.01
<stl-vector name='weapon_rack_graphics_info'/> 0.50.01
<stl-vector name='armor_stand_graphics_info'/> 0.50.01
</compound>
-- Interactions
bay12: interaction_handlerst
<stl-vector name='interactions' since='v0.34.01' pointer-type='interaction'/>
-- Text set
<compound name='text_set'> bay12: text_set_handlerst
<stl-vector name='text_sets'/>
<static-array name='hardcoded_set_index' count='63' type-name='int32_t'/>
</compound>
-- Audio
<compound name='music'> bay12: music_handlerst
<stl-vector name='music'/>
</compound>
<compound name='sound'> bay12: sound_handlerst
<stl-vector name='sound' pointer-type='soundst'/>
</compound>
-- Material index
bay12: material_infost, also includes syndromes and effects
<compound name='mat_table' type-name='special_mat_table'/>
-- Interaction effects
<compound name='syndromes'>
<stl-vector name='mat_types' index-refers-to='$$._parent.all[$]'>
<int16_t ref-target='material' aux-value='$$._parent.mat_indexes[$._key]'/>
</stl-vector>
<stl-vector name='mat_indexes' type-name='int32_t'/>
<stl-vector name='interactions'>
<int32_t ref-target='interaction'/>
</stl-vector>
<stl-vector name='all' since='v0.34.01' pointer-type='syndrome'/>
</compound>
<compound name='effects'>
<stl-vector name='mat_types' index-refers-to='$$._parent.all[$]'>
<int16_t ref-target='material' aux-value='$$._parent.mat_indexes[$._key]'/>
</stl-vector>
<stl-vector name='mat_indexes' type-name='int32_t'/>
<stl-vector name='interactions'>
<int32_t ref-target='interaction'/>
</stl-vector>
<stl-vector name='all' since='v0.34.01' pointer-type='creature_interaction_effect'/>
</compound>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->