#include <mon-info.h>
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_info & | operator= (const monster_info &p) |
void | to_string (int count, std::string &desc, int &desc_color, bool fullname=true) const |
monster * | mon () 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::string > | attributes () 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_def > | inv [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 |
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 | |||
) |
monster_info::monster_info | ( | const monster_info & | mi | ) | [inline] |
bool monster_info::less_than | ( | const monster_info & | m1, | |
const monster_info & | m2, | |||
bool | zombified = true , |
|||
bool | fullname = true | |||
) | [static] |
bool monster_info::less_than_wrapper | ( | const monster_info & | m1, | |
const monster_info & | m2 | |||
) | [static] |
monster_info& monster_info::operator= | ( | const monster_info & | p | ) | [inline] |
void monster_info::to_string | ( | int | count, | |
std::string & | desc, | |||
int & | desc_color, | |||
bool | fullname = true | |||
) | const |
monster * monster_info::mon | ( | ) | const |
bool monster_info::is | ( | unsigned | mbflag | ) | const [inline] |
std::string monster_info::damage_desc | ( | ) | const [inline] |
bool monster_info::neutral | ( | ) | const [inline] |
std::string monster_info::db_name | ( | ) | const |
bool monster_info::has_proper_name | ( | ) | const |
std::string monster_info::common_name | ( | description_level_type | desc = DESC_PLAIN |
) | const |
std::string monster_info::proper_name | ( | description_level_type | desc = DESC_PLAIN |
) | const |
std::string monster_info::full_name | ( | description_level_type | desc = DESC_PLAIN , |
|
bool | use_comma = false | |||
) | const |
std::vector< std::string > monster_info::attributes | ( | ) | const |
const char* monster_info::pronoun | ( | pronoun_type | variant | ) | const [inline] |
std::string monster_info::wounds_description_sentence | ( | ) | const |
std::string monster_info::wounds_description | ( | bool | colour = false |
) | const |
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 |
int monster_info::res_magic | ( | ) | const |
int monster_info::base_speed | ( | ) | const [inline] |
bool monster_info::can_regenerate | ( | ) | const [inline] |
size_type monster_info::body_size | ( | ) | const |
std::string monster_info::_core_name | ( | ) | const [protected] |
std::string monster_info::_apply_adjusted_description | ( | description_level_type | desc, | |
const std::string & | s | |||
) | const [protected] |
std::auto_ptr<item_def> monster_info::inv[6] |
short monster_info::xl_rank |
struct { ... } monster_info::ghost |
union { ... } monster_info::u |