make COM_StringLengthNoColors and COM_StringDecolorize get an additional length param...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 27 Apr 2007 22:57:01 +0000 (22:57 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 27 Apr 2007 22:57:01 +0000 (22:57 +0000)
commit34095f2249f53ba2a4db8d084f9c76a3fc38d6ce
treeec5a872ebb2d969955e56cf66c19643e6f325a25
parent014039ff05adb1d26c4578e80dbf55c4c2d29105
make COM_StringLengthNoColors and COM_StringDecolorize get an additional length parameter to just work on part of a string (if set to 0, it means use the whole string); use that in centerprint drawing to fix centering issues in some odd situations like "^^^^^^^^^^^^^^^^^^^^^^^^^^".

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7205 d7cf8633-e32d-0410-b094-e92efae38249
cl_screen.c
common.c
common.h
host_cmd.c
prvm_cmds.c