Skip to content

Commit

Permalink
Merge pull request #161 from JapaMala/43.03
Browse files Browse the repository at this point in the history
Added world building info.
  • Loading branch information
RosaryMala authored Aug 29, 2016
2 parents 761f2ca + 650adfc commit 7422b71
Showing 1 changed file with 32 additions and 24 deletions.
56 changes: 32 additions & 24 deletions df.world-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -708,32 +708,40 @@
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
</struct-type>

<bitfield-type type-name='tower_shape'>
<flag-bit name='round'/>
<flag-bit name='hollow' comment='no internal floors or fortifications'/>
<flag-bit name='keep' comment='fill with rooms at the bottom'/>
<flag-bit name='goblin' comment='ignore set heights and generate automatically'/>
<flag-bit name='unk10' comment='set on goblin towers. doesnt seem to do anything'/>
</bitfield-type>

<class-type type-name='site_realization_building_info_castle_wallst'
inherits-from='site_realization_building_infost'>
<int32_t name="unk_4"/>
<int32_t name="unk_8"/>
<int32_t name="unk_c"/>
<int32_t name="unk_10"/>
<int32_t name="unk_14"/>
<int32_t name="unk_18"/>
<int32_t name="unk_1c"/>
<int32_t name='unk_20'/>
<compound name='item1' type-name='site_building_item'/>
<compound name='item2' type-name='site_building_item'/>
<int32_t name="length"/>
<int32_t name="door_pos"/>
<int32_t name="start_x"/>
<int32_t name="start_y"/>
<int32_t name="start_z"/>
<int32_t name="end_x"/>
<int32_t name="end_y"/>
<int32_t name='end_z'/>
<compound name='wall_item' type-name='site_building_item'/>
<compound name='door_item' type-name='site_building_item'/>
</class-type>

<class-type type-name='site_realization_building_info_castle_towerst'
inherits-from='site_realization_building_infost'>
<int32_t name='unk_4'/>
<int32_t name="unk_8"/>
<int32_t name="unk_c"/>
<int32_t name="unk_10"/>
<int32_t name="unk_14"/>
<int32_t name="unk_18"/>
<compound name='item1' type-name='site_building_item'/>
<compound name='item2' type-name='site_building_item'/>
<int32_t name="unk_3c"/>
<int32_t name='roof_z'/>
<int32_t name="base_z" comment="can be below ground, but not above ground"/>
<int32_t name="door_n_elevation"/>
<int32_t name="door_s_elevation"/>
<int32_t name="soor_e_elevation"/>
<int32_t name="door_w_elevation"/>
<compound name='door_item' type-name='site_building_item'/>
<compound name='wall_item' type-name='site_building_item'/>
<compound name='shape' type-name='tower_shape'/>
<int32_t name="unk_40"/>
<int32_t name="unk_44"/>
</class-type>
Expand Down Expand Up @@ -787,11 +795,11 @@
<class-type type-name='site_realization_building_info_trenchesst'
inherits-from='site_realization_building_infost'>
<int32_t name='unk_4'/>
<static-array name='unk_8' count='4'>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t/>
<static-array name='spokes' count='4' comment='N, S, E, W'>
<int32_t name='mound_min' comment='-30000 = nothing here'/>
<int32_t name='trench_min'/>
<int32_t name='trench_max'/>
<int32_t name='mound_max'/>
</static-array>
</class-type>

Expand Down

0 comments on commit 7422b71

Please sign in to comment.