Skip to content

Commit

Permalink
rename duplicate inherited field names
Browse files Browse the repository at this point in the history
  • Loading branch information
jj committed Jul 4, 2012
1 parent a08a442 commit eb6f706
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions df.buildings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@
</class-type>

<class-type type-name='building_doorst' inherits-from='building_actual'>
<compound name='flags' type-name='door_flags' init-value='0x50'/>
<compound name='door_flags' type-name='door_flags' init-value='0x50'/>
<int16_t name='close_timer'/>
</class-type>

Expand Down Expand Up @@ -876,7 +876,7 @@
</class-type>

<class-type type-name='building_hatchst' inherits-from='building_actual'>
<compound name='flags' type-name='door_flags' init-value='0x50'/>
<compound name='door_flags' type-name='door_flags' init-value='0x50'/>
<int16_t name='close_timer'/>
</class-type>

Expand Down Expand Up @@ -916,8 +916,8 @@

<class-type type-name='building_shopst' inherits-from='building_actual'>
<int32_t name='has_owner'/>
<int32_t name='owner' comment='type uncertain - not a unit ID or unit pointer'/>
<bitfield name='flags' base-type='int16_t' init-value='1'>
<int32_t name='shop_owner' comment='type uncertain - not a unit ID or unit pointer'/>
<bitfield name='shop_flags' base-type='int16_t' init-value='1'>
<flag-bit name='for_sale'/>
</bitfield>
<enum base-type='int16_t' name="type" type-name='shop_type'/>
Expand Down Expand Up @@ -958,7 +958,7 @@
</class-type>

<class-type type-name='building_tablest' inherits-from='building_actual'>
<bitfield name='flags' base-type='int16_t'>
<bitfield name='table_flags' base-type='int16_t'>
<flag-bit name='meeting_hall'/>
</bitfield>
<compound name='users' type-name='building_users'/>
Expand All @@ -970,7 +970,7 @@
</class-type>

<class-type type-name='building_tradedepotst' inherits-from='building_actual'>
<bitfield name='flags' base-type='uint32_t'>
<bitfield name='trade_flags' base-type='uint32_t'>
<flag-bit name='trader_requested'/>
<flag-bit name='anyone_can_trade'/>
</bitfield>
Expand Down Expand Up @@ -1058,7 +1058,7 @@
</class-type>

<class-type type-name='building_wellst' inherits-from='building_actual'>
<bitfield name='flags' base-type='int16_t'>
<bitfield name='well_flags' base-type='int16_t'>
<flag-bit name='lowering'/>
</bitfield>
<int8_t/>
Expand Down
6 changes: 3 additions & 3 deletions df.history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
<int32_t name='source' ref-target='historical_entity'/>
<int32_t name='destination' ref-target='historical_entity'/>
<int32_t name='site' ref-target='world_site'/>
<df-flagarray name='flags'/>
<df-flagarray name='flags2'/>
</class-type>

<class-type type-name='history_event_artifact_hiddenst' inherits-from='history_event'>
Expand All @@ -626,7 +626,7 @@
<int32_t name='unit_id' ref-target='unit'/>
<int32_t name='hfid' ref-target='historical_figure'/>
<int32_t name='site' ref-target='world_site'/>
<uint32_t name='flags' comment='1 = was named, not created'/>
<uint32_t name='flags2' comment='1 = was named, not created'/>
</class-type>

<class-type type-name='history_event_artifact_lostst' inherits-from='history_event'>
Expand All @@ -653,7 +653,7 @@
<int32_t name='unit' ref-target='unit'/>
<int32_t name='histfig' ref-target='historical_figure'/>
<int32_t name='site' ref-target='world_site'/>
<df-flagarray name='flags'/> 1=due to injury
<df-flagarray name='flags2'/> 1=due to injury
</class-type>

<class-type type-name='history_event_reclaim_sitest' inherits-from='history_event'>
Expand Down

0 comments on commit eb6f706

Please sign in to comment.