summaryrefslogtreecommitdiffstats
path: root/src/text/Text.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-16 12:51:54 +0200
committeraap <aap@papnet.eu>2020-05-16 12:52:37 +0200
commit9558baa3537b69560813a7a71002a8338c4cb40b (patch)
treee084fbd8d37f163fc6d34ab1ef99fbd15d52cc53 /src/text/Text.h
parentMerge pull request #551 from Nick007J/miami (diff)
downloadre3-9558baa3537b69560813a7a71002a8338c4cb40b.tar
re3-9558baa3537b69560813a7a71002a8338c4cb40b.tar.gz
re3-9558baa3537b69560813a7a71002a8338c4cb40b.tar.bz2
re3-9558baa3537b69560813a7a71002a8338c4cb40b.tar.lz
re3-9558baa3537b69560813a7a71002a8338c4cb40b.tar.xz
re3-9558baa3537b69560813a7a71002a8338c4cb40b.tar.zst
re3-9558baa3537b69560813a7a71002a8338c4cb40b.zip
Diffstat (limited to 'src/text/Text.h')
-rw-r--r--src/text/Text.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/text/Text.h b/src/text/Text.h
index 4255e2a5..18a904bc 100644
--- a/src/text/Text.h
+++ b/src/text/Text.h
@@ -9,7 +9,11 @@ void TextCopy(wchar *dst, const wchar *src);
struct CKeyEntry
{
+#ifdef FIX_BUGS
+ uint32 valueOffset;
+#else
wchar *value;
+#endif
char key[8];
};
@@ -28,7 +32,11 @@ public:
void Unload(void);
void Update(wchar *chars);
CKeyEntry *BinarySearch(const char *key, CKeyEntry *entries, int16 low, int16 high);
+#ifdef FIX_BUGS
+ wchar *Search(const char *key, wchar *data);
+#else
wchar *Search(const char *key);
+#endif
};
class CData