mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-28 09:50:42 +00:00
- last but not least, for international display, use ConFont in Exhumed's laptop cutscene.
This commit is contained in:
parent
75281de42e
commit
51f35550a9
1 changed files with 17 additions and 3 deletions
|
@ -1122,12 +1122,26 @@ private:
|
||||||
void DisplayPhase2()
|
void DisplayPhase2()
|
||||||
{
|
{
|
||||||
int yy = ebp;
|
int yy = ebp;
|
||||||
|
|
||||||
|
auto p = GStrings["REQUIRED_CHARACTERS"];
|
||||||
|
if (1)//p && *p)
|
||||||
|
{
|
||||||
|
yy *= 2;
|
||||||
|
for (int i = 0; i < nStringTypeOn; i++, yy += 10)
|
||||||
|
{
|
||||||
|
DrawText(twod, ConFont, CR_GREEN, 140, yy, screentext[i], DTA_FullscreenScale, FSMode_Fit640x400, TAG_DONE);
|
||||||
|
}
|
||||||
|
DrawText(twod, ConFont, CR_GREEN, 140, yy, screentext[nStringTypeOn], DTA_FullscreenScale, FSMode_Fit640x400, DTA_TextLen, nCharTypeOn, TAG_DONE);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
for (int i = 0; i < nStringTypeOn; i++, yy += 8)
|
for (int i = 0; i < nStringTypeOn; i++, yy += 8)
|
||||||
{
|
{
|
||||||
DrawText(twod, SmallFont2, CR_UNTRANSLATED, 70, yy, screentext[i], DTA_FullscreenScale, FSMode_Fit320x200, TAG_DONE);
|
DrawText(twod, SmallFont2, CR_UNTRANSLATED, 70, yy, screentext[i], DTA_FullscreenScale, FSMode_Fit320x200, TAG_DONE);
|
||||||
}
|
}
|
||||||
DrawText(twod, SmallFont2, CR_UNTRANSLATED, 70, yy, screentext[nStringTypeOn], DTA_FullscreenScale, FSMode_Fit320x200, DTA_TextLen, nCharTypeOn, TAG_DONE);
|
DrawText(twod, SmallFont2, CR_UNTRANSLATED, 70, yy, screentext[nStringTypeOn], DTA_FullscreenScale, FSMode_Fit320x200, DTA_TextLen, nCharTypeOn, TAG_DONE);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int Frame(uint64_t clock, bool skiprequest) override
|
int Frame(uint64_t clock, bool skiprequest) override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue