#include <errno.h>
#include <stdio.h>
#include <str.h>
#include <io/console.h>
#include <io/keycode.h>
#include <vfs/vfs.h>
#include <stdlib.h>
#include <fcntl.h>
#include <err.h>
#include <time.h>
#include "screen.h"
#include "tetris.h"
#include "scores.h"
Go to the source code of this file.
Defines | |
#define | NLEVELS (MAXLEVEL + 1) |
#define | NUMSPOTS (MAXHISCORES + 1) |
Functions | |
static void | copyhiscore (int dest, int src) |
Copy from hiscore table score with index src to dest. | |
void | initscores (void) |
void | insertscore (int score, int level) |
int | loadscores (void) |
void | savescores (void) |
void | showscores (int firstgame) |
Variables | |
static struct highscore | scores [NUMSPOTS] |
Definition in file scores.c.