Functions | Variables

mplayer.c File Reference

#include "hack.h"
Include dependency graph for mplayer.c:

Functions

STATIC_DCL const char * NDECL (dev_name)
STATIC_DCL void FDECL (get_mplname,(struct monst *, char *))
STATIC_DCL void FDECL (mk_mplayer_armor,(struct monst *, SHORT_P))
STATIC_OVL const char * dev_name ()
STATIC_OVL void get_mplname (struct monst *mtmp, char *nam)
STATIC_OVL void mk_mplayer_armor (struct monst *mon, short typ)
struct monstmk_mplayer (struct permonst *ptr, xchar x, xchar y, boolean special)
void create_mplayers (int num, boolean special)
void mplayer_talk (struct monst *mtmp)

Variables

static const char * developers []

Function Documentation

void create_mplayers ( int  num,
boolean  special 
)

References COLNO, monst::data, goodpos(), mk_mplayer(), mons, pm, PM_ARCHEOLOGIST, PM_WIZARD, rn1, rn2(), rnd(), and ROWNO.

Referenced by final_level().

Here is the call graph for this function:

Here is the caller graph for this function:

STATIC_OVL const char* dev_name (  )

References monst::data, FALSE, fmon, is_mplayer, m, NAME, monst::nmon, rn2(), SIZE, and TRUE.

Referenced by get_mplname().

Here is the call graph for this function:

Here is the caller graph for this function:

STATIC_DCL void FDECL ( get_mplname  ,
(struct monst *, char *)   
)
STATIC_DCL void FDECL ( mk_mplayer_armor  ,
(struct monst *, SHORT_P)   
)
STATIC_OVL void get_mplname ( struct monst mtmp,
char *  nam 
)

References dev_name(), is_female, monsndx(), rank_of(), rn2(), Strcat, and Strcpy.

Referenced by mk_mplayer().

Here is the call graph for this function:

Here is the caller graph for this function:

struct monst* mk_mplayer ( struct permonst ptr,
xchar  x,
xchar  y,
boolean  special 
) [read]
STATIC_OVL void mk_mplayer_armor ( struct monst mon,
short  typ 
)

References bless(), curse(), FALSE, mksobj(), mpickobj(), rn1, rn2(), rnd(), obj::spe, and STRANGE_OBJECT.

Referenced by mk_mplayer().

Here is the call graph for this function:

Here is the caller graph for this function:

void mplayer_talk ( struct monst mtmp )

References Role::femalenum, Role::malenum, mons, pline(), rn2(), and urole.

Referenced by domonnoise().

Here is the call graph for this function:

Here is the caller graph for this function:

STATIC_DCL const char* NDECL ( dev_name   )

Variable Documentation

const char* developers[] [static]
Initial value:
 {
        
        "Dave", "Dean", "Eric", "Izchak", "Janet", "Jessie",
        "Ken", "Kevin", "Michael", "Mike", "Pat", "Paul", "Steve", "Timo",
        "Warwick",
        
        "Bill", "Eric", "Keizo", "Ken", "Kevin", "Michael", "Mike", "Paul",
        "Stephen", "Steve", "Timo", "Yitzhak",
        
        "Andy", "Gregg", "Janne", "Keni", "Mike", "Olaf", "Richard",
        
        "Andy", "Chris", "Dean", "Jon", "Jonathan", "Kevin", "Wang",
        
        "Eric", "Marvin", "Warwick",
        
        "Alex", "Dion", "Michael",
        
        "Helge", "Ron", "Timo",
        
        "Joshua", "Pat",
        ""}