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.68 by root, Sun Aug 12 05:59:24 2007 UTC vs.
Revision 1.69 by root, Thu Aug 16 06:36:56 2007 UTC

959 * This is only used for new client/server sound. If the sound source 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. 960 * on the map is farther away than this, we don't sent it to the client.
961 */ 961 */
962#define MAX_SOUND_DISTANCE 16 962#define MAX_SOUND_DISTANCE 16
963 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
964#endif /* DEFINE_H */ 1008#endif /* DEFINE_H */
965 1009

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines