Skip to content

Commit

Permalink
Figure out more job-related ui objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
angavrilov committed Jan 2, 2012
1 parent 4499a8c commit 7b89e59
Show file tree
Hide file tree
Showing 12 changed files with 674 additions and 389 deletions.
4 changes: 2 additions & 2 deletions df.buildings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
<int32_t name="min_level"/>
<int32_t name="max_level"/>

<int32_t name="custom_type" refers-to='$global.world.raws.buildings.furnaces[$]'/>
<int32_t name="custom_type" ref-target='building_def'/>
</class-type>

<enum-type type-name='workshop_type'>
Expand Down Expand Up @@ -206,7 +206,7 @@
<int32_t name="machine_id" ref-target='machine'/>
<int32_t name="unk_118"/>

<int32_t name="custom_type" refers-to='$global.world.raws.buildings.workshops[$]'/>
<int32_t name="custom_type" ref-target='building_def'/>
</class-type>

-- misc --
Expand Down
8 changes: 4 additions & 4 deletions df.job-enums.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2144,11 +2144,11 @@
<enum-item name='PerformCustomReaction'>
<item-attr name='caption' value='Perform Custom Reaction'/>
</enum-item>
<enum-item name='Unknown214'>
<item-attr name='caption' value='Unknown Job'/>
<enum-item name='ConstructSlab'>
<item-attr name='caption' value='Construct Slab'/>
</enum-item>
<enum-item name='Unknown215'>
<item-attr name='caption' value='Unknown Job'/>
<enum-item name='EngraveSlab'>
<item-attr name='caption' value='Engrave Memorial Slab'/>
</enum-item>
<enum-item name='ShearCreature'>
<item-attr name='caption' value='Shear Creature'/>
Expand Down
4 changes: 2 additions & 2 deletions df.jobs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<int16_t name='item_subtype'/>

<compound name="item_category" type-name='job_item_category'/>
<int32_t name='unk8'/>
<int32_t name="hist_figure_id" ref-target='historical_figure'/>
<compound name='material_category' type-name='job_material_category'/>

<stl-string name='reaction_name'/>
Expand Down Expand Up @@ -220,7 +220,7 @@
<int32_t name="mat_index"/>

<compound name="item_category" type-name='job_item_category'/>
<int32_t name="unk_18"/>
<int32_t name="hist_figure_id" ref-target='historical_figure'/>
<compound name="material_category" type-name='job_material_category'/>

<int16_t name="amount_left"/>
Expand Down
6 changes: 3 additions & 3 deletions df.raws.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,13 @@
<pointer type-name='building_def'/>
</stl-vector>
<stl-vector name='workshops'>
<pointer type-name='building_def'/>
<pointer type-name='building_def_workshopst'/>
</stl-vector>
<stl-vector name='furnaces'>
<pointer type-name='building_def'/>
<pointer type-name='building_def_furnacest'/>
</stl-vector>

<int32_t name='unk3'/>
<int32_t name='next_id'/>
</compound>

-- Material index
Expand Down
Loading

0 comments on commit 7b89e59

Please sign in to comment.