mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 07:54:17 +00:00
Removed unused constructor t_translation::t_terrain.
This commit is contained in:
parent
54d19a0084
commit
79882e4025
@ -148,11 +148,7 @@ const t_match ALL_SWAMPS("!,*^V*,*^B*,!,S*"); //excluding swamp villages and bri
|
||||
|
||||
/***************************************************************************************/
|
||||
|
||||
t_terrain::t_terrain(const std::string& b) :
|
||||
base(string_to_layer_(b)), overlay(NO_LAYER)
|
||||
{}
|
||||
|
||||
t_terrain::t_terrain(const std::string& b, const t_layer o) :
|
||||
t_terrain::t_terrain(const std::string& b, t_layer o) :
|
||||
base(string_to_layer_(b)), overlay(o)
|
||||
{}
|
||||
|
||||
|
@ -42,10 +42,9 @@ namespace t_translation {
|
||||
* is empty (needed for matching) the layer has the value 0.
|
||||
*/
|
||||
struct t_terrain {
|
||||
t_terrain(const std::string& b);
|
||||
t_terrain(const std::string& b, const std::string& o);
|
||||
t_terrain(const std::string& b, const t_layer o);
|
||||
t_terrain(const t_layer& b, const t_layer& o) : base(b), overlay(o) {};
|
||||
t_terrain(const std::string& b, t_layer o = NO_LAYER);
|
||||
t_terrain(t_layer b, t_layer o) : base(b), overlay(o) {};
|
||||
t_terrain() : base(0), overlay(NO_LAYER) {}
|
||||
|
||||
t_layer base;
|
||||
|
Loading…
x
Reference in New Issue
Block a user