#include <exclude.h>
Public Types | |
typedef std::map< coord_def, travel_exclude > | exclmap |
typedef exclmap::iterator | iterator |
typedef exclmap::const_iterator | const_iterator |
Public Member Functions | |
exclude_set () | |
void | clear () |
void | erase (const coord_def &p) |
void | add_exclude (travel_exclude &ex) |
void | add_exclude (const coord_def &p, int radius=LOS_RADIUS, bool autoexcl=false, std::string desc="", bool vaultexcl=false) |
void | update_excluded_points (bool recompute_los=false) |
void | recompute_excluded_points (bool recompute_los=false) |
travel_exclude * | get_exclude_root (const coord_def &p) |
bool | is_excluded (const coord_def &p) const |
bool | is_exclude_root (const coord_def &p) const |
std::string | get_exclusion_desc () |
size_t | size () const |
bool | empty () const |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
typedef std::map<coord_def, travel_exclude> exclude_set::exclmap |
typedef exclmap::iterator exclude_set::iterator |
typedef exclmap::const_iterator exclude_set::const_iterator |
exclude_set::exclude_set | ( | ) |
void exclude_set::clear | ( | ) |
void exclude_set::erase | ( | const coord_def & | p | ) |
void exclude_set::add_exclude | ( | travel_exclude & | ex | ) |
void exclude_set::add_exclude | ( | const coord_def & | p, | |
int | radius = LOS_RADIUS , |
|||
bool | autoexcl = false , |
|||
std::string | desc = "" , |
|||
bool | vaultexcl = false | |||
) |
void exclude_set::update_excluded_points | ( | bool | recompute_los = false |
) |
void exclude_set::recompute_excluded_points | ( | bool | recompute_los = false |
) |
travel_exclude * exclude_set::get_exclude_root | ( | const coord_def & | p | ) |
bool exclude_set::is_excluded | ( | const coord_def & | p | ) | const |
bool exclude_set::is_exclude_root | ( | const coord_def & | p | ) | const |
std::string exclude_set::get_exclusion_desc | ( | ) |
size_t exclude_set::size | ( | ) | const |
bool exclude_set::empty | ( | ) | const |
exclude_set::const_iterator exclude_set::begin | ( | ) | const |
exclude_set::const_iterator exclude_set::end | ( | ) | const |
exclude_set::iterator exclude_set::begin | ( | ) |
exclude_set::iterator exclude_set::end | ( | ) |