mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- Exhumed: A few more positioning tweaks for the classic full and split HUDs.
This commit is contained in:
parent
2679e28a2e
commit
038edfe972
1 changed files with 12 additions and 1 deletions
|
@ -604,9 +604,20 @@ private:
|
||||||
{
|
{
|
||||||
for (int i = nFirstAnim; i >= 0; i = StatusAnim[i].nPrevAnim)
|
for (int i = nFirstAnim; i >= 0; i = StatusAnim[i].nPrevAnim)
|
||||||
{
|
{
|
||||||
|
double xoff = 0.5, yoff = 0;
|
||||||
int nSequence = nStatusSeqOffset + StatusAnim[i].s1;
|
int nSequence = nStatusSeqOffset + StatusAnim[i].s1;
|
||||||
|
|
||||||
DrawStatusSequence(nSequence, StatusAnim[i].s2, StatusAnim[i].s1 <= 43 ? 0.5 : 0, StatusAnim[i].s1 != 166 ? 0.5 : 0);
|
if (StatusAnim[i].s1 >= 37 && StatusAnim[i].s1 <= 43)
|
||||||
|
{
|
||||||
|
yoff = 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (StatusAnim[i].s1 == 4 || StatusAnim[i].s1 == 166)
|
||||||
|
{
|
||||||
|
xoff = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DrawStatusSequence(nSequence, StatusAnim[i].s2, yoff, xoff);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (StatusAnim[nAnim].s2 >= (SeqSize[nSequence] - 1))
|
if (StatusAnim[nAnim].s2 >= (SeqSize[nSequence] - 1))
|
||||||
|
|
Loading…
Reference in a new issue