#include <travel.h>
Public Member Functions | |
void | clear_distances () |
LevelInfo & | get_level_info (const level_id &lev) |
LevelInfo * | find_level_info (const level_id &lev) |
void | erase_level_info (const level_id &lev) |
bool | know_stair (const coord_def &c) const |
bool | know_level (const level_id &lev) const |
std::vector< level_id > | known_levels () const |
const level_pos & | get_waypoint (int number) const |
int | get_waypoint_count () const |
void | set_level_excludes () |
void | add_waypoint (int x=-1, int y=-1) |
void | delete_waypoint () |
uint8_t | is_waypoint (const level_pos &lp) const |
void | list_waypoints () const |
void | update_waypoints () const |
void | update_excludes () |
void | update () |
void | save (writer &) const |
void | load (reader &, int minorVersion) |
bool | is_known_branch (uint8_t branch) const |
void | update_da_counters () |
unsigned int | query_da_counter (daction_type c) |
void | clear_da_counter (daction_type c) |
void TravelCache::clear_distances | ( | ) |
void TravelCache::erase_level_info | ( | const level_id & | lev | ) | [inline] |
bool TravelCache::know_stair | ( | const coord_def & | c | ) | const |
bool TravelCache::know_level | ( | const level_id & | lev | ) | const [inline] |
std::vector< level_id > TravelCache::known_levels | ( | ) | const |
const level_pos& TravelCache::get_waypoint | ( | int | number | ) | const [inline] |
int TravelCache::get_waypoint_count | ( | ) | const |
void TravelCache::set_level_excludes | ( | ) |
void TravelCache::add_waypoint | ( | int | x = -1 , |
|
int | y = -1 | |||
) |
void TravelCache::delete_waypoint | ( | ) |
uint8_t TravelCache::is_waypoint | ( | const level_pos & | lp | ) | const |
void TravelCache::list_waypoints | ( | ) | const |
void TravelCache::update_waypoints | ( | ) | const |
void TravelCache::update_excludes | ( | ) |
void TravelCache::update | ( | ) |
void TravelCache::save | ( | writer & | outf | ) | const |
void TravelCache::load | ( | reader & | inf, | |
int | minorVersion | |||
) |
bool TravelCache::is_known_branch | ( | uint8_t | branch | ) | const |
void TravelCache::update_da_counters | ( | ) |
unsigned int TravelCache::query_da_counter | ( | daction_type | c | ) |
void TravelCache::clear_da_counter | ( | daction_type | c | ) |