map_cell Struct Reference

#include <map_knowledge.h>

Collaboration diagram for map_cell:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 map_cell ()
 map_cell (const map_cell &c)
 ~map_cell ()
map_celloperator= (const map_cell &c)
void clear ()
void clear_data ()
dungeon_feature_type feat () const
unsigned feat_colour () const
void set_feature (dungeon_feature_type nfeat, unsigned colour=0)
item_infoitem () const
bool detected_item () const
void set_item (const item_info &ii, bool more_items)
void set_detected_item ()
void clear_item ()
monster_type monster () const
monster_infomonsterinfo () const
void set_monster (const monster_info &mi)
bool detected_monster () const
bool invisible_monster () const
void set_detected_monster (monster_type mons)
void set_invisible_monster ()
void clear_monster ()
cloud_type cloud () const
unsigned cloud_colour () const
void set_cloud (cloud_type ncloud, unsigned colour=0)
bool known () const
bool seen () const
bool visible () const
bool changed () const
bool mapped () const

Public Attributes

uint32_t flags
monster_infoinfo
monster_type detected


Constructor & Destructor Documentation

map_cell::map_cell (  )  [inline]

map_cell::map_cell ( const map_cell c  )  [inline]

map_cell::~map_cell (  )  [inline]


Member Function Documentation

map_cell& map_cell::operator= ( const map_cell c  )  [inline]

void map_cell::clear (  )  [inline]

Here is the call graph for this function:

void map_cell::clear_data (  )  [inline]

Here is the call graph for this function:

dungeon_feature_type map_cell::feat (  )  const [inline]

unsigned map_cell::feat_colour (  )  const [inline]

void map_cell::set_feature ( dungeon_feature_type  nfeat,
unsigned  colour = 0 
) [inline]

item_info* map_cell::item (  )  const [inline]

bool map_cell::detected_item (  )  const [inline]

void map_cell::set_item ( const item_info ii,
bool  more_items 
) [inline]

Here is the call graph for this function:

void map_cell::set_detected_item (  ) 

Here is the call graph for this function:

void map_cell::clear_item (  )  [inline]

monster_type map_cell::monster (  )  const [inline]

monster_info* map_cell::monsterinfo (  )  const [inline]

void map_cell::set_monster ( const monster_info mi  )  [inline]

Here is the call graph for this function:

bool map_cell::detected_monster (  )  const [inline]

bool map_cell::invisible_monster (  )  const [inline]

void map_cell::set_detected_monster ( monster_type  mons  )  [inline]

Here is the call graph for this function:

void map_cell::set_invisible_monster (  )  [inline]

Here is the call graph for this function:

void map_cell::clear_monster (  )  [inline]

cloud_type map_cell::cloud (  )  const [inline]

unsigned map_cell::cloud_colour (  )  const [inline]

void map_cell::set_cloud ( cloud_type  ncloud,
unsigned  colour = 0 
) [inline]

bool map_cell::known (  )  const [inline]

bool map_cell::seen (  )  const [inline]

bool map_cell::visible (  )  const [inline]

bool map_cell::changed (  )  const [inline]

bool map_cell::mapped (  )  const [inline]


Member Data Documentation

uint32_t map_cell::flags


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

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