home · contact · privacy
MAJOR re-write. Split plomrogue into a server and a client. Re-wrote large parts
[plomrogue] / src / common / map.h
1 /* src/common/map.h
2  *
3  * Struct for the game map.
4  */
5
6 #ifndef MAP_H
7 #define MAP_H
8
9 #include "yx_uint16.h" /* yx_uint16 struct */
10
11
12
13 struct Map
14 {
15     struct yx_uint16 size;   /* map's height/width in number of cells */
16     char * cells;            /* sequence of bytes encoding map cells */
17 };
18
19
20
21 #endif