1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 05:00:00 +00:00

more font

This commit is contained in:
Sergeanur 2021-01-19 03:24:02 +02:00
parent 8d2aa61f9b
commit f38ff074c4
2 changed files with 28 additions and 15 deletions

View file

@ -256,7 +256,7 @@ CFont::Shutdown(void)
#endif
Sprite[0].Delete();
Sprite[1].Delete();
Sprite[2].Delete();
Sprite[2].Delete();
#ifdef MORE_LANGUAGES
if (IsJapanese())
Sprite[3].Delete();
@ -1512,6 +1512,31 @@ CFont::SetDropColor(CRGBA col)
Details.dropColor.a *= Details.alphaFade / 255.0f;
}
//--LCS: done
void
CFont::SetOutlineColor(CRGBA col)
{
Details.outlineColor = col;
if (Details.alphaFade < 255.0f)
Details.outlineColor.a *= Details.alphaFade / 255.0f;
}
//--LCS: done
void
CFont::SetOutlineOn(int on)
{
Details.bOutlineOn = on;
}
//--LCS: done
void
CFont::SetNewLineAdd(int line)
{
Details.line = line;
}
//--LCS: done
void
CFont::SetDropShadowPosition(int16 pos)
{
@ -1556,14 +1581,3 @@ CFont::character_code(uint8 c)
return c;
return foreign_table[c-128];
}
void
CFont::SetOutlineColor(CRGBA col)
{
Details.outlineColor = col;
if (Details.alphaFade < 255.0f)
Details.outlineColor.a *= Details.alphaFade / 255.0f;
}
void CFont::SetOutlineOn(int on) { Details.bOutlineOn = on; }
void CFont::SetNewLineAdd(int line) { Details.line = line; }

View file

@ -37,10 +37,9 @@ struct CFontDetails
int nFlashTimer;
bool8 anonymous_23;
uint32 anonymous_25;
uint32 anonymous_26;
CRGBA outlineColor;
int32 bOutlineOn;
uint32 line;
int bOutlineOn;
int line;
};
struct CFontRenderState