2020-11-10 03:02:11 +03:00
|
|
|
/* Header: score.h,v 7.0 86/10/08 15:13:21 lwall Exp */
|
2020-11-10 02:37:05 +03:00
|
|
|
|
2020-11-10 03:02:11 +03:00
|
|
|
/* Log: score.h,v
|
2020-11-10 02:37:05 +03:00
|
|
|
* Revision 7.0 86/10/08 15:13:21 lwall
|
|
|
|
* Split into separate files. Added amoebas and pirates.
|
2021-05-02 15:50:43 +03:00
|
|
|
*
|
2020-11-10 02:37:05 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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;
|
|
|
|
|
2020-11-11 22:55:33 +03:00
|
|
|
EXT char savefilename[512];
|
2020-11-10 02:37:05 +03:00
|
|
|
|
|
|
|
#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(' ');
|
|
|
|
|
2020-11-11 01:42:19 +03:00
|
|
|
void score_init(void);
|
2020-11-13 01:23:16 +03:00
|
|
|
__dead void wscore(void);
|
2020-11-11 01:42:19 +03:00
|
|
|
void display_status(void);
|
|
|
|
void wavescore(void);
|
|
|
|
void score(void);
|
|
|
|
void save_game(void);
|