MAP.DAT

From UFOpaedia
Revision as of 23:42, 7 February 2007 by Pi Masta (talk | contribs) (→‎See Also: added category)
Jump to navigation Jump to search

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