The Battle for Wesnoth  1.19.7+dev
Public Member Functions | Public Attributes | List of all members
generator_data Struct Reference

#include <default_map_generator.hpp>

Public Member Functions

 generator_data (const config &cfg)
 
 generator_data ()=default
 

Public Attributes

int width
 
int height
 
int default_width
 
int default_height
 
int nplayers
 
int nvillages
 
int iterations
 
int hill_size
 
int castle_size
 
int island_size
 
int island_off_center
 
int max_lakes
 
bool link_castles
 
bool show_labels
 

Detailed Description

Definition at line 21 of file default_map_generator.hpp.

Constructor & Destructor Documentation

◆ generator_data() [1/2]

generator_data::generator_data ( const config cfg)

Definition at line 35 of file default_map_generator.cpp.

◆ generator_data() [2/2]

generator_data::generator_data ( )
default

Member Data Documentation

◆ castle_size

int generator_data::castle_size

Definition at line 33 of file default_map_generator.hpp.

Referenced by intf_default_generate().

◆ default_height

int generator_data::default_height

Definition at line 28 of file default_map_generator.hpp.

Referenced by default_map_generator::generate_map().

◆ default_width

int generator_data::default_width

Definition at line 27 of file default_map_generator.hpp.

Referenced by default_map_generator::generate_map().

◆ height

int generator_data::height

◆ hill_size

int generator_data::hill_size

Definition at line 32 of file default_map_generator.hpp.

Referenced by intf_default_generate().

◆ island_off_center

int generator_data::island_off_center

◆ island_size

int generator_data::island_size

◆ iterations

int generator_data::iterations

◆ link_castles

bool generator_data::link_castles

Definition at line 37 of file default_map_generator.hpp.

Referenced by intf_default_generate().

◆ max_lakes

int generator_data::max_lakes

◆ nplayers

int generator_data::nplayers

Definition at line 29 of file default_map_generator.hpp.

Referenced by intf_default_generate().

◆ nvillages

int generator_data::nvillages

◆ show_labels

bool generator_data::show_labels

◆ width

int generator_data::width

The documentation for this struct was generated from the following files: