From 94e918612723f8d3ef480f158839febf07376a44 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Mon, 29 Jun 2026 14:43:40 +0300 Subject: Add map.h --- map.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 map.h diff --git a/map.h b/map.h new file mode 100644 index 0000000..b724c93 --- /dev/null +++ b/map.h @@ -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_ */ -- cgit v1.2.3