mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +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.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;
|
||||
|
|
Loading…
Reference in a new issue