r4730 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Oct 11 11:07:21 EDT 2008
Author: div0
Date: 2008-10-11 11:07:20 -0400 (Sat, 11 Oct 2008)
New Revision: 4730
Modified:
trunk/data/qcsrc/client/csqc_constants.qc
trunk/data/qcsrc/client/teamradar.qc
Log:
use DRAWFLAG_SCREEN for team radar now (warning: breaks on old engines that are after 2.4.2. SVN users, update your engines.)
Modified: trunk/data/qcsrc/client/csqc_constants.qc
===================================================================
--- trunk/data/qcsrc/client/csqc_constants.qc 2008-10-11 13:19:52 UTC (rev 4729)
+++ trunk/data/qcsrc/client/csqc_constants.qc 2008-10-11 15:07:20 UTC (rev 4730)
@@ -168,7 +168,7 @@
const float DRAWFLAG_ADDITIVE = 1;
const float DRAWFLAG_MODULATE = 2;
const float DRAWFLAG_2XMODULATE = 3;
-const float DRAWFLAG_NUMFLAGS = 4;
+const float DRAWFLAG_SCREEN = 4;
const float DRAWFLAG_MIPMAP = 0x100; // only for R_BeginPolygon
#define SOLID_NOT 0 // no interaction with other objects
Modified: trunk/data/qcsrc/client/teamradar.qc
===================================================================
--- trunk/data/qcsrc/client/teamradar.qc 2008-10-11 13:19:52 UTC (rev 4729)
+++ trunk/data/qcsrc/client/teamradar.qc 2008-10-11 15:07:20 UTC (rev 4730)
@@ -58,7 +58,7 @@
if(fg > 0)
{
if(csqc_flags & CSQC_FLAG_READPICTURE) // not 2.4.2
- R_BeginPolygon(minimapname, DRAWFLAG_ADDITIVE | DRAWFLAG_MIPMAP);
+ R_BeginPolygon(minimapname, DRAWFLAG_SCREEN | DRAWFLAG_MIPMAP);
else
R_BeginPolygon(minimapname, DRAWFLAG_ADDITIVE);
R_PolygonVertex(teamradar_texcoord_to_2dcoord(mi_pictexcoord0), yinvert(mi_pictexcoord0), '1 1 1', fg);
More information about the nexuiz-commits
mailing list