HomeSort by: relevance | last modified time | path
    Searched refs:sphere (Results 1 - 5 of 5) sorted by relevancy

  /src/games/larn/
diag.c 182 struct sphere *sp;
224 lwrite((char *) sp, sizeof(struct sphere)); /* save spheres of
247 struct sphere *sp, *sp2;
296 sp = (struct sphere *) malloc(sizeof(struct sphere));
298 write(2, "Can't malloc() for sphere space\n", 32);
301 lrfill((char *) sp, sizeof(struct sphere)); /* get spheres of
header.h 67 struct sphere { struct
68 struct sphere *p; /* pointer to next structure */
69 char x, y, lev; /* location of the sphere */
70 char dir; /* direction sphere is going in */
71 short lifetime; /* duration of the sphere */
150 #define SPHCAST 74 /* nz if an active sphere of annihilation */
251 #define OANNIHILATION 80 /* sphere of annihilation */
258 #define OSPHTAILSMAN 87 /* tailsman of the sphere */
372 extern struct sphere *spheres;
data.c 174 struct sphere *spheres = 0; /* pointer to linked list for spheres of
206 "a sphere of annihilation", "a handsome jewel encrusted throne",
448 "sphere of annihilation", "genocide", "summon demon",
492 "anything caught in this sphere is instantly killed. Warning -- dangerous",
movem.c 314 lprintf("\nThe %s dispels the sphere!", monster[tmp].name);
315 rmsphere(cc, dd); /* delete the sphere */
397 * This function works on the sphere linked list, first duplicating the list
398 * (the act of moving changes the list), then processing each sphere in order
410 struct sphere *sp, *sp2;
411 struct sphere sph[SPHMAX];
413 /* first duplicate sphere list */
414 for (sp = 0, x = 0, sp2 = spheres; sp2; sp2 = sp2->p) /* look through sphere
427 for (sp = sph; sp; sp = sp->p) { /* look through sphere list */
432 if (--(sp->lifetime) < 0) { /* has sphere run out of gas? *
    [all...]
monster.c 89 * newsphere(x,y,dir,lifetime) Function to create a new sphere of annihilation
92 * rmsphere(x,y) Function to delete a sphere of annihilation from list
95 * sphboom(x,y) Function to perform the effects of a sphere detonation
534 if ((rnd(23) == 5) && (wizard == 0)) { /* sphere of
545 i = dirsub(&xl, &yl); /* get direction of sphere */
546 newsphere(xl, yl, i, rnd(20) + 11); /* make a sphere */
1743 * newsphere(x,y,dir,lifetime) Function to create a new sphere of annihilation
1746 * Enter with the coordinates of the sphere in x,y
1748 * sphere in lifetime (in turns)
1755 struct sphere *sp
    [all...]

Completed in 15 milliseconds