fixed CText to be 64 bit compatible

This commit is contained in:
aap 2020-05-16 12:51:54 +02:00
commit b21f49ad6b
2 changed files with 24 additions and 0 deletions

View file

@ -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