Jump to content

MAP.DAT: Difference between revisions

From UFOpaedia
No edit summary
 
m Added see also
Line 12: Line 12:
Tiles are stored in order of left to right,  
Tiles are stored in order of left to right,  
top to bottom, top floor to bottom floor.
top to bottom, top floor to bottom floor.
==See Also==
* [[Saved Game Files]]

Revision as of 15:20, 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