Loads a mapping from an array. x , y : Sizes of the mapping. map : an array representing the elements of the map. x*y=map.length
Gets the the ID of the given element from the mapping. x , y : Position.
Removes the tile with the ID from the set.
Warpmode: if enabled, the layer will be turned into an "infinite" mode.
Returns which tile is at the given pixel
Returns which tile is at the given pixel
Writes to the map. x , y : Position. w : ID of the tile.
Horizontal scaling. Greater than 256 means zooming in, less than 256 means zooming out.
Horizontal scaling. Greater than 256 means zooming in, less than 256 means zooming out.
Horizontal shearing.
Horizontal shearing.
Vertical shearing.
Vertical shearing.
Vertical scaling. Greater than 256 means zooming in, less than 256 means zooming out.
Vertical scaling. Greater than 256 means zooming in, less than 256 means zooming out.
Horizontal transformation offset.
Horizontal transformation offset.
Vertical transformation offset.
Vertical transformation offset.
used to store current screen output
Called before each line being redrawn. Can modify global values for each lines.
"Inherited" from TileLayer
Set to true if backbuffer needs an update
Defines how the layer is being transformed
Repeats the whole layer if set to true
Used to get around some readability issues. (void* src, void* dest, int length)
Sets the main rasterizer
Sets the rendering mode
Absolute scrolling.
Relative scrolling. Positive values scrolls the layer left and up, negative values scrolls the layer down and right.
Getter for the X scroll position.
Getter for the Y scroll position.
Override this to enable output to the raster
Standard algorithm for horizontal mirroring Will be deprecated in later versions and instead external functions will be used.
Reads the mapping element from the given area.
Writes the given element into the mapping at the given location.
Loads the mapping, primarily used for deserialization.
Removes the tile from the display list with the given ID.
Returns the tile ID from the location by pixel.
Returns the width of the tiles.
Returns the height of the tiles.
Returns the width of the mapping.
Returns the height of the mapping.
Returns the total width of the tile layer.
Returns the total height of the tile layer.
Adds a tile.
Implements a modified TileLayer with transformability with capabilities similar to MODE7. <br/> Transform function: [x',y'] = ([A,B,C,D] * ([x,y] + [sX,sY] - [x_0,y_0])>>>8 + [x_0,y_0] <br/> All basic transform values are integer based, 256 equals with 1.0 <br/> Restrictions compared to standard TileLayer: <ul> <li>Tiles must have any of the following sizes: 8, 16, 32, 64; since this layer needs to do modulo computations for each pixel.</li> <li>Maximum layer size in pixels are restricted to 65536*65536 due to architectural limitations. Accelerated versions might raise this limitation.</li> </ul> HDMA emulation supported through delegate hBlankInterrupt.