locales: Improved words-fr.png texture
[neverball] / ball / score.h
1 #ifndef SCORE_H
2 #define SCORE_H
3
4 #include "base_config.h"
5
6 /*---------------------------------------------------------------------------*/
7
8 #define NSCORE 3
9
10 struct score
11 {
12     char player[NSCORE + 1][MAXNAM];
13
14     int timer [NSCORE + 1]; /* Time elapsed    */
15     int coins [NSCORE + 1]; /* Coins collected */
16 };
17
18 /*---------------------------------------------------------------------------*/
19
20 void score_init_hs(struct score *, int, int);
21
22 int score_time_insert(struct score *, const char *, int, int);
23 int score_coin_insert(struct score *, const char *, int, int);
24
25 /*---------------------------------------------------------------------------*/
26
27 #endif