Magic-numnber elimination.
This commit is contained in:
parent
a86c67c2ab
commit
14486d67d4
4 changed files with 16 additions and 14 deletions
4
advent.h
4
advent.h
|
@ -108,10 +108,12 @@ extern bool MAPLIN(FILE *);
|
|||
extern void TYPE(void);
|
||||
extern void DATIME(long*, long*);
|
||||
|
||||
enum termination {endgame, quitgame, scoregame};
|
||||
|
||||
extern void set_seed(long);
|
||||
extern unsigned long get_next_lcg_value(void);
|
||||
extern long randrange(long);
|
||||
extern void score(long);
|
||||
extern void score(enum termination);
|
||||
extern int saveresume(FILE *, bool);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue