mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
- just to be thorough, added a 'sprite' keyword to define a patch to give priority to the TEX_Sprite namespace.
This commit is contained in:
parent
4e4fd97950
commit
8368272b4d
1 changed files with 17 additions and 0 deletions
|
@ -1245,6 +1245,23 @@ FMultiPatchTexture::FMultiPatchTexture (FScanner &sc, int usetype)
|
|||
part.Texture = NULL;
|
||||
part.Translation = NULL;
|
||||
}
|
||||
else if (sc.Compare("Sprite"))
|
||||
{
|
||||
TexPart part;
|
||||
TexInit init;
|
||||
ParsePatch(sc, part, init);
|
||||
if (init.TexName.IsNotEmpty())
|
||||
{
|
||||
parts.Push(part);
|
||||
init.UseType = TEX_Sprite;
|
||||
init.Silent = bSilent;
|
||||
init.HasLine = true;
|
||||
init.sc = sc;
|
||||
inits.Push(init);
|
||||
}
|
||||
part.Texture = NULL;
|
||||
part.Translation = NULL;
|
||||
}
|
||||
else if (sc.Compare("Graphic"))
|
||||
{
|
||||
TexPart part;
|
||||
|
|
Loading…
Reference in a new issue