X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;ds=sidebyside;f=src%2Fserver%2Fthings.h;h=4c21c451f6d3730ae5c2eecded046daa4173431b;hb=638cd257e1a56ad1702f4ac16b0228251ea8d056;hp=d5ef508a4aa5bd3034aa2e182d2ead9bd47265b3;hpb=f2b4faf81054dacf93af35b5ff1fd14d3c966a55;p=plomrogue diff --git a/src/server/things.h b/src/server/things.h index d5ef508..4c21c45 100644 --- a/src/server/things.h +++ b/src/server/things.h @@ -18,7 +18,8 @@ struct Thing uint8_t id; /* individual thing's unique identifier */ struct Thing * owns; /* chain of things owned / in inventory */ struct yx_uint8 pos; /* coordinate on map */ - uint8_t * fov_map; /* map of the thing's field of view */ + char * fov_map; /* map of the thing's field of view */ + char * mem_map; /* map knowledge of thing by FOV and memory */ uint8_t type; /* ID of appropriate thing definition */ uint8_t lifepoints; /* 0: thing is inanimate; >0: hitpoints */ uint8_t command; /* thing's current action; 0 if none */