Changeset - r28426:f4fb4f7bb336
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 4 months ago 2024-01-09 17:10:50
j.g.rennison@gmail.com
Cleanup: Remove unused constant YAPF_SHIP_PATH_CACHE_LENGTH
1 file changed with 0 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/pathfinder/pathfinder_type.h
Show inline comments
 
@@ -36,15 +36,12 @@ static const int YAPF_TILE_CORNER_LENGTH
 
 * get this penalty will be chosen, but only if there is no other route
 
 * without it. Be careful with not applying this penalty too often, or the
 
 * total path cost might overflow.
 
 */
 
static const int YAPF_INFINITE_PENALTY = 1000 * YAPF_TILE_LENGTH;
 

	
 
/** Maximum length of ship path cache */
 
static const int YAPF_SHIP_PATH_CACHE_LENGTH = 32;
 

	
 
/** Maximum segments of road vehicle path cache */
 
static const int YAPF_ROADVEH_PATH_CACHE_SEGMENTS = 8;
 

	
 
/** Distance from destination road stops to not cache any further */
 
static const int YAPF_ROADVEH_PATH_CACHE_DESTINATION_LIMIT = 8;
 

	
0 comments (0 inline, 0 general)