Merge branch 'lcs' into lcsfont

# Conflicts:
#	src/render/Font.cpp
This commit is contained in:
Sergeanur
2021-01-18 15:01:17 +02:00
28 changed files with 638 additions and 761 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ UnicodeMakeUpperCase(wchar *dst, const wchar *src) //idk what to do with it, see
}
CFontDetails CFont::Details;
int16 CFont::NewLine;
bool16 CFont::NewLine;
CSprite2d CFont::Sprite[MAX_FONTS];
CFontRenderState CFont::RenderState;
@@ -274,7 +274,7 @@ CFont::InitPerFrame(void)
Details.anonymous_25 = 0;
FontRenderStatePointer.pRenderState = (CFontRenderState*)FontRenderStateBuf;
SetDropShadowPosition(0);
NewLine = 0;
NewLine = false;
#ifdef BUTTON_ICONS
PS2Symbol = BUTTON_NONE;
#endif
@@ -1277,7 +1277,7 @@ CFont::ParseToken(wchar *s)
break;
case 'N':
case 'n':
NewLine = 1;
NewLine = true;
break;
case 'b':
Details.color.r = 27;