summaryrefslogtreecommitdiffstats
path: root/src/render/Font.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-29 08:35:13 +0200
committerSergeanur <s.anureev@yandex.ua>2020-03-30 13:50:14 +0200
commitbb8868eba79e0c6b76ca1e5a397ac20e72937798 (patch)
tree7ff4a8f91ba0896a8cc80fb0c09bd64b069d3e14 /src/render/Font.h
parentFire and PlayerSkin fix (diff)
downloadre3-bb8868eba79e0c6b76ca1e5a397ac20e72937798.tar
re3-bb8868eba79e0c6b76ca1e5a397ac20e72937798.tar.gz
re3-bb8868eba79e0c6b76ca1e5a397ac20e72937798.tar.bz2
re3-bb8868eba79e0c6b76ca1e5a397ac20e72937798.tar.lz
re3-bb8868eba79e0c6b76ca1e5a397ac20e72937798.tar.xz
re3-bb8868eba79e0c6b76ca1e5a397ac20e72937798.tar.zst
re3-bb8868eba79e0c6b76ca1e5a397ac20e72937798.zip
Diffstat (limited to '')
-rw-r--r--src/render/Font.h16
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 &NewLine;
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);
};