diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-06-29 14:43:40 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-06-29 14:43:40 +0300 |
| commit | 94e918612723f8d3ef480f158839febf07376a44 (patch) | |
| tree | 8a3a47817cf5e61aad8e9fa1290e49e8a045fd92 | |
| parent | e594307a845ef3928c0bf707d0c3f114b527a767 (diff) | |
| download | wafflestone-94e918612723f8d3ef480f158839febf07376a44.tar.xz | |
Add map.h
| -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_ */ |
