Freeciv-3.1: /fast/freeciv/nightly/S3_1/server/generator/mapgen.h File Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Functions
mapgen.h File Reference
`#include "support.h"`

Go to the source code of this file.

## Functions

bool | map_fractal_generate (bool autosize, struct unit_type *initial_unit)

## Function Documentation

## ◆ map_fractal_generate()

bool map_fractal_generate | ( | bool | autosize,
|  | struct unit_type * | initial_unit
| ) |  |

See stdinhand.c for information on map generation methods.

FIXME: Some continent numbers are unused at the end of this function, fx removed completely by remove_tiny_islands. When this function is finished various data is written to "islands", indexed by continent numbers, so a simple renumbering would not work...

If "autosize" is specified then mapgen will automatically size the map based on the map.server.size server parameter and the specified topology. If not map.xsize and map.ysize will be used.

Definition at line 1262 of file mapgen.c.

Referenced by srv_ready().