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

  /src/distrib/syspkg/sets/etc/etc-games-scores/
Makefile 3 PKGBASE=etc-games-scores
Makefile 3 PKGBASE=etc-games-scores
  /src/games/tetris/
Makefile 5 SRCS= input.c screen.c shapes.c scores.c tetris.c
13 COPTS.scores.c+= ${CC_WNO_FORMAT_TRUNCATION}
Makefile 5 SRCS= input.c screen.c shapes.c scores.c tetris.c
13 COPTS.scores.c+= ${CC_WNO_FORMAT_TRUNCATION}
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...]
  /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 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/larn/
Makefile 64 monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \
Makefile 64 monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \
  /src/distrib/syspkg/sets/etc/
Makefile 12 SUBDIR+=etc-games-scores
Makefile 12 SUBDIR+=etc-games-scores
  /src/etc/
Makefile 331 games games 664 /var/games/rogue.scores \
335 games games 664 /var/games/tetris.scores
Makefile 331 games games 664 /var/games/rogue.scores \
335 games games 664 /var/games/tetris.scores

Completed in 30 milliseconds