Defines | Functions | Variables

monst.c File Reference

#include "config.h"
#include "permonst.h"
#include "monsym.h"
#include "dungeon.h"
#include "eshk.h"
#include "vault.h"
#include "epri.h"
Include dependency graph for monst.c:

Defines

#define NO_ATTK   {0,0,0,0}
#define WT_ELF   800
#define WT_DRAGON   4500
#define C(color)
#define MON(nam, sym, lvl, gen, atk, siz, mr1, mr2, flg1, flg2, flg3, col)   {nam,sym,lvl,gen,atk,siz,mr1,mr2,flg1,flg2,flg3,C(col)}
#define LVL(lvl, mov, ac, mr, aln)   lvl,mov,ac,mr,aln
#define SIZ(wt, nut, pxl, snd, siz)   wt,nut,pxl,snd,siz
#define ATTK(at, ad, n, d)   {at,ad,n,d}
#define A(a1, a2, a3, a4, a5, a6)   {a1,a2,a3,a4,a5,a6}
#define SEDUCTION_ATTACKS

Functions

void NDECL (monst_init)
void monst_init ()

Variables

NEARDATA struct permonst mons []

Define Documentation

#define A (   a1,
  a2,
  a3,
  a4,
  a5,
  a6 
)    {a1,a2,a3,a4,a5,a6}
#define ATTK (   at,
  ad,
  n,
 
)    {at,ad,n,d}
#define C (   color )
#define LVL (   lvl,
  mov,
  ac,
  mr,
  aln 
)    lvl,mov,ac,mr,aln
#define MON (   nam,
  sym,
  lvl,
  gen,
  atk,
  siz,
  mr1,
  mr2,
  flg1,
  flg2,
  flg3,
  col 
)    {nam,sym,lvl,gen,atk,siz,mr1,mr2,flg1,flg2,flg3,C(col)}
#define NO_ATTK   {0,0,0,0}
#define SEDUCTION_ATTACKS
Value:
#define SIZ (   wt,
  nut,
  pxl,
  snd,
  siz 
)    wt,nut,pxl,snd,siz
#define WT_DRAGON   4500
#define WT_ELF   800

Function Documentation

void monst_init (  )

Referenced by moveloop().

Here is the caller graph for this function:

void NDECL ( monst_init   )

Variable Documentation

NEARDATA struct permonst mons[]

Referenced by abon(), adj_lev(), angry_guards(), animate_statue(), antholemon(), artifact_hit(), awaken_soldiers(), bhitm(), bhito(), bite_monster(), bot1(), bot2(), breakarm(), buzz(), can_be_hatched(), can_carry(), can_ooze(), can_twoweapon(), cancel_monst(), check_special_room(), choke(), clonewiz(), corpse_chance(), corpse_xname(), could_seduce(), courtmon(), cpostfx(), cprefx(), create_camera_demon(), create_critters(), create_monster(), create_mplayers(), create_object(), create_polymon(), damageum(), deadbook(), demonpet(), dig(), digactualhole(), distant_monnam(), disturb(), djinni_from_bottle(), dlord(), dmgval(), do_class_genocide(), do_genocide(), do_look(), dochug(), doeat(), does_block(), dofiretrap(), dog_eat(), dog_move(), dog_nutrition(), dogaze(), dogfood(), dokick(), domonnoise(), doname_base(), done(), done_in_by(), dopay(), dosacrifice(), dosounds(), dowaterdemon(), dowaternymph(), dowatersnakes(), dprince(), dragons_init(), dropy(), dryup(), eatcorpse(), eaten_stat(), edibility_prompts(), enexto_core_range(), engrave(), enlightenment(), epathto(), experience(), feel_cockatrice(), fig_transform(), figurine_location_checks(), fill_empty_maze(), fill_zoo(), final_level(), find_ac(), find_defensive(), find_misc(), fixup_special(), flash_hits_mon(), floorfood(), food_xname(), fpostfx(), gazemm(), gazemu(), genus(), get_override_mon(), getobj(), ghitm(), ghost_from_bottle(), givit(), Gloves_off(), gold_detect(), golemeffects(), grow_up(), guardname(), gulpmu(), gulpum(), hatch_egg(), hates_silver(), Hello(), hitmu(), hits_bars(), hmon(), hmon_hitmon(), hmonas(), in_container(), init_uasmon(), intemple(), invault(), is_edible(), its_dead(), kick_monster(), kick_object(), kickdmg(), ldrname(), list_genocided(), lookat(), m_dowear(), m_initinv(), m_initweap(), m_move(), m_respond(), m_throw(), m_to_e(), make_corpse(), make_familiar(), makedog(), makelevel(), makemaz(), makemon(), maketrap(), mapglyph(), mattackm(), mattacku(), maybe_cannibal(), Mb_hit(), mbodypart(), mdamagem(), meatmetal(), meatobj(), mergable(), mfndpos(), minliquid(), mintrap(), mk_artifact(), mk_roamer(), mkclass(), mksobj(), mkswamp(), mktrap(), mm_aggression(), mon_animal_list(), mon_arrive(), mon_consume_unstone(), mon_reflects(), mon_set_minvis(), mon_to_stone(), monkilled(), monnear(), monsndx(), monster_detect(), monstone(), montraits(), morguemon(), mpickstuff(), mplayer_talk(), mselftouch(), mstatusline(), msummon(), munstone(), name_to_mon(), nasty(), neminame(), new_were(), newcham(), newgame(), nh_timeout(), obj_resists(), observe_quantum_cat(), onscary(), opentin(), oselect(), otransit_msg(), out_container(), pacify_guards(), parse_monster_color(), passive(), passivemm(), paygd(), peffects(), pick_lock(), pickup_object(), poisoned(), poly_when_stoned(), polymon(), polyself(), potionbreathe(), potionhit(), precheck(), priestini(), priestname(), prisoner_speaks(), propagate(), raceptr(), racial_exception(), readobjnam(), ready_weapon(), remove_monster(), rescham(), reset_hostility(), resetobjs(), resists_drli(), resists_magm(), restmonchn(), restore_cham(), resurrect(), revive(), revive_cthulhu(), revive_mon(), revive_nasty(), rloco(), rnd_defensive_item(), rndmonnam(), rndmonnum(), rndmonst(), role_init(), savebones(), savemonchn(), searches_for_item(), seffects(), select_hwep(), select_newcham_form(), selftouch(), set_apparxy(), set_uasmon(), setmangry(), shk_move(), shkinit(), spec_applies(), squadmon(), start_corpse_timeout(), steal(), steal_it(), strategy(), summon_minion(), tactics(), tamedog(), thitmonst(), throw_obj(), tinnable(), toss_up(), touchfood(), u_entered_shop(), u_teleport_mon(), uncommon(), ureflects(), use_defensive(), use_mirror(), use_tinning_kit(), use_whip(), ustatusline(), violated(), watch_dig(), weight(), were_summon(), will_feel_cockatrice(), x_monnam(), xkilled(), xname(), you_were(), zap_dig(), and zhitm().