The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions | Variables
map_create.cpp File Reference
#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 "serialization/string_utils.hpp"
#include <cassert>
#include <sstream>
Include dependency graph for map_create.cpp:

Go to the source code of this file.

Macros

#define ERR_CF   LOG_STREAM(err, log_config)
 

Functions

map_generatorcreate_map_generator (const std::string &name, const config &cfg)
 
std::string random_generate_map (const std::string &name, const config &cfg)
 
config random_generate_scenario (const std::string &name, const config &cfg)
 

Variables

static lg::log_domain log_config ("config")
 

Macro Definition Documentation

#define ERR_CF   LOG_STREAM(err, log_config)

Definition at line 27 of file map_create.cpp.

Referenced by create_map_generator().

Function Documentation

map_generator* create_map_generator ( const std::string &  name,
const config cfg 
)
std::string random_generate_map ( const std::string &  name,
const config cfg 
)
config random_generate_scenario ( const std::string &  name,
const config cfg 
)

Variable Documentation

lg::log_domain log_config("config")
static