home · contact · privacy
Made all function declarations in header files extern, for stylistic consistency...
[plomrogue] / src / yx_uint16.h
1 #ifndef YX_UINT16_H
2 #define YX_UINT16_H
3
4 #include <stdint.h>
5
6 #define NORTH 1
7 #define EAST 2
8 #define SOUTH 3
9 #define WEST 4
10
11 struct yx_uint16 {
12   uint16_t y;
13   uint16_t x; };
14
15 extern char yx_uint16_cmp (struct yx_uint16, struct yx_uint16);
16 extern struct yx_uint16 mv_yx_in_dir (char, struct yx_uint16);
17
18 #endif