--- deliantra/server/include/define.h 2008/08/26 02:35:05 1.83 +++ deliantra/server/include/define.h 2008/11/16 03:52:12 1.90 @@ -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,10 @@ * 2 spaces, and the entire array (< SIZEOFFREE) is * three spaces */ +#define SIZEOFFREE0 0 #define SIZEOFFREE1 8 #define SIZEOFFREE2 24 -#define SIZEOFFREE3 49 +#define SIZEOFFREE3 48 #define SIZEOFFREE 49 #define NROF_SOUNDS (23 + NROFREALSPELLS) /* Number of sounds */ @@ -420,6 +423,7 @@ /*#define FLAG_SLOW_MOVE 12*//* Uses the stats.exp/1000 to slow down */ /*#define FLAG_FLYING 13*//* Not affected by WALK_ON or SLOW_MOVE) */ +#define FLAG_HIDDEN 13 /* hidden monster (not invisible), TODO: used how, what for? TODO: why not saved? */ #define FLAG_MONSTER 14 /* Will attack players */ #define FLAG_FRIENDLY 15 /* Will help players */ @@ -523,11 +527,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 */ @@ -905,6 +905,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 */