longturn / rules-of-chaos

1 stars 1 forks source link

Migration on Steroids #17

Open XHawk87 opened 5 days ago

XHawk87 commented 5 days ago

Allow migration across the whole map, every turn.

XHawk87 commented 4 days ago

There's currently a limit on max migration distance based on the max city map radius: longturn/freeciv21:common/game.h#L487C1-L492C56

/* definition of the migration distance in relation to the current city
 * radius; 0 means that migration is possible if the second city is within
 * the city radius */
#define GAME_DEFAULT_MGR_DISTANCE 0
#define GAME_MIN_MGR_DISTANCE (0 - CITY_MAP_MAX_RADIUS)
#define GAME_MAX_MGR_DISTANCE (1 + CITY_MAP_MAX_RADIUS)