mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 09:50:00 +00:00
more font
This commit is contained in:
parent
8d2aa61f9b
commit
f38ff074c4
|
@ -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; }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue