- Added drawshadow flag to drawstring.

SVN r2656 (trunk)
This commit is contained in:
Braden Obrzut 2010-08-31 21:36:30 +00:00
parent 88f0fa270a
commit 230178bf98

View file

@ -614,6 +614,19 @@ class CommandDrawString : public SBarInfoCommand
sc.ScriptError("Unknown alignment '%s'.", sc.String);
sc.MustGetToken(')');
}
else if(sc.Compare("drawshadow"))
{
if(sc.CheckToken('('))
{
sc.MustGetToken(TK_IntConst);
shadowX = sc.Number;
sc.MustGetToken(',');
sc.MustGetToken(TK_IntConst);
shadowY = sc.Number;
sc.MustGetToken(')');
}
shadow = true;
}
else
sc.ScriptError("Unknown flag '%s'.", sc.String);
if(!sc.CheckToken('|') && !sc.CheckToken(',')) break;