home · contact · privacy
Replaced dummy function by just passing NULL and checking for it.
[plomrogue] / src / map_objects.h
index 80e7c0f0cdad7795c06ba46a4fee0ab200b98381..f39df0daedf99ff059778a2f21cd035bb4c727d3 100644 (file)
@@ -5,7 +5,6 @@
 #include "yx_uint16.h"
 
 struct World;
-struct Map;
 
 struct Player {
   struct yx_uint16 pos;
@@ -36,7 +35,7 @@ struct MonsterDef {
   struct MapObjDef map_obj_def;
   unsigned char hitpoints_start; };
 
-extern void readwrite_map_objects_dummy (void *, FILE *);
+extern void init_map_object_defs (struct World *, char *);
 extern void write_map_objects_monsterdata (void *, FILE *);
 extern void write_map_objects (void * start, FILE *, void (*) (void *, FILE *) );
 extern void read_map_objects_monsterdata (void *, FILE *);
@@ -47,10 +46,4 @@ extern void * build_map_objects (struct World *, void *, char, unsigned char, si
                                  void (*) (struct MapObjDef *, void *));
 extern struct MapObjDef * get_map_obj_def (struct World *, char);
 
-extern struct yx_uint16 find_passable_pos (struct Map *);
-extern char is_passable (struct Map *, struct yx_uint16);
-extern void move_monster (struct World *, struct Monster *);
-extern void move_player (struct World *, char);
-extern void player_wait(struct World *);
-
 #endif