Lines Matching refs:LEVEL
38 c[LEVEL] = 1; /* player starts at level one */
65 newcavelevel(level)
66 int level;
68 function to enter a new level. This routine must be called anytime the
69 player changes levels. If that level is unknown it will be created.
70 A new set of monsters will be created for a new level, and existing
72 Note that it is here we remove genocided monsters from the present level.
78 if (beenhere[level])
79 savelevel(); /* put the level back into storage */
80 level = x; /* get the new level and put in working
89 /* fill in new level */
110 makemaze(level)
111 int level;
113 subroutine to make the caverns for a given level. only walls are made.
139 /* now for open spaces -- not on level 10 */
312 function to make a treasure room on a level
313 level 10's treasure room has the eye in it and demon lords
314 level V3 has potion of cure dianthroritis and demon prince
393 subroutine to create the objects in the maze for the given level
569 creates an entire set of monsters for a level
570 must be done when entering a new level
581 if (level == 0) {
584 } /* if teleported and found level 1 then know
585 * level we are on */
587 j = rnd(12) + 2 + (level >> 1);
589 j = (level >> 1) + 1;
591 fillmonst(makemonst(level));
596 * Function to destroy all genocided monsters on the present level