The Battle for Wesnoth  1.19.5+dev
Functions
map_create.hpp File Reference
#include <string>
Include dependency graph for map_create.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::string random_generate_map (const std::string &parms, const config &cfg, const config *vars=nullptr)
 
config random_generate_scenario (const std::string &parms, const config &cfg, const config *vars=nullptr)
 
map_generatorcreate_map_generator (const std::string &name, const config &cfg, const config *vars=nullptr)
 

Function Documentation

◆ create_map_generator()

map_generator* create_map_generator ( const std::string &  name,
const config cfg,
const config vars = nullptr 
)

◆ random_generate_map()

std::string random_generate_map ( const std::string &  parms,
const config cfg,
const config vars = nullptr 
)

Definition at line 44 of file map_create.cpp.

References create_map_generator(), and randomness::generator.

Referenced by saved_game::expand_random_scenario().

◆ random_generate_scenario()

config random_generate_scenario ( const std::string &  parms,
const config cfg,
const config vars = nullptr 
)

Definition at line 56 of file map_create.cpp.

References create_map_generator(), and randomness::generator.

Referenced by saved_game::expand_random_scenario().