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:Rick/Memory research

From Dwarf Fortress Wiki
Jump to navigation Jump to search

v0.27.169.32a

Useful Offsets

Name Size Type Notes Offset
Map X Count 4 long This represents the number of X blocks, not total X tiles. 01457538
Map Y Count 4 long This represents the number of Y blocks, not total Y tiles. 0145753C
Map Z Count 4 long 01457540
Map Data 4 pointer 01457520
View X 4 long Set to 0xFFFF8AD0 (-30000) when not in a 'Look Around' mode. 008F4288
View Y 4 long 008F428C
View Z 4 long 008F4290
Screen X 4 long 00BF2480
Screen Y 4 long 00C1ACBC
Screen Z 4 long 00C1AC98

Map Block

Offset Size Type Name Notes
000h 4 pointer Unknown
05Eh 2 * 16 * 16 list of shorts Unknown
260h 4 * 16 * 16 list of longs Unknown

Is probably occupancy?

Flag Description
400000h 1 << 22 Damp?
10000000h 1 << 28 Mossy
660h 4 * 16 * 16 list of longs Unknown

Is probably flags?

Flag Description
40h 1 << 6 Muddy
80000000h 1 << 31 Snow-covered
1560h 2 * 16 * 16 list of shorts Temperature 10100 or above counts as 'Warm'.