mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 03:42:34 +01:00
- remove some ifdefs
This commit is contained in:
parent
26a814aa38
commit
6299674125
@ -1761,9 +1761,7 @@ int FEPrintString(char *string, int x, int y, int justification, int r, int g, i
|
|||||||
pFontInfo = &feFont.CharInfo[let];
|
pFontInfo = &feFont.CharInfo[let];
|
||||||
|
|
||||||
setSprt(font);
|
setSprt(font);
|
||||||
#ifdef PSX
|
|
||||||
setSemiTrans(font, 1);
|
setSemiTrans(font, 1);
|
||||||
#endif
|
|
||||||
|
|
||||||
setRGB0(font, r, g, b);
|
setRGB0(font, r, g, b);
|
||||||
setXY0(font, x, y);
|
setXY0(font, x, y);
|
||||||
@ -1833,9 +1831,7 @@ int FEPrintStringSized(char *string, int x, int y, int scale, int transparent, i
|
|||||||
h = (pFontInfo->h * scale) / 4096;
|
h = (pFontInfo->h * scale) / 4096;
|
||||||
|
|
||||||
setPolyFT4(font);
|
setPolyFT4(font);
|
||||||
#ifdef PSX
|
setSemiTrans(font, transparent);
|
||||||
setSemiTrans(font, transparent);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
setRGB0(font, 128, 128, 128);
|
setRGB0(font, 128, 128, 128);
|
||||||
setUVWH(font, pFontInfo->u, pFontInfo->v, pFontInfo->w - 1, pFontInfo->h - 1);
|
setUVWH(font, pFontInfo->u, pFontInfo->v, pFontInfo->w - 1, pFontInfo->h - 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user