mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
Fixed issues loading string tables.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user