Freeciv-3.2: /fast/freeciv/nightly/S3_2/common/map_types.h File Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations
map_types.h File Reference
`#include "randseed.h"`
`#include "fc_types.h"`
`#include "specenum_gen.h"`

Go to the source code of this file.

## Data Structures

struct | civ_map

## Macros

#define | terrain_misc packet_ruleset_terrain_control
#define | SPECENUM_NAME team_placement
#define | SPECENUM_VALUE0 TEAM_PLACEMENT_DISABLED
#define | SPECENUM_VALUE1 TEAM_PLACEMENT_CLOSEST
#define | SPECENUM_VALUE2 TEAM_PLACEMENT_CONTINENT
#define | SPECENUM_VALUE3 TEAM_PLACEMENT_HORIZONTAL
#define | SPECENUM_VALUE4 TEAM_PLACEMENT_VERTICAL

## Enumerations

enum | mapsize_type { MAPSIZE_FULLSIZE = 0 , MAPSIZE_PLAYER , MAPSIZE_XYSIZE }
enum | map_generator { MAPGEN_SCENARIO = 0 , MAPGEN_RANDOM , MAPGEN_FRACTAL , MAPGEN_ISLAND , MAPGEN_FAIR , MAPGEN_FRACTURE }
enum | map_startpos { MAPSTARTPOS_DEFAULT = 0 , MAPSTARTPOS_SINGLE , MAPSTARTPOS_2or3 , MAPSTARTPOS_ALL , MAPSTARTPOS_VARIABLE }

## Macro Definition Documentation

## ◆ SPECENUM_NAME

#define SPECENUM_NAME team_placement

Definition at line 63 of file map_types.h.

## ◆ SPECENUM_VALUE0

#define SPECENUM_VALUE0 TEAM_PLACEMENT_DISABLED

Definition at line 64 of file map_types.h.

## ◆ SPECENUM_VALUE1

#define SPECENUM_VALUE1 TEAM_PLACEMENT_CLOSEST

Definition at line 65 of file map_types.h.

## ◆ SPECENUM_VALUE2

#define SPECENUM_VALUE2 TEAM_PLACEMENT_CONTINENT

Definition at line 66 of file map_types.h.

## ◆ SPECENUM_VALUE3

#define SPECENUM_VALUE3 TEAM_PLACEMENT_HORIZONTAL

Definition at line 67 of file map_types.h.

## ◆ SPECENUM_VALUE4

#define SPECENUM_VALUE4 TEAM_PLACEMENT_VERTICAL

Definition at line 68 of file map_types.h.

## ◆ terrain_misc

#define terrain_misc packet_ruleset_terrain_control

Definition at line 29 of file map_types.h.

## Enumeration Type Documentation

## ◆ map_generator

enum map_generator

Enumerator
MAPGEN_SCENARIO |
MAPGEN_RANDOM |
MAPGEN_FRACTAL |
MAPGEN_ISLAND |
MAPGEN_FAIR |
MAPGEN_FRACTURE |

Definition at line 46 of file map_types.h.

## ◆ map_startpos

enum map_startpos

Enumerator
MAPSTARTPOS_DEFAULT |
MAPSTARTPOS_SINGLE |
MAPSTARTPOS_2or3 |
MAPSTARTPOS_ALL |
MAPSTARTPOS_VARIABLE |

Definition at line 55 of file map_types.h.

## ◆ mapsize_type

enum mapsize_type

Enumerator
MAPSIZE_FULLSIZE |
MAPSIZE_PLAYER |
MAPSIZE_XYSIZE |

Definition at line 38 of file map_types.h.