r7561 - trunk/darkplaces

dresk at icculus.org dresk at icculus.org
Wed Sep 5 18:15:05 EDT 2007


Author: dresk
Date: 2007-09-05 18:15:04 -0400 (Wed, 05 Sep 2007)
New Revision: 7561

Modified:
   trunk/darkplaces/clvm_cmds.c
   trunk/darkplaces/mvm_cmds.c
   trunk/darkplaces/prvm_cmds.c
   trunk/darkplaces/prvm_cmds.h
Log is attached.
Added QC function drawcolorcodedstring (#326 CSQC, #467 MQC) which is similar to drawstring, instead it does not take in an RGB vector and instead colors the string based on the engine's coloring rules.

Useful for drawing colorized player names, centerprints, etc.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20070905.221505.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20070905/28716dd1/attachment.diff>


More information about the twilight-commits mailing list