summaryrefslogtreecommitdiffstats
path: root/src/Text.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-28 22:23:55 +0200
committeraap <aap@papnet.eu>2019-06-28 22:23:55 +0200
commit38a7b74b1a10ec64b0ebac060cac92786081f3e0 (patch)
treecfa2f9a7bd82c20decb84f12dcd1fd99b6b7bf3c /src/Text.h
parentfixed CFileMgr, the craziest bug i ever had (diff)
downloadre3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.gz
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.bz2
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.lz
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.xz
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.zst
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.zip
Diffstat (limited to 'src/Text.h')
-rw-r--r--src/Text.h7
1 files changed, 5 insertions, 2 deletions
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;