{} /** Maximum length of the displayed stat names. */ const int32 MaxDisplayedChars; /** Font height, manually selected to fix more stats on screen. */ const int32 FontHeight; /** Y offset of the background tile, manually selected to fix more stats on screen. */ const int32 FontHeightOffset; }; static FStatFont GStatFonts[(int32)EStatFontTypes::NumFonts] = { /** Tiny. */ FStatFont( 24, 10, 1 ), /** Small. */ FStatFont( 48, 12, 2 ), }; void FromString( EStatFontTypes& OutValue, const TCHAR* Buffer ) { OutValue = EStatFontTypes::Small; if( FCString::Stricmp( Buffer, TEXT( "Tiny" ) ) == 0 ) { OutValue = EStatFontTypes::Tiny; } } /** Holds various parameters used for rendering stats. */
{} /** Maximum length of the displayed stat names. */ const int32 MaxDisplayedChars; /** Font height, manually selected to fix more stats on screen. */ const int32 FontHeight; /** Y offset of the background tile, manually selected to fix more stats on screen. */ const int32 FontHeightOffset; }; static FStatFont GStatFonts[(int32)EStatFontTypes::NumFonts] = { /** Tiny. */ FStatFont( 36, 10, 1 ), /** Small. */ FStatFont( 72, 12, 2 ), }; void FromString( EStatFontTypes& OutValue, const TCHAR* Buffer ) { OutValue = EStatFontTypes::Small; if( FCString::Stricmp( Buffer, TEXT( "Tiny" ) ) == 0 ) { OutValue = EStatFontTypes::Tiny; } } /** Holds various parameters used for rendering stats. */