#include "global.hpp"
#include "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 "scoped_resource.hpp"
#include "serialization/string_utils.hpp"
#include <cassert>
#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) |
std::string | random_generate_map (const std::string &parms, const config &cfg) |
config | random_generate_scenario (const std::string &parms, const config &cfg) |
Variables | |
static lg::log_domain | log_config ("config") |
#define ERR_CF LOG_STREAM(err, log_config) |
Definition at line 29 of file map_create.cpp.
map_generator* create_map_generator | ( | const std::string & | name, |
const config & | cfg | ||
) |
Definition at line 31 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 & | parms, |
const config & | cfg | ||
) |
Definition at line 46 of file map_create.cpp.
References create_map_generator(), random_new::generator, parameters, and utils::split().
Referenced by saved_game::expand_random_scenario().
config random_generate_scenario | ( | const std::string & | parms, |
const config & | cfg | ||
) |
Definition at line 63 of file map_create.cpp.
References create_map_generator(), random_new::generator, parameters, and utils::split().
Referenced by saved_game::expand_random_scenario().
|
static |