From: Christian Heller Date: Wed, 5 Feb 2014 16:42:16 +0000 (+0100) Subject: Added previously forgotten header file. X-Git-Tag: tce~841 X-Git-Url: https://plomlompom.com/repos/templates?a=commitdiff_plain;h=35bdfc86efa7fd7150df418a10c09d9fbeb09016;p=plomrogue Added previously forgotten header file. --- 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