39 radius_sq =
game.
info.border_city_radius_sq;
101 return full_strength * full_strength / sq_dist;
bool territory_claiming_base(const struct base_type *pbase)
Does this base type claim territory?
int tile_border_source_radius_sq(struct tile *ptile)
Border radius sq from given border source tile.
bool is_border_source(struct tile *ptile)
Is given tile source to borders.
int tile_border_strength(struct tile *ptile, struct tile *source)
Border source strength at tile.
int tile_border_source_strength(struct tile *ptile)
Border source strength.
citizens city_size_get(const struct city *pcity)
Get the city size.
#define CITY_MAP_MAX_RADIUS_SQ
int sq_map_distance(const struct tile *tile0, const struct tile *tile1)
Return squared distance between two tiles.
struct packet_game_info info
struct city * tile_city(const struct tile *ptile)
Return the city on this tile (or nullptr), checking for city center.
#define tile_has_extra(ptile, pextra)