From 38a7b74b1a10ec64b0ebac060cac92786081f3e0 Mon Sep 17 00:00:00 2001 From: aap Date: Fri, 28 Jun 2019 22:23:55 +0200 Subject: island load screen, some more CText --- src/Text.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Text.h') diff --git a/src/Text.h b/src/Text.h index 1aaef3b6..2592e6b8 100644 --- a/src/Text.h +++ b/src/Text.h @@ -1,6 +1,7 @@ #pragma once -void AsciiToUnicode(const char *cs, wchar *ws); +void AsciiToUnicode(const char *src, wchar *dst); +void TextCopy(wchar *dst, const wchar *src); struct CKeyEntry { @@ -37,13 +38,15 @@ class CText { CKeyArray keyArray; CData data; - int8 unknown; + int8 encoding; public: CText(void); ~CText(void); void Load(void); void Unload(void); wchar *Get(const char *key); + wchar GetUpperCase(wchar c); + void UpperCase(wchar *s); }; extern CText &TheText; -- cgit v1.2.3