The basis of all layer classes, containing function pointers for rendering. Can be overloaded for user defined layers.
Mostly used for internal communication and scripting.
Defines how the layer or sprite will be rendered. See each value's documentation individually for more information on each mode.
Sets the WarpMode for any tile layer.
Returns the rendering function that belongs to the enumeration value.
For generating a blitter function with value modifier
For generating a copy function with value modifier
For generating a XOR blitter function with value modifier
Mapping element, that is used on most if not all layers in this engine. It reserves: * 16 bits for tile selection. * 6 bits for extra purposes (can be user defined if the layer doesn't use it for anything else). * 1 bit for vertical mirroring. * 1 bit for horizontal mirroring. * 8 bits for palette selection (can be used for user-defined purposes if tiles are either 16 or 32 bit). User defined purposes may include marking tiles with special purpose for the game logic.