The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
map_create.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2003 - 2017 by David White <dave@whitevine.net>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #pragma once
16 
17 class config;
18 class map_generator;
19 class CVideo;
20 
21 #include <string>
22 
23 std::string random_generate_map(const std::string& parms, const config &cfg);
24 config random_generate_scenario(const std::string& parms, const config &cfg);
25 
std::vector< char_t > string
Definition: video.hpp:29
config random_generate_scenario(const std::string &parms, const config &cfg)
Definition: map_create.cpp:57
map_generator * create_map_generator(const std::string &name, const config &cfg)
Definition: map_create.cpp:29
std::string random_generate_map(const std::string &parms, const config &cfg)
Definition: map_create.cpp:45
static const char * name(const std::vector< SDL_Joystick * > &joysticks, const size_t index)
Definition: joystick.cpp:48
A config object defines a single node in a WML file, with access to child nodes.
Definition: config.hpp:93