--- deliantra/server/include/define.h 2008/05/06 16:55:25 1.82 +++ deliantra/server/include/define.h 2008/09/29 06:32:08 1.89 @@ -77,6 +77,8 @@ #define MAX_NAME 48 #define MAX_EXT_TITLE 98 +#define ATTUNE_REPELL 16 // levels diff for attune/repell + //TODO: remove all calls to fatal and replace them by cleanup #define OUT_OF_MEMORY 0 #define MAP_ERROR 1 @@ -383,9 +385,11 @@ * 2 spaces, and the entire array (< SIZEOFFREE) is * three spaces */ -#define SIZEOFFREE1 8 +#define SIZEOFFREE0 0 +#define SIZEOFFREE1 8 #define SIZEOFFREE2 24 -#define SIZEOFFREE 49 +#define SIZEOFFREE3 48 +#define SIZEOFFREE 49 #define NROF_SOUNDS (23 + NROFREALSPELLS) /* Number of sounds */ @@ -522,11 +526,7 @@ #define FLAG_ONE_HIT 97 /* Monster can only hit once before going * away (replaces ghosthit) */ -#define FLAG_CLIENT_SENT 98 /* THIS IS A DEBUG FLAG ONLY. We use it to - * detect cases were the server is trying - * to send an upditem when we have not - * actually sent the item. - */ +#define FLAG_DEBUG 98 // formerly FLAG_CLIENT_SENT, not used except for debugging #define FLAG_BERSERK 99 /* monster will attack closest living object */ @@ -904,6 +904,7 @@ #define NDI_UNIQUE 0x1000 /* Print this out immediately, don't buffer */ #define NDI_ALL 0x2000 /* Inform all players of this message */ #define NDI_DEF 0x4000 // ignore colour for channel protocol +#define NDI_VERBATIM 0x8000 // do not expand cfpod, send text verbatim #endif /* DEFINE_H */