removed unused function gamemap::filter_location

This commit is contained in:
Mark de Wever 2007-02-04 14:30:36 +00:00
parent 74dc1dd302
commit 6e81ed9116
2 changed files with 0 additions and 8 deletions

View file

@ -83,11 +83,6 @@ const t_translation::t_list& gamemap::underlying_union_terrain(t_translation::t_
}
}
bool gamemap::filter_location(const gamemap::location &loc,const config & /*con*/) const
{ //need to fill this in
return on_board(loc);
}
void gamemap::write_terrain(const gamemap::location &loc, config& cfg) const
{
cfg["terrain"] = t_translation::write_letter(get_terrain(loc));

View file

@ -117,9 +117,6 @@ public:
bool is_keep(const location& loc) const
{ return on_board(loc) && is_keep(get_terrain(loc)); }
//function to filter whether a location matches a set of criteria
bool filter_location(const location &loc,const config &con) const;
//loads a map, with the given terrain configuration.
//data should be a series of lines, with each character representing
//one hex on the map. Starting locations are represented by numbers,