mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@924 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7630254c56
commit
2b13bec0ab
1 changed files with 5 additions and 7 deletions
|
@ -283,7 +283,7 @@ int gametext_z(int small, int starttile, int x,int y,const char *t,int s,int p,i
|
||||||
{
|
{
|
||||||
int ac,newx,oldx=x;
|
int ac,newx,oldx=x;
|
||||||
char centre, *oldt;
|
char centre, *oldt;
|
||||||
int squishtext = (small&2);
|
int squishtext = ((small&2)!=0);
|
||||||
int ht = usehightile;
|
int ht = usehightile;
|
||||||
|
|
||||||
centre = (x == (320>>1));
|
centre = (x == (320>>1));
|
||||||
|
@ -370,12 +370,10 @@ int gametext_z(int small, int starttile, int x,int y,const char *t,int s,int p,i
|
||||||
|
|
||||||
if ((*t >= '0' && *t <= '9'))
|
if ((*t >= '0' && *t <= '9'))
|
||||||
x += (8)*z/65536;
|
x += (8)*z/65536;
|
||||||
else
|
else if (small&8)
|
||||||
{
|
|
||||||
if (small&8)
|
|
||||||
x += (8-squishtext)*z/65536;//(tilesizx[ac]>>small);
|
x += (8-squishtext)*z/65536;//(tilesizx[ac]>>small);
|
||||||
else x += (tilesizx[ac]-squishtext)*z/65536;//(tilesizx[ac]>>small);
|
else x += (tilesizx[ac]-squishtext)*z/65536;//(tilesizx[ac]>>small);
|
||||||
}
|
|
||||||
if (x > (ud.config.ScreenWidth - 14)) oldt = (char *)t, x = oldx, y+=8*z/65536;
|
if (x > (ud.config.ScreenWidth - 14)) oldt = (char *)t, x = oldx, y+=8*z/65536;
|
||||||
t++;
|
t++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue