]> git.pond.sub.org Git - empserver/blobdiff - include/path.h
Update copyright notice
[empserver] / include / path.h
index 433523bc446c0d7337102a7389fb391ba3c69504..e3bf92a9cd379947219881b64deff1ae374bd7c8 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -34,9 +34,7 @@
 #ifndef PATH_H
 #define PATH_H
 
-#include "misc.h"
-#include "sect.h"
-#include "xy.h"
+#include "types.h"
 
        /* direction indices */
 #define        DIR_STOP        0
@@ -53,7 +51,6 @@
 
 enum p_mode {                  /* How to find path to destination */
     P_NONE,                    /* don't */
-    P_WALKING,                 /* use BestLandPath() */
     P_FLYING,                  /* use BestAirPath() */
     P_SAILING                  /* use BestShipPath() */
 };
@@ -74,7 +71,8 @@ extern int diridx(char);
 extern void direrr(char *, char *, char *);
 extern void pathrange(coord, coord, char *, int, struct range *);
 
-extern double sector_mcost(struct sctstr *sp, int do_bonus);
+extern double sector_mcost(struct sctstr *, int);
+extern double speed_factor(double, int);
 
 #define MAX_PATH_LEN 1024