The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions
terrain.hpp File Reference
#include "config.hpp"
#include "terrain/translation.hpp"
#include "utils/math.hpp"
Include dependency graph for terrain.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  terrain_type
 

Functions

void create_terrain_maps (const config::const_child_itors &cfgs, t_translation::ter_list &terrain_list, std::map< t_translation::terrain_code, terrain_type > &letter_to_terrain)
 
void merge_alias_lists (t_translation::ter_list &first, const t_translation::ter_list &second)
 

Function Documentation

void create_terrain_maps ( const config::const_child_itors cfgs,
t_translation::ter_list terrain_list,
std::map< t_translation::terrain_code, terrain_type > &  letter_to_terrain 
)
void merge_alias_lists ( t_translation::ter_list first,
const t_translation::ter_list second 
)

Definition at line 364 of file terrain.cpp.

References t_translation::BASE, i, t_translation::MINUS, and t_translation::PLUS.

Referenced by terrain_type::terrain_type().