The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
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_generator * create_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 
)

Definition at line 28 of file map_create.cpp.

References cfg, and ERR_CF.

Referenced by random_generate_map(), and random_generate_scenario().

◆ 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 cfg, and create_map_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 cfg, and create_map_generator().

Referenced by saved_game::expand_random_scenario().