Commit graph

6 commits

Author SHA1 Message Date
8f92fe40f4 More precise and complete A* performance statistics
Memory usage didn't include path (adp->path), neighbor cache
(adp->neighbor_coords, adp->neighbor_nodes), and the hash table
(adp->hashtab).

While there, print path length.

To get A* statistics on stderr, compile with AS_STATS defined.
2011-04-12 21:40:08 +02:00
e42053d928 Break inclusion cycle: prototypes.h and commands.h included each
other.  Ensure headers in include/ can be included in any order
(except for econfig-spec.h, which is special).  New header types.h to
help avoid inclusion cycles.  Sort include directives.  Remove some
superflous includes.
2006-07-10 06:37:23 +00:00
3aebb68ee7 Include config.h. 2005-12-27 18:04:19 +00:00
5fa00591fe (sccsid): Useless, as we don't use SCCS. Remove. 2004-03-01 13:33:51 +00:00
9b7adfbecc Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
d8b7fdfae1 Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00