item_def Struct Reference

#include <externs.h>

Collaboration diagram for item_def:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 item_def ()
std::string name (description_level_type descrip, bool terse=false, bool ident=false, bool with_inscription=true, bool quantity_in_words=false, iflags_t ignore_flags=0x0) const
bool has_spells () const
bool cursed () const
int book_number () const
zap_type zap () const
int index () const
int armour_rating () const
bool launched_by (const item_def &launcher) const
void clear ()
void set_holding_monster (int midx)
monsterholding_monster () const
bool held_by_monster () const
bool defined () const
bool is_valid () const
bool is_critical () const
bool is_mundane () const

Public Attributes

object_class_type base_type:8
uint8_t sub_type
short plus
short plus2
int special
uint8_t colour
uint8_t rnd
short quantity
iflags_t flags
coord_def pos
short link
short slot
unsigned short orig_place
short orig_monnum
std::string inscription
CrawlHashTable props


Constructor & Destructor Documentation

item_def::item_def (  )  [inline]


Member Function Documentation

std::string item_def::name ( description_level_type  descrip,
bool  terse = false,
bool  ident = false,
bool  with_inscription = true,
bool  quantity_in_words = false,
iflags_t  ignore_flags = 0x0 
) const

Here is the call graph for this function:

bool item_def::has_spells (  )  const

Here is the call graph for this function:

bool item_def::cursed (  )  const

int item_def::book_number (  )  const

zap_type item_def::zap (  )  const

Here is the call graph for this function:

int item_def::index (  )  const

int item_def::armour_rating (  )  const

Here is the call graph for this function:

bool item_def::launched_by ( const item_def launcher  )  const

Here is the call graph for this function:

void item_def::clear (  )  [inline]

Here is the call graph for this function:

void item_def::set_holding_monster ( int  midx  ) 

Here is the call graph for this function:

monster * item_def::holding_monster (  )  const

Here is the call graph for this function:

bool item_def::held_by_monster (  )  const

Here is the call graph for this function:

bool item_def::defined (  )  const

bool item_def::is_valid (  )  const

Here is the call graph for this function:

bool item_def::is_critical (  )  const

Here is the call graph for this function:

bool item_def::is_mundane (  )  const


Member Data Documentation

uint8_t item_def::rnd

unsigned short item_def::orig_place


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

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