X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/calendar?a=blobdiff_plain;f=src%2Fcommon%2Fmap.h;h=4a6d04126ad49d01e925b783e2e5136725c8803a;hb=0438f2fc5df337e4264103a86c1765ace9c6565a;hp=cac29dc8f111686be4eb3e4ed699c8c2e7422eb0;hpb=dd9d65ee727ac7e95801da0f8b5bae7009811802;p=plomrogue diff --git a/src/common/map.h b/src/common/map.h index cac29dc..4a6d041 100644 --- a/src/common/map.h +++ b/src/common/map.h @@ -1,19 +1,19 @@ /* src/common/map.h * - * Struct for the game map. + * Game map. */ #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 */ };