89 void fillGrid(
Grid* grid,
int x1,
int y1,
int x2,
int y2,
void printGridToString(char *str, size_t bufsz, Grid *grid)
Definition: grid.c:74
int ** regions_t
Definition: grid.h:31
void fillRegion(regions_t regions, int x1, int y1, int x2, int y2, int value)
Definition: grid.c:41
data_t mallocGrid(int width, int height)
Definition: grid.c:19
regions_t mallocRegions(int width, int height)
Definition: grid.c:23
void freeRegions(regions_t regions, int height)
Definition: grid.c:137
Tile ** data_t
Definition: grid.h:26
bool createGrid(int width, int height, Grid *grid)
Definition: grid.c:53
void debugPrintGrid(Grid *grid, regions_t regions)
Definition: grid.c:103
void printGrid(Grid *grid)
Definition: grid.c:94
void freeGrid(Grid *grid)
Definition: grid.c:133
void fillGrid(Grid *grid, int x1, int y1, int x2, int y2, Tile value)
Definition: grid.c:27
int height
Definition: grid.h:44
data_t data
Definition: grid.h:48
int width
Definition: grid.h:40
the include file for the potential tiles in a grid