11 unsigned char hitpoints; };
16 struct yx_uint16 pos; };
19 struct MapObjDef * next;
25 struct MapObj map_obj; };
28 struct MapObj map_obj;
29 unsigned char hitpoints; };
32 struct MapObjDef map_obj_def; };
35 struct MapObjDef map_obj_def;
36 unsigned char hitpoints_start; };
38 extern void readwrite_map_objects_dummy (void *, FILE *);
39 extern void write_map_objects_monsterdata (void *, FILE *);
40 extern void write_map_objects (void * start, FILE *, void (*) (void *, FILE *) );
41 extern void read_map_objects_monsterdata (void *, FILE *);
42 extern void read_map_objects (void *, FILE *, size_t, void (*) (void *, FILE *) );
43 extern void build_map_objects_monsterdata (struct MapObjDef *, void *);
44 extern void build_map_objects_itemdata (struct MapObjDef *, void *);
45 extern void * build_map_objects (struct World *, void *, char, unsigned char, size_t,
46 void (*) (struct MapObjDef *, void *));
47 extern struct MapObjDef * get_map_obj_def (struct World *, char);