summaryrefslogtreecommitdiff
path: root/source/q_shared.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-04-04 20:45:13 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-04-04 20:45:13 +0000
commit22fd6efeeb7ee918e0d1ffb75f6292077ce27816 (patch)
tree7b355fc4aa8a7c63aac93af54fb229f678ef552c /source/q_shared.h
parent7ec50f12252b4dfb97f3249ccf05a771b98785c1 (diff)
Added support for drawing colored text via `draw' client command.
Cvar_Get now resets user defined cvar values for read-only cvars. Sever and game DLL features are now advertised via cvars instead of exports.
Diffstat (limited to 'source/q_shared.h')
-rw-r--r--source/q_shared.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/q_shared.h b/source/q_shared.h
index de1e8f2..197ef8f 100644
--- a/source/q_shared.h
+++ b/source/q_shared.h
@@ -169,7 +169,7 @@ extern vec3_t vec3_origin;
#define NUMVERTEXNORMALS 162
-extern vec3_t bytedirs[NUMVERTEXNORMALS];
+extern const vec3_t bytedirs[NUMVERTEXNORMALS];
extern const color_t colorBlack;
extern const color_t colorRed;
@@ -182,6 +182,8 @@ extern const color_t colorWhite;
extern const color_t colorTable[8];
+extern const char colorNames[10][8];
+
typedef struct vrect_s {
int x, y, width, height;
} vrect_t;