(svn r2182) - Add: [NPF] There is now a debug class for NPF. Use -d npf<level> to enable debugging printouts from npf.

- Codechange: [NPF] Removed NPF_MARKROUTE macro, to mark routes just specify a npf debugging level >= 1 on the commandline.
This commit is contained in:
matthijs
2005-04-11 19:53:44 +00:00
parent b02dde1982
commit f5d9cb58eb
4 changed files with 29 additions and 42 deletions

2
npf.h
View File

@@ -5,8 +5,6 @@
#include "aystar.h"
#include "vehicle.h"
//#define NPF_DEBUG
//#define NPF_MARKROUTE //Mark the routes considered by the pathfinder by
//mowing grass
enum {
NPF_HASH_BITS = 12, /* The size of the hash used in pathfinding. Just changing this value should be sufficient to change the hash size. Should be an even value. */