MapDataHeader

Contains the very basic data for the map binary file (*.mbf). Length of the map is calculated as length = sizeX * sizeY, all words are 32 bits long, so size of map in bytes equals mapSize = length * 4, and header should be 12 bytes in size. Maps are always starting in the top-left corner of their tile layers.

Constructors

this
this(int sizeX, int sizeY)

Creates a MapDataHeader with the supplied parameters.

Members

Enums

RegisteredFlags
enum RegisteredFlags
Undocumented in source.

Variables

flags
uint flags;

Stores additional data about the binary map file as a boolean array. Bit 24-31 are user definable.

sizeX
int sizeX;

width of the map

sizeY
int sizeY;

Height of the map

Meta