1 #ifndef _HISCORE
2 #define _HISCORE
3 
4 #define kHiScoresNumber 10
5 
6 #define kHiScoreNameLenght 20
7 
8 typedef struct hiscore {
9   char name[kHiScoreNameLenght+1];
10   int  score;
11 } hiscore;
12 
13 void initHiScores(const char * const defaultNames[kHiScoresNumber]);
14 
15 hiscore * getHiScores(void);
16 
17 int setHiScore(int score, const char * name);
18 
19 #endif // _HISCORE
20