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.103 by root, Mon Oct 12 21:27:55 2009 UTC vs.
Revision 1.106 by root, Wed Nov 4 00:02:48 2009 UTC

44 44
45#ifdef __NetBSD__ 45#ifdef __NetBSD__
46# include <sys/param.h> 46# include <sys/param.h>
47#endif 47#endif
48 48
49#define MAXLEVEL 115 // for treasure calculations only
50
49// maximum length of an object name in the protocol 51// maximum length of an object name in the protocol
50#define NAME_LEN 127 52#define NAME_LEN 127
51 53
52#undef MIN 54#undef MIN
53#undef MAX 55#undef MAX
63#define MIN_DAM 0 65#define MIN_DAM 0
64#define MAX_DAM 200 66#define MAX_DAM 200
65#define MIN_DIGESTION -35 67#define MIN_DIGESTION -35
66#define MAX_DIGESTION 70 68#define MAX_DIGESTION 70
67 69
68#define MAX_BUF 1024 70#define MAX_BUF 1024 /* Used for all kinds of things */
69 /* Used for all kinds of things */
70#define VERY_BIG_BUF 2048
71#define HUGE_BUF 10240 /* Used for messages - some can be quite long */
72#define SOCKET_BUFLEN 4096 /* Max length a packet could be */
73
74#define FONTSIZE 3000 /* Max chars in font */
75
76#define MAX_ANIMATIONS 256
77 71
78#define MAX_NAME 48 72#define MAX_NAME 48
79#define MAX_EXT_TITLE 98
80 73
81#define ATTUNE_REPELL 16 // levels diff for attune/repell 74#define ATTUNE_REPELL 16 // levels diff for attune/repell
82 75
83//TODO: remove all calls to fatal and replace them by cleanup 76//TODO: remove all calls to fatal and replace them by cleanup
84#define OUT_OF_MEMORY 0 77#define OUT_OF_MEMORY 0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines