classafFantomMappy::MapHeader
sys::Obj afFantomMappy::MapHeader
@Js
Represents the data held within the MPHD chunk.
- blockGap
Size? blockGapSince FMP 0.5
- blockSize
Int blockSize- blockSizeInPixels
Size blockSizeInPixels := Size.defVal- blockStagger
Size? blockStaggerSince FMP 0.5
- chromeKey
Color? chromeKeyFor colour depths 16 and 24 this returns the Colour that is rendered transparent.
Since FMP 0.4
- chromeKeyIndex
Int? chromeKeyIndexFor a colour depths of 8, this returns the colour index into MappyMap.colours that is rendered transparent.
Since FMP 0.4
- clickMask
Int? clickMaskSince FMP 0.5
- colourDepth
Int colourDepth- endian
Endian endian := Endian.big- isIsometric
Bool isIsometric()Returns
trueis 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? risingPillarModeSince FMP 0.5
- textStringUserDataIndex
Int? textStringUserDataIndexUsed by the Block Chunk Loader. A value of
nullmeans 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