diff options
author | aap <aap@papnet.eu> | 2020-03-31 10:28:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 10:28:10 +0200 |
commit | 348d426f6425ab31479e95f98828c5e2272cbd63 (patch) | |
tree | 611cf59f1c46b60908057affe8d86eb9b39a23ad /src/render/Font.h | |
parent | Merge pull request #366 from Nick007J/master (diff) | |
parent | Merge remote-tracking branch 'origin/master' into MoreLanguages (diff) | |
download | re3-348d426f6425ab31479e95f98828c5e2272cbd63.tar re3-348d426f6425ab31479e95f98828c5e2272cbd63.tar.gz re3-348d426f6425ab31479e95f98828c5e2272cbd63.tar.bz2 re3-348d426f6425ab31479e95f98828c5e2272cbd63.tar.lz re3-348d426f6425ab31479e95f98828c5e2272cbd63.tar.xz re3-348d426f6425ab31479e95f98828c5e2272cbd63.tar.zst re3-348d426f6425ab31479e95f98828c5e2272cbd63.zip |
Diffstat (limited to 'src/render/Font.h')
-rw-r--r-- | src/render/Font.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/render/Font.h b/src/render/Font.h index 132ad168..26309377 100644 --- a/src/render/Font.h +++ b/src/render/Font.h @@ -39,9 +39,23 @@ enum { ALIGN_RIGHT, }; +#ifdef MORE_LANGUAGES +enum +{ + FONT_LANGSET_EFIGS, + FONT_LANGSET_RUSSIAN +}; +#endif + class CFont { +#ifdef MORE_LANGUAGES + static int16 Size[2][3][193]; + static uint8 LanguageSet; + static int32 Slot; +#else static int16 Size[3][193]; +#endif static int16 
 static CSprite2d *Sprite; //[3] public: @@ -136,4 +150,6 @@ public: if(Details.alphaFade < 255.0f) Details.dropColor.a *= Details.alphaFade/255.0f; } + + static void ReloadFonts(uint8 set); }; |