X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fserver%2Fmap_objects.h;h=1e32318e1c503f10e4d50481ac46408f0e280be6;hb=0438f2fc5df337e4264103a86c1765ace9c6565a;hp=fdd11f91c9180cc4226e199ac3d1a0abba28cc8c;hpb=c53b42dfc7e4de104f9189428dd5b9a0d431c00a;p=plomrogue
diff --git a/src/server/map_objects.h b/src/server/map_objects.h
index fdd11f9..1e32318 100644
--- a/src/server/map_objects.h
+++ b/src/server/map_objects.h
@@ -17,6 +17,7 @@ struct MapObj
struct MapObj * next; /* pointer to next one in map object chain */
struct MapObj * owns; /* chain of map objects owned / in inventory */
struct yx_uint8 pos; /* coordinate on map */
+ uint8_t * fov_map; /* map of the object's field of view */
uint8_t id; /* individual map object's unique identifier */
uint8_t type; /* ID of appropriate map object definition */
uint8_t lifepoints; /* 0: object is inanimate; >0: hitpoints */
@@ -34,6 +35,7 @@ struct MapObjDef
uint8_t corpse_id; /* type to change map object into upon destruction */
uint8_t lifepoints; /* default start value for map object's .lifepoints */
uint8_t consumable; /* can be eaten if !0, for so much hitpoint win */
+ uint8_t start_n; /* how many of these does the map start with? */
};