home · contact · privacy
License everything (GPL).
[plomrogue] / src / common / map.h
1 /* src/common/map.h
2  *
3  * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
4  * or any later version. For details on its copyright, license, and warranties,
5  * see the file NOTICE in the root directory of the PlomRogue source package.
6  *
7  * Game map.
8  */
9
10 #ifndef MAP_H
11 #define MAP_H
12
13 #include <stdint.h> /* uint16_t */
14
15
16
17 struct Map
18 {
19     char * cells;            /* sequence of bytes encoding map cells */
20     uint16_t length;         /* map's edge length, i.e. both height and width */
21 };
22
23
24
25 #endif