From 35bdfc86efa7fd7150df418a10c09d9fbeb09016 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 5 Feb 2014 17:42:16 +0100 Subject: [PATCH] Added previously forgotten header file. --- src/common/yx_uint8.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/common/yx_uint8.h diff --git a/src/common/yx_uint8.h b/src/common/yx_uint8.h new file mode 100644 index 0000000..65845e6 --- /dev/null +++ b/src/common/yx_uint8.h @@ -0,0 +1,22 @@ +/* src/server/yx_uint8.h + * + * Struct used for game map representations. + */ + +#ifndef YX_UINT8_H +#define YX_UINT8_H + +#include /* uint8_t */ + + + +/* Coordinate for maps of max. 256x256 cells. */ +struct yx_uint8 +{ + uint8_t y; + uint8_t x; +}; + + + +#endif -- 2.30.2