TileLayer.DisplayListItem

Implements a single tile to be displayed. Is ordered in a BinarySearchTree for fast lookup.

Constructors

this
this(wchar ID, ABitmap tile, ubyte paletteSh)

Creates a tile-ID association.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ID
wchar ID;

ID, mainly as a padding to 32 bit alignment

paletteSh
ubyte paletteSh;

Sets the maximum accessable color amount by the bitmap. By default, for 4 bit bitmaps, it's 4, and it enables 256 * 16 color palettes. This limitation is due to the way how the MappingElement struct works. 8 bit bitmaps can assess the full 256 * 256 palette space. Lower values can be described to avoid wasting palettes space in cases when the bitmaps wouldn't use their full capability.

pixelDataPtr
void* pixelDataPtr;

points to the pixeldata

tile
ABitmap tile;

reference counting only

wordLength
ubyte wordLength;

to avoid calling the more costly classinfo

Meta