diff options
| -rw-r--r-- | map.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#ifndef MAP_H_ +#define MAP_H_ + +#include "framebuffer.h" + +/* A structure representing a map. */ +typedef struct Map_s { + size_t width, height; + Pixel **tiles; /* used as tiles[row][col] or tiles[y][x] */ +} Map; + +#endif /* MAP_H_ */ |
