X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fserver%2Fthings.h;h=4b9291cc4895bdb96868584d89fe18964e3c9636;hb=c31d3a8d3f993a2cfcc8c5e438283e3a693d5b27;hp=d5ef508a4aa5bd3034aa2e182d2ead9bd47265b3;hpb=f2b4faf81054dacf93af35b5ff1fd14d3c966a55;p=plomrogue diff --git a/src/server/things.h b/src/server/things.h index d5ef508..4b9291c 100644 --- a/src/server/things.h +++ b/src/server/things.h @@ -19,6 +19,7 @@ struct Thing 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 */ + uint8_t * 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 */