dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
Data Fields | Related Functions
TILESET_TILE Struct Reference

Tile prototype stored in TILEMAP::tileset. More...

#include <tmstruct.h>

Data Fields

RESOURCE_NAME image_name
 Indentifier for graphical asset representing this tile.
 
unsigned char ascii
 
uint8_t flags
 Flags indicating behavior for this tile.
 
uint16_t image_cache_id
 Index of the tile image loaded in the Unilayer Graphics Cache.
 

Related Functions

(Note that these are not member functions.)

#define TILESET_FLAG_BLOCK   0x01
 TILESET_TILE::flags bit flag indicating tile will block movement.
 
#define TILESET_FLAG_FARMABLE   0x02
 TILESET_TILE::flags bit flag indicating player is allowed to grow a CROP_PLOT on this tile.
 
#define TILESET_FLAG_ACTIVE   0x80
 TILESET_TILE::flags bit flag indicating tile is not empty.
 

Detailed Description

Tile prototype stored in TILEMAP::tileset.


The documentation for this struct was generated from the following files: