Home | History | Annotate | Download | only in larn

Lines Matching refs:SPNUM

33  * direct(spnum,dam,str,arg)Routine to direct spell damage 1 square in 1 dir
34 * int spnum,dam,arg;
37 * godirect(spnum,dam,str,delay,cshow) Function to perform missile attacks
38 * int spnum,dam,delay;
44 * tdirect(spnum) Routine to teleport away a monster
45 * int spnum;
57 * dirpoly(spnum) Routine to ask for a direction and polymorph a monst
58 * int spnum;
268 for (lprc('\n'), j = -1, i = 0; i < SPNUM; i++) /* seq search for his
274 i = SPNUM;
295 if (x >= SPNUM)
688 if (x >= SPNUM || monst >= MAXMONST + 8 || monst < 0 || x < 0)
718 * direct(spnum,dam,str,arg) Routine to direct spell damage 1 square in 1 dir
719 * int spnum,dam,arg;
723 * Enter with the spell number in spnum, the damage to be done in dam,
728 direct(int spnum, int dam, const char *str, int arg)
732 if (spnum < 0 || spnum >= SPNUM || str == 0)
739 if (spnum == 3) { /* sleep */
749 } else if (spnum == 6) { /* web */
766 if (nospell(spnum, m)) {
776 * godirect(spnum,dam,str,delay,cshow) Function to perform missile attacks
777 * int spnum,dam,delay;
782 * Enter with the spell number in spnum, the power of the weapon in hp,
788 godirect(int spnum, int dam, const char *str, int delay, int cshow_i)
798 if (spnum < 0 || spnum >= SPNUM || str == 0 || delay < 0)
832 if (nospell(spnum, m)) {
931 * tdirect(spnum) Routine to teleport away a monster
932 * int spnum;
939 tdirect(int spnum)
943 if (spnum < 0 || spnum >= SPNUM)
953 if (nospell(spnum, m)) {
973 omnidirect(int spnum, int dam, const char *str)
977 if (spnum < 0 || spnum >= SPNUM || str == 0)
982 if (nospell(spnum, m) == 0) {
1079 * dirpoly(spnum) Routine to ask for a direction and polymorph a monst
1080 * int spnum;
1087 dirpoly(int spnum)
1090 if (spnum < 0 || spnum >= SPNUM)
1100 if (nospell(spnum, mitem[x][y])) {