#include "los_def.h"
Go to the source code of this file.
Classes | |
class | travel_exclude |
class | exclude_set |
Functions | |
bool | need_auto_exclude (const monster *mon, bool sleepy=false) |
void | set_auto_exclude (const monster *mon) |
void | remove_auto_exclude (const monster *mon, bool sleepy=false) |
void | init_exclusion_los () |
void | update_exclusion_los (std::vector< coord_def > changed) |
void | deferred_exclude_update () |
bool | is_exclude_root (const coord_def &p) |
int | get_exclusion_radius (const coord_def &p) |
std::string | get_exclusion_desc (const coord_def &p) |
void | cycle_exclude_radius (const coord_def &p) |
void | del_exclude (const coord_def &p) |
void | set_exclude (const coord_def &p, int radius=LOS_RADIUS, bool autoexcl=false, bool vaultexcl=false, bool defer_updates=false) |
void | maybe_remove_autoexclusion (const coord_def &p) |
void | clear_excludes () |
bool | is_excluded (const coord_def &p, const exclude_set &exc=curr_excludes) |
void | marshallExcludes (writer &outf, const exclude_set &excludes) |
void | unmarshallExcludes (reader &inf, int minorVersion, exclude_set &excludes) |
Variables | |
exclude_set | curr_excludes |
void clear_excludes | ( | ) |
void cycle_exclude_radius | ( | const coord_def & | p | ) |
void deferred_exclude_update | ( | ) |
void del_exclude | ( | const coord_def & | p | ) |
std::string get_exclusion_desc | ( | const coord_def & | p | ) |
int get_exclusion_radius | ( | const coord_def & | p | ) |
void init_exclusion_los | ( | ) |
bool is_exclude_root | ( | const coord_def & | p | ) |
bool is_excluded | ( | const coord_def & | p, | |
const exclude_set & | exc = curr_excludes | |||
) |
void marshallExcludes | ( | writer & | outf, | |
const exclude_set & | excludes | |||
) |
void maybe_remove_autoexclusion | ( | const coord_def & | p | ) |
bool need_auto_exclude | ( | const monster * | mon, | |
bool | sleepy = false | |||
) |
void remove_auto_exclude | ( | const monster * | mon, | |
bool | sleepy = false | |||
) |
void set_auto_exclude | ( | const monster * | mon | ) |
void set_exclude | ( | const coord_def & | p, | |
int | radius = LOS_RADIUS , |
|||
bool | autoexcl = false , |
|||
bool | vaultexcl = false , |
|||
bool | defer_updates = false | |||
) |
void unmarshallExcludes | ( | reader & | inf, | |
int | minorVersion, | |||
exclude_set & | excludes | |||
) |
void update_exclusion_los | ( | std::vector< coord_def > | changed | ) |