LevelInfo Struct Reference

#include <travel.h>

Collaboration diagram for LevelInfo:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LevelInfo ()
void save (writer &) const
void load (reader &, int minorVersion)
std::vector< stair_info > & get_stairs ()
stair_infoget_stair (int x, int y)
stair_infoget_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_setget_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


Constructor & Destructor Documentation

LevelInfo::LevelInfo (  )  [inline]

Here is the call graph for this function:


Member Function Documentation

void LevelInfo::save ( writer outf  )  const

Here is the call graph for this function:

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

Here is the call graph for this function:

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  ) 

Here is the call graph for this function:

bool LevelInfo::empty (  )  const

Here is the call graph for this function:

bool LevelInfo::know_stair ( const coord_def pos  )  const

Here is the call graph for this function:

int LevelInfo::get_stair_index ( const coord_def pos  )  const

void LevelInfo::clear_distances (  ) 

void LevelInfo::set_level_excludes (  ) 

Here is the call graph for this function:

const exclude_set& LevelInfo::get_excludes (  )  const [inline]

int LevelInfo::distance_between ( const stair_info s1,
const stair_info s2 
) const

Here is the call graph for this function:

void LevelInfo::update_excludes (  ) 

void LevelInfo::update (  ) 

Here is the call graph for this function:

void LevelInfo::update_stair ( const coord_def stairpos,
const level_pos p,
bool  guess = false 
)

Here is the call graph for this function:

void LevelInfo::clear_stairs ( dungeon_feature_type  grid  ) 

bool LevelInfo::is_known_branch ( uint8_t  branch  )  const


Friends And Related Function Documentation

friend class TravelCache [friend]


Member Data Documentation

FixedVector<int, NUM_DA_COUNTERS> LevelInfo::da_counters


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

Generated on Thu Jan 13 13:35:01 2011 by  doxygen 1.5.6