Jump to content

MAP.DAT

From UFOpaedia
Revision as of 02:10, 16 November 2008 by Zombie (talk | contribs) (Reverted edits by Zombie (Talk); changed back to last version by Pi Masta)

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