HomeSort by: relevance | last modified time | path
    Searched defs:scores (Results 1 - 6 of 6) 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...]
  /src/games/rogue/
score.c 339 struct score_entry scores[NUM_SCORE_ENTRIES]; local
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
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.27 2025/12/16 12:37:09 nia Exp $ */
34 * @(#)scores.c 8.1 (Berkeley) 5/31/93
59 #include "scores.h"
63 * Allow updating the high scores unless we're built as part of /rescue.
74 * As long as the scores are kept sorted, this is simply the first one at
83 static struct highscore scores[NUMSPOTS]; variable in typeref:struct:highscore
303 readname(scores[i].hs_name, sizeof(scores[i].hs_name),
305 scores[i].hs_score = read32(buf[i].hso_score, doflip);
306 scores[i].hs_level = read32(buf[i].hso_level, doflip)
    [all...]
scores.c 1 /* $NetBSD: scores.c,v 1.27 2025/12/16 12:37:09 nia Exp $ */
34 * @(#)scores.c 8.1 (Berkeley) 5/31/93
59 #include "scores.h"
63 * Allow updating the high scores unless we're built as part of /rescue.
74 * As long as the scores are kept sorted, this is simply the first one at
83 static struct highscore scores[NUMSPOTS]; variable in typeref:struct:highscore
303 readname(scores[i].hs_name, sizeof(scores[i].hs_name),
305 scores[i].hs_score = read32(buf[i].hso_score, doflip);
306 scores[i].hs_level = read32(buf[i].hso_level, doflip)
    [all...]

Completed in 96 milliseconds