home · contact · privacy
Add auto-mapping / map memory.
[plomrogue] / src / server / things.h
index d5ef508a4aa5bd3034aa2e182d2ead9bd47265b3..4b9291cc4895bdb96868584d89fe18964e3c9636 100644 (file)
@@ -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 */