197 - 0.5 * (x * x * x + y * y * y)
198 + 1.5 * (x * x + y * y));
246 / (
float)(Xratio * Yratio * iso * even * even)) + 0.49;
267 log_error(
"Requested size of %d is too big for this topology.",
276 log_normal(
_(
"Creating a map of size %d x %d = %d tiles (%d requested)."),
325 int x_ratio, y_ratio;
332 log_normal(
_(
"Creating a map of size %d x %d = %d tiles (map size: "
344 log_normal(
_(
"Map size calculated for %d (land) tiles per player "
345 "and %d player(s) too small. Setting map size to the "
351 log_normal(
_(
"Map size calculated for %d (land) tiles per player "
352 "and %d player(s) too large. Setting map size to the "
357 log_normal(
_(
"Setting map size to %d (approx. %d (land) tiles for "
422 return MAX(1, sqsize);
#define CITY_MAP_DEFAULT_RADIUS
#define fc_assert(condition)
#define fc_assert_ret_val(condition, val)
#define log_normal(message,...)
#define log_error(message,...)
void map_init_topology(struct civ_map *nmap)
bool is_singular_tile(const struct tile *ptile, int dist)
#define current_topo_has_flag(flag)
#define MAP_MAX_LINEAR_SIZE
#define do_in_natural_pos(ntl_x, ntl_y, map_x, map_y)
#define MAP_MIN_LINEAR_SIZE
#define do_in_natural_pos_end
#define index_to_map_pos(pmap_x, pmap_y, mindex)
static void get_ratios(int *x_ratio, int *y_ratio)
void generator_init_topology(bool autosize)
static void set_sizes(double size, int Xratio, int Yratio)
int map_colatitude(const struct tile *ptile)
bool near_singularity(const struct tile *ptile)
#define CLIP(lower, current, upper)
enum mapsize_type mapsize
struct civ_map::@41::@43 server