home
·
contact
·
privacy
projects
/
plomrogue
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6dd359a32cd9be20331ce482fbeb4bc6817f663b
[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