mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-29 11:30:42 +00:00
- Fixed: Doom's status bar was lacking its default face.
- Fixed: Custom skin face graphics were not added to the texture manager. SVN r1519 (trunk)
This commit is contained in:
parent
ccd3b2a6e1
commit
4376c6b415
3 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
April 2, 2009
|
April 2, 2009
|
||||||
|
- Fixed: Doom's status bar was lacking its default face.
|
||||||
|
- Fixed: Custom skin face graphics were not added to the texture manager.
|
||||||
- Fixed: UseHealthItems() gave you health equal to the number of items in
|
- Fixed: UseHealthItems() gave you health equal to the number of items in
|
||||||
the stack of health items, rather than the item's proper amount.
|
the stack of health items, rather than the item's proper amount.
|
||||||
|
|
||||||
|
|
|
@ -63,6 +63,14 @@ void FImageCollection::Add (const char **patchNames, int numPatches, int namespc
|
||||||
for (int i = 0; i < numPatches; ++i)
|
for (int i = 0; i < numPatches; ++i)
|
||||||
{
|
{
|
||||||
FTextureID picnum = TexMan.CheckForTexture(patchNames[i], namespc);
|
FTextureID picnum = TexMan.CheckForTexture(patchNames[i], namespc);
|
||||||
|
if (!picnum.isValid())
|
||||||
|
{
|
||||||
|
int lumpnum = Wads.CheckNumForName(patchNames[i], namespc);
|
||||||
|
if (lumpnum >= 0)
|
||||||
|
{
|
||||||
|
picnum = TexMan.CreateTexture(lumpnum, namespc);
|
||||||
|
}
|
||||||
|
}
|
||||||
ImageMap[OldCount + i] = picnum;
|
ImageMap[OldCount + i] = picnum;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,7 +110,7 @@ statusbar normal // Standard Doom Status bar
|
||||||
}
|
}
|
||||||
drawselectedinventory alternateonempty, INDEXFONT, 143, 168
|
drawselectedinventory alternateonempty, INDEXFONT, 143, 168
|
||||||
{
|
{
|
||||||
drawmugshot 5, 143, 168;
|
drawmugshot "STF", 5, 143, 168;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue