Data Fields
gfx_tilemap_t Struct Reference

Defines tilemap structure. More...

#include <graphx.h>

Data Fields

uint8_t * map
 
gfx_sprite_t ** tiles
 
uint8_t tile_height
 
uint8_t tile_width
 
uint8_t draw_height
 
uint8_t draw_width
 
uint8_t type_width
 
uint8_t type_height
 
uint8_t height
 
uint8_t width
 
uint8_t y_loc
 
uint24_t x_loc
 

Detailed Description

Defines tilemap structure.

See also
gfx_Tilemap

Field Documentation

◆ draw_height

uint8_t gfx_tilemap_t::draw_height

Number of tilemap rows to draw

◆ draw_width

uint8_t gfx_tilemap_t::draw_width

Number of tilemap columns to draw

◆ height

uint8_t gfx_tilemap_t::height

Total number of rows in the tilemap

◆ map

uint8_t* gfx_tilemap_t::map

Pointer to tilemap array

◆ tile_height

uint8_t gfx_tilemap_t::tile_height

Individual tile height

◆ tile_width

uint8_t gfx_tilemap_t::tile_width

Individual tile width

◆ tiles

gfx_sprite_t** gfx_tilemap_t::tiles

Pointer to tileset sprites for the tilemap

◆ type_height

uint8_t gfx_tilemap_t::type_height

Tile type width

See also
gfx_tilemap_type_t

◆ type_width

uint8_t gfx_tilemap_t::type_width

Tile type height

See also
gfx_tilemap_type_t

◆ width

uint8_t gfx_tilemap_t::width

Total number of columns in the tilemap

◆ x_loc

uint24_t gfx_tilemap_t::x_loc

X pixel location on the screen for the tilemap

◆ y_loc

uint8_t gfx_tilemap_t::y_loc

Y pixel location on the screen for the tilemap


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