X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=include%2Fpath.h;fp=include%2Fpath.h;h=7eb70ad5d693c14174a9f37a3752d2bf57dc437f;hp=e0ce6fce231fe20aa3d5b204be5cff14126cd4b4;hb=90de24d038b01e0956ed91625f515ab66ac7677c;hpb=7e2008e7f4a7eac9b44ed6e3fa2a7d7dcb0c49bf diff --git a/include/path.h b/include/path.h index e0ce6fce2..7eb70ad5d 100644 --- a/include/path.h +++ b/include/path.h @@ -27,12 +27,13 @@ * path.h: Definitions for directions, paths, etc. * * Known contributors to this file: - * + * Markus Armbruster, 2005-2011 */ #ifndef PATH_H #define PATH_H +#include #include "types.h" /* direction indices */ @@ -67,6 +68,12 @@ extern char *routech[DIR_LAST+1]; /* src/lib/common/bestpath.c */ extern char *bestownedpath(char *, char *, int, int, int, int, int); +/* src/lib/common/findpath.c */ +extern void path_find_from(coord, coord, natid, int); +extern double path_find_to(coord, coord); +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);