The Battle for Wesnoth  1.15.0-dev
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 <cassert>
#include <sstream>
Include dependency graph for map_create.cpp:

Go to the source code of this file.


#define ERR_CF   LOG_STREAM(err, log_config)


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)


static lg::log_domain log_config ("config")

Macro Definition Documentation


#define ERR_CF   LOG_STREAM(err, log_config)

Definition at line 26 of file map_create.cpp.

Referenced by create_map_generator().

Function Documentation

◆ create_map_generator()

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

◆ random_generate_map()

std::string random_generate_map ( const std::string &  name,
const config cfg 

◆ random_generate_scenario()

config random_generate_scenario ( const std::string &  name,
const config cfg 

Variable Documentation

◆ log_config

lg::log_domain log_config("config")