monster_info Struct Reference

#include <mon-info.h>

Inheritance diagram for monster_info:

Inheritance graph
[legend]
Collaboration diagram for monster_info:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 monster_info ()
 monster_info (const monster *m, int level=MILEV_ALL)
 monster_info (monster_type p_type, monster_type p_base_type=MONS_NO_MONSTER)
 monster_info (const monster_info &mi)
monster_infooperator= (const monster_info &p)
void to_string (int count, std::string &desc, int &desc_color, bool fullname=true) const
monstermon () const
bool is (unsigned mbflag) const
std::string damage_desc () const
bool neutral () const
std::string db_name () const
bool has_proper_name () const
std::string common_name (description_level_type desc=DESC_PLAIN) const
std::string proper_name (description_level_type desc=DESC_PLAIN) const
std::string full_name (description_level_type desc=DESC_PLAIN, bool use_comma=false) const
std::vector< std::stringattributes () const
const char * pronoun (pronoun_type variant) const
std::string wounds_description_sentence () const
std::string wounds_description (bool colour=false) const
monster_type draco_subspecies () const
mon_intel_type intel () const
mon_resist_def resists () const
mon_itemuse_type itemuse () const
int randarts (artefact_prop_type ra_prop) const
int res_magic () const
int base_speed () const
bool can_regenerate () const
size_type body_size () const

Static Public Member Functions

static bool less_than (const monster_info &m1, const monster_info &m2, bool zombified=true, bool fullname=true)
static bool less_than_wrapper (const monster_info &m1, const monster_info &m2)

Public Attributes

std::auto_ptr< item_definv [6]
union {
   struct {
      species_type   species
      job_type   job
      god_type   religion
      skill_type   best_skill
      short   best_skill_rank
      short   xl_rank
   }   ghost
u

Protected Member Functions

std::string _core_name () const
std::string _apply_adjusted_description (description_level_type desc, const std::string &s) const


Constructor & Destructor Documentation

monster_info::monster_info (  )  [inline]

monster_info::monster_info ( const monster m,
int  level = MILEV_ALL 
)

monster_info::monster_info ( monster_type  p_type,
monster_type  p_base_type = MONS_NO_MONSTER 
)

Here is the call graph for this function:

monster_info::monster_info ( const monster_info mi  )  [inline]


Member Function Documentation

bool monster_info::less_than ( const monster_info m1,
const monster_info m2,
bool  zombified = true,
bool  fullname = true 
) [static]

Here is the call graph for this function:

bool monster_info::less_than_wrapper ( const monster_info m1,
const monster_info m2 
) [static]

Here is the call graph for this function:

monster_info& monster_info::operator= ( const monster_info p  )  [inline]

Here is the call graph for this function:

void monster_info::to_string ( int  count,
std::string desc,
int &  desc_color,
bool  fullname = true 
) const

Here is the call graph for this function:

monster * monster_info::mon (  )  const

Here is the call graph for this function:

bool monster_info::is ( unsigned  mbflag  )  const [inline]

std::string monster_info::damage_desc (  )  const [inline]

Here is the call graph for this function:

bool monster_info::neutral (  )  const [inline]

std::string monster_info::db_name (  )  const

Here is the call graph for this function:

bool monster_info::has_proper_name (  )  const

Here is the call graph for this function:

std::string monster_info::common_name ( description_level_type  desc = DESC_PLAIN  )  const

Here is the call graph for this function:

std::string monster_info::proper_name ( description_level_type  desc = DESC_PLAIN  )  const

Here is the call graph for this function:

std::string monster_info::full_name ( description_level_type  desc = DESC_PLAIN,
bool  use_comma = false 
) const

Here is the call graph for this function:

std::vector< std::string > monster_info::attributes (  )  const

Here is the call graph for this function:

const char* monster_info::pronoun ( pronoun_type  variant  )  const [inline]

Here is the call graph for this function:

std::string monster_info::wounds_description_sentence (  )  const

Here is the call graph for this function:

std::string monster_info::wounds_description ( bool  colour = false  )  const

Here is the call graph for this function:

monster_type monster_info::draco_subspecies (  )  const [inline]

mon_intel_type monster_info::intel (  )  const [inline]

mon_resist_def monster_info::resists (  )  const [inline]

mon_itemuse_type monster_info::itemuse (  )  const [inline]

int monster_info::randarts ( artefact_prop_type  ra_prop  )  const

Here is the call graph for this function:

int monster_info::res_magic (  )  const

Here is the call graph for this function:

int monster_info::base_speed (  )  const [inline]

bool monster_info::can_regenerate (  )  const [inline]

size_type monster_info::body_size (  )  const

Here is the call graph for this function:

std::string monster_info::_core_name (  )  const [protected]

Here is the call graph for this function:

std::string monster_info::_apply_adjusted_description ( description_level_type  desc,
const std::string s 
) const [protected]

Here is the call graph for this function:


Member Data Documentation

std::auto_ptr<item_def> monster_info::inv[6]

struct { ... } monster_info::ghost

union { ... } monster_info::u


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

Generated on Thu Jan 13 13:39:20 2011 by  doxygen 1.5.6