X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fmap_objects.h;h=fb33fe504fd0072b79442b982d3dfab32caf2282;hb=322bd8d0b863f89bc6ce864a853b57b554a1cabf;hp=ebda3143de670cb5e6fb73ba91798618686cc885;hpb=120715d0a4a308cdf748e1925be472ed6a59f092;p=plomrogue diff --git a/src/map_objects.h b/src/map_objects.h index ebda314..fb33fe5 100644 --- a/src/map_objects.h +++ b/src/map_objects.h @@ -16,7 +16,6 @@ struct World; /* Player is non-standard: single and of a hard-coded type. */ - struct Player { struct yx_uint16 pos; @@ -88,7 +87,8 @@ extern void init_map_object_defs(struct World * world, char * filename); */ extern void * build_map_objects(struct World * world, void * start, char def_id, unsigned char n, size_t size, - void (*) (struct MapObjDef *, void *)); + void (* b_typedata) (struct MapObjDef *, + void *)); extern void build_map_objects_itemdata(struct MapObjDef * map_obj_def, void * start); extern void build_map_objects_monsterdata(struct MapObjDef * map_obj_def, @@ -119,4 +119,6 @@ extern void read_map_objects_monsterdata( void * start, FILE * file); /* Get pointer to the map object definition of identifier "def_id". */ extern struct MapObjDef * get_map_obj_def(struct World * world, char def_id); + + #endif