r3124 - trunk/data/qcsrc/menu-div0test
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Jan 11 15:37:18 EST 2008
Author: div0
Date: 2008-01-11 15:37:15 -0500 (Fri, 11 Jan 2008)
New Revision: 3124
Modified:
trunk/data/qcsrc/menu-div0test/draw.qc
trunk/data/qcsrc/menu-div0test/msys.qh
Log:
add missing constants for font system
Modified: trunk/data/qcsrc/menu-div0test/draw.qc
===================================================================
--- trunk/data/qcsrc/menu-div0test/draw.qc 2008-01-11 13:39:23 UTC (rev 3123)
+++ trunk/data/qcsrc/menu-div0test/draw.qc 2008-01-11 20:37:15 UTC (rev 3124)
@@ -1,4 +1,3 @@
-float drawfont;
string draw_mousepointer;
vector draw_mousepointer_offset;
vector draw_mousepointer_size;
Modified: trunk/data/qcsrc/menu-div0test/msys.qh
===================================================================
--- trunk/data/qcsrc/menu-div0test/msys.qh 2008-01-11 13:39:23 UTC (rev 3123)
+++ trunk/data/qcsrc/menu-div0test/msys.qh 2008-01-11 20:37:15 UTC (rev 3124)
@@ -291,3 +291,13 @@
float OS_MAC = 2;
*/
+float drawfont; // set this to one of the following for draw text routines to work
+float FONT_DEFAULT = 0;
+float FONT_CONSOLE = 1;
+float FONT_SBAR = 2;
+float FONT_NOTIFY = 3;
+float FONT_CHAT = 4;
+float FONT_CENTERPRINT = 5;
+float FONT_INFOBAR = 6;
+float FONT_MENU = 7;
+float FONT_USER = 8; // add to this the index, like FONT_USER+3 = user3. At least 8 of them are supported.
More information about the nexuiz-commits
mailing list