maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
RETROTILE_TILE_DEF Struct Reference

Data Fields

size_t sz
 Size of this struct (useful for serializing).
uint8_t flags
maug_path image_path
size_t x
size_t y
uint16_t tile_class
char warp_dest [RETROTILE_NAME_SZ_MAX+1]
mfix_t static_rotation
 Field indicating how many degrees the tile should always be rotated before drawin on-screen. Useful for engine drawing routines.
retrotile_coord_t warp_x
retrotile_coord_t warp_y
int8_t no_serial
 Dummy field; do not serialize fields after this!
RETROFLAT_COLOR color
struct RETROFLAT_BITMAP image

(Note that these are not member symbols.)

#define RETROTILE_TILE_FLAG_BLOCK   0x01
 Indicates tile should block movement.
#define RETROTILE_TILE_FLAG_RESERVED1   0x02
 Not currently used, but may be in the future.
#define RETROTILE_TILE_FLAG_RESERVED2   0x04
 Not currently used, but may be in the future.
#define RETROTILE_TILE_FLAG_RESERVED3   0x08
 Not currently used, but may be in the future.

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