2.15.1
Data Fields
TLN_TileInfo Struct Reference

Data Fields

uint16_t index
 
uint16_t flags
 
int row
 
int col
 
int xoffset
 
int yoffset
 
uint8_t color
 
uint8_t type
 
bool empty
 

Detailed Description

Tile information returned by TLN_GetLayerTile()

Field Documentation

◆ index

uint16_t TLN_TileInfo::index

tile index

◆ flags

uint16_t TLN_TileInfo::flags

attributes (FLAG_FLIPX, FLAG_FLIPY, FLAG_PRIORITY)

◆ row

int TLN_TileInfo::row

row number in the tilemap

◆ col

int TLN_TileInfo::col

col number in the tilemap

◆ xoffset

int TLN_TileInfo::xoffset

horizontal position inside the title

◆ yoffset

int TLN_TileInfo::yoffset

vertical position inside the title

◆ color

uint8_t TLN_TileInfo::color

color index at collision point

◆ type

uint8_t TLN_TileInfo::type

tile type

◆ empty

bool TLN_TileInfo::empty

cell is empty