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.

User:AzureLightning/Memory research

From Dwarf Fortress Wiki
Jump to navigation Jump to search

Map Block

Offset Size Type Name Notes
0000h 4 pointer Unknown
000Ch 12 vector Vein vector
005Eh 2 * 16 * 16 list of shorts Unknown
0260h 4 * 16 * 16 list of longs Designation
Bit Description
9 Hidden
22 Damp?
28 Mossy
0660h 4 * 16 * 16 list of longs Unknown

Is probably flags?

Bit Description
6 Muddy
31 Snow-covered
0A60h 1 * 16 * 16 list of bytes Unknown
0B60h 4 * 16 * 16 list of longs Pathfinding
1160h 2 * 16 * 16 list of shorts Unknown
1360h 2 * 16 * 16 list of shorts Unknown
1560h 2 * 16 * 16 list of shorts Temperature #1 10100 or above counts as 'Warm'.
1760h 2 * 16 * 16 list of shorts Temperature #2
1960h 2 * 16 * 16 list of shorts Unknown
1B60h 2 * 16 * 16 list of shorts Unknown


Veins

Offset Size Type Name Notes
0000h 4 pointer Vtable
0004h 2 short Vein type Ore, Stone, Gems are all in the same list
0006h 2*16 list of shorts 16-bit mask for each row in the block Bits start from the west side of the row, going east with each bit position.

Note: I've yet to do full-on editting of these veins other than making existing tiles toggle off as well as changing the vein type. Adding to the vein doesn't seem possible yet.