monster_info Struct Reference
#include <mon-info.h>
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_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 |
Constructor & Destructor Documentation
| monster_info::monster_info |
( |
|
) |
[inline] |
| monster_info::monster_info |
( |
const monster * |
m, |
|
|
int |
level = MILEV_ALL | |
|
) |
| | |
| 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] |
| 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] |
| bool monster_info::has_proper_name |
( |
|
) |
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] |
| int monster_info::res_magic |
( |
|
) |
const |
| int monster_info::base_speed |
( |
|
) |
const [inline] |
| bool monster_info::can_regenerate |
( |
|
) |
const [inline] |
| std::string monster_info::_core_name |
( |
|
) |
const [protected] |
Member Data Documentation
The documentation for this struct was generated from the following files: