summaryrefslogtreecommitdiff
path: root/map.h
blob: b724c93eb566ae09275ab8141210b6b289dbeb91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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_ */