Functions

were.c File Reference

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

Functions

void were_change (struct monst *mon)
STATIC_DCL int FDECL (counter_were,(int))
STATIC_OVL int counter_were (int pm)
void new_were (struct monst *mon)
int were_summon (struct permonst *ptr, boolean yours, int *visible, char *genbuf)
void you_were ()
void you_unwere (boolean purify)

Function Documentation

STATIC_OVL int counter_were ( int  pm )

References PM_HUMAN_WEREJACKAL, PM_HUMAN_WERERAT, PM_HUMAN_WEREWOLF, PM_WEREJACKAL, PM_WERERAT, and PM_WEREWOLF.

Referenced by new_were().

Here is the caller graph for this function:

STATIC_DCL int FDECL ( counter_were  ,
(int)   
)
void new_were ( struct monst mon )

References canseemon, counter_were(), FALSE, Hallucination, is_human, mon_break_armor(), Monnam(), mons, monsndx(), newsym(), pline(), pm, possibly_unwield(), and set_mon_data().

Referenced by mattacku(), potionhit(), rescham(), restore_cham(), and were_change().

Here is the call graph for this function:

Here is the caller graph for this function:

void were_change ( struct monst mon )

References canseemon, flags, FULL_MOON, is_human, is_were, monsndx(), flag::moonphase, new_were(), night(), PM_WEREJACKAL, PM_WEREWOLF, Protection_from_shape_changers, rn2(), and flag::soundok.

Referenced by cancel_monst(), mcalcdistress(), and mdamagem().

Here is the call graph for this function:

Here is the caller graph for this function:

int were_summon ( struct permonst ptr,
boolean  yours,
int *  visible,
char *  genbuf 
)
void you_unwere ( boolean  purify )

References monst::data, is_were, NON_PM, Polymorph_control, rehumanize(), u, you::ulycn, Unchanging, yn, and youmonst.

Referenced by fix_worst_trouble(), fpostfx(), peffects(), and potionbreathe().

Here is the call graph for this function:

Here is the caller graph for this function:

void you_were (  )

References an(), permonst::mname, mons, polymon(), Polymorph_control, QBUFSZ, Sprintf, u, you::ulycn, you::umonnum, Unchanging, and yn.

Referenced by moveloop(), peffects(), and potionbreathe().

Here is the call graph for this function:

Here is the caller graph for this function: