The Battle for Wesnoth  1.15.1+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 20 of file default_map_generator.hpp.

Constructor & Destructor Documentation

◆ generator_data() [1/2]

generator_data::generator_data ( const config cfg)

Definition at line 34 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

◆ default_height

int generator_data::default_height

Definition at line 27 of file default_map_generator.hpp.

Referenced by default_map_generator::generate_map().

◆ default_width

int generator_data::default_width

Definition at line 26 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

◆ 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

◆ max_lakes

int generator_data::max_lakes

◆ nplayers

int generator_data::nplayers

◆ 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: