#include <travel.h>
Public Member Functions | |
LevelInfo () | |
void | save (writer &) const |
void | load (reader &, int minorVersion) |
std::vector< stair_info > & | get_stairs () |
stair_info * | get_stair (int x, int y) |
stair_info * | get_stair (const coord_def &pos) |
bool | empty () const |
bool | know_stair (const coord_def &pos) const |
int | get_stair_index (const coord_def &pos) const |
void | clear_distances () |
void | set_level_excludes () |
const exclude_set & | get_excludes () const |
int | distance_between (const stair_info *s1, const stair_info *s2) const |
void | update_excludes () |
void | update () |
void | update_stair (const coord_def &stairpos, const level_pos &p, bool guess=false) |
void | clear_stairs (dungeon_feature_type grid) |
bool | is_known_branch (uint8_t branch) const |
Public Attributes | |
FixedVector< int, NUM_DA_COUNTERS > | da_counters |
Friends | |
class | TravelCache |
LevelInfo::LevelInfo | ( | ) | [inline] |
void LevelInfo::save | ( | writer & | outf | ) | const |
void LevelInfo::load | ( | reader & | inf, | |
int | minorVersion | |||
) |
std::vector<stair_info>& LevelInfo::get_stairs | ( | ) | [inline] |
stair_info * LevelInfo::get_stair | ( | int | x, | |
int | y | |||
) |
stair_info * LevelInfo::get_stair | ( | const coord_def & | pos | ) |
bool LevelInfo::empty | ( | ) | const |
bool LevelInfo::know_stair | ( | const coord_def & | pos | ) | const |
int LevelInfo::get_stair_index | ( | const coord_def & | pos | ) | const |
void LevelInfo::clear_distances | ( | ) |
void LevelInfo::set_level_excludes | ( | ) |
const exclude_set& LevelInfo::get_excludes | ( | ) | const [inline] |
int LevelInfo::distance_between | ( | const stair_info * | s1, | |
const stair_info * | s2 | |||
) | const |
void LevelInfo::update_excludes | ( | ) |
void LevelInfo::update | ( | ) |
void LevelInfo::update_stair | ( | const coord_def & | stairpos, | |
const level_pos & | p, | |||
bool | guess = false | |||
) |
void LevelInfo::clear_stairs | ( | dungeon_feature_type | grid | ) |
bool LevelInfo::is_known_branch | ( | uint8_t | branch | ) | const |
friend class TravelCache [friend] |
FixedVector<int, NUM_DA_COUNTERS> LevelInfo::da_counters |