Defines | Functions | Variables

map_create.cpp File Reference

#include "global.hpp"
#include "map_create.hpp"
#include "cavegen.hpp"
#include "log.hpp"
#include "mapgen_dialog.hpp"
#include "scoped_resource.hpp"
#include "serialization/string_utils.hpp"
Include dependency graph for map_create.cpp:

Go to the source code of this file.

Defines

#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 &parms, const config &cfg)
config random_generate_scenario (const std::string &parms, const config &cfg)

Variables

static lg::log_domain log_config ("config")

Define Documentation

#define ERR_CF   LOG_STREAM(err, log_config)

Definition at line 27 of file map_create.cpp.

Referenced by random_generate_map(), and random_generate_scenario().


Function Documentation

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

Definition at line 29 of file map_create.cpp.

Referenced by editor::context_manager::init_map_generators(), mp::create::process_event(), random_generate_map(), and random_generate_scenario().

Here is the caller graph for this function:

std::string random_generate_map ( const std::string &  parms,
const config cfg 
)

Definition at line 42 of file map_create.cpp.

References create_map_generator(), ERR_CF, util::scoped_resource< T, ReleasePolicy >::get(), and utils::split().

Referenced by play_game().

Here is the call graph for this function:

Here is the caller graph for this function:

config random_generate_scenario ( const std::string &  parms,
const config cfg 
)

Definition at line 57 of file map_create.cpp.

References create_map_generator(), ERR_CF, and utils::split().

Referenced by play_game().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

lg::log_domain log_config("config") [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:08:26 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs