]> git.pond.sub.org Git - empserver/blobdiff - include/path.h
Use the new path finder for land paths, drop old A*
[empserver] / include / path.h
index 7eb70ad5d693c14174a9f37a3752d2bf57dc437f..3b0cc495e1223c973284b7be0a75c9e0becf9499 100644 (file)
@@ -75,16 +75,12 @@ extern double path_find(coord, coord, coord, coord, natid, int);
 extern size_t path_find_route(char *, size_t, coord, coord, coord, coord);
 
 /* src/lib/common/path.c */
-extern void bp_enable_cachepath(void);
-extern void bp_disable_cachepath(void);
-extern void bp_clear_cachepath(void);
 extern char *BestDistPath(char *, struct sctstr *, struct sctstr *,
                          double *);
 extern char *BestLandPath(char *, struct sctstr *, struct sctstr *,
                          double *, int);
 extern char *BestShipPath(char *, int, int, int, int, int);
 extern char *BestAirPath(char *, int, int, int, int);
-extern double pathcost(struct sctstr *, char *, int);
 
 /* src/lib/subs/paths.c */
 extern char *getpath(char *, char *, coord, coord, int, int, enum p_mode);