- remove semi transparent flag from text on PC version

This commit is contained in:
Ilya Shurumov 2020-04-26 06:33:43 +06:00
parent 222c8e1e59
commit b8028d4faf
2 changed files with 12 additions and 0 deletions

View File

@ -548,7 +548,9 @@ int PrintString(char *string, int x, int y)
chr = fontinfo[uVar7].width;
setSprt(font);
#ifdef PSX
setSemiTrans(font, 1);
#endif
//*(undefined *)((int)&font->tag + 3) = 4;
//font->code = 'f';
@ -703,7 +705,9 @@ short PrintDigit(int x, int y, char *string)
current->primptr += sizeof(SPRT);
setSprt(font);
#ifdef PSX
setSemiTrans(font, 1);
#endif
font->r0 = gFontColour.r;
font->g0 = gFontColour.g;
@ -732,7 +736,9 @@ short PrintDigit(int x, int y, char *string)
POLY_FT3* null = (POLY_FT3*)current->primptr;
setPolyFT3(null);
#ifdef PSX
setSemiTrans(null, 1);
#endif
null->x0 = -1;
null->y0 = -1;
@ -1282,7 +1288,9 @@ void* SetFontTPage(void *prim)
POLY_FT3* null = (POLY_FT3*)prim;
setPolyFT3(null);
#ifdef PSX
setSemiTrans(null, 1);
#endif
null->x0 = -1;
null->y0 = -1;

View File

@ -1988,7 +1988,9 @@ int FEPrintString(char *string, int x, int y, int justification, int r, int g, i
bVar1 = feFont.CharInfo[uVar7].w;
setSprt(font);
//font->code = 'f';
#ifdef PSX
setSemiTrans(font, 1);
#endif
//font->tpage = 0x1a; // [A]
@ -2109,7 +2111,9 @@ int FEPrintStringSized(char *string, int x, int y, int scale, int transparent, i
setPolyFT4(font);
//*(undefined *)((int)&font->tag + 3) = 9;
//font->code = ',';
#ifdef PSX
setSemiTrans(font, transparent);
#endif
font->tpage = 0x1a;
font->r0 = 128;