12 unsigned char hitpoints; };
14 struct ChainMapObject {
17 struct yx_uint16 pos; };
20 struct ChainMapObject cmo; };
23 struct ChainMapObject cmo;
24 unsigned char hitpoints; };
26 extern void readwrite_map_objects_dummy (void *, FILE *);
27 extern void write_map_objects_monsterdata (void *, FILE *);
28 extern void write_map_objects (void * start, FILE *, void (*) (void *, FILE *) );
29 extern void read_map_objects_monsterdata (void *, FILE *);
30 extern void read_map_objects (void *, FILE *, size_t, void (*) (void *, FILE *) );
31 extern void build_map_objects_monsterdata (void *);
32 extern void build_map_objects_itemdata (void *);
33 extern void build_map_objects (void *, unsigned char, size_t, void (*) (void *), struct Map *);
35 extern struct yx_uint16 find_passable_pos (struct Map *);
36 extern char is_passable (struct Map *, struct yx_uint16);
37 extern void move_monster (struct World *, struct Monster *);
38 extern void move_player (struct World *, char);
39 extern void player_wait(struct World *);