From 0535aa59ed7d779d194fd349bf8b208d7185eef8 Mon Sep 17 00:00:00 2001 From: div0 Date: Fri, 11 Jan 2008 20:37:15 +0000 Subject: [PATCH] add missing constants for font system git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3124 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/menu-div0test/draw.qc | 1 - data/qcsrc/menu-div0test/msys.qh | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/data/qcsrc/menu-div0test/draw.qc b/data/qcsrc/menu-div0test/draw.qc index b4b137439..66b42e2c4 100644 --- a/data/qcsrc/menu-div0test/draw.qc +++ b/data/qcsrc/menu-div0test/draw.qc @@ -1,4 +1,3 @@ -float drawfont; string draw_mousepointer; vector draw_mousepointer_offset; vector draw_mousepointer_size; diff --git a/data/qcsrc/menu-div0test/msys.qh b/data/qcsrc/menu-div0test/msys.qh index 5cff6e205..391ed106c 100644 --- a/data/qcsrc/menu-div0test/msys.qh +++ b/data/qcsrc/menu-div0test/msys.qh @@ -291,3 +291,13 @@ float OS_LINUX = 1; 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. -- 2.39.2