Freeciv-3.2
|
Go to the source code of this file.
Functions | |
bool | create_start_positions (enum map_startpos mode, struct unit_type *initial_unit) |
bool create_start_positions | ( | enum map_startpos | mode, |
struct unit_type * | initial_unit | ||
) |
where do the different nations start on the map? well this function tries to spread them out on the different islands.
MAPSTARTPOS_SINGLE: one player per isle. MAPSTARTPOS_2or3: 2 players per isle (maybe one isle with 3). MAPSTARTPOS_ALL: all players in asingle isle. MAPSTARTPOS_VARIABLE: at least 2 player per isle.
Assumes assign_continent_numbers() has already been done! Returns true on success
Definition at line 300 of file startpos.c.
Referenced by map_fractal_generate().