-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathdf.creation_zone.xml
More file actions
133 lines (113 loc) · 8.22 KB
/
df.creation_zone.xml
File metadata and controls
133 lines (113 loc) · 8.22 KB
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
<data-definition>
<enum-type type-name='creation_zone_pwg_alteration_type' base-type='int16_t'> bay12: CreationZonePWGAlterationType
<enum-item name='NONE' value='-1'/>
<enum-item name='location_death' original-name='LOCATION_DEATH'/>
<enum-item name='camp' original-name='CAMP'/>
<enum-item name='srb_ruined' original-name='SRB_RUINED'/>
<enum-item name='srp_ruined' original-name='SRP_RUINED'/>
</enum-type>
<class-type type-name='creation_zone_pwg_alterationst'>
<int32_t name='id' original-name='local_id'/>
<virtual-methods>
<vmethod ret-type='creation_zone_pwg_alteration_type' name='getType' original-name='type'/>
<vmethod name='write_file'> <pointer name='filecomp' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer name='filecomp' type-name='file_compressorst'/>
<enum name='loadversion' type-name='save_version'/>
</vmethod>
<vmethod is-destructor='true'/>
<vmethod name='apply_to_map'><pointer name='map' comment='map_generatorst'/></vmethod>
<vmethod name='get_location_death'><ret-type><pointer type-name='location_deathst'/></ret-type></vmethod>
</virtual-methods>
</class-type>
<class-type type-name='creation_zone_pwg_alteration_location_deathst' inherits-from='creation_zone_pwg_alterationst'>
<compound name='death' type-name='location_deathst'/>
<int32_t name='killer_civ' original-name='killer_enid' ref-target='historical_entity'/>
</class-type>
<bitfield-type type-name='creation_zone_pwg_alteration_camp_flag' base-type='uint32_t'> bay12: CREATION_ZONE_PWG_ALTERATION_CAMP_FLAG_*
<flag-bit name='commander' original-name='COMMANDER'/>
</bitfield-type>
<class-type type-name='creation_zone_pwg_alteration_campst' inherits-from='creation_zone_pwg_alterationst'>
<int32_t name='x1' original-name='rel_sx'/>
<int32_t name='y1' original-name='rel_sy'/>
<int32_t name='x2' original-name='rel_ex'/>
<int32_t name='y2' original-name='rel_ey'/>
<int32_t name='army_total_pop'/>
<bitfield name='flags' original-name='camp_flag' base-type='uint32_t' type-name='creation_zone_pwg_alteration_camp_flag'/>
<enum name='tent_item' original-name='tent_it' type-name='item_type'/>
<int16_t name='tent_subtype' original-name='tent_st'/>
<int16_t name='tent_material' original-name='tent_mat'/>
<int32_t name='tent_matgloss' original-name='tent_matg'/>
</class-type>
<class-type type-name='creation_zone_pwg_alteration_srb_ruinedst' inherits-from='creation_zone_pwg_alterationst'>
<int32_t name='site_id' original-name='st_id' ref-target='world_site'/>
<int32_t name='building_id' original-name='srb_id' ref-target='site_realization_building'/>
</class-type>
<class-type type-name='creation_zone_pwg_alteration_srp_ruinedst' inherits-from='creation_zone_pwg_alterationst'>
<int32_t name='site_id' original-name='st_id' ref-target='world_site'/>
<int32_t name='plot_id' original-name='srp_id' ref-target='site_realization_plotst'/>
</class-type>
<bitfield-type type-name='creation_zone_item_flag' base-type='uint32_t'> bay12: CREATION_ZONE_ITEM_FLAG_*
<flag-bit name='zone_assigned' original-name='ZONE_ASSIGNED'/>
</bitfield-type>
<struct-type type-name='creation_zone_itemst'>
<pointer name="item" original-name='it' type-name="item"/>
<int32_t name="global_x" original-name='abs_ground_x' comment='in tiles it seems'/>
<int32_t name="global_y" original-name='abs_ground_y'/>
<int32_t name="global_z" original-name='abs_ground_z'/>
<int32_t name="container" original-name='contained_in_item_id' ref-target='item'/>
<int32_t name="building" original-name='contained_in_bld_id' ref-target='building'/>
<bitfield name='flags' original-name='flag' base-type='uint32_t' type-name='creation_zone_item_flag'/>
</struct-type>
<struct-type type-name='creation_zone_buildingst'>
<pointer name="building" original-name='bld' type-name="building"/>
<int32_t name="global_x" original-name='abs_ground_x' comment='in tiles it seems'/>
<int32_t name="global_y" original-name='abs_ground_y'/>
<int32_t name="global_z" original-name='abs_ground_z'/>
<uint32_t name="flags" original-name='flag'/> none yet
</struct-type>
<struct-type type-name='creation_zone_campfirest'>
<int32_t name="global_x" original-name='abs_ground_x' comment='in in-game tiles it seems'/>
<int32_t name="global_y" original-name='abs_ground_y'/>
<int32_t name="global_z" original-name='abs_ground_z'/>
<int32_t name="stoked"/>
</struct-type>
<struct-type type-name='world_object_data' original-name='creation_zonest'
instance-vector='$global.world.world_data.object_data' key-field='id'>
<int32_t name='id' original-name='global_id' comment="World MLT of the data according to: i + x * 16 + k * 16 * world_width + y * 256 * world_width, where (x, y) is the world tile and (i, k) the MLT within it"/>
<stl-vector name="altered_items" original-name='removed_item_creation_num' type-name='int32_t' comment='world_data_subid'/>
<stl-vector name="offloaded_items" original-name='item' pointer-type='creation_zone_itemst'/>
<stl-vector name="detail_abs_x" type-name='int32_t'/>
<stl-vector name="detail_abs_y" type-name='int32_t'/>
<stl-vector name="detail_abs_z" type-name='int32_t'/>
<stl-vector name="detail_image_id" type-name='int32_t'/>
<stl-vector name="detail_image_member" type-name='int16_t'/>
<stl-vector name="altered_buildings" original-name='removed_building_creation_num' type-name='int32_t' comment='world_data_subid'/>
<stl-vector name="offloaded_buildings" original-name='building' pointer-type='creation_zone_buildingst'/>
<stl-vector name="campfire" pointer-type='creation_zone_campfirest'/>
<stl-vector name='creation_zone_alterations' original-name='pwg_alteration' pointer-type='creation_zone_pwg_alterationst' since='v0.40.01'/>
<int32_t name='next_pwg_alteration_local_id' since='v0.40.01'/>
<int32_t name="year"/>
<int32_t name="year_tick" original-name='season_count'/>
<compound name='picked_growths' since='v0.40.14' comment="also includes 'automatically picked' i.e. fallen fruit that becomes item_spatter. Doesn not seem to be used by Adventurer mode"> not a compound
<stl-vector name='x' original-name='picked_growth_rel_x' type-name='int16_t' comment="0 - 47, within the MLT"/>
<stl-vector name='y' original-name='picked_growth_rel_y' type-name='int16_t' comment="0 - 47, within the MLT"/>
<stl-vector name='z' original-name='picked_growth_abs_z' type-name='int16_t' comment="z coordinate using the elevation coordinate system"/>
<stl-vector name='subtype' original-name='picked_growth_ind' type-name='int32_t' comment="subtype of the growth picked within the raws of the implicit plant"/>
<stl-vector name='density' original-name='picked_growth_amount' type-name='int32_t' comment="copy of the density field of the growth raws"/>
<stl-vector name='year' original-name='picked_growth_year' type-name='int32_t' comment="presumably to know whether it's the current year's harvest or the previous one's"/>
</compound>
<compound name='pulled_branches' since='v0.43.01' comment="probably used by Adventurer mode"> not a compound
<stl-vector name='x' original-name='pulled_branch_rel_x' type-name='int16_t' comment="probably MLT relative x coordinate"/>
<stl-vector name='y' original-name='pulled_branch_rel_y' type-name='int16_t' comment="probably MLT relative y coordinate"/>
<stl-vector name='z' original-name='pulled_branch_abs_z' type-name='int16_t' comment="probably z coordinate using the elevation coordinate system"/>
<stl-vector name='year' original-name='pulled_branch_year' type-name='int32_t' comment="233/234 seen"/>
</compound>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->