Lines Matching refs:sco
86 static struct scofmt sco[SCORESIZE]; /* the structure for the scoreboard */
135 lrfill((char *) sco, sizeof(sco));
163 lwrite((char *) sco, sizeof(sco));
181 winr[i].taxes = winr[i].score = sco[i].score = 0;
182 winr[i].order = sco[i].order = i;
304 if (sco[i].score != 0) {
313 if (sco[j].order == i) {
314 if (sco[j].score) {
317 (long) sco[j].score, (long) sco[j].hardlev, sco[j].who);
318 if (sco[j].what < 256)
319 lprintf("killed by a %s", monster[sco[j].what].name);
321 lprintf("%s", whydead[sco[j].what - 256]);
323 lprintf(" on %s", levelname[sco[j].level]);
326 iven[n] = sco[j].sciv[n][0];
327 ivenarg[n] = sco[j].sciv[n][1];
407 sco[i].order = winr[i].order = -1;
412 if ((sco[i].order < 0) && (sco[i].score >= jdat)) {
414 jdat = sco[i].score;
416 sco[j].order = pos++;
452 if (sco[i].suid == userid)
453 sco[i].score = 0;
480 if (sco[i].suid == userid) {
489 if (sco[i].order == SCORESIZE - 1) {
535 p = &sco[i];