df-structures descriptionsΒΆ

DF-structures is the core information on which DFHack depends.

It consists of XML files which describe the memory layout used by Dwarf Fortress, which are translated into C++ header files and eventually the named data structures that DFHack plugins and scripts can access.

The following documents describe how this process works:

  • Data Structure Definition Syntax
    • General Background
    • XML file format
    • Lisp Integration
  • Updating DF-structures for a new DF version
    • General Process
    • Running Dwarf Fortress
    • Available Scripts
    • STAGE 1. Linux compound globals
    • STAGE 2. Old way to find Linux compound globals
    • STAGE 3. Linux primitive globals
    • STAGE 4. Primary windows compound globals
    • STAGE 5. Secondary windows compound globals
    • STAGE 6. Windows primitive globals

This experimental section includes the df-structures xml files in our documentation, so you can read about what structures are available.

  • advmode
  • announcements
  • art
  • building-raws
  • building-vectors
  • buildings
  • creature-raws
  • d_init
  • descriptors
  • entities
  • entity-raws
  • globals
  • graphics
  • history
  • init
  • interaction
  • item-raws
  • item-vectors
  • itemimprovements
  • items
  • job-types
  • jobs
  • keybindings
  • knowledge
  • language
  • legends
  • machines
  • map
  • materials
  • meeting
  • military
  • pathfinding
  • plant-raws
  • plants
  • projectile
  • raws
  • reaction-raws
  • refs
  • resource
  • skills
  • stockpile
  • syndrome
  • tile-types
  • ui
  • ui-menus
  • unit-thoughts
  • units
  • vermin
  • viewscreen
  • world
  • world-data
  • world-site

DFHack

Related Topics

  • Documentation overview
    • Previous: DFHack Lua API
    • Next: Data Structure Definition Syntax

Quick search

Enter search terms or a module, class or function name.

©2015, The DFHack Team. | Powered by Sphinx 1.3.1 & Alabaster 0.7.7 | Page source