Infamous XBOX subtitle outline

This commit is contained in:
erorcun
2020-11-19 02:09:04 +03:00
parent 9826fdf6d5
commit 808f7c46f1
4 changed files with 50 additions and 1 deletions

View File

@@ -116,6 +116,10 @@ public:
static void InitPerFrame(void);
static void PrintChar(float x, float y, wchar c);
static void PrintString(float x, float y, wchar *s);
#ifdef XBOX_SUBTITLES
static void PrintStringFromBottom(float x, float y, wchar *str);
static void PrintOutlinedString(float x, float y, wchar *str, float outlineStrength, bool fromBottom, CRGBA outlineColor);
#endif
static int GetNumberLines(float xstart, float ystart, wchar *s);
static void GetTextRect(CRect *rect, float xstart, float ystart, wchar *s);
#ifdef MORE_LANGUAGES