mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- Added drawshadow flag to drawstring.
SVN r2656 (trunk)
This commit is contained in:
parent
88f0fa270a
commit
230178bf98
1 changed files with 13 additions and 0 deletions
|
@ -614,6 +614,19 @@ class CommandDrawString : public SBarInfoCommand
|
||||||
sc.ScriptError("Unknown alignment '%s'.", sc.String);
|
sc.ScriptError("Unknown alignment '%s'.", sc.String);
|
||||||
sc.MustGetToken(')');
|
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
|
else
|
||||||
sc.ScriptError("Unknown flag '%s'.", sc.String);
|
sc.ScriptError("Unknown flag '%s'.", sc.String);
|
||||||
if(!sc.CheckToken('|') && !sc.CheckToken(',')) break;
|
if(!sc.CheckToken('|') && !sc.CheckToken(',')) break;
|
||||||
|
|
Loading…
Reference in a new issue