home · contact · privacy
Added previously forgotten header file.
[plomrogue] / src / common / yx_uint8.h
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