41 typedef std::vector<map_location>
route_t;
A config object defines a single node in a WML file, with access to child nodes.
config & add_child(config_key_type key)
void write_locations(const std::vector< map_location > &locs, config &cfg)
Write a vector of locations into a config adding keys x=x1,x2,..,xn and y=y1,y2,.....
void read_locations(const config &cfg, std::vector< map_location > &locs)
Parse x,y keys of a config into a vector of locations.
std::shared_ptr< const unit > unit_const_ptr
Class that stores the part of a unit's data that is needed for fog clearing.
void write(config &cfg) const
Writes to a config.
base class for classes that clear srhoud (move/recruit/recall)
shroud_clearing_action(const unit_const_ptr u, const map_location &loc)
shroud_clearing_action(const config &cfg)
shroud_clearing_action(const unit_const_ptr u, const route_t::const_iterator &begin, const route_t::const_iterator &end)
virtual ~shroud_clearing_action()
route_t route
The hexes occupied by the affected unit during this action.
std::vector< map_location > route_t
void write(config &cfg) const
clearer_info view_info
A record of the affected unit's ability to see.
Encapsulates the map of the game.
Various functions implementing vision (through fog of war and shroud).