File src/extralev.c


Included Files


Preprocessor definitions

#define UP 1

#define DOWN 2

#define LEFT 4

#define RIGHT 8

#define MAX( a, b )

#define MIN( a, b )

#define doorhere

#define here


Type struct rogueroom

struct rogueroom
struct rogueroom 
   { 
     xchar rlx; 
     xchar rly; 
     xchar dx; 
     xchar dy; 
     boolean real; 
     uchar doortable; 
     int nroom; 
   } 

Local Variables

r
static struct rogueroom r[3][3]
Used in: makeroguerooms()
  miniwalk()
  roguecorr()

Global Function corr()

void corr ( int x, int y )
Prototyped in: include/extern.h
Calls: rn2()
Called by: roguejoin()src/extralev.c
References Variables: levelsrc/decl.c

Global Function makerogueghost()

void makerogueghost ( void )
Prototyped in: include/extern.h
Calls: christen_monst()src/do_name.c
  roguename()src/do_name.c
  curse(), makemon(), mksobj_at(), rn2(), rnd(), somex(), somey(), weight()
References Variables: nroomsrc/decl.c
  roomssrc/decl.c
  mons

Global Function makeroguerooms()

void makeroguerooms ( void )
Prototyped in: include/extern.h
Calls: miniwalk()src/extralev.c
  roguecorr()src/extralev.c
  add_room(), impossible(), rn2(), rnd()
References Variables: nroomsrc/decl.c
  rsrc/extralev.c
  smeqsrc/decl.c

Local Function miniwalk()

static void miniwalk ( int x, int y )
Prototyped in: src/extralev.c
Calls: miniwalk()src/extralev.c
  rn2()
Called by: makeroguerooms()src/extralev.c
  miniwalk()src/extralev.c
References Variables: rsrc/extralev.c

Local Function roguecorr()

static void roguecorr ( int x, int y, int dir )
Prototyped in: src/extralev.c
Calls: roguejoin()src/extralev.c
  dodoor(), impossible(), rn2()
Called by: makeroguerooms()src/extralev.c
References Variables: levelsrc/decl.c
  rsrc/extralev.c
  roomssrc/decl.c

Local Function roguejoin()

static void roguejoin ( int x1, int y1, int x2, int y2, int horiz )
Prototyped in: src/extralev.c
Calls: corr()src/extralev.c
  rn2()
Called by: roguecorr()src/extralev.c