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.

Macros

#define ERR_CF   LOG_STREAM(err, log_config)
 

Functions

map_generatorcreate_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")
 

Macro Definition Documentation

◆ ERR_CF

#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,
const config vars 
)

◆ random_generate_map()

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

◆ random_generate_scenario()

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

Variable Documentation

◆ log_config

lg::log_domain log_config("config")
static