Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration on Steroids #17

Open
XHawk87 opened this issue Nov 22, 2024 · 1 comment
Open

Migration on Steroids #17

XHawk87 opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@XHawk87
Copy link
Collaborator

XHawk87 commented Nov 22, 2024

Allow migration across the whole map, every turn.

@XHawk87 XHawk87 self-assigned this Nov 22, 2024
@XHawk87
Copy link
Collaborator Author

XHawk87 commented Nov 23, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant