summaryrefslogtreecommitdiffstats
path: root/src/render/Font.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-18 14:01:17 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-18 14:01:17 +0100
commit8d2aa61f9b93a83c7a89a1ed180f3953f4638a8b (patch)
tree7b351a0f43b5f1b3135feadfcdeb52d0b64648bc /src/render/Font.h
parentUse of sized bool types for CFont (diff)
parentsync milessdk with re3mss (diff)
downloadre3-8d2aa61f9b93a83c7a89a1ed180f3953f4638a8b.tar
re3-8d2aa61f9b93a83c7a89a1ed180f3953f4638a8b.tar.gz
re3-8d2aa61f9b93a83c7a89a1ed180f3953f4638a8b.tar.bz2
re3-8d2aa61f9b93a83c7a89a1ed180f3953f4638a8b.tar.lz
re3-8d2aa61f9b93a83c7a89a1ed180f3953f4638a8b.tar.xz
re3-8d2aa61f9b93a83c7a89a1ed180f3953f4638a8b.tar.zst
re3-8d2aa61f9b93a83c7a89a1ed180f3953f4638a8b.zip
Diffstat (limited to 'src/render/Font.h')
-rw-r--r--src/render/Font.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/render/Font.h b/src/render/Font.h
index 198faa45..f59ca1e0 100644
--- a/src/render/Font.h
+++ b/src/render/Font.h
@@ -55,10 +55,10 @@ struct CFontRenderState
float slant;
float slantRefX;
float slantRefY;
- bool bIsShadow;
- bool bFontHalfTexture;
- bool proportional;
- bool anonymous_14;
+ bool8 bIsShadow;
+ bool8 bFontHalfTexture;
+ bool8 proportional;
+ bool8 anonymous_14;
int16 style;
};
@@ -126,7 +126,7 @@ class CFont
#else
static int16 Size[MAX_FONTS][419];
#endif
- static int16 NewLine;
+ static bool16 NewLine;
public:
static CSprite2d Sprite[MAX_FONTS];
static CFontDetails Details;
@@ -169,7 +169,7 @@ public:
static uint16 *ParseToken(wchar *s, bool japShit = false);
#else
static uint16 *ParseToken(wchar *s);
- static uint16* ParseToken(wchar *s, CRGBA &color, bool &flash, bool &bold);
+ static uint16 *ParseToken(wchar *s, CRGBA &color, bool &flash, bool &bold);
#endif
static void DrawFonts(void);
static void RenderFontBuffer(void);