Fixed issues loading string tables.

This commit is contained in:
Cekis
2021-11-03 14:39:09 -04:00
parent ac1f374b0b
commit f059a84c8c
2 changed files with 3 additions and 3 deletions
@@ -38,8 +38,8 @@ public:
// TODO: make these typedefs platform dependent
typedef unsigned long id_type;
typedef unsigned long crc_type;
typedef uint32_t id_type;
typedef uint32_t crc_type;
LocalizedString(id_type id, crc_type sourceCrc, Unicode::String const & str);
LocalizedString(id_type id, Unicode::String const & str); // GENERATE Crc FROM UNICODE.
@@ -46,7 +46,7 @@ public:
typedef std::map<std::string, LocalizedString::id_type> NameMap_t;
// TODO: make this typedef platform dependent
typedef long magic_type;
typedef uint32_t magic_type;
static const magic_type ms_MAGIC;
explicit LocalizedStringTable (const std::string & filename);