v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing User:Bpuk

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 473: Line 473:
 
===Building Job Structure===
 
===Building Job Structure===
  
Appears to be 128 bytes long. Appears that this is actually a 'task' structure for any task. I suspect that there will be a pointer to one of these in the creature structure. Maybe even pointing to the same object?
+
Appears to be 128 bytes long. Haven't looked at this yet.
{| border="1" cellpadding="2" width="100%"
 
! width="5%" | Offset
 
! width="10%" | Size
 
! width="10%" | Type
 
! width="20%" | Name
 
! width="55%" | Notes
 
 
 
|-
 
| <code>00h</code>
 
| 4
 
| long
 
| ID
 
| Increases with each new job. Doesn't appear to reuse. Haven't tried to rollover
 
 
 
|-
 
| <code>04h</code>
 
| 4
 
| pointer?
 
| Unknown
 
|
 
 
 
|-
 
| <code>08h</code>
 
| 2
 
| short
 
| Material Type?
 
| Common types for wood, cloth, rock etc. Sure I've seen a list on the wiki of these, but if not I'll throw one together
 
 
 
|-
 
| <code>0Ah</code>
 
| 2
 
| short
 
| Task
 
| Interestingly contains all dwarf tasks. Including half a dozen strange moods.
 
 
 
|-
 
| <code>0Ch</code>
 
| 4
 
| long
 
| Unknown
 
| Generally the same for the same workshop. Probably a pair of shorts
 
 
 
|-
 
| <code>10h</code>
 
| 4
 
| long
 
| Work left on item
 
| Unstarted jobs are 0xFFFFFFFF. When job becomes active changes to a job specific value then counts down. At 0 job is complete and removed from vector.
 
 
 
|-
 
| <code>14h</code>
 
| 4
 
| long
 
| Unknown
 
| Often 0, FFFFFFFF or 80008
 
 
 
|-
 
| <code>18h</code>
 
| 2
 
| short
 
| Unknown
 
| Generally 0, 0C00, FFFF
 
 
 
|-
 
| <code>1Ah</code>
 
| 2
 
| short
 
| Status bitfield
 
| 1 is repeat, 2 is suspend, 4 is active. 8 has been seen - appears to be 'about to start'.
 
 
 
|-
 
| <code>1Ch</code>
 
| 4
 
| long
 
| Unknown
 
| Remains 0xFFFFFFFF. May be non-workshop related
 
 
 
|-
 
| <code>20h</code>
 
| 2
 
| short
 
| Unknown
 
| Usually FFFF
 
 
 
|-
 
| <code>22h</code>
 
| 2
 
| short
 
| Unknown
 
| Usually 0000. Active job sometimes has a different value. Kitchens usually do. May be a quantity modifier?
 
 
 
|-
 
| <code>24h</code>
 
| 4
 
| long
 
| Unknown
 
|
 
 
 
|-
 
| <code>28h</code>
 
| 5*4
 
| long[5]
 
| Unknown
 
| Active jobs usually have values. Sometimes these look like pointers. Sometimes not. Inactive jobs are almost always 0
 
 
 
|-
 
| <code>3Ch</code>
 
| 4
 
| long
 
| Unknown
 
| Never seen it anything other than 0
 
 
 
|-
 
| <code>40h</code>
 
| 4
 
| long
 
| Unknown
 
| Never seen it anything other than F
 
 
 
|-
 
| <code>44h</code>
 
| 4
 
| long
 
| Unknown
 
| Active jobs sometimes have values.
 
 
 
|-
 
| <code>48h</code>
 
| 16
 
| vector
 
| Unknown
 
| Active jobs only. List of materials? list of dwarves?
 
 
 
|-
 
| <code>58h</code>
 
| 16
 
| vector
 
| Unknown
 
| I'm not convinced this one is a vector, but it looks a lot like one. I'll keep looking at it
 
 
 
|-
 
| <code>68h</code>
 
| 16
 
| vector
 
| Unknown
 
| Pretty sure this one is a vector. Generally seems to have 1-2 somethings each.
 
 
 
|-
 
| <code>78h</code>
 
| 4
 
| pointer?
 
| Unknown
 
|
 
 
 
|-
 
| <code>7Ch</code>
 
| 4
 
| long
 
| Unknown
 
|
 
 
 
|}
 
  
 
=== Building Types ===
 
=== Building Types ===

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)