mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 07:11:36 +00:00
Fixing underlines I broke when merging in latest ioq3
This commit is contained in:
parent
55ad772f02
commit
a2f55e655a
1 changed files with 4 additions and 2 deletions
|
@ -374,7 +374,8 @@ extern vec4_t colorMdGrey;
|
||||||
extern vec4_t colorDkGrey;
|
extern vec4_t colorDkGrey;
|
||||||
|
|
||||||
#define Q_COLOR_ESCAPE '^'
|
#define Q_COLOR_ESCAPE '^'
|
||||||
#define Q_IsColorString(p) ((p) && *(p) == Q_COLOR_ESCAPE && *((p)+1) && isalnum(*((p)+1))) // ^[0-9a-zA-Z]
|
//#define Q_IsColorString(p) ((p) && *(p) == Q_COLOR_ESCAPE && *((p)+1) && isalnum(*((p)+1))) // ^[0-9a-zA-Z]
|
||||||
|
#define Q_IsColorString(p) ( p && *(p) == Q_COLOR_ESCAPE && *((p)+1) && *((p)+1) != Q_COLOR_ESCAPE )
|
||||||
|
|
||||||
#define COLOR_BLACK '0'
|
#define COLOR_BLACK '0'
|
||||||
#define COLOR_RED '1'
|
#define COLOR_RED '1'
|
||||||
|
@ -384,7 +385,8 @@ extern vec4_t colorDkGrey;
|
||||||
#define COLOR_CYAN '5'
|
#define COLOR_CYAN '5'
|
||||||
#define COLOR_MAGENTA '6'
|
#define COLOR_MAGENTA '6'
|
||||||
#define COLOR_WHITE '7'
|
#define COLOR_WHITE '7'
|
||||||
#define ColorIndex(c) (((c) - '0') & 0x07)
|
//#define ColorIndex(c) (((c) - '0') & 0x07)
|
||||||
|
#define ColorIndex(c) ( ( (c) - '0' ) & 7 )
|
||||||
|
|
||||||
#define S_COLOR_BLACK "^0"
|
#define S_COLOR_BLACK "^0"
|
||||||
#define S_COLOR_RED "^1"
|
#define S_COLOR_RED "^1"
|
||||||
|
|
Loading…
Reference in a new issue