Defines | Functions

minion.c File Reference

#include "hack.h"
#include "emin.h"
#include "epri.h"
Include dependency graph for minion.c:

Defines

#define Athome   (Inhell && !mtmp->cham)

Functions

void msummon (struct monst *mon)
void summon_minion (aligntyp alignment, boolean talk)
int demon_talk (struct monst *mtmp)
long bribe (struct monst *mtmp)
int dprince (aligntyp atyp)
int dlord (aligntyp atyp)
int llord ()
int lminion ()
int ndemon (aligntyp atyp)

Define Documentation

#define Athome   (Inhell && !mtmp->cham)

Referenced by demon_talk().


Function Documentation

long bribe ( struct monst mtmp )

References BUFSZ, currency(), getlin, invent, mon_nam(), u, and you::ugold.

Referenced by demon_talk(), and priest_talk().

Here is the call graph for this function:

Here is the caller graph for this function:

int demon_talk ( struct monst mtmp )
int dlord ( aligntyp  atyp )

References A_NONE, G_GONE, permonst::maligntyp, mons, ndemon(), pm, PM_JUIBLEX, PM_YEENOGHU, rn1, and sgn().

Referenced by dosacrifice(), dprince(), and msummon().

Here is the call graph for this function:

Here is the caller graph for this function:

int dprince ( aligntyp  atyp )

References A_NONE, dlord(), G_GONE, permonst::maligntyp, mons, pm, PM_DEMOGORGON, PM_ORCUS, rn1, and sgn().

Referenced by msummon().

Here is the call graph for this function:

Here is the caller graph for this function:

int llord (  )

References G_GONE, lminion(), and PM_ARCHON.

Referenced by msummon().

Here is the call graph for this function:

Here is the caller graph for this function:

int lminion (  )

References is_lord, mkclass(), monsndx(), NON_PM, and S_ANGEL.

Referenced by llord(), msummon(), and summon_minion().

Here is the call graph for this function:

Here is the caller graph for this function:

void msummon ( struct monst mon )
int ndemon ( aligntyp  atyp )

References A_NONE, is_ndemon, permonst::maligntyp, mkclass(), monsndx(), NON_PM, S_DEMON, and sgn().

Referenced by demonpet(), dlord(), morguemon(), msummon(), and summon_minion().

Here is the call graph for this function:

Here is the caller graph for this function:

void summon_minion ( aligntyp  alignment,
boolean  talk 
)

References A_CHAOTIC, A_LAWFUL, A_NEUTRAL, A_NONE, align_gname(), Amonnam(), Blind, EMIN, EPRI, FALSE, lminion(), makemon(), MM_EMIN, monst::mnum, mon, mons, ndemon(), NO_MM_FLAGS, NON_PM, pline(), pm, PM_AIR_ELEMENTAL, PM_ANGEL, rn2(), TRUE, u, you::ux, and you::uy.

Referenced by angrygods(), dosacrifice(), and god_zaps_you().

Here is the call graph for this function:

Here is the caller graph for this function: