… | |
… | |
24 | #ifndef LIVING_H |
24 | #ifndef LIVING_H |
25 | #define LIVING_H |
25 | #define LIVING_H |
26 | |
26 | |
27 | #include <cassert> |
27 | #include <cassert> |
28 | |
28 | |
|
|
29 | #include <util.h> |
|
|
30 | |
29 | // corresponds to some arrays in common/living.C |
31 | // corresponds to some arrays in common/living.C |
30 | enum { |
32 | enum { |
31 | STR, |
33 | STR, |
32 | DEX, |
34 | DEX, |
33 | CON, |
35 | CON, |
… | |
… | |
36 | POW, |
38 | POW, |
37 | CHA, |
39 | CHA, |
38 | NUM_STATS |
40 | NUM_STATS |
39 | }; |
41 | }; |
40 | |
42 | |
41 | #define MAXLEVEL 110 |
43 | #define MAXLEVEL 110 //TODO: remove |
42 | |
44 | |
43 | /* Changed from NO_STAT to NO_STAT_VAL to fix conlfict on |
45 | /* Changed from NO_STAT to NO_STAT_VAL to fix conlfict on |
44 | * AIX systems |
46 | * AIX systems |
45 | */ |
47 | */ |
46 | #define NO_STAT_VAL 99 /* needed by skills code -b.t. */ |
48 | #define NO_STAT_VAL 99 /* needed by skills code -b.t. */ |