git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4993 c06c8d41-db1a-0410-9941-cceddc491573
RQXYFQIYSP2M2Q4RHM2ZGGBWFKKOBZP2J3EAYEFHMPPBSXOBFYJQC GPEJOT73KMACP33IPAKFR5ROGHCOIP22VXZMQNYTGLEA2OSZUM2AC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC SVY2PTCLXR3KNPQAWXVXTTGCC5DR334HOAKHYO3VDDRWM2BWMALAC C22455VGUQOSUX2OORA32LROFQ7NNYDMD2ZDTTUZSAQLXK4AD6QAC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC XAFFD52IHN6FWFR2TT5F2KCUS7HAVCBI5CWTFMKPQG77GGTGAHLAC IE3INS4WUXZOBVXB5VWRBYPVPXADD2U2W5H3TBTOYNWJ3EGRSGQQC SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC * called from: acr - lev-pand - monplace - dungeon** Usage:* mon_type WANDERING_MONSTER, RANDOM_MONSTER, or monster type* behaviour standard behaviours (BEH_ENSLAVED, etc)* target MHITYOU, MHITNOT, or monster id* extra various things like skeleton/zombie types, colours, etc* summoned monster is summoned?* px placement x* py placement y* level_type LEVEL_DUNGEON, LEVEL_ABYSS, LEVEL_PANDEMONIUM.* LEVEL_DUNGEON will generate appropriate power monsters* proximity 0 = no extra restrictions on monster placement* 1 = try to place the monster near the player* 2 = don't place the monster near the player* 3 = place the monster near stairs (regardless of player pos)
* Creates a monster near the place specified in the mgen_data, producing* a "puff of smoke" message if the monster cannot be placed. This is usually* used for summons and other monsters that want to appear near a given* position like a summon.
int create_monster( mgen_data mg );
/* ************************************************************************ This isn't really meant to be a public function. It is a low level* monster placement function used by dungeon building routines and* mons_place(). If you need to put a monster somewhere, use mons_place().* Summoned creatures can be created with create_monster().* *********************************************************************** */int place_monster( mgen_data mg );
// last update 13mar2001 {gdl}/* ************************************************************************ called from: dungeon monplace** This isn't really meant to be a public function. It is a low level* monster placement function used by dungeon building routines and* mons_place(). If you need to put a monster somewhere, use mons_place().* Summoned creatures can be created with create_monster().* *********************************************************************** */int place_monster( mgen_data mg );