2.15.1
Data Fields
TLN_ObjectInfo Struct Reference

Data Fields

uint16_t id
 
uint16_t gid
 
uint16_t flags
 
int x
 
int y
 
int width
 
int height
 
uint8_t type
 
bool visible
 
char name [64]
 

Detailed Description

Object item info returned by TLN_GetObjectInfo()

Field Documentation

◆ id

uint16_t TLN_ObjectInfo::id

unique ID

◆ gid

uint16_t TLN_ObjectInfo::gid

graphic ID (tile index)

◆ flags

uint16_t TLN_ObjectInfo::flags

attributes (FLAG_FLIPX, FLAG_FLIPY, FLAG_PRIORITY)

◆ x

int TLN_ObjectInfo::x

horizontal position

◆ y

int TLN_ObjectInfo::y

vertical position

◆ width

int TLN_ObjectInfo::width

horizontal size

◆ height

int TLN_ObjectInfo::height

vertical size

◆ type

uint8_t TLN_ObjectInfo::type

type property

◆ visible

bool TLN_ObjectInfo::visible

visible property

◆ name

char TLN_ObjectInfo::name[64]

name property