ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/define.h
(Generate patch)

Comparing deliantra/server/include/define.h (file contents):
Revision 1.53 by root, Thu May 3 09:26:45 2007 UTC vs.
Revision 1.54 by root, Sat May 12 18:51:20 2007 UTC

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 127
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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines