classafFantomMappy::MapHeader
sys::Obj afFantomMappy::MapHeader
@
Js
Represents the data held within the MPHD
chunk.
- blockGap
Size? blockGap
Since FMP 0.5
- blockSize
Int blockSize
- blockSizeInPixels
Size blockSizeInPixels := Size.defVal
- blockStagger
Size? blockStagger
Since FMP 0.5
- chromeKey
Color? chromeKey
For colour depths 16 and 24 this returns the Colour that is rendered transparent.
Since FMP 0.4
- chromeKeyIndex
Int? chromeKeyIndex
For a colour depths of 8, this returns the colour index into MappyMap.colours that is rendered transparent.
Since FMP 0.4
- clickMask
Int? clickMask
Since FMP 0.5
- colourDepth
Int colourDepth
- endian
Endian endian := Endian.big
- isIsometric
Bool isIsometric()
Returns
true
is this map is isometric (has a non-defaultblockStagger
).- mapSizeInBlocks
Size mapSizeInBlocks := Size.defVal
- mapSizeInPixels
Size mapSizeInPixels()
This takes into account the staggered block layout of an isometric map.
- mapType
MapType mapType := MapType.FMP05
- mapVersion
Version mapVersion := Version.defVal
- noOfBlocks
Int noOfBlocks
- noOfImages
Int noOfImages
- reserved1
Int reserved1
- reserved2
Int reserved2
- risingPillarMode
Bool? risingPillarMode
Since FMP 0.5
- textStringUserDataIndex
Int? textStringUserDataIndex
Used by the Block Chunk Loader. A value of
null
means text strings have not been set. This is defined in the TSTR chunk, but here seemed like a good place to stick it for now