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.66 by elmex, Sat Jul 21 14:37:25 2007 UTC vs.
Revision 1.69 by root, Thu Aug 16 06:36:56 2007 UTC

239#define POISONING 105 239#define POISONING 105
240#define SAVEBED 106 240#define SAVEBED 106
241 241
242#define WAND 109 242#define WAND 109
243 243
244#define INSCRIBABLE 110 // inscribable things, st 0 book st 1 spell
244#define SCROLL 111 245#define SCROLL 111
245#define DIRECTOR 112 246#define DIRECTOR 112
246#define GIRDLE 113 247#define GIRDLE 113
247#define FORCE 114 248#define FORCE 114
248#define POTION_EFFECT 115 /* a force, holding the effect of a potion */ 249#define POTION_EFFECT 115 /* a force, holding the effect of a potion */
951 952
952/* admin messages */ 953/* admin messages */
953#define MSG_TYPE_ADMIN_RULES 1 954#define MSG_TYPE_ADMIN_RULES 1
954#define MSG_TYPE_ADMIN_NEWS 2 955#define MSG_TYPE_ADMIN_NEWS 2
955 956
957/**
958 * Maximum distance a player may hear a sound from.
959 * This is only used for new client/server sound. If the sound source
960 * on the map is farther away than this, we don't sent it to the client.
961 */
962#define MAX_SOUND_DISTANCE 16
963
964#define LOG_CHANNEL "log" // the plain and ugly standard server log
965#define INFO_CHANNEL "info" // lower_left box
966#define SAY_CHANNEL "channel-say"
967#define CHAT_CHANNEL "channel-chat"
968
969/* The following are the color flags passed to new_draw_info.
970 *
971 * We also set up some control flags
972 *
973 * NDI = New Draw Info
974 */
975
976/* Color specifications - note these match the order in xutil.c */
977/* Note 2: Black, the default color, is 0. Thus, it does not need to
978 * be implicitly specified.
979 */
980#define NDI_BLACK 0
981#define NDI_WHITE 1
982#define NDI_NAVY 2
983#define NDI_RED 3
984#define NDI_ORANGE 4
985#define NDI_BLUE 5 /* Actually, it is Dodger Blue */
986#define NDI_DK_ORANGE 6 /* DarkOrange2 */
987#define NDI_GREEN 7 /* SeaGreen */
988#define NDI_LT_GREEN 8 /* DarkSeaGreen, which is actually paler */
989 /* Than seagreen - also background color */
990#define NDI_GREY 9
991#define NDI_BROWN 10 /* Sienna */
992#define NDI_GOLD 11
993#define NDI_TAN 12 /* Khaki */
994
995#define NDI_MAX_COLOR 12 /* Last value in */
996#define NDI_COLOR_MASK 0x1f /* Gives lots of room for expansion - we are */
997 /* using an int anyways, so we have the space */
998 /* to still do all the flags */
999
1000#define NDI_REPLY 0x20 // is a direct reply to a user command
1001#define NDI_NOCREATE 0x40 // do not create a tba if one doesn't exist
1002#define NDI_CLIENT_MASK 0x7f // what the client is allowed to see
1003
1004#define NDI_UNIQUE 0x1000 /* Print this out immediately, don't buffer */
1005#define NDI_ALL 0x2000 /* Inform all players of this message */
1006#define NDI_DEF 0x4000 // ignore colour for channel protocol
1007
956#endif /* DEFINE_H */ 1008#endif /* DEFINE_H */
957 1009

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines