File diff r10207:a1fc2f2a33db → r10208:ef8fcc3dc4ca
src/npf.h
Show inline comments
 
/* $Id$ */
 

	
 
/** @file npf.h New A* pathfinder. */
 

	
 
#ifndef NPF_H
 
#define NPF_H
 

	
 
#include "aystar.h"
 
#include "station_type.h"
 
#include "rail_type.h"
 
#include "player_type.h"
 
#include "company_type.h"
 
#include "vehicle_type.h"
 
#include "tile_type.h"
 
#include "track_type.h"
 
#include "core/bitmath_func.hpp"
 
#include "transport_type.h"
 

	
 
/* 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.
 
	/* Do no change below values */
 
	NPF_HASH_SIZE = 1 << NPF_HASH_BITS,
 
	NPF_HASH_HALFBITS = NPF_HASH_BITS / 2,