mgen_data Struct Reference

#include <mgen_data.h>

Collaboration diagram for mgen_data:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 mgen_data (monster_type mt=RANDOM_MONSTER, beh_type beh=BEH_HOSTILE, actor *sner=0, int abj=0, int st=0, const coord_def &p=coord_def(-1,-1), unsigned short mfoe=MHITNOT, uint32_t genflags=0, god_type which_god=GOD_NO_GOD, monster_type base=MONS_NO_MONSTER, int monnumber=0, int moncolour=BLACK, int monpower=you.absdepth0, proximity_type prox=PROX_ANYWHERE, level_area_type ltype=you.level_type, int mhd=0, int mhp=0, uint64_t extflags=0, std::string monname="", std::string nas="")
bool permit_bands () const
bool force_place () const
bool needs_patrol_point () const
bool use_position () const
bool summoned () const

Static Public Member Functions

static mgen_data sleeper_at (monster_type what, const coord_def &where, unsigned genflags=0)
static mgen_data hostile_at (monster_type mt, std::string nsummoner, bool alert=false, int abj=0, int st=0, const coord_def &p=coord_def(-1,-1), uint32_t genflags=0, god_type ngod=GOD_NO_GOD, monster_type base=MONS_NO_MONSTER)

Public Attributes

monster_type cls
monster_type base_type
beh_type behaviour
actorsummoner
int abjuration_duration
int summon_type
coord_def pos
dungeon_feature_type preferred_grid_feature
unsigned short foe
uint32_t flags
god_type god
int number
int colour
int power
proximity_type proximity
level_area_type level_type
unsigned map_mask
int hd
int hp
uint64_t extra_flags
std::string mname
std::string non_actor_summoner
CrawlHashTable props


Constructor & Destructor Documentation

mgen_data::mgen_data ( monster_type  mt = RANDOM_MONSTER,
beh_type  beh = BEH_HOSTILE,
actor sner = 0,
int  abj = 0,
int  st = 0,
const coord_def p = coord_def(-1, -1),
unsigned short  mfoe = MHITNOT,
uint32_t  genflags = 0,
god_type  which_god = GOD_NO_GOD,
monster_type  base = MONS_NO_MONSTER,
int  monnumber = 0,
int  moncolour = BLACK,
int  monpower = you.absdepth0,
proximity_type  prox = PROX_ANYWHERE,
level_area_type  ltype = you.level_type,
int  mhd = 0,
int  mhp = 0,
uint64_t  extflags = 0,
std::string  monname = "",
std::string  nas = "" 
) [inline]


Member Function Documentation

bool mgen_data::permit_bands (  )  const [inline]

bool mgen_data::force_place (  )  const [inline]

bool mgen_data::needs_patrol_point (  )  const [inline]

bool mgen_data::use_position (  )  const

Here is the call graph for this function:

bool mgen_data::summoned (  )  const [inline]

static mgen_data mgen_data::sleeper_at ( monster_type  what,
const coord_def where,
unsigned  genflags = 0 
) [inline, static]

Here is the call graph for this function:

static mgen_data mgen_data::hostile_at ( monster_type  mt,
std::string  nsummoner,
bool  alert = false,
int  abj = 0,
int  st = 0,
const coord_def p = coord_def(-1, -1),
uint32_t  genflags = 0,
god_type  ngod = GOD_NO_GOD,
monster_type  base = MONS_NO_MONSTER 
) [inline, static]

Here is the call graph for this function:


Member Data Documentation

unsigned short mgen_data::foe

uint32_t mgen_data::flags


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

Generated on Thu Jan 13 13:37:24 2011 by  doxygen 1.5.6