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.

Difference between revisions of "User:Rick/Memory research"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(No difference)

Revision as of 19:19, 31 October 2007

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
0000h 4 pointer Unknown
005Eh 2 * 16 * 16 list of shorts Unknown
0260h 4 * 16 * 16 list of longs Designation
Flag Description
200h 1 << 9 Hidden
400000h 1 << 22 Damp?
10000000h 1 << 28 Mossy
0660h 4 * 16 * 16 list of longs Unknown

Is probably flags?

Flag Description
40h 1 << 6 Muddy
80000000h 1 << 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