Flags for messages


Defines

#define NDI_BLACK   0
#define NDI_WHITE   1
#define NDI_NAVY   2
#define NDI_RED   3
#define NDI_ORANGE   4
#define NDI_BLUE   5
#define NDI_DK_ORANGE   6
#define NDI_GREEN   7
#define NDI_LT_GREEN   8
#define NDI_GREY   9
#define NDI_BROWN   10
#define NDI_GOLD   11
#define NDI_TAN   12
#define NDI_MAX_COLOR   12
#define NDI_COLOR_MASK   0xff
#define NDI_UNIQUE   0x100
#define NDI_ALL   0x200
#define NDI_ALL_DMS   0x400

Detailed Description

The following are the color flags passed to new_draw_info().

We also set up some control flags

NDI = New Draw Info

Color specifications - note these match the order in xutil.c.

Note 2: Black, the default color, is 0. Thus, it does not need to be implicitly specified.


Define Documentation

#define NDI_ALL   0x200

Inform all players of this message.

Definition at line 217 of file newclient.h.

#define NDI_ALL_DMS   0x400

Inform all logged in DMs. Used in case of errors. Overrides NDI_ALL.

Definition at line 218 of file newclient.h.

#define NDI_BLACK   0

Definition at line 195 of file newclient.h.

#define NDI_BLUE   5

Actually, it is Dodger Blue

Definition at line 200 of file newclient.h.

#define NDI_BROWN   10

Sienna.

Definition at line 206 of file newclient.h.

#define NDI_COLOR_MASK   0xff

Gives lots of room for expansion - we are using an int anyways, so we have the space to still do all the flags.

Definition at line 211 of file newclient.h.

#define NDI_DK_ORANGE   6

DarkOrange2

Definition at line 201 of file newclient.h.

#define NDI_GOLD   11

Definition at line 207 of file newclient.h.

#define NDI_GREEN   7

SeaGreen

Definition at line 202 of file newclient.h.

#define NDI_GREY   9

Definition at line 205 of file newclient.h.

#define NDI_LT_GREEN   8

DarkSeaGreen, which is actually paler Than seagreen - also background color.

Definition at line 203 of file newclient.h.

#define NDI_MAX_COLOR   12

Last value in.

Definition at line 210 of file newclient.h.

#define NDI_NAVY   2

Definition at line 197 of file newclient.h.

#define NDI_ORANGE   4

Definition at line 199 of file newclient.h.

#define NDI_RED   3

Definition at line 198 of file newclient.h.

#define NDI_TAN   12

Khaki.

Definition at line 208 of file newclient.h.

#define NDI_UNIQUE   0x100

Print this out immediately, don't buffer.

Definition at line 216 of file newclient.h.

#define NDI_WHITE   1

Definition at line 196 of file newclient.h.


Generated on Thu Mar 25 23:27:52 2010 for Crossfire Server, Branch 1.12 by  doxygen 1.5.8