#include "global.hpp"
#include "config.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "map.hpp"
#include "pathfind.hpp"
#include "util.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/parser.hpp"
#include "wml_exception.hpp"
#include <algorithm>
#include <cassert>
#include <cctype>
#include <cstdlib>
#include <iostream>
#include <sstream>
Go to the source code of this file.
Defines | |
#define | ERR_CF LOG_STREAM(err, config) |
#define | LOG_G LOG_STREAM(info, general) |
#define | DBG_G LOG_STREAM(debug, general) |
Functions | |
std::ostream & | operator<< (std::ostream &s, gamemap::location const &l) |
Dumps a position on a stream, for debug purposes. | |
std::vector< gamemap::location > | parse_location_range (const std::string &x, const std::string &y, const gamemap *const map) |
Parses ranges of locations into a vector of locations. |
etc.
Definition in file map.cpp.
std::ostream& operator<< | ( | std::ostream & | s, | |
gamemap::location const & | l | |||
) |
Dumps a position on a stream, for debug purposes.
Definition at line 41 of file map.cpp.
References gamemap::location::x, and gamemap::location::y.
std::vector<gamemap::location> parse_location_range | ( | const std::string & | x, | |
const std::string & | y, | |||
const gamemap *const | map | |||
) |
Parses ranges of locations into a vector of locations.
Definition at line 764 of file map.cpp.
References gamemap::h(), utils::parse_range(), utils::split(), and gamemap::w().
Referenced by ai::avoided_locations(), gamestatus::gamestatus(), terrain_filter::get_locations(), and multiple_locs().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |