home · contact · privacy
MAJOR re-write. Split plomrogue into a server and a client. Re-wrote large parts
[plomrogue] / src / common / yx_uint16.h
1 /* yx_uint16.h
2  *
3  * Struct coordinates in 2-dimensional space (such as the ncurses screen and
4  * game maps).
5  */
6
7 #ifndef YX_UINT16_H
8 #define YX_UINT16_H
9
10 #include <stdint.h> /* for uint16_t */
11
12
13
14 /* Coordinates for maps of max. 65536x65536 cells. */
15 struct yx_uint16
16 {
17     uint16_t y;
18     uint16_t x;
19 };
20
21
22
23 #endif