… | |
… | |
67 | # define MIN3(x,y, z) (MIN(x, MIN(y,z))) |
67 | # define MIN3(x,y, z) (MIN(x, MIN(y,z))) |
68 | #endif |
68 | #endif |
69 | |
69 | |
70 | #define MAX_STAT 30 /* The maximum legal value of any stat */ |
70 | #define MAX_STAT 30 /* The maximum legal value of any stat */ |
71 | #define MIN_STAT 1 /* The minimum legal value of any stat */ |
71 | #define MIN_STAT 1 /* The minimum legal value of any stat */ |
|
|
72 | |
|
|
73 | //TODO: not only use more reasonable values, also enforce them |
|
|
74 | #define MIN_WC -128 |
|
|
75 | #define MAX_WC 127 |
|
|
76 | #define MIN_AC -128 |
|
|
77 | #define MAX_AC 127 |
|
|
78 | #define MIN_DAM 0 |
|
|
79 | #define MAX_DAM 200 |
72 | |
80 | |
73 | #define MAX_BUF 1024 |
81 | #define MAX_BUF 1024 |
74 | /* Used for all kinds of things */ |
82 | /* Used for all kinds of things */ |
75 | #define VERY_BIG_BUF 2048 |
83 | #define VERY_BIG_BUF 2048 |
76 | #define HUGE_BUF 4096 /* Used for messages - some can be quite long */ |
84 | #define HUGE_BUF 4096 /* Used for messages - some can be quite long */ |