mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- Fixed: The pause sprite was not centered correctly when it was a scaled
graphic. SVN r1769 (trunk)
This commit is contained in:
parent
2a9351fa61
commit
a5ec361715
2 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,8 @@
|
||||||
August 10, 2009
|
August 11, 2009 (Changes by Graf Zahl)
|
||||||
|
- Fixed: The pause sprite was not centered correctly when it was a scaled
|
||||||
|
graphic.
|
||||||
|
|
||||||
|
August 10, 2009
|
||||||
- Fixed: P_TestMobjZ() needs THRUSPECIES and THRUACTORS checks, too.
|
- Fixed: P_TestMobjZ() needs THRUSPECIES and THRUACTORS checks, too.
|
||||||
- Fixed: The UDMF loader did not initialize the sectors' sectornum property.
|
- Fixed: The UDMF loader did not initialize the sectors' sectornum property.
|
||||||
|
|
||||||
|
|
|
@ -738,8 +738,8 @@ void D_Display ()
|
||||||
int x;
|
int x;
|
||||||
|
|
||||||
tex = TexMan[gameinfo.gametype & (GAME_DoomStrifeChex) ? "M_PAUSE" : "PAUSED"];
|
tex = TexMan[gameinfo.gametype & (GAME_DoomStrifeChex) ? "M_PAUSE" : "PAUSED"];
|
||||||
x = (SCREENWIDTH - tex->GetWidth()*CleanXfac)/2 +
|
x = (SCREENWIDTH - tex->GetScaledWidth() * CleanXfac)/2 +
|
||||||
tex->LeftOffset*CleanXfac;
|
tex->GetScaledLeftOffset() * CleanXfac;
|
||||||
screen->DrawTexture (tex, x, 4, DTA_CleanNoMove, true, TAG_DONE);
|
screen->DrawTexture (tex, x, 4, DTA_CleanNoMove, true, TAG_DONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -752,7 +752,7 @@ void D_Display ()
|
||||||
if (picnum.isValid())
|
if (picnum.isValid())
|
||||||
{
|
{
|
||||||
FTexture *tex = TexMan[picnum];
|
FTexture *tex = TexMan[picnum];
|
||||||
screen->DrawTexture (tex, 160-tex->GetWidth()/2, 100-tex->GetHeight()/2,
|
screen->DrawTexture (tex, 160 - tex->GetScaledWidth()/2, 100 - tex->GetScaledHeight()/2,
|
||||||
DTA_320x200, true, TAG_DONE);
|
DTA_320x200, true, TAG_DONE);
|
||||||
}
|
}
|
||||||
NoWipe = 10;
|
NoWipe = 10;
|
||||||
|
|
Loading…
Reference in a new issue