summaryrefslogtreecommitdiffstats
path: root/src/text
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-11 09:39:04 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-11 09:39:04 +0200
commitb0becb5a2d28550a089e6e0ef2d041956dc887e4 (patch)
tree05f850e59f0995fa98969279618b02719fb1bd1c /src/text
parentMerge branch 'master' into VC/TextFinish (diff)
downloadre3-b0becb5a2d28550a089e6e0ef2d041956dc887e4.tar
re3-b0becb5a2d28550a089e6e0ef2d041956dc887e4.tar.gz
re3-b0becb5a2d28550a089e6e0ef2d041956dc887e4.tar.bz2
re3-b0becb5a2d28550a089e6e0ef2d041956dc887e4.tar.lz
re3-b0becb5a2d28550a089e6e0ef2d041956dc887e4.tar.xz
re3-b0becb5a2d28550a089e6e0ef2d041956dc887e4.tar.zst
re3-b0becb5a2d28550a089e6e0ef2d041956dc887e4.zip
Diffstat (limited to 'src/text')
-rw-r--r--src/text/Text.cpp16
-rw-r--r--src/text/Text.h1
2 files changed, 1 insertions, 16 deletions
diff --git a/src/text/Text.cpp b/src/text/Text.cpp
index a76bc404..5adc576a 100644
--- a/src/text/Text.cpp
+++ b/src/text/Text.cpp
@@ -431,6 +431,7 @@ CData::Unload(void)
numChars = 0;
}
+void
CMissionTextOffsets::Load(size_t table_size, int file, size_t *offset, int)
{
#if DUMB
@@ -457,7 +458,6 @@ CMissionTextOffsets::Load(size_t table_size, int file, size_t *offset, int)
#endif
}
-void
char*
UnicodeToAscii(wchar *src)
{
@@ -526,20 +526,6 @@ UnicodeToAsciiForMemoryCard(wchar *src)
}
void
-UnicodeMakeUpperCase(wchar *dst, wchar *src) //idk what to do with it, seems to be incorrect implementation by R*
-{
- while (*src != '\0') {
- if (*src < 'a' || *src > 'z')
- *dst = *src;
- else
- *dst = *src - 32;
- dst++;
- src++;
- }
- *dst = '\0';
-}
-
-void
TextCopy(wchar *dst, const wchar *src)
{
while((*dst++ = *src++) != '\0');
diff --git a/src/text/Text.h b/src/text/Text.h
index d18c564b..33dc313e 100644
--- a/src/text/Text.h
+++ b/src/text/Text.h
@@ -4,7 +4,6 @@ char *UnicodeToAscii(wchar *src);
char *UnicodeToAsciiForSaveLoad(wchar *src);
char *UnicodeToAsciiForMemoryCard(wchar *src);
void TextCopy(wchar *dst, const wchar *src);
-void UnicodeMakeUpperCase(wchar *dst, wchar *src);
struct CKeyEntry
{