home · contact · privacy
Added previously forgotten header file.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 5 Feb 2014 16:42:16 +0000 (17:42 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 5 Feb 2014 16:42:16 +0000 (17:42 +0100)
src/common/yx_uint8.h [new file with mode: 0644]

diff --git a/src/common/yx_uint8.h b/src/common/yx_uint8.h
new file mode 100644 (file)
index 0000000..65845e6
--- /dev/null
@@ -0,0 +1,22 @@
+/* src/server/yx_uint8.h
+ *
+ * Struct used for game map representations.
+ */
+
+#ifndef YX_UINT8_H
+#define YX_UINT8_H
+
+#include <stdint.h> /* uint8_t */
+
+
+
+/* Coordinate for maps of max. 256x256 cells. */
+struct yx_uint8
+{
+    uint8_t y;
+    uint8_t x;
+};
+
+
+
+#endif