… | |
… | |
63 | #define MIN_DAM 0 |
63 | #define MIN_DAM 0 |
64 | #define MAX_DAM 200 |
64 | #define MAX_DAM 200 |
65 | #define MIN_DIGESTION -35 |
65 | #define MIN_DIGESTION -35 |
66 | #define MAX_DIGESTION 70 |
66 | #define MAX_DIGESTION 70 |
67 | |
67 | |
68 | #define MAX_BUF 1024 |
68 | #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 | |
69 | |
78 | #define MAX_NAME 48 |
70 | #define MAX_NAME 48 |
79 | #define MAX_EXT_TITLE 98 |
|
|
80 | |
71 | |
81 | #define ATTUNE_REPELL 16 // levels diff for attune/repell |
72 | #define ATTUNE_REPELL 16 // levels diff for attune/repell |
82 | |
73 | |
83 | //TODO: remove all calls to fatal and replace them by cleanup |
74 | //TODO: remove all calls to fatal and replace them by cleanup |
84 | #define OUT_OF_MEMORY 0 |
75 | #define OUT_OF_MEMORY 0 |
… | |
… | |
120 | #define BOW 14 |
111 | #define BOW 14 |
121 | #define WEAPON 15 |
112 | #define WEAPON 15 |
122 | #define ARMOUR 16 |
113 | #define ARMOUR 16 |
123 | #define PEDESTAL 17 |
114 | #define PEDESTAL 17 |
124 | #define ALTAR 18 |
115 | #define ALTAR 18 |
125 | //19 |
116 | #define T_MATCH 19 |
126 | #define LOCKED_DOOR 20 |
117 | #define LOCKED_DOOR 20 |
127 | #define SPECIAL_KEY 21 |
118 | #define SPECIAL_KEY 21 |
128 | #define MAP 22 |
119 | #define MAP 22 |
129 | #define DOOR 23 |
120 | #define DOOR 23 |
130 | #define KEY 24 |
121 | #define KEY 24 |
… | |
… | |
218 | //88 |
209 | //88 |
219 | //89 |
210 | //89 |
220 | #define SPINNER 90 |
211 | #define SPINNER 90 |
221 | #define GATE 91 |
212 | #define GATE 91 |
222 | #define BUTTON 92 |
213 | #define BUTTON 92 |
223 | #define CF_HANDLE 93 |
214 | #define T_HANDLE 93 |
224 | #define HOLE 94 |
215 | #define HOLE 94 |
225 | #define TRAPDOOR 95 |
216 | #define TRAPDOOR 95 |
226 | //96 |
217 | //96 |
227 | //97 |
218 | //97 |
228 | #define SIGN 98 |
219 | #define SIGN 98 |