X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fcommon%2Fmap.h;h=35bcf2512edc1353d2e63ab12fb5afa95caa13d2;hb=62468680a5243aa9786f4f34383a2f3e33616917;hp=8d454ca7ab1b040464a3f5a0ab7a86c6824697fb;hpb=7433f56ec2c6cc51bc497e3c0c67d2fe3e6ab64a;p=plomrogue
diff --git a/src/common/map.h b/src/common/map.h
index 8d454ca..35bcf25 100644
--- a/src/common/map.h
+++ b/src/common/map.h
@@ -6,13 +6,14 @@
#ifndef MAP_H
#define MAP_H
-#include "yx_uint16.h" /* yx_uint16 struct */
+#include /* uint16_t */
+
struct Map
{
- struct yx_uint16 size; /* map's height/width in number of cells */
char * cells; /* sequence of bytes encoding map cells */
+ uint16_t length; /* map's edge length, i.e. both height and width */
};