#include "generators/map_create.hpp"#include "generators/cave_map_generator.hpp"#include "generators/default_map_generator.hpp"#include "generators/lua_map_generator.hpp"#include "log.hpp"#include <sstream>Go to the source code of this file.
Macros | |
| #define | ERR_CF LOG_STREAM(err, log_config) |
Functions | |
| map_generator * | create_map_generator (const std::string &name, const config &cfg, const config *vars) |
| std::string | random_generate_map (const std::string &name, const config &cfg, const config *vars) |
| config | random_generate_scenario (const std::string &name, const config &cfg, const config *vars) |
Variables | |
| static lg::log_domain | log_config ("config") |
| #define ERR_CF LOG_STREAM(err, log_config) |
Definition at line 26 of file map_create.cpp.
| map_generator* create_map_generator | ( | const std::string & | name, |
| const config & | cfg, | ||
| const config * | vars | ||
| ) |
Definition at line 28 of file map_create.cpp.
Referenced by ng::random_map::create_map_generator(), editor::context_manager::init_map_generators(), random_generate_map(), and random_generate_scenario().
| std::string random_generate_map | ( | const std::string & | name, |
| const config & | cfg, | ||
| const config * | vars | ||
| ) |
Definition at line 44 of file map_create.cpp.
References cfg, create_map_generator(), and randomness::generator.
Referenced by saved_game::expand_random_scenario().
| config random_generate_scenario | ( | const std::string & | name, |
| const config & | cfg, | ||
| const config * | vars | ||
| ) |
Definition at line 56 of file map_create.cpp.
References cfg, create_map_generator(), and randomness::generator.
Referenced by saved_game::expand_random_scenario().
|
static |