TravelCache Class Reference

#include <travel.h>

Collaboration diagram for TravelCache:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void clear_distances ()
LevelInfoget_level_info (const level_id &lev)
LevelInfofind_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_idknown_levels () const
const level_posget_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)


Member Function Documentation

void TravelCache::clear_distances (  ) 

LevelInfo& TravelCache::get_level_info ( const level_id lev  )  [inline]

LevelInfo* TravelCache::find_level_info ( const level_id lev  )  [inline]

void TravelCache::erase_level_info ( const level_id lev  )  [inline]

bool TravelCache::know_stair ( const coord_def c  )  const

Here is the call graph for this function:

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 (  ) 

Here is the call graph for this function:

void TravelCache::add_waypoint ( int  x = -1,
int  y = -1 
)

Here is the call graph for this function:

void TravelCache::delete_waypoint (  ) 

Here is the call graph for this function:

uint8_t TravelCache::is_waypoint ( const level_pos lp  )  const

void TravelCache::list_waypoints (  )  const

Here is the call graph for this function:

void TravelCache::update_waypoints (  )  const

Here is the call graph for this function:

void TravelCache::update_excludes (  ) 

Here is the call graph for this function:

void TravelCache::update (  ) 

Here is the call graph for this function:

void TravelCache::save ( writer outf  )  const

Here is the call graph for this function:

void TravelCache::load ( reader inf,
int  minorVersion 
)

Here is the call graph for this function:

bool TravelCache::is_known_branch ( uint8_t  branch  )  const

void TravelCache::update_da_counters (  ) 

Here is the call graph for this function:

unsigned int TravelCache::query_da_counter ( daction_type  c  ) 

Here is the call graph for this function:

void TravelCache::clear_da_counter ( daction_type  c  ) 


The documentation for this class was generated from the following files:

Generated on Thu Jan 13 13:42:57 2011 by  doxygen 1.5.6