more filtertext whitespace options

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2904 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-10 23:14:49 +00:00
parent 4dc6fcff3e
commit 86e14cc9fe
7 changed files with 15 additions and 24 deletions
+4 -13
View File
@@ -289,29 +289,20 @@ hudmessages hudmsgs;
void hudoutf(const char *s, ...)
{
s_sprintfdv(sf, s);
string sp;
filtertext(sp, sf);
s = sf;
hudmsgs.addline(s);
conoutf(s);
hudmsgs.addline(sf);
conoutf(sf);
}
void hudonlyf(const char *s, ...)
{
s_sprintfdv(sf, s);
string sp;
filtertext(sp, sf);
s = sf;
hudmsgs.addline(s);
hudmsgs.addline(sf);
}
void hudeditf(const char *s, ...)
{
s_sprintfdv(sf, s);
string sp;
filtertext(sp, sf);
s = sf;
hudmsgs.editlastline(s);
hudmsgs.editlastline(sf);
}
bool insideradar(const vec &centerpos, float radius, const vec &o)