Jump to content

MAP.DAT: Difference between revisions

From UFOpaedia
m Added see also
m See Also: Category
Line 15: Line 15:
==See Also==
==See Also==
* [[Saved Game Files]]
* [[Saved Game Files]]
* [[Saved_Game_Files#Battlescape_Files|Battlescape Files]]

Revision as of 15:42, 8 May 2006

This file is only used by tactical saves.

Length of wglob[2]*wglob[3]*wglob[4]*4 bytes.

Stores the map, in bitmap style. Each tile of the map is stored as four bytes. Each of these bytes maps to a different object in the MCD array. The first byte is the ground. The second is the west wall. The third is the north wall. The forth is the contents (not usable objects - dirt and stuff). Tiles are stored in order of left to right, top to bottom, top floor to bottom floor.

See Also