HomeSort by: relevance | last modified time | path
    Searched defs:scores (Results 1 - 9 of 9) sorted by relevancy

  /src/games/snake/snscore/
snscore.c 60 short scores; member in struct:player
85 printf("Snake players scores to date\n");
87 printf("No scores recorded yet!\n");
101 players[noplayers].scores = score;
113 /* bubble sort scores */
117 if (players[i].scores < players[i + 1].scores) {
127 printf("%d:\t$%d\t%s\n", j, players[i].scores, players[i].name);
128 if (players[i].scores > players[i + 1].scores)
    [all...]
snscore.c 60 short scores; member in struct:player
85 printf("Snake players scores to date\n");
87 printf("No scores recorded yet!\n");
101 players[noplayers].scores = score;
113 /* bubble sort scores */
117 if (players[i].scores < players[i + 1].scores) {
127 printf("%d:\t$%d\t%s\n", j, players[i].scores, players[i].name);
128 if (players[i].scores > players[i + 1].scores)
    [all...]
snscore.c 60 short scores; member in struct:player
85 printf("Snake players scores to date\n");
87 printf("No scores recorded yet!\n");
101 players[noplayers].scores = score;
113 /* bubble sort scores */
117 if (players[i].scores < players[i + 1].scores) {
127 printf("%d:\t$%d\t%s\n", j, players[i].scores, players[i].name);
128 if (players[i].scores > players[i + 1].scores)
    [all...]
  /src/games/rogue/
score.c 339 struct score_entry scores[NUM_SCORE_ENTRIES]; local in function:put_scores
358 if (read_score_entry(&scores[numscores], fp) == 0) {
365 if (!strcmp(scores[i].username, login_name)) {
367 if (rogue.gold < scores[i].gold) {
382 scores[i] = scores[i+1];
394 if (rogue.gold >= scores[i].gold) {
403 scores[i] = scores[i-1];
408 make_score(&scores[rank], monster, other)
    [all...]
score.c 339 struct score_entry scores[NUM_SCORE_ENTRIES]; local in function:put_scores
358 if (read_score_entry(&scores[numscores], fp) == 0) {
365 if (!strcmp(scores[i].username, login_name)) {
367 if (rogue.gold < scores[i].gold) {
382 scores[i] = scores[i+1];
394 if (rogue.gold >= scores[i].gold) {
403 scores[i] = scores[i-1];
408 make_score(&scores[rank], monster, other)
    [all...]
score.c 339 struct score_entry scores[NUM_SCORE_ENTRIES]; local in function:put_scores
358 if (read_score_entry(&scores[numscores], fp) == 0) {
365 if (!strcmp(scores[i].username, login_name)) {
367 if (rogue.gold < scores[i].gold) {
382 scores[i] = scores[i+1];
394 if (rogue.gold >= scores[i].gold) {
403 scores[i] = scores[i-1];
408 make_score(&scores[rank], monster, other)
    [all...]
  /src/games/tetris/
scores.c 1 /* $NetBSD: scores.c,v 1.26 2021/05/02 12:50:46 rillig Exp $ */
34 * @(#)scores.c 8.1 (Berkeley) 5/31/93
58 #include "scores.h"
62 * Allow updating the high scores unless we're built as part of /rescue.
73 * As long as the scores are kept sorted, this is simply the first one at
82 static struct highscore scores[NUMSPOTS]; variable in typeref:struct:highscore[]
302 readname(scores[i].hs_name, sizeof(scores[i].hs_name),
304 scores[i].hs_score = read32(buf[i].hso_score, doflip);
305 scores[i].hs_level = read32(buf[i].hso_level, doflip)
    [all...]
scores.c 1 /* $NetBSD: scores.c,v 1.26 2021/05/02 12:50:46 rillig Exp $ */
34 * @(#)scores.c 8.1 (Berkeley) 5/31/93
58 #include "scores.h"
62 * Allow updating the high scores unless we're built as part of /rescue.
73 * As long as the scores are kept sorted, this is simply the first one at
82 static struct highscore scores[NUMSPOTS]; variable in typeref:struct:highscore[]
302 readname(scores[i].hs_name, sizeof(scores[i].hs_name),
304 scores[i].hs_score = read32(buf[i].hso_score, doflip);
305 scores[i].hs_level = read32(buf[i].hso_level, doflip)
    [all...]
scores.c 1 /* $NetBSD: scores.c,v 1.26 2021/05/02 12:50:46 rillig Exp $ */
34 * @(#)scores.c 8.1 (Berkeley) 5/31/93
58 #include "scores.h"
62 * Allow updating the high scores unless we're built as part of /rescue.
73 * As long as the scores are kept sorted, this is simply the first one at
82 static struct highscore scores[NUMSPOTS]; variable in typeref:struct:highscore[]
302 readname(scores[i].hs_name, sizeof(scores[i].hs_name),
304 scores[i].hs_score = read32(buf[i].hso_score, doflip);
305 scores[i].hs_level = read32(buf[i].hso_level, doflip)
    [all...]

Completed in 33 milliseconds