Magic-number elimination.
This commit is contained in:
parent
73278b1a3c
commit
346bcf9458
4 changed files with 6 additions and 5 deletions
1
advent.h
1
advent.h
|
@ -19,6 +19,7 @@
|
|||
#define PANICTIME 15 // time left after closing
|
||||
#define BATTERYLIFE 2500 // turn limit increment from batteries
|
||||
#define WORD_NOT_FOUND -1 // "Word not found" flag value for the vocab hash functions.
|
||||
#define NOT_YET_FOUND -1 // 'Not found" state of treasures */
|
||||
#define CARRIED -1 // Player is toting it
|
||||
#define READ_MODE "rb" // b is not needed for POSIX but harmless
|
||||
#define WRITE_MODE "wb" // b is not needed for POSIX but harmless
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue