home
·
contact
·
privacy
projects
/
plomrogue
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Unify Map struct common to server and client in src/common/map.h.
[plomrogue]
/
src
/
common
/
yx_uint16.h
1
/* yx_uint16.h
2
*
3
* Used for window / screen maps and game map size.
4
*/
5
6
#ifndef YX_UINT16_H
7
#define YX_UINT16_H
8
9
#include <stdint.h> /* for uint16_t */
10
11
12
13
/* Coordinates for maps of max. 65536x65536 cells. */
14
struct yx_uint16
15
{
16
uint16_t y;
17
uint16_t x;
18
};
19
20
21
22
#endif