summaryrefslogtreecommitdiffstats
path: root/warp/score.h
blob: 97da045347f93d9adb83d1e37364f8e69d75d43a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* Header: score.h,v 7.0 86/10/08 15:13:21 lwall Exp */

/* Log:	score.h,v
 * Revision 7.0  86/10/08  15:13:21  lwall
 * Split into separate files.  Added amoebas and pirates.
 *
 */

#define ENTBOUNDARY 100000	/*  point boundary across which a new E is
					awarded */

#define BASEBOUNDARY 250000	/*  point boundary across which a new B is
					awarded */

EXT int oldstatus;
EXT int oldetorp;
EXT int oldbtorp;
EXT int oldstrs;
EXT int oldenemies;

EXT long totalscore;
EXT long lastscore INIT(0);
EXT long curscore;
EXT long possiblescore;
EXT long oldeenergy;
EXT long oldbenergy;
EXT long oldcurscore;

EXT char savefilename[512];

#ifdef SCOREFULL
#define COMPOFF 0
#define COMPNAME longlognam
#define COMPLEN 24
#else
#define COMPOFF 24
#define COMPNAME longlognam
#define COMPLEN 8
#endif
EXT char longlognam[128];

EXT char c INIT(' ');

void score_init(void);
__dead void wscore(void);
void display_status(void);
void wavescore(void);
void score(void);
void save_game(void);