diff options
Diffstat (limited to 'map.h')
-rw-r--r-- | map.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#ifndef map_h +#define map_h + +#include "game_config.h" +#include "render.h" + +typedef struct { + Colour pixels[ + map_width * + map_tile_size * + map_height * + map_tile_size + ]; +} Map; + +void init_map(Map* map); +void render_map(Map* map, int cx, int cy); + +#endif |