]> git.pond.sub.org Git - empserver/blobdiff - include/path.h
Use the new path finder for sea & air, drop bestownedpath()
[empserver] / include / path.h
index 287ec02c7432623f90b172f03a6c91ca7321fc9a..eb0d950ecaf74be09a05c9d1882bd31c41ee6b2a 100644 (file)
@@ -52,6 +52,8 @@
 #define MOB_MOVE       0
 #define MOB_MARCH      1
 #define MOB_RAIL       2
+#define MOB_SAIL       3
+#define MOB_FLY                4
 
 enum p_mode {                  /* How to find path to destination */
     P_NONE,                    /* don't */
@@ -65,9 +67,6 @@ extern int diroff[DIR_MAP+1][2];
 extern char dirch[DIR_MAP+2];
 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);