Lines Matching refs:score
17 * unction to sort the scoreboard newscore(score, whoo, whyded, winner)
18 * Function to add entry to scoreboard new1sub(score,i,whoo,taxes)
19 * Subroutine to put player into a new2sub(score,i,whoo,whyded)
21 * played larn, and what the score was diedsub(x) Subroutine to print out a
42 long score; /* the score of the player */
55 long score; /* the score of the player */
66 long score; /* the players score */
181 winr[i].taxes = winr[i].score = sco[i].score = 0;
211 if (winr[i].score > 0) {
237 if (winr[i].score > 0) { /* search for a winning
265 if (winr[i].score != 0) {
270 lprcat("\n Score Difficulty Time Needed Larn Winners List\n");
278 if (p->score) {
281 (long) p->score, (long) p->hardlev, (long) p->timeused, p->who);
304 if (sco[i].score != 0) {
309 lprcat("\n Score Difficulty Larn Visitor Log\n");
314 if (sco[j].score) {
317 (long) sco[j].score, (long) sco[j].hardlev, sco[j].who);
412 if ((sco[i].order < 0) && (sco[i].score >= jdat)) {
414 jdat = sco[i].score;
422 if ((winr[i].order < 0) && (winr[i].score >= jdat)) {
424 jdat = winr[i].score;
432 * newscore(score, whoo, whyded, winner) Function to add entry to scoreboard
433 * int score, winner, whyded;
436 * Enter with the total score in gp in score, players name in whoo,
441 newscore(long score, char *whoo, int whyded, int winner)
453 sco[i].score = 0;
454 taxes = score * TAXRATE;
455 score += 100000 * c[HARDGAME]; /* bonus for winning */
458 * greater score
462 new1sub(score, i, whoo, taxes);
467 * greater score
471 new1sub(score, i, whoo, taxes);
477 * score
481 new2sub(score, i, whoo, whyded);
486 * greater score
490 new2sub(score, i, whoo, whyded);
497 * new1sub(score,i,whoo,taxes) Subroutine to put player into a
498 * int score,i,whyded,taxes; winning scoreboard entry if his score
501 * Enter with the total score in gp in score, players name in whoo,
507 new1sub(long score, int i, char *whoo, long taxes)
512 if ((score >= p->score) || (c[HARDGAME] > p->hardlev)) {
514 p->score = score;
522 * new2sub(score,i,whoo,whyded) Subroutine to put player into a
523 * int score,i,whyded,taxes; non-winning scoreboard entry if his
524 * char *whoo; score is high enough
526 * Enter with the total score in gp in score, players name in whoo,
531 new2sub(long score, int i, char *whoo, int whyded)
536 if ((score >= p->score) || (c[HARDGAME] > p->hardlev)) {
538 p->score = score;
551 * died(x) Subroutine to record who played larn, and what the score was
647 diedsub(x); /* print out the score line */
651 if ((wizard == 0) && (c[GOLD] > 0)) { /* wizards can't score */
659 lprcat("\nCan't open record file: I can't post your score.\n");
674 logg.score = c[GOLD];
688 time(&zzz); /* get CPU time -- write out score info */
691 times(&cputime);/* get CPU time -- write out score info */
739 lprintf("Score: %ld, Diff: %ld, %s ", (long) c[GOLD], (long) c[HARDGAME], logname);
785 lprintf("Score: %ld, Diff: %ld, %s %s on %ld at %s", (long) (logg.score), (long) (logg.diff), logg.who, logg.what, (long) (logg.cavelev), p + 4);