]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - warp/score.h
cgram: consistently use char for characters
[bsdgames-darwin.git] / warp / score.h
1 /* Header: score.h,v 7.0 86/10/08 15:13:21 lwall Exp */
2
3 /* Log: score.h,v
4 * Revision 7.0 86/10/08 15:13:21 lwall
5 * Split into separate files. Added amoebas and pirates.
6 *
7 */
8
9 #define ENTBOUNDARY 100000 /* point boundary across which a new E is
10 awarded */
11
12 #define BASEBOUNDARY 250000 /* point boundary across which a new B is
13 awarded */
14
15 EXT int oldstatus;
16 EXT int oldetorp;
17 EXT int oldbtorp;
18 EXT int oldstrs;
19 EXT int oldenemies;
20
21 EXT long totalscore;
22 EXT long lastscore INIT(0);
23 EXT long curscore;
24 EXT long possiblescore;
25 EXT long oldeenergy;
26 EXT long oldbenergy;
27 EXT long oldcurscore;
28
29 EXT char savefilename[512];
30
31 #ifdef SCOREFULL
32 #define COMPOFF 0
33 #define COMPNAME longlognam
34 #define COMPLEN 24
35 #else
36 #define COMPOFF 24
37 #define COMPNAME longlognam
38 #define COMPLEN 8
39 #endif
40 EXT char longlognam[128];
41
42 EXT char c INIT(' ');
43
44 void score_init(void);
45 __dead void wscore(void);
46 void display_status(void);
47 void wavescore(void);
48 void score(void);
49 void save_game(void);