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 init_map_object_defs (struct World *, char *);
39 extern void readwrite_map_objects_dummy (void *, FILE *);
40 extern void write_map_objects_monsterdata (void *, FILE *);
41 extern void write_map_objects (void * start, FILE *, void (*) (void *, FILE *) );
42 extern void read_map_objects_monsterdata (void *, FILE *);
43 extern void read_map_objects (void *, FILE *, size_t, void (*) (void *, FILE *) );
44 extern void build_map_objects_monsterdata (struct MapObjDef *, void *);
45 extern void build_map_objects_itemdata (struct MapObjDef *, void *);
46 extern void * build_map_objects (struct World *, void *, char, unsigned char, size_t,
47 void (*) (struct MapObjDef *, void *));
48 extern struct MapObjDef * get_map_obj_def (struct World *, char);