File src/exper.c


Included Files


Global Function experience()

int experience ( struct monst* mtmp, int nk )
Prototyped in: include/extern.h
Calls: find_mac()
References Variables: usrc/decl.c
  youmonstsrc/decl.c

Global Function losexp()

void losexp ( const char* drainer )
Prototyped in: include/extern.h
Calls: adjabil()src/attrib.c
  done()src/end.c
  enermod()src/exper.c
  newhp()src/attrib.c
  newuexp()src/exper.c
  Goodbye(), pline(), reset_rndmonst(), resists_drli(), rn2()
Called by: artifact_hit()src/artifact.c
References Variables: flagssrc/decl.c
  killersrc/decl.c
  killer_formatsrc/decl.c
  usrc/decl.c
  youmonstsrc/decl.c
  urace, urole

Global Function more_experienced()

void more_experienced ( int exp, int rexp )
Prototyped in: include/extern.h
Called by: doengrave()src/engrave.c
  fprefx()src/eat.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  urole

Global Function newexplevel()

void newexplevel ( void )
Prototyped in: include/extern.h
Calls: newuexp()src/exper.c
  pluslvl()src/exper.c
References Variables: usrc/decl.c

Global Function pluslvl()

void pluslvl ( boolean incr )
Prototyped in: include/extern.h
Calls: acurr()src/attrib.c
  adjabil()src/attrib.c
  enermod()src/exper.c
  newhp()src/attrib.c
  newuexp()src/exper.c
  You_feel(), pline(), reset_rndmonst(), rn2()
Called by: cpostfx()src/eat.c
  newexplevel()src/exper.c
References Variables: flagssrc/decl.c
  usrc/decl.c
  urace, urole

Global Function rndexp()

long rndexp ( void )
Prototyped in: include/extern.h
Calls: newuexp()src/exper.c
  rn2()
References Variables: usrc/decl.c

Local Function enermod()

static int enermod ( int en )
Prototyped in: src/exper.c
Called by: losexp()src/exper.c
  pluslvl()src/exper.c
References Variables: urole

Local Function newuexp()

static long newuexp ( int lev )
Prototyped in: src/exper.c
Called by: losexp()src/exper.c
  newexplevel()src/exper.c
  pluslvl()src/exper.c
  rndexp()src/exper.c