home · contact · privacy
License everything (GPL).
[plomrogue] / src / common / yx_uint8.h
1 /* src/server/yx_uint8.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  * Struct used for game map representations.
8  */
9
10 #ifndef YX_UINT8_H
11 #define YX_UINT8_H
12
13 #include <stdint.h> /* uint8_t */
14
15
16
17 /* Coordinate for maps of max. 256x256 cells. */
18 struct yx_uint8
19 {
20     uint8_t y;
21     uint8_t x;
22 };
23
24
25
26 #endif