mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
Text color fixes
git-svn-id: https://svn.eduke32.com/eduke32@266 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
65450800b0
commit
35df54c3a8
2 changed files with 5 additions and 5 deletions
|
@ -229,7 +229,7 @@ char *strip_color_codes(char *t)
|
|||
t += 2;
|
||||
if(isdigit(*t))
|
||||
t++;
|
||||
if(!(*t)) continue;
|
||||
continue;
|
||||
}
|
||||
colstrip[i] = *t;
|
||||
i++,t++;
|
||||
|
@ -258,7 +258,7 @@ int gametext_(int small, int starttile, int x,int y,char *t,char s,char p,short
|
|||
{
|
||||
t += 2;
|
||||
if(isdigit(*t)) t++;
|
||||
if(!(*t)) continue;
|
||||
continue;
|
||||
}
|
||||
if(*t == 32) {newx+=5;t++;continue;}
|
||||
else ac = *t - '!' + starttile;
|
||||
|
@ -292,7 +292,7 @@ int gametext_(int small, int starttile, int x,int y,char *t,char s,char p,short
|
|||
smallbuf[1] = '\0';
|
||||
p = atol(smallbuf);
|
||||
}
|
||||
if(!(*t)) continue;
|
||||
continue;
|
||||
}
|
||||
if(*t == 32) {x+=5;t++;continue;}
|
||||
else ac = *t - '!' + starttile;
|
||||
|
@ -2427,7 +2427,7 @@ void typemode(void)
|
|||
Bstrcat(recbuf,": ");
|
||||
}
|
||||
|
||||
Bstrcat(recbuf,"^0");
|
||||
Bstrcat(recbuf,"^00");
|
||||
Bstrcat(recbuf,typebuf);
|
||||
j = Bstrlen(recbuf);
|
||||
recbuf[j] = 0;
|
||||
|
|
|
@ -3108,7 +3108,7 @@ cheat_for_port_credits:
|
|||
Bsprintf(tempbuf,"%s%.2f",l>=0?" ":"",(float)l/65536.0);
|
||||
gametext(c+160-16,46+16-8,tempbuf,MENUHIGHLIGHT(1),2+8+16);
|
||||
|
||||
menutext(c,46+16+16,MENUHIGHLIGHT(2),0,"INPUT FILTER");
|
||||
menutext(c,46+16+16,MENUHIGHLIGHT(2),0,"DEAD ZONE");
|
||||
l = MouseFilter>>1;
|
||||
bar(c+160+40,46+16+16,(short *)&l,2,x==2,MENUHIGHLIGHT(2),0);
|
||||
MouseFilter = l<<1;
|
||||
|
|
Loading…
Reference in a new issue